●Change8

v3.40.0

πŸ“¦ payload-cmsView on GitHub β†’
✨ 7 featuresπŸ› 28 fixesπŸ”§ 10 symbols

Summary

Version v3.40.0 introduces new configuration options for auth strategies, enhances list view rendering for nested fields, and resolves numerous bugs across database integrations, UI components, and translations.

Migration Steps

  1. If you rely on the location of 'getSafeRedirect', update imports as it has moved into the main payload package.

✨ New Features

  • Adds new 'canSetHeaders' prop to auth strategies.
  • Moves 'getSafeRedirect' into the payload package.
  • Adds calling of before and after operation hooks to 'resetPassword'.
  • Shows nested fields in named tabs as separate columns in the list view.
  • Implements filter query preset constraints.
  • Adds select field filter options.
  • Exports 'FieldAction' type in UI.

πŸ› Bug Fixes

  • ParseCookies now ignores invalid encoded values.
  • Improved translation script prompt and fixed some incorrectly used terms in Spanish and Dutch.
  • BrowseByFolder route is now optional.
  • Threads 'req' into internal folder payload operations.
  • Fixed infinite loop in 'findUp' utility when a result is not found.
  • Fixed delete subfolders hook with relational databases.
  • Disabled DB connection for 'payload migrate:create'.
  • Fixed 'migrate:reset' executing in a wrong order.
  • Fixed exists query on checkbox fields in MongoDB.
  • Properly escapes the ' character in PostgreSQL.
  • Updated live-preview example to ESM.
  • Fixed folder redirects not working in Next.js integration.
  • Respects 'disableBlockName' in richtext-lexical.
  • Fixed opening relationship field with appearance: "drawer" inside rich text inline block.
  • Fixed client uploads with a prefix in storage-vercel-blob.
  • Updated template/plugin and fixed import map issue.
  • Improved Spanish translations.
  • Corrected Norwegian terms for β€˜locale’ and language labels.
  • Reduced pill sizing in autosave cells (UI).
  • Fixed oversized column selector pills (UI).
  • Fixed filtering on hasMany fields (UI).
  • Prevented textarea description from overlapping fields and not honoring 'rows' attribute (UI).
  • Fixed CloudFront removing X-HTTP-Method-Override header (UI).
  • Ensured live-preview-tab shows beforeDocumentControls (UI).
  • Fixed Safari CSS rendering issues with table and folder cards (UI).
  • Only adds files/folders to the grid/list if they were added to the current folder (UI).
  • Replaced CSS 'fn' with CSS 'calc' (UI).
  • Fixed index based ids without useAsTitle breaking folders (UI).

πŸ”§ Affected Symbols

getSafeRedirectresetPasswordcanSetHeadersFieldActionparseCookiesfindUpbrowseByFoldermigrate:createmigrate:resetdisableBlockName