v3.48.0

payloadcms/payloadv3.48.0Jul 17, 2025by denolfe

AI Summary

This release adds a new `findDistinct` database operation, supports atomic number field updates, and enhances the import/export plugin with field disabling and format forcing options.

Key Highlights

  • New `findDistinct` database operation
  • Atomic number field updates
  • Enhanced import/export plugin with field disabling
  • Support for collection-scoped folders

New Features

  • `findDistinct` operation
  • Atomic number field updates
  • Plugin-import-export enhancements (disable fields, force format, UI controls)
  • Lexical export utilities for server use
  • Collection-scoped folders support

Full Release Notes

## [v3.48.0](https://github.com/payloadcms/payload/compare/v3.47.0...v3.48.0) (2025-07-17)


### ๐Ÿš€ Features

* add `findDistinct` operation ([#13102](https://github.com/payloadcms/payload/issues/13102)) ([a20b436](https://github.com/payloadcms/payload/commit/a20b436))
* atomic number field updates ([#13118](https://github.com/payloadcms/payload/issues/13118)) ([841bf89](https://github.com/payloadcms/payload/commit/841bf89))
* **plugin-import-export:** adds support for disabling fields ([#13166](https://github.com/payloadcms/payload/issues/13166)) ([5839cb6](https://github.com/payloadcms/payload/commit/5839cb6))
* **plugin-import-export:** adds support for forcing export format via plugin config ([#13160](https://github.com/payloadcms/payload/issues/13160)) ([7294cf5](https://github.com/payloadcms/payload/commit/7294cf5))
* **plugin-import-export:** adds pluginConfig options to disable Save and Download buttons in export UI ([#13158](https://github.com/payloadcms/payload/issues/13158)) ([de53f68](https://github.com/payloadcms/payload/commit/de53f68))
* **richtext-lexical:** export $createLinkNode and $isLinkNode for server use ([#13205](https://github.com/payloadcms/payload/issues/13205)) ([6ae730b](https://github.com/payloadcms/payload/commit/6ae730b))
* **ui:** supports collection scoped folders ([#12797](https://github.com/payloadcms/payload/issues/12797)) ([12539c6](https://github.com/payloadcms/payload/commit/12539c6))

### ๐Ÿ› Bug Fixes

* Enhances field-level access controls on Users collection to address sโ€ฆ ([#13197](https://github.com/payloadcms/payload/issues/13197)) ([cab7ba4](https://github.com/payloadcms/payload/commit/cab7ba4))
* cron jobs running when calling bin scripts, leading to db errors ([#13135](https://github.com/payloadcms/payload/issues/13135)) ([64d76a3](https://github.com/payloadcms/payload/commit/64d76a3))
* types for RenderField fields prop ([#13162](https://github.com/payloadcms/payload/issues/13162)) ([5f01953](https://github.com/payloadcms/payload/commit/5f01953))
* **db-mongodb:** improve compatibility with Firestore database ([#12763](https://github.com/payloadcms/payload/issues/12763)) ([41cff6d](https://github.com/payloadcms/payload/commit/41cff6d))
* **plugin-import-export:** disabled flag to cascade to nested fields from parent containers ([#13199](https://github.com/payloadcms/payload/issues/13199)) ([95e373e](https://github.com/payloadcms/payload/commit/95e373e))
* **plugin-import-export:** export field dropdown to properly label and path fields in named/unnamed tabs ([#13180](https://github.com/payloadcms/payload/issues/13180)) ([2a59c5b](https://github.com/payloadcms/payload/commit/2a59c5b))
* **plugin-multi-tenant:** selector could become hidden ([#13134](https://github.com/payloadcms/payload/issues/13134)) ([e575511](https://github.com/payloadcms/payload/commit/e575511))
* **plugin-seo:** add localized property to MetaTitleComponent ([#12751](https://github.com/payloadcms/payload/issues/12751)) ([d213c91](https://github.com/payloadcms/payload/commit/d213c91))

### โšก Performance

* **drizzle:** further optimize postgres row updates ([#13184](https://github.com/payloadcms/payload/issues/13184)) ([7cd682c](https://github.com/payloadcms/payload/commit/7cd682c))

### ๐Ÿ“š Documentation

* fix minor typo ([#13185](https://github.com/payloadcms/payload/issues/13185)) ([be8e8d9](https://github.com/payloadcms/payload/commit/be8e8d9))
* performance ([#13068](https://github.com/payloadcms/payload/issues/13068)) ([277448d](https://github.com/payloadcms/payload/commit/277448d))
* fix invalid syntax failing the docs import ([#13165](https://github.com/payloadcms/payload/issues/13165)) ([4831bae](https://github.com/payloadcms/payload/commit/4831bae))
* add section on browser environment variables when using experimental-build-mode ([#13164](https://github.com/payloadcms/payload/issues/13164)) ([4c69f8e](https://github.com/payloadcms/payload/commit/4c69f8e))

### ๐Ÿงช Tests

* move i18n list tests to i18n suite ([#13143](https://github.com/payloadcms/payload/issues/13143)) ([a57faeb](https://github.com/payloadcms/payload/commit/a57faeb))
* fix flaky uploads test ([#13141](https://github.com/payloadcms/payload/issues/13141)) ([53ad02a](https://github.com/payloadcms/payload/commit/53ad02a))

### ๐Ÿ“ Templates

* bump for v3.47.0 ([#13161](https://github.com/payloadcms/payload/issues/13161)) ([f4d951d](https://github.com/payloadcms/payload/commit/f4d951d))

### โš™๏ธ CI

* disable bundle analysis for forks ([#13198](https://github.com/payloadcms/payload/issues/13198)) ([e6da384](https://github.com/payloadcms/payload/commit/e6da384))
* fix post-release-templates workflow ([#13159](https://github.com/payloadcms/payload/issues/13159)) ([edd1f02](https://github.com/payloadcms/payload/commit/edd1f02))

### ๐Ÿค Contributors

- Patrik (@PatrikKozak)
- Jarrod Flesch (@JarrodMFlesch)
- Alessio Gravili (@AlessioGr)
- Sasha (@r1tsuu)
- Sean Zubrickas (@zubricks)
- Elliott W (@elliott-w)
- Elliot DeNolf (@denolfe)
- jangir-ritik (@jangir-ritik)
- Jacob Fletcher (@jacobsfletch)
- Patrick Roelofs (@Patrickroelofs)