v3.68.0
📦 payload-cmsView on GitHub →
✨ 1 features🐛 9 fixes🔧 1 symbols
Summary
This release introduces automatic support for Turbopack builds when using compatible Next.js canary versions and includes numerous bug fixes across hooks, database adapters, storage, and the UI.
✨ New Features
- Support for Turbopack Build on Next.js canaries (>= 16.1.0-canary.3) is now automatically enabled, unlocking faster production builds via transitive dependency externalization.
🐛 Bug Fixes
- Added missing read and readDistinct operations to hook mapping.
- Fixed an error related to undefined drafts when collections use join fields.
- Switched to using the hasDraftsEnabled utility instead of a direct check for draft status.
- Resolved an issue where file objects were serialized as plain objects in the upload form state.
- MongoDB adapter now correctly passes through collation configuration to be applied in queries via locales.
- Simplified the getTenantOptions function in the multi-tenant plugin and added access control for regular users.
- Upload filenames now correctly respect the configured prefix in storage adapters.
- Fixed an issue in the UI where the AddNewRelation component saved 'relationTo' as the first collection instead of the selected collection.
- Resolved an issue in the UI where the list drawer per-page dropdown incorrectly reset to 10 instead of respecting the saved limit.
🔧 Affected Symbols
withPayload