Change8

v3.47.0

📦 payload-cmsView on GitHub →
8 features🐛 18 fixes🔧 21 symbols

Summary

Version v3.47.0 introduces enhanced flexibility for the /me endpoint, improves the import/export plugin with better UX and CSV handling, and fixes numerous bugs across the UI and core logic. Performance improvements were also noted for PostgreSQL updates.

✨ New Features

  • Allow joins, select, populate, depth, and draft parameters on the /me REST API operation.
  • Export the new sanitizeUserDataForEmail function.
  • Next.js: Redirect non-existent documents to the list view with a banner.
  • Next.js: Add redirect from `${adminRoute}/collections` to `${adminRoute}`.
  • Plugin-import-export: Show a delayed toast notification when an export download takes time.
  • Storage adapters: Include modified headers in the response headers of files.
  • UI: Add API key visibility toggle.
  • UI: Add support for copy pasting complex fields.

🐛 Bug Fixes

  • Execute mimetype validation on the file buffer data.
  • Login operation was not returning collection and _strategy.
  • Ensure SSRF check is performed within the dispatcher.
  • Ensure default values are not shown when the value is hidden.
  • Correctly reset login attempts.
  • Fix payload auth API-key algorithm compatibility.
  • Next.js: Prevent live preview URL functions from firing unnecessarily.
  • Plugin-import-export: Sync export field selection with list view columns from query columns.
  • Plugin-import-export: Fix flattening logic for polymorphic relationships in CSV exports.
  • Plugin-import-export: Use selectionToUse field to dynamically show valid export options.
  • Plugin-import-export: Sync field select dropdown with form value.
  • UI: Correctly disable and style the add row button.
  • UI: Ensure buildFormStateHandler throws an error instead of returning null for unauthorized requests.
  • UI: Monomorphic joins tables were not fetching draft documents.
  • UI: Ensure that the schedule publishing time picker can only be set to a future time.
  • UI: Hidden input should wait for form initialization.
  • UI: Improve alignment of clear and dropdown indicator buttons in select-based fields.
  • UI: Prevent error crashing UI when relationship assigned as useAsTitle.

🔧 Affected Symbols

/me REST API operationsanitizeUserDataForEmailnext.js redirect logicplugin-import-exportstorage-* adaptersAPI key visibility togglecomplex field copy pastingmimetype validationlogin operation responseSSRF check dispatcherdefault values renderinglogin attempts resetauth api-key algorithmlive preview url functionspolymorphic relationship export flatteningbuildFormStateHandlermonomorphic joins tables draft fetchingschedule publishing time pickerhidden input initializationselect based field alignmentuseAsTitle relationship handling