v3.31.0
payloadcms/payloadv3.31.0Mar 25, 2025by denolfe
AI Summary
Adds Query Presets, allowing users to save and share filters, columns, and sort orders for collections. The release also introduces a safe redirect utility, reduces job queue database calls, and adds support for custom password fields when using `disableLocalStrategy: true`.
Key Highlights
- Query Presets for saving and sharing filters
- Safe redirect utility
- Reduced job queue DB calls
- Custom password field support
- UUID fallback for non-secure contexts
New Features
- Query Presets
- Safe redirect utility
- Custom password field support
Full Release Notes
## [v3.31.0](https://github.com/payloadcms/payload/compare/v3.30.0...v3.31.0) (2025-03-25) ### 🚀 Features #### Query presets ([#11330](https://github.com/payloadcms/payload/issues/11330)) ([998181b](https://github.com/payloadcms/payload/commit/998181b)) > Query Presets allow you to save and share filters, columns, and sort orders for your collections. This is useful for reusing common or complex filtering patterns and column configurations across your team. Query Presets are defined on the fly by the users of your app, rather than being hard coded into the Payload Config. https://github.com/user-attachments/assets/1fe1155e-ae78-4f59-9138-af352762a1d5 * add Armenian translation ([#11857](https://github.com/payloadcms/payload/issues/11857)) ([f61f6b7](https://github.com/payloadcms/payload/commit/f61f6b7)) ### 🐛 Bug Fixes * auth fields distrupt field paths within the field schema map ([#11861](https://github.com/payloadcms/payload/issues/11861)) ([74f935b](https://github.com/payloadcms/payload/commit/74f935b)) * add uuid fallback for non-secure contexts in JSON fields ([#11839](https://github.com/payloadcms/payload/issues/11839)) ([1081b4a](https://github.com/payloadcms/payload/commit/1081b4a)) * **next:** adds safe redirect utility and apply to login redirects ([#11814](https://github.com/payloadcms/payload/issues/11814)) ([234df54](https://github.com/payloadcms/payload/commit/234df54)) * **next:** version view breaking for deeply nested tabs, rows and collapsibles ([#11808](https://github.com/payloadcms/payload/issues/11808)) ([3c4b3ee](https://github.com/payloadcms/payload/commit/3c4b3ee)) * **plugin-seo:** translation correction ([#11817](https://github.com/payloadcms/payload/issues/11817)) ([6174708](https://github.com/payloadcms/payload/commit/6174708)) * **richtext-lexical:** ensure initial state for nested lexical fields ([#11837](https://github.com/payloadcms/payload/issues/11837)) ([fb01b40](https://github.com/payloadcms/payload/commit/fb01b40)) ### ⚡ Performance * reduce job queue db calls ([#11846](https://github.com/payloadcms/payload/issues/11846)) ([a5c3aa0](https://github.com/payloadcms/payload/commit/a5c3aa0)) * **drizzle:** remove unnecessary db.select call in updateOne operation ([#11847](https://github.com/payloadcms/payload/issues/11847)) ([73fc3c6](https://github.com/payloadcms/payload/commit/73fc3c6)) ### 🛠 Refactors * **richtext-lexical:** ensure field can be rendered outside EntityVisibilityProvider ([#11842](https://github.com/payloadcms/payload/issues/11842)) ([eb1434e](https://github.com/payloadcms/payload/commit/eb1434e)) ### 🧪 Tests * rearrange relationships test blocks properly ([#11858](https://github.com/payloadcms/payload/issues/11858)) ([93cc66d](https://github.com/payloadcms/payload/commit/93cc66d)) ### ⚙️ CI * add license-check script ([#11860](https://github.com/payloadcms/payload/issues/11860)) ([7fb4b13](https://github.com/payloadcms/payload/commit/7fb4b13)) ### 🏡 Chores * **admin-bar:** enable TypeScript strict ([#11834](https://github.com/payloadcms/payload/issues/11834)) ([8d374cb](https://github.com/payloadcms/payload/commit/8d374cb)) * **db-sqlite:** enable TypeScript strict ([#11831](https://github.com/payloadcms/payload/issues/11831)) ([fe9317a](https://github.com/payloadcms/payload/commit/fe9317a)) * **db-vercel-postgres:** enable TypeScript strict ([#11833](https://github.com/payloadcms/payload/issues/11833)) ([de0aaf6](https://github.com/payloadcms/payload/commit/de0aaf6)) ### 🤝 Contributors - Alessio Gravili (@AlessioGr) - Jacob Fletcher (@jacobsfletch) - Elliot DeNolf (@denolfe) - Diego Satelier (@SatelierDiego) - Sasha (@r1tsuu) - Dan Ribbens (@DanRibbens) - Patrik (@PatrikKozak) - Germán Jabloñski (@GermanJablo)