v3.30.0
payloadcms/payloadv3.30.0Mar 24, 2025by denolfe
AI Summary
Bumps the Next.js peer dependency to 15.2.3 to address a security vulnerability. It adds sorting support for fields in other collections via relationships in MongoDB and allows custom props on the HTML element.
Key Highlights
- Next.js peer dependency bump (Security)
- Sorting by fields in other collections via relationships
- Custom props on HTML elements
- Exclude fields lacking permissions from bulk edit
New Features
- Relationship sorting (MongoDB)
- Custom HTML props
- Bulk edit permission filtering
Full Release Notes
## [v3.30.0](https://github.com/payloadcms/payload/compare/v3.29.0...v3.30.0) (2025-03-24) ### โ ๏ธ Next.js Peer Dependency Bump This release bumps the peer dependency version of Next.js to `15.2.3` to address a security vulnerability. [Next.js Blog post here for more detail](https://nextjs.org/blog/cve-2025-29927). ([PR #11823](https://github.com/payloadcms/payload/issues/11823)). **NOTE:** This vulnerability _does not_ affect any of the functionality of Payload, as the framework does not leverage anything affected in the vulnerability. This would only affect you if you've built additional functionality on top of Payload using additional Next.js middleware. ### ๐ Features * bump minimum next version to 15.2.3 ([#11823](https://github.com/payloadcms/payload/issues/11823)) ([5f6bb92](https://github.com/payloadcms/payload/commit/5f6bb92)) * **db-mongodb:** support sorting by fields in other collections through a relationship field ([#11803](https://github.com/payloadcms/payload/issues/11803)) ([4081953](https://github.com/payloadcms/payload/commit/4081953)) * **next:** add support for custom props on the html element ([#11738](https://github.com/payloadcms/payload/issues/11738)) ([f9f53a6](https://github.com/payloadcms/payload/commit/f9f53a6)) ### ๐ Bug Fixes * respect `draft: true` when querying docs for the join field ([#11763](https://github.com/payloadcms/payload/issues/11763)) ([1b2b6a1](https://github.com/payloadcms/payload/commit/1b2b6a1)) * **ui:** exclude fields lacking permissions from bulk edit ([#11776](https://github.com/payloadcms/payload/issues/11776)) ([7532c4a](https://github.com/payloadcms/payload/commit/7532c4a)) ### ๐ Documentation * fix afterErrorHook export name in collection hooks ([#11821](https://github.com/payloadcms/payload/issues/11821)) ([d20f06e](https://github.com/payloadcms/payload/commit/d20f06e)) * fix links to locked document docs ([#11770](https://github.com/payloadcms/payload/issues/11770)) ([85db8ff](https://github.com/payloadcms/payload/commit/85db8ff)) * payload proper nouns ([#11792](https://github.com/payloadcms/payload/issues/11792)) ([5f7202b](https://github.com/payloadcms/payload/commit/5f7202b)) ### ๐งช Tests * deflakes conditional logic e2e ([#11785](https://github.com/payloadcms/payload/issues/11785)) ([90a08c4](https://github.com/payloadcms/payload/commit/90a08c4)) ### โ๏ธ CI * sanitize breaking section in release notes ([b1469ea](https://github.com/payloadcms/payload/commit/b1469ea)) ### ๐ค Contributors - Elliot DeNolf (@denolfe) - Sasha (@r1tsuu) - Alessio Gravili (@AlessioGr) - Matthew Crutchfield (@mtcrutch) - Philipp Schneider (@philipp-tailor) - Jacob Fletcher (@jacobsfletch) - Ivica Batiniฤ (@isBatak)