v3.42.0

payloadcms/payloadv3.42.0Jun 9, 2025by denolfe

AI Summary

Adds support for creating importmap files, custom `toCSV` functions on fields, and debug logging options for the import/export plugin, alongside Bangla translations.

Key Highlights

  • Custom `toCSV` function support for fields
  • Importmap file creation support
  • Debug logging for import/export
  • Bangla translations

New Features

  • Create importmap file if missing
  • Custom toCSV function on fields
  • Debug logging option for import/export
  • Bangla translations

Full Release Notes

## [v3.42.0](https://github.com/payloadcms/payload/compare/v3.41.0...v3.42.0) (2025-06-09)


### 🚀 Features

* create the importmap file if missing and the location can be found ([#12727](https://github.com/payloadcms/payload/issues/12727)) ([c6659db](https://github.com/payloadcms/payload/commit/c6659db))
* **plugin-import-export:** add custom toCSV function on fields ([#12533](https://github.com/payloadcms/payload/issues/12533)) ([8f4c442](https://github.com/payloadcms/payload/commit/8f4c442))
* **plugin-import-export:** add debug logging option ([#12705](https://github.com/payloadcms/payload/issues/12705)) ([678bfc7](https://github.com/payloadcms/payload/commit/678bfc7))
* **translations:** add Bangla translations ([#12696](https://github.com/payloadcms/payload/issues/12696)) ([3f670ca](https://github.com/payloadcms/payload/commit/3f670ca))

### 🐛 Bug Fixes

* proper globals max versions clean up ([#12611](https://github.com/payloadcms/payload/issues/12611)) ([9fbc3f6](https://github.com/payloadcms/payload/commit/9fbc3f6))
* adds routeParams to the req on views ([#12711](https://github.com/payloadcms/payload/issues/12711)) ([773e4ad](https://github.com/payloadcms/payload/commit/773e4ad))
* **plugin-form-builder:** export DateField type ([#12695](https://github.com/payloadcms/payload/issues/12695)) ([8d7dbe6](https://github.com/payloadcms/payload/commit/8d7dbe6))
* **plugin-import-export:** incorrect config extension of jobs ([#12730](https://github.com/payloadcms/payload/issues/12730)) ([ff615d3](https://github.com/payloadcms/payload/commit/ff615d3))
* **plugin-import-export:** revise zhTw translations ([#12685](https://github.com/payloadcms/payload/issues/12685)) ([afbdf3d](https://github.com/payloadcms/payload/commit/afbdf3d))
* **richtext-lexical:** text state css not applied if 2+ text state groups present ([#12726](https://github.com/payloadcms/payload/issues/12726)) ([3d177fd](https://github.com/payloadcms/payload/commit/3d177fd))
* **richtext-lexical:** prevent runtime error if using TextStateFeature without props ([#12668](https://github.com/payloadcms/payload/issues/12668)) ([6f82154](https://github.com/payloadcms/payload/commit/6f82154))
* **richtext-slate:** add 'li' string literal to RichTextElement type ([#12693](https://github.com/payloadcms/payload/issues/12693)) ([e10e445](https://github.com/payloadcms/payload/commit/e10e445))
* **translations:** correct i18n dynamic variable name for 'movingFromFolder' ([#12642](https://github.com/payloadcms/payload/issues/12642)) ([6f76d72](https://github.com/payloadcms/payload/commit/6f76d72))

### ⚡ Performance

* **richtext-lexical:** improve typing performance while toolbars are enabled ([#12669](https://github.com/payloadcms/payload/issues/12669)) ([aef4f77](https://github.com/payloadcms/payload/commit/aef4f77))

### 📚 Documentation

* document how to expose the jobs collection in Admin UI ([#12707](https://github.com/payloadcms/payload/issues/12707)) ([34fe36b](https://github.com/payloadcms/payload/commit/34fe36b))
* fix formatting in custom components > edit view paragraph ([#12697](https://github.com/payloadcms/payload/issues/12697)) ([6466684](https://github.com/payloadcms/payload/commit/6466684))
* improve jobs autorun docs, adds e2e test ([#12196](https://github.com/payloadcms/payload/issues/12196)) ([7c05c77](https://github.com/payloadcms/payload/commit/7c05c77))
* enhance drafts documentation with examples for REST, Local, and GraphQL APIs ([#12575](https://github.com/payloadcms/payload/issues/12575)) ([629e74d](https://github.com/payloadcms/payload/commit/629e74d))
* removes duplicate headline in building without a db connection ([#12694](https://github.com/payloadcms/payload/issues/12694)) ([4ee4aa7](https://github.com/payloadcms/payload/commit/4ee4aa7))
* **plugin-form-builder:** add warning about GraphQL type name collis… ([#12720](https://github.com/payloadcms/payload/issues/12720)) ([7b21270](https://github.com/payloadcms/payload/commit/7b21270))

### 🏡 Chores

* enable turbopack by default in monorepo ([#12684](https://github.com/payloadcms/payload/issues/12684)) ([f80dc5b](https://github.com/payloadcms/payload/commit/f80dc5b))

### 🤝 Contributors

- Dan Ribbens (@DanRibbens)
- Sasha (@r1tsuu)
- sonny.you (@SonnyYou)
- Jarrod Flesch (@JarrodMFlesch)
- Alessio Gravili (@AlessioGr)
- Germán Jabloñski (@GermanJablo)
- Gordon Westerman (@gwesterman)
- Willian de Souza (@WillFelisberto)
- Anyu Jiang (@anyuj)
- SHOMRIDDHO'S WORLD (@shomriddho)
- Jessica Rynkar (@jessrynkar)
- Paul (@paulpopus)
- Sean Zubrickas (@zubricks)