v3.36.0
📦 payload-cmsView on GitHub →
✨ 2 features🐛 12 fixes🔧 9 symbols
Summary
Version v3.36.0 introduces new UI customization slots and an option to show the save draft button with autosave enabled. This release also includes numerous bug fixes across database integrations, the Lexical rich text editor, and UI components, alongside several performance optimizations.
✨ New Features
- Added 'beforeDocumentControls' slot to allow custom component injection next to document controls.
- Added 'showSaveDraftButton' option to show the draft button even when autosave is enabled.
🐛 Bug Fixes
- Fixed user validation error inside the forgotPassword operation when the user had localized fields.
- MongoDB: Fallback 'version' field when it is not selected.
- Postgres: Ensured sorting by distance when the 'near' operator is used.
- Fixed incorrect documentation links for the Live Preview example.
- Fixed pg-cloudflare build issue.
- Search plugin: Ensured delete operation also deletes the corresponding search document.
- Lexical Rich Text Editor: Prevented extra paragraph creation when inserting blocks or uploadNodes; added preemptive selection normalization.
- Lexical Rich Text Editor: Allowed indenting and outdenting if at least one selected node supports the operation.
- Lexical Rich Text Editor: Reset indent state on node transforms.
- UI: 'copyToLocale' no longer passes any IDs to prevent duplicates.
- UI: Relationship field using list drawer now correctly updates when 'hasMany' is true.
- UI: Default sort order is now reflected in join tables.
🔧 Affected Symbols
forgotPassword operationdb-mongodbdb-postgresnear operatorplugin-searchrichtext-lexicalcopyToLocalerelationship fieldvirtual fields