v3.37.0

payloadcms/payloadv3.37.0May 5, 2025by denolfe

AI Summary

This release enhances the UI with new options for relationship fields, including opening related documents in new tabs and configurable placeholders. It also improves live-preview capabilities and fixes database migration and GraphQL issues.

Key Highlights

  • Option to open related documents in a new tab
  • Configurable placeholders for select and relationship fields
  • Allow array fields to be filtered in list view
  • Fix GraphQL population of joins

New Features

  • Export additional login helper utils
  • Expose requestHandler to subscribe.ts
  • Update RelationshipFilter when filterOptions change
  • Add document link to drawer
  • Open related documents in a new tab
  • Configurable placeholders for select and relationship fields

Full Release Notes

## [v3.37.0](https://github.com/payloadcms/payload/compare/v3.36.1...v3.37.0) (2025-05-05)


### 🚀 Features

* exports additional login helper utils ([#12309](https://github.com/payloadcms/payload/issues/12309)) ([dcd4e37](https://github.com/payloadcms/payload/commit/dcd4e37))
* **live-preview:** expose requestHandler to subscribe.ts ([#10947](https://github.com/payloadcms/payload/issues/10947)) ([35c0404](https://github.com/payloadcms/payload/commit/35c0404))
* **ui:** update RelationshipFilter if only filterOptions are changed ([#11985](https://github.com/payloadcms/payload/issues/11985)) ([446938b](https://github.com/payloadcms/payload/commit/446938b))
* **ui:** add document link to drawer ([#12036](https://github.com/payloadcms/payload/issues/12036)) ([292b462](https://github.com/payloadcms/payload/commit/292b462))
* **ui:** add option to open related documents in a new tab ([#11939](https://github.com/payloadcms/payload/issues/11939)) ([1ef1c55](https://github.com/payloadcms/payload/commit/1ef1c55))
* **ui:** make select and relationship field placeholder configurable ([#12253](https://github.com/payloadcms/payload/issues/12253)) ([e568391](https://github.com/payloadcms/payload/commit/e568391))
* **ui:** allow array fields to be filtered in list view ([#11925](https://github.com/payloadcms/payload/issues/11925)) ([78d3af7](https://github.com/payloadcms/payload/commit/78d3af7))

### 🐛 Bug Fixes

* allow custom admin user collection in query presets constraints ([#12202](https://github.com/payloadcms/payload/issues/12202)) ([b9868c4](https://github.com/payloadcms/payload/commit/b9868c4))
* **cpa:** overwrites existing env variables ([#10636](https://github.com/payloadcms/payload/issues/10636)) ([e5b28c9](https://github.com/payloadcms/payload/commit/e5b28c9))
* **db-*:** migration batch not incrementing past 1 ([#12215](https://github.com/payloadcms/payload/issues/12215)) ([3c9ee5d](https://github.com/payloadcms/payload/commit/3c9ee5d))
* **db-postgres:** start transaction in v2-v3 migration only after drizzle prompts to avoid timeout ([#12302](https://github.com/payloadcms/payload/issues/12302)) ([2628b43](https://github.com/payloadcms/payload/commit/2628b43))
* **graphql:** `nextPage` and `prevPage` are non nullable even though they can be `null` sometimes ([#12201](https://github.com/payloadcms/payload/issues/12201)) ([3fb81ef](https://github.com/payloadcms/payload/commit/3fb81ef))
* **graphql:** population of joins that target relationship fields that have `relationTo` as an array ([#12289](https://github.com/payloadcms/payload/issues/12289)) ([c08c707](https://github.com/payloadcms/payload/commit/c08c707))
* **plugin-cloud-storage:** missing 'prefix' in cloud storage plugin ([#11970](https://github.com/payloadcms/payload/issues/11970)) ([0d10f43](https://github.com/payloadcms/payload/commit/0d10f43))
* **plugin-multi-tenant:** make tenant selector respect order if orderable enabled for tenant collection ([#12314](https://github.com/payloadcms/payload/issues/12314)) ([a6d76d6](https://github.com/payloadcms/payload/commit/a6d76d6))
* **richtext-lexical:** add missing line-breaks to plaintext conversion ([#11951](https://github.com/payloadcms/payload/issues/11951)) ([ddf40d5](https://github.com/payloadcms/payload/commit/ddf40d5))
* **ui:** unable to search for nested fields in WhereBuilder field selection ([#11986](https://github.com/payloadcms/payload/issues/11986)) ([3818634](https://github.com/payloadcms/payload/commit/3818634))
* **ui:** blockType ignored when merging server form state ([#12207](https://github.com/payloadcms/payload/issues/12207)) ([a62cdc8](https://github.com/payloadcms/payload/commit/a62cdc8))
* **ui:** fix version list status for unpublished documents ([#11983](https://github.com/payloadcms/payload/issues/11983)) ([b6b02ac](https://github.com/payloadcms/payload/commit/b6b02ac))

### 📚 Documentation

* fix typo in fields/relationship.mdx ([#12306](https://github.com/payloadcms/payload/issues/12306)) ([055a263](https://github.com/payloadcms/payload/commit/055a263))
* repair blank template markdown link in installation docs ([#12297](https://github.com/payloadcms/payload/issues/12297)) ([5365d4f](https://github.com/payloadcms/payload/commit/5365d4f))

### 🏡 Chores

* **live-preview:** enable TypeScript strict (live-preview-vue) ([#12299](https://github.com/payloadcms/payload/issues/12299)) ([b480f81](https://github.com/payloadcms/payload/commit/b480f81))
* **live-preview-react:** enable TypeScript strict ([#12298](https://github.com/payloadcms/payload/issues/12298)) ([11018eb](https://github.com/payloadcms/payload/commit/11018eb))
* **storage-uploadthing:** enable TypeScript strict ([#12304](https://github.com/payloadcms/payload/issues/12304)) ([d7d3744](https://github.com/payloadcms/payload/commit/d7d3744))

### 🤝 Contributors

- Ruslan (@ruslan-amboss)
- Anyu Jiang (@anyuj)
- Florian Beeres (@cideM)
- James Mikrut (@jmikrut)
- Tobias Odendahl (@tak-amboss)
- Sasha (@r1tsuu)
- Dan Ribbens (@DanRibbens)
- Germán Jabloñski (@GermanJablo)
- Bamsi (@francescoamici)
- Philipp Schneider (@philipp-tailor)
- qoheleth-tech (@qoheleth-tech)
- Samuel Gabriel (@sam-gab)
- Jessica Rynkar (@jessrynkar)
- Janus Reith (@janus-reith)