v3.79.0
Breaking Changes📦 payload-cmsView on GitHub →
⚠ 2 breaking✨ 3 features🐛 9 fixes⚡ 1 deprecations🔧 11 symbols
Summary
This release introduces granular icon/thumbnail configuration for Lexical blocks and adds i18n support for modular dashboards. It also includes a significant upgrade to the underlying Lexical dependency and numerous bug fixes across plugins and the UI.
⚠️ Breaking Changes
- Renamed `Widget.ComponentPath` to `Widget.Component` and changed its type from `string` to `PayloadComponent`. Update configurations referencing this property to use `Widget.Component`.
- A typo in the `CodeEditor` export statement was fixed, which might affect consumers relying on the exact previous export structure.
Migration Steps
- If you configured Lexical blocks, replace usage of `imageURL` with the new `images` property containing `icon` and `thumbnail` definitions.
- If you were relying on the old type definition for widget components, rename usages of `Widget.ComponentPath` to `Widget.Component` and ensure the property is typed as `PayloadComponent` instead of `string`.
✨ New Features
- Implemented separate configuration for Lexical block icons and block drawer thumbnails via the new `images` property in block configuration, supporting fallback.
- Added i18n translations for modular dashboards, covering widget buttons and error messages.
- Upgraded Lexical dependency from 0.35.0 to 0.41.0 in `richtext-lexical`.
🐛 Bug Fixes
- Fixed validation issues during `restoreVersion` for localized required fields.
- Resolved issue preventing draft document validation when duplicating documents.
- Ensured `req` object is passed to Payload API calls within the Stripe adapter for `plugin-ecommerce`.
- Fixed `plugin-import-export` to automatically inherit locale and limit from URL queries.
- Corrected imports in `plugin-import-export` when locales are present in a different column order than exported.
- Fixed exports in `plugin-import-export` for non-latin scripts that were broken when opened in Excel.
- Fixed drag and drop functionality for sortable hasMany fields in the UI.
- Prevented false positive stale data modal from appearing on documents with autosave enabled in the UI.
- Fixed a typo in the `CodeEditor` export statement.
Affected Symbols
⚡ Deprecations
- The `imageURL` property for Lexical block configuration is deprecated. Use the new `images` property with separate `icon` and `thumbnail` values for better control.