v3.49.1

payloadcms/payloadv3.49.1Jul 29, 2025by denolfe

AI Summary

A patch release focusing on bug fixes, primarily supporting Next.js 15.4.4 and resolving issues with SVG file detection, serving, and trash view functionality.

Key Highlights

  • Support for Next.js 15.4.4
  • Fixes for SVG file detection and serving
  • Fixes for trash view and group-by crashes
  • Improved API key encryption handling

Full Release Notes

## [v3.49.1](https://github.com/payloadcms/payload/compare/v3.49.0...v3.49.1) (2025-07-29)


### ๐Ÿ› Bug Fixes

* support next.js 15.4.4 ([#13280](https://github.com/payloadcms/payload/issues/13280)) ([5c94d2d](https://github.com/payloadcms/payload/commit/5c94d2d))
* keep apiKey encrypted in refresh operation ([#13063](https://github.com/payloadcms/payload/issues/13063)) ([#13177](https://github.com/payloadcms/payload/issues/13177)) ([b1fa76e](https://github.com/payloadcms/payload/commit/b1fa76e))
* filters cookies with the `payload-` prefix in getExternalFile by default ([#13215](https://github.com/payloadcms/payload/issues/13215)) ([0894249](https://github.com/payloadcms/payload/commit/0894249))
* use atomic operation for incrementing login attempts ([#13204](https://github.com/payloadcms/payload/issues/13204)) ([4fde0f2](https://github.com/payloadcms/payload/commit/4fde0f2))
* refactors toast error rendering ([#13252](https://github.com/payloadcms/payload/issues/13252)) ([d093bb1](https://github.com/payloadcms/payload/commit/d093bb1))
* serve svg+xml as svg ([#13277](https://github.com/payloadcms/payload/issues/13277)) ([bc80284](https://github.com/payloadcms/payload/commit/bc80284))
* svg+xml file detection ([#13276](https://github.com/payloadcms/payload/issues/13276)) ([e8f6cb5](https://github.com/payloadcms/payload/commit/e8f6cb5))
* **drizzle:** respect join.type config ([#13258](https://github.com/payloadcms/payload/issues/13258)) ([8518141](https://github.com/payloadcms/payload/commit/8518141))
* **next:** group by null relationship crashes list view ([#13315](https://github.com/payloadcms/payload/issues/13315)) ([e502203](https://github.com/payloadcms/payload/commit/e502203))
* **next:** catch list filter errors, prevent list view crash ([#13297](https://github.com/payloadcms/payload/issues/13297)) ([8d84352](https://github.com/payloadcms/payload/commit/8d84352))
* **next:** pass req through document tab conditions and custom server components ([#13302](https://github.com/payloadcms/payload/issues/13302)) ([c5c8c13](https://github.com/payloadcms/payload/commit/c5c8c13))
* **next:** unable to view trashed documents when group-by is enabled ([#13300](https://github.com/payloadcms/payload/issues/13300)) ([aff2ce1](https://github.com/payloadcms/payload/commit/aff2ce1))
* **plugin-multi-tenant:** prefer assigned tenants for selector population ([#13213](https://github.com/payloadcms/payload/issues/13213)) ([e29d1d9](https://github.com/payloadcms/payload/commit/e29d1d9))
* **richtext-lexical:** unify indent between different converters and make paragraphs and lists match without CSS ([#13274](https://github.com/payloadcms/payload/issues/13274)) ([7cd4a8a](https://github.com/payloadcms/payload/commit/7cd4a8a))
* **translations:** improve swedish translations ([#13272](https://github.com/payloadcms/payload/issues/13272)) ([da8bf69](https://github.com/payloadcms/payload/commit/da8bf69))
* **translations:** missing closing brace in rs latin translation for lastSavedAgo ([#13172](https://github.com/payloadcms/payload/issues/13172)) ([26d9dae](https://github.com/payloadcms/payload/commit/26d9dae))
* **ui:** autosave-enabled document drawers close unexpectedly within the join field ([#13298](https://github.com/payloadcms/payload/issues/13298)) ([61ee8fa](https://github.com/payloadcms/payload/commit/61ee8fa))

### โšก Performance

* **drizzle:** 2x faster db.deleteMany ([#13255](https://github.com/payloadcms/payload/issues/13255)) ([6d6c9eb](https://github.com/payloadcms/payload/commit/6d6c9eb))

### ๐Ÿ“š Documentation

* remove asterisk from optional url property in live preview docs ([#13108](https://github.com/payloadcms/payload/issues/13108)) ([fc59448](https://github.com/payloadcms/payload/commit/fc59448))
* typo in vercel-content-link.mdx ([#13170](https://github.com/payloadcms/payload/issues/13170)) ([9e04dbb](https://github.com/payloadcms/payload/commit/9e04dbb))
* fixes typo in ternary operator for live preview docs ([#13163](https://github.com/payloadcms/payload/issues/13163)) ([72954ce](https://github.com/payloadcms/payload/commit/72954ce))
* remove obsolete scheduler property ([#13278](https://github.com/payloadcms/payload/issues/13278)) ([2e9ba10](https://github.com/payloadcms/payload/commit/2e9ba10))

### ๐Ÿงช Tests

* fix flaky sorting test ([#13303](https://github.com/payloadcms/payload/issues/13303)) ([7234924](https://github.com/payloadcms/payload/commit/7234924))

### ๐Ÿ“ Templates

* bump for v3.49.0 ([#13273](https://github.com/payloadcms/payload/issues/13273)) ([23bd675](https://github.com/payloadcms/payload/commit/23bd675))

### โš™๏ธ CI

* show path value in audit-dependencies script [skip ci] ([#13314](https://github.com/payloadcms/payload/issues/13314)) ([4beb27b](https://github.com/payloadcms/payload/commit/4beb27b))

### ๐Ÿก Chores

* **next:** cleanup unused code ([#13292](https://github.com/payloadcms/payload/issues/13292)) ([b1aac19](https://github.com/payloadcms/payload/commit/b1aac19))
* **ui:** var name typo in relationship field ([#13295](https://github.com/payloadcms/payload/issues/13295)) ([a888d5c](https://github.com/payloadcms/payload/commit/a888d5c))

### ๐Ÿค Contributors

- contip (@contip)
- German Jablonski (@GermanJablo)
- Adebayo Ajayi (@Braggedtooth)
- brutumfulmen97 (@brutumfulmen97)
- Alejandro Martinez (@ja-martinez)
- Aayush Rajagopalan (@aayushxr)
- Sean Zubrickas (@zubricks)
- Jacob Fletcher (@jacobsfletch)
- Jarrod Flesch (@JarrodMFlesch)
- Elliot DeNolf (@denolfe)
- Alessio Gravili (@AlessioGr)
- Patrik (@PatrikKozak)