v3.68.2
payloadcms/payloadv3.68.2Dec 10, 2025by denolfe
AI Summary
Fixes cross-platform path resolution and improves error handling for Next.js server functions.
Key Highlights
- Fixes Windows ENOENT errors on dev startup.
- Handles unhandled errors in renderListView when no user is present.
New Features
- Use fileURLToPath for cross-platform path resolution
- Fix unhandled error in renderListView server function
- Merge user serverExternalPackages in withPayload
- Replace generic Error('Unauthorized') with UnauthorizedError
Full Release Notes
## [v3.68.2](https://github.com/payloadcms/payload/compare/v3.68.1...v3.68.2) (2025-12-10)
### 🐛 Bug Fixes
* **next:** use fileURLToPath for cross-platform path resolution ([#14877](https://github.com/payloadcms/payload/issues/14877)) ([e86098d](https://github.com/payloadcms/payload/commit/e86098d))
> Fixes Windows users getting ENOENT errors on `dev` startup.
* **next:** unhandled error in renderListView server function when no user present ([#14878](https://github.com/payloadcms/payload/issues/14878)) ([10a8f0f](https://github.com/payloadcms/payload/commit/10a8f0f))
* **next:** merge user serverExternalPackages in withPayload ([#14881](https://github.com/payloadcms/payload/issues/14881)) ([dcecc46](https://github.com/payloadcms/payload/commit/dcecc46))
### 🛠 Refactors
* replace generic Error('Unauthorized') with UnauthorizedError ([#14879](https://github.com/payloadcms/payload/issues/14879)) ([c9a8aa0](https://github.com/payloadcms/payload/commit/c9a8aa0))
* **next:** remove unnecessary react hooks from DefaultTemplate rsc ([#14876](https://github.com/payloadcms/payload/issues/14876)) ([7a94cc1](https://github.com/payloadcms/payload/commit/7a94cc1))
### 🏡 Chores
* **translations:** improve Vietnamese translations ([#14886](https://github.com/payloadcms/payload/issues/14886)) ([25ef7d1](https://github.com/payloadcms/payload/commit/25ef7d1))
### 🤝 Contributors
- Rot4tion (@Rot4tion)
- Alessio Gravili (@AlessioGr)
- Maxim Seshuk (@maximseshuk)