v3.21.0
📦 payload-cmsView on GitHub →
✨ 3 features🐛 14 fixes⚡ 1 deprecations🔧 4 symbols
Summary
Version v3.21.0 introduces features like schema generation arguments and textarea auto-resize, alongside numerous bug fixes across database operations, multi-tenancy, search plugin, and UI components. Dependency updates were also performed.
✨ New Features
- Exposes helpful arguments to TypeScript schema generation.
- Adds auto-resize feature to the textarea field.
- Allows opting out of tenant access control merge in the `plugin-multi-tenant`.
🐛 Bug Fixes
- Allows public errors to thread through on response.
- Postgres: Fixed selecting hasMany inside arrays and blocks with versions.
- Postgres: Fixed write operations on polymorphic joined collections throwing an error.
- Plugin-multi-tenant: Fixed incorrect tenant selection with postgres.
- Plugin-multi-tenant: Fixed hardcoded user tenants field.
- Plugin-search: Fixed deleting docs even when there's a published version.
- Plugin-search: Generates full docURL with basePath from next config.
- Plugin-search: Gets api route from useConfig.
- Richtext-lexical: Removes CSS from JSX converter.
- Richtext-lexical: Link drawer now correctly shows fields even if parent document `create` access control is `false`.
- UI: Client now adds back default values for valid and passesCondition form field properties.
- UI: Reverted unrelated code.
- UI: Fixed error in version view if document contains localized arrays or blocks.
- UI: Fixed create-first-user crash when users collection has a join field.
🔧 Affected Symbols
plugin-multi-tenantplugin-searchrichtext-lexicalui⚡ Deprecations
- The `apiBasePath` configuration option in the `plugin-search` is deprecated.