Replies: 6 comments 16 replies
-
After the update and going through the Changelog printSchema.js throws:
|
Beta Was this translation helpful? Give feedback.
-
Hello! For non-Typescript project in version 1.6.3 the payload.config.js and all collections are throwing an error: Not sure if this is because the payload.init became async or because of any other changes. Would appreciate on any ideas on how to fix this, if this is at all possible. Thank you! :) |
Beta Was this translation helpful? Give feedback.
-
Does "retainDeleted" no longer exist? |
Beta Was this translation helpful? Give feedback.
-
There was a mention of Vercel deployments. Is there some guide on how to deploy Payload to it? |
Beta Was this translation helpful? Give feedback.
-
Hi - I've upgraded to the 1.6.6 and all records in my collections (in the admin ui) are missing. I've followed the instructions here: #1847 So I can confirm that dev runs using I've tried running your migration script, however it fails with this error: ❯ PAYLOAD_CONFIG_PATH=payload.config.ts npx ts-node -T scripts/payloadMigrateVersions.ts
[10:52:31] INFO (payload): Connected to Mongo server successfully!
[10:52:31] INFO (payload): Starting Payload...
/Users/jake/Development/personal/elkli-and-hart/payload.config.ts:1
import path from 'path';
^^^^^^
SyntaxError: Cannot use import statement outside a module Type = modulesIf I set ❯ PAYLOAD_CONFIG_PATH=payload.config.ts npx ts-node -T scripts/payloadMigrateVersions.ts
TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension ".ts" for /Users/jake/Development/personal/elkli-and-hart/scripts/payloadMigrateVersions.ts ... and another side effect of the
|
Beta Was this translation helpful? Give feedback.
-
If anyone else is running in trouble with version 1.6 because of a javascript installation: After updating to 1.6 my Payload broke as predicted due to this. |
Beta Was this translation helpful? Give feedback.
-
Version 1.6 has been released 🎉
This is a very large release that comes with some 🚨 BREAKING CHANGES 🚨 , so please read the Changelog carefully.
We try our best to avoid breaking changes, but we decided this was the right time to do it as it paves the way for greater things in the future like ongoing TypeScript niceties, serverless support, and additional database support 😎
If you run into issues after reading the changelog, please reply in this thread, so we can assist.
Beta Was this translation helpful? Give feedback.
All reactions