v3.35.0

payloadcms/payloadv3.35.0Apr 16, 2025by denolfe

AI Summary

This release introduces queriable and sortable virtual fields linked to relationships, supports threading operations through field condition functions, and exports reusable auth server functions. It also improves Postgres instrumentation for Sentry and adds a new rendering option for relationship fields.

Key Highlights

  • Queriable and sortable virtual fields linked to relationships
  • Reusable auth server functions export
  • Postgres dependency injection for Sentry instrumentation
  • Relationship field rendering as list drawer
  • Threaded operations via field condition functions

New Features

  • Virtual fields linked to relationships
  • Reusable auth server functions
  • Postgres Sentry instrumentation
  • Relationship field list drawer UI

Full Release Notes

## [v3.35.0](https://github.com/payloadcms/payload/compare/v3.34.0...v3.35.0) (2025-04-16)


### 🚀 Features

* queriable / sortable / `useAsTitle` virtual fields linked with a relationship field ([#11805](https://github.com/payloadcms/payload/issues/11805)) ([1c99f46](https://github.com/payloadcms/payload/commit/1c99f46))
* threads operation through field condition function ([#12132](https://github.com/payloadcms/payload/issues/12132)) ([c877b1a](https://github.com/payloadcms/payload/commit/c877b1a))
* adds and exports reusable auth server functions ([#11900](https://github.com/payloadcms/payload/issues/11900)) ([6b34937](https://github.com/payloadcms/payload/commit/6b34937))
* **db-postgres:** dependency inject pg to allow Sentry instrumentation ([#11478](https://github.com/payloadcms/payload/issues/11478)) ([da7be35](https://github.com/payloadcms/payload/commit/da7be35))
* **ui:** add option for rendering the relationship field as list drawer ([#11553](https://github.com/payloadcms/payload/issues/11553)) ([55d00e2](https://github.com/payloadcms/payload/commit/55d00e2))
* **ui:** use defaultDepth in API view ([#11950](https://github.com/payloadcms/payload/issues/11950)) ([b354d00](https://github.com/payloadcms/payload/commit/b354d00))

### 🐛 Bug Fixes

* respects boolean query preset constraints ([#12124](https://github.com/payloadcms/payload/issues/12124)) ([a675c04](https://github.com/payloadcms/payload/commit/a675c04))
* ensures cors headers are run against custom endpoints ([#12091](https://github.com/payloadcms/payload/issues/12091)) ([e79b203](https://github.com/payloadcms/payload/commit/e79b203))
* reordering draft documents causes data loss ([#12109](https://github.com/payloadcms/payload/issues/12109)) ([e90ff72](https://github.com/payloadcms/payload/commit/e90ff72))
* correct typo in error message and remove console.log ([#12082](https://github.com/payloadcms/payload/issues/12082)) ([a9eca3a](https://github.com/payloadcms/payload/commit/a9eca3a))
* **db-postgres:** use correct export path for codegen in `createSchemaGenerator` ([#12043](https://github.com/payloadcms/payload/issues/12043)) ([71e3c78](https://github.com/payloadcms/payload/commit/71e3c78))
* **db-sqlite:** text field converts to floating point number ([#12107](https://github.com/payloadcms/payload/issues/12107)) ([6572bf4](https://github.com/payloadcms/payload/commit/6572bf4))
* **richtext-lexical:** allow to indent children even if their parents are not indentable ([#12042](https://github.com/payloadcms/payload/issues/12042)) ([babf4f9](https://github.com/payloadcms/payload/commit/babf4f9))
* **templates:** missing default value in select field ([#11715](https://github.com/payloadcms/payload/issues/11715)) ([5b554e5](https://github.com/payloadcms/payload/commit/5b554e5))
* **translations:** add missing Catalan translations ([#10682](https://github.com/payloadcms/payload/issues/10682)) ([85e6edf](https://github.com/payloadcms/payload/commit/85e6edf))
* **ui:** stale paths on custom components within rows ([#11973](https://github.com/payloadcms/payload/issues/11973)) ([21599b8](https://github.com/payloadcms/payload/commit/21599b8))
* **ui:** issue with schedule publish disappearing on autosave collections ([#12078](https://github.com/payloadcms/payload/issues/12078)) ([3a7cd71](https://github.com/payloadcms/payload/commit/3a7cd71))
* **ui:** use route.api from config in OrderableTable ([#12081](https://github.com/payloadcms/payload/issues/12081)) ([3287f70](https://github.com/payloadcms/payload/commit/3287f70))

### ⚡ Performance

* **ui:** prevent `blockType: "$undefined"` from being sent through the network ([#12131](https://github.com/payloadcms/payload/issues/12131)) ([4426625](https://github.com/payloadcms/payload/commit/4426625))

### 📚 Documentation

* fix syntax issue in blocks field ([#11855](https://github.com/payloadcms/payload/issues/11855)) ([b9832f4](https://github.com/payloadcms/payload/commit/b9832f4))
* minor formatting tweaks to server function examples ([#12102](https://github.com/payloadcms/payload/issues/12102)) ([c661d33](https://github.com/payloadcms/payload/commit/c661d33))

### 🏡 Chores

* adjusts ChevronIcon styling to match other icons ([#12133](https://github.com/payloadcms/payload/issues/12133)) ([2362899](https://github.com/payloadcms/payload/commit/2362899))
* assign available port to env variable in dev suite ([#12092](https://github.com/payloadcms/payload/issues/12092)) ([39462bc](https://github.com/payloadcms/payload/commit/39462bc))
* separate Lexical tests into dedicated suite ([#12047](https://github.com/payloadcms/payload/issues/12047)) ([a66f90e](https://github.com/payloadcms/payload/commit/a66f90e))

### 🤝 Contributors

- Sasha (@r1tsuu)
- Patrik (@PatrikKozak)
- Philipp Schneider (@philipp-tailor)
- Tylan Davis (@tylandavis)
- Kristian Djaković (@kristian240)
- Jacob Fletcher (@jacobsfletch)
- James Mikrut (@jmikrut)
- Dan Ribbens (@DanRibbens)
- Tobias Odendahl (@tak-amboss)
- Adler Weber (@adlrwbr)
- Sam Wheeler (@swheeler7)
- AoiYamada (@AoiYamada)
- Edgar Guerra (@edguerrade)
- Jessica Chowdhury (@JessChowdhury)
- Paul (@paulpopus)
- Slava Nossar (@slavanossar)
- Corey Larson (@coreyleelarson)
- alexrah (@alexrah)
- Germán Jabloñski (@GermanJablo)