github payloadcms/payload v3.0.0-beta.121

latest release: v3.0.0-beta.122
pre-release11 hours ago

v3.0.0-beta.121 (2024-10-30)

🚀 Features

🐛 Bug Fixes

  • db-mongodb: ensure relationships are stored in ObjectID (#8932) (d64946c)
  • db-mongodb: joins with singular collection name (#8933) (f4041ce)
  • plugin-search: localization (#8938) (1231251)
  • ui: perf improvements in bulk upload (#8944) (03331de)
  • ui: broken buttons in the bulk upload drawer (#8926) (d38d7b8)
  • ui: sanitize limit for preferences (#8913) (6c341b5)
  • ui: missing localization label on text area fields (#8927) (c0aa96f)

⚠️ BREAKING CHANGES

  • custom views are now public by default and fixed some issues with notFound page (#8820) (01ccbd4)

    This PR aims to fix a few issues with the notFound page and custom views
    so it matches v2 behaviour:

    • Non authorised users should always be redirected to the login page
      regardless if not found or valid URL
    • Previously notFound would render for non users too potentially
      exposing valid but protected routes and creating a confusing workflow as
      the UI was being rendered as well
    • Custom views are now public by default
    • in our admin test suite, the /admin/public-custom-view is
      accessible to non users but
      /admin/public-custom-view/protected-nested-view is not unless the
      checkbox is true in the Settings global, there's e2e coverage for this
    • Fixes #8716
  • plugin-search with localization enabled (#8938) (1231251)

    The search plugin was incorrectly retrieving all locales, when it should
    just be retrieving the locale of the parent document that was actively
    being updated.

    If you have a localized Payload config, and you are using the plugin-search, we will now automatically localize the title field that is injected by the search plugin and this may lead to data loss. To opt out of this new behavior, you can pass localize: false to the plugin options.

🤝 Contributors

Don't miss a new payload release

NewReleases is sending notifications on new releases.