v3.66.0
📦 payload-cmsView on GitHub →
✨ 5 features🐛 10 fixes⚡ 1 deprecations🔧 5 symbols
Summary
This release introduces support for custom slugify functions and significant accessibility improvements across the UI. It also enforces updated peer dependencies for React and Next.js to mitigate critical external security vulnerabilities.
Migration Steps
- If you are using React 19 or Next.js, you are strongly encouraged to immediately upgrade to patched versions to mitigate a critical security vulnerability (CVE-2025-55182).
- Upgrade React to `19.2.1` and Next.js to `15.4.8` (or nearest patched versions) in your application's `package.json`.
- Reinstall node modules (e.g., run `pnpm i` or equivalent).
- If using slug fields, consider updating configuration to use `useAsSlug` instead of the deprecated `fieldToUse`.
- If using the `slugField` configuration, you can now optionally provide a custom `slugify` function.
✨ New Features
- Support for custom slugify functions in slug fields, allowing users to override default slug generation logic.
- Introduction of automated accessibility testing infrastructure including axe a11y scans, focus indicator checks, and horizontal scroll overflow detection.
- Support for external JSON schema file references (using `$ref`) within the `typescriptSchema` configuration.
- The `with-cloudflare-d1` template now automatically assumes the D1 database adapter, removing the selection prompt.
- Added alignment support (left, center, right) for upload nodes within the Lexical rich text editor.
🐛 Bug Fixes
- Removed "all" from JSDoc comment on supported http methods in endpoints.
- SVG files are now correctly excluded from file buffer mime validation.
- Fixed runtime type mismatch issue in the Import/Export plugin caused by incorrect user type.
- Resolved issue where the tenant modal would not appear in the Multi-Tenant plugin when autosave was disabled.
- Implemented auto assignment of tenant when autosave is enabled in the Multi-Tenant plugin.
- Fixed an error in the Lexical rich text editor that occurred when copying and pasting a single block due to duplicate IDs.
- Exported `serverInlineBlock` modules in `richtext-lexical`.
- Translated slug field actions.
- Prevented NaN page parameter error during polymorphic relationship pagination.
- Reduced spacing between checkboxes and the first column when few columns are displayed in the UI.
🔧 Affected Symbols
slugFieldtypescriptSchemawith-cloudflare-d1 templateupload nodesFORMAT_ELEMENT_COMMAND⚡ Deprecations
- The `fieldToUse` option in `slugField` is deprecated in favor of `useAsSlug` for consistency with `useAsTitle`.