v3.44.0
📦 payload-cmsView on GitHub →
✨ 5 features🐛 33 fixes🔧 19 symbols
Summary
Version v3.44.0 introduces major features like auth sessions and collection-level preferences, alongside numerous bug fixes across database adapters, the UI, and plugins. A mandatory migration step is required for users of the local auth strategy with Postgres or SQLite databases.
Migration Steps
- If your project uses the local auth strategy with `db-postgres` or `db-sqlite`, a database migration is required due to a new security feature storing a unique auth session identifier.
- To opt out of the new session identifier feature (and avoid migration), set `auth.useSessions: false` in your users collection config in `payload.config.ts`.
✨ New Features
- Introduced auth sessions.
- Added collection-level preferences support.
- Added collection-level `disableBulkEdit` configuration.
- Import/Export plugin preview now displays CSV and JSON data accurately.
- Added int and e2e tests to blank and website templates.
🐛 Bug Fixes
- Fixed missing `beforeInput`/`afterInput` types for `richTextField`.
- Validated that 'null' value for point field is treated as true when not required.
- Resolved issue where external resources were blocked.
- Restored missing properties to the live preview client config.
- Used valid fractional index for tests.
- Fixed querying virtual fields deeply with `draft: true`.
- Used small pill size when viewing version information.
- MongoDB: Stripped deleted from config blocks from the result.
- Postgres: Fixed joins with custom schema.
- Postgres: Fixed querying on `hasMany: true` select field in a relationship.
- Drizzle: Skipped column if undefined in `findMany`.
- Live Preview: Fixed client-side live preview being limited to populating only 10 relationships at once.
- Live Preview: Fixed foreign postMessage events resetting client-side state.
- Next.js: Fixed live preview popup triggering leave without saving modal.
- Next.js: Prevented errors in globals version view.
- Next.js: Removed error handling from next auth functions.
- Next.js: Removed console.error from next auth functions.
- Import/Export plugin: Fixed duplicated rows and headers in CSV export when streaming paginated results.
- Import/Export plugin: Fixed CSV export for polymorphic relationship fields.
- Import/Export plugin: Fixed omitting CSV columns when toCSV returns undefined.
- Multi-tenant plugin: Updates tenant selector upon tenant creation.
- RichText Lexical: Ensured consistent HTML converter inline padding.
- UI: `usePreventLeave` should not show alert for exceptions.
- UI: Vertically aligned table headers to the middle.
- UI: Properly rendered create new button in polymorphic joins.
- UI: Rendered DateTime label as <label> instead of <span>.
- UI: Fixed bulk upload losing state when adding additional files.
- UI: Fixed unreachable custom views when admin route is set to '/'.
- UI: Toggled list selections off on successful bulk action.
- UI: Aligned caret on error tooltip for checkbox field.
- UI: Updated auth fields UI to reflect access control.
- UI: Folder server function must reference exports dir.
- UI: Custom row labels on arrays should not be removed on field duplication.
🔧 Affected Symbols
richTextFieldpoint fieldlive preview client configvirtual fieldsdb-mongodbdb-postgresdrizzlelive-previewnext auth functionsplugin-import-exportplugin-multi-tenantrichtext-lexicalusePreventLeaveDateTime fieldpolymorphic joinscheckbox fieldauth fields UIfolder server functionarray fields