v3.19.0

payloadcms/payloadv3.19.0Jan 23, 2025by denolfe

AI Summary

Improves lexical editor selection and deletion logic for decorator nodes and blocks, and adds a bulk edit option for uploads.

Key Highlights

  • DecoratorNodes and blocks are now selectable.
  • Centralized selection and deletion logic.
  • Bulk edit option for uploads.

New Features

  • Selectable decoratorNodes and blocks
  • Centralized selection and deletion logic
  • Edit many option for bulk uploads

Full Release Notes

## [v3.19.0](https://github.com/payloadcms/payload/compare/v3.18.0...v3.19.0) (2025-01-23)


### 🚀 Features

* **richtext-lexical:** make decoratorNodes and blocks selectable. Centralize selection and deletion logic ([#10735](https://github.com/payloadcms/payload/issues/10735)) ([4aaef5e](https://github.com/payloadcms/payload/commit/4aaef5e))
* **ui:** adds edit many option for bulk uploads ([#10646](https://github.com/payloadcms/payload/issues/10646)) ([be2c482](https://github.com/payloadcms/payload/commit/be2c482))

### 🐛 Bug Fixes

* next.js rewrites were not respected for rest api ([#10759](https://github.com/payloadcms/payload/issues/10759)) ([c0ae994](https://github.com/payloadcms/payload/commit/c0ae994))
* browser validation error when visiting account page ([#10717](https://github.com/payloadcms/payload/issues/10717)) ([c1b912d](https://github.com/payloadcms/payload/commit/c1b912d))
* custom blocks field label component missing from config ([#10692](https://github.com/payloadcms/payload/issues/10692)) ([a5695ba](https://github.com/payloadcms/payload/commit/a5695ba))
* apply CORS response headers without `headersWithCors` ([#10597](https://github.com/payloadcms/payload/issues/10597)) ([be98eda](https://github.com/payloadcms/payload/commit/be98eda))
* rest api with `?locale=*` doesn't return full localized data ([#10619](https://github.com/payloadcms/payload/issues/10619)) ([7f8f2f0](https://github.com/payloadcms/payload/commit/7f8f2f0))
* join field with the target relationship inside localized array ([#10621](https://github.com/payloadcms/payload/issues/10621)) ([25a70ab](https://github.com/payloadcms/payload/commit/25a70ab))
* properly handle nullable `minDistance` and `maxDistance` in `near` query ([#10622](https://github.com/payloadcms/payload/issues/10622)) ([46c1b37](https://github.com/payloadcms/payload/commit/46c1b37))
* **db-mongodb:** v2-v3 migration versions docs of collections and globals without relationship fields ([#10755](https://github.com/payloadcms/payload/issues/10755)) ([2d8ff72](https://github.com/payloadcms/payload/commit/2d8ff72))
* **db-mongodb:** querying polymorphic relationships with the `all` operator ([#10704](https://github.com/payloadcms/payload/issues/10704)) ([d601300](https://github.com/payloadcms/payload/commit/d601300))
* **db-mongodb:** beginTransaction invalid type without replicaset ([#10690](https://github.com/payloadcms/payload/issues/10690)) ([90f88f8](https://github.com/payloadcms/payload/commit/90f88f8))
* **next:** admin panel UI not rendering custom upload components ([#9925](https://github.com/payloadcms/payload/issues/9925)) ([e4fa171](https://github.com/payloadcms/payload/commit/e4fa171))
* **plugin-multi-tenant:** selected tenant could become incorrect when navigating out of doc ([#10723](https://github.com/payloadcms/payload/issues/10723)) ([e6d0260](https://github.com/payloadcms/payload/commit/e6d0260))
* **plugin-multi-tenant:** corrects user type in userHasAccessToAllTenants fn ([#10707](https://github.com/payloadcms/payload/issues/10707)) ([2a98c84](https://github.com/payloadcms/payload/commit/2a98c84))
* **plugin-multi-tenant:** prevent throwing when no user exists ([#10699](https://github.com/payloadcms/payload/issues/10699)) ([a9c0832](https://github.com/payloadcms/payload/commit/a9c0832))
* **plugin-nested-docs:** cannot update more than 10 child docs ([#10737](https://github.com/payloadcms/payload/issues/10737)) ([3501d47](https://github.com/payloadcms/payload/commit/3501d47))
* **richtext-lexical:** improved regex matchers for absolute and relative URLs to make autolinking more reliable ([#10725](https://github.com/payloadcms/payload/issues/10725)) ([9bb27af](https://github.com/payloadcms/payload/commit/9bb27af))
* **richtext-lexical:** incorrect table action menu placement ([#10627](https://github.com/payloadcms/payload/issues/10627)) ([9684d31](https://github.com/payloadcms/payload/commit/9684d31))
* **ui:** filters out upload specific fields for bulk editing ([#10726](https://github.com/payloadcms/payload/issues/10726)) ([f181f97](https://github.com/payloadcms/payload/commit/f181f97))
* **ui:** admin description not being respected on tabs and padding issues with tab descriptions ([#10710](https://github.com/payloadcms/payload/issues/10710)) ([67f7c95](https://github.com/payloadcms/payload/commit/67f7c95))
* **ui:** issue with thumbnail component crashing the UI if the image didnt exist ([#10689](https://github.com/payloadcms/payload/issues/10689)) ([ddeb29f](https://github.com/payloadcms/payload/commit/ddeb29f))

### 📚 Documentation

* moves collection and globals admin docs to their respective config overviews ([#10743](https://github.com/payloadcms/payload/issues/10743)) ([e5b3da9](https://github.com/payloadcms/payload/commit/e5b3da9))
* moves customizing fields doc to fields overview ([#10742](https://github.com/payloadcms/payload/issues/10742)) ([0ca3736](https://github.com/payloadcms/payload/commit/0ca3736))
* adds examples of typed custom field components ([#10741](https://github.com/payloadcms/payload/issues/10741)) ([8b3e2ff](https://github.com/payloadcms/payload/commit/8b3e2ff))
* adds info on useSelection and useStepNav hooks ([#10683](https://github.com/payloadcms/payload/issues/10683)) ([d8682f2](https://github.com/payloadcms/payload/commit/d8682f2))
* multi-tenant plugin - remove @beta and fix npm url ([#10697](https://github.com/payloadcms/payload/issues/10697)) ([6d43910](https://github.com/payloadcms/payload/commit/6d43910))

### 📝 Templates

* update website readmes for additional information on jobs and revalidation ([#10758](https://github.com/payloadcms/payload/issues/10758)) ([61a2a9c](https://github.com/payloadcms/payload/commit/61a2a9c))
* fix potential error in the initial form state caused by type mismatch ([#10713](https://github.com/payloadcms/payload/issues/10713)) ([5e4a1d4](https://github.com/payloadcms/payload/commit/5e4a1d4))

### ⚙️ CI

* dockerhub login to increase rate-limit ([#10727](https://github.com/payloadcms/payload/issues/10727)) ([7010d93](https://github.com/payloadcms/payload/commit/7010d93))
* release notes emoji fix ([4bde09a](https://github.com/payloadcms/payload/commit/4bde09a))

### 🏡 Chores

* temporarily revert 10597 ([#10718](https://github.com/payloadcms/payload/issues/10718)) ([0c5321e](https://github.com/payloadcms/payload/commit/0c5321e))
* adds plugin-multi-tenant scope for pr title ([#10706](https://github.com/payloadcms/payload/issues/10706)) ([3e0baf5](https://github.com/payloadcms/payload/commit/3e0baf5))
* **examples:** change to useClickableCard to use AbortController ([#10680](https://github.com/payloadcms/payload/issues/10680)) ([b55342d](https://github.com/payloadcms/payload/commit/b55342d))
* **plugin-multi-tenant:** test suite enhancements ([#10732](https://github.com/payloadcms/payload/issues/10732)) ([9a87699](https://github.com/payloadcms/payload/commit/9a87699))
* **templates:** fix eslint errors in website template ([#10752](https://github.com/payloadcms/payload/issues/10752)) ([5689c65](https://github.com/payloadcms/payload/commit/5689c65))

### 🤝 Contributors

- Sasha (@r1tsuu)
- Germán Jabloñski (@GermanJablo)
- Paul (@paulpopus)
- Jacob Fletcher (@jacobsfletch)
- Dan Ribbens (@DanRibbens)
- Patrik (@PatrikKozak)
- Alessio Gravili (@AlessioGr)
- Jarrod Flesch (@JarrodMFlesch)
- Elliot DeNolf (@denolfe)
- Said Akhrarov (@akhrarovsaid)
- Boyan Bratvanov (@bratvanov)
- David Murdoch (@dsm23)
- Riley Langbein (@rilrom)