Payload CMS Release: Release 1.11.1
Tag Name: v1.11.1
Release Date: 7/11/2023
Payload CMSPayload CMS is a modern, self-hosted headless content management system built with TypeScript, Node.js, and MongoDB. It's designed specifically for developers who want full control over their content management system while maintaining a powerful admin interface for content editors.
TL;DR
PayloadCMS v1.11.1 is a maintenance release that fixes critical localization issues and UI improvements. This update ensures proper handling of arrays and blocks when using locale=all parameter and fixes margin issues with anchor Button components. The release also includes numerous documentation improvements and enhancements to examples for Next.js App Router.
Highlight of the Release
- Fixed localization bug where
locale=allparameter wasn't properly iterating through arrays and blocks - Fixed UI issue with anchor Button component margins
- Added Next.js App Router examples for authentication and preview functionality
- Improved error messaging for not found collections
- Enhanced documentation with fixes and new authentication video resources
Migration Guide
No migration is required for this release. This is a patch update that fixes bugs and improves documentation without introducing breaking changes.
To update to v1.11.1, simply run:
npm install [email protected]
# or
yarn add [email protected]
# or
pnpm add [email protected]
Upgrade Recommendations
This is a recommended upgrade for all users, especially those:
- Using localization with arrays and blocks
- Experiencing UI issues with Button component margins
- Working with Next.js App Router integration
The update is backward compatible and requires no migration steps. It addresses important localization functionality and UI consistency issues.
Bug Fixes
-
Localization Issue: Fixed a critical bug (#2980) where the
locale=allparameter was not properly iterating through arrays and blocks, causing incomplete data retrieval in multilingual content. -
UI Component Fix: Resolved an issue with the anchor Button component (#2648) to properly respect margins, ensuring consistent UI appearance throughout the admin panel.
-
Auth Example: Fixed the
protectRolesfunction in the authentication example to ensure proper role-based access control.
New Features
No significant new features were added in this maintenance release. The focus was on bug fixes, documentation improvements, and enhancing examples for Next.js App Router integration.
Security Updates
No security fixes were included in this release.
Performance Improvements
No specific performance improvements were included in this release. The focus was primarily on bug fixes and documentation enhancements.
Impact Summary
This release primarily addresses two important bugs: a localization issue with arrays and blocks when using the locale=all parameter, and a UI inconsistency with Button component margins. These fixes ensure more reliable multilingual content handling and a more consistent admin UI experience.
The release also significantly improves the developer experience by enhancing Next.js App Router examples for authentication and preview functionality, adding better error messaging for not found collections, and providing more comprehensive documentation including a new authentication video resource.
While this is a minor patch release, the localization fix is particularly important for users working with multilingual content structures that include arrays and blocks.
Full Release Notes
Statistics:
User Affected:
- Fixed localization issues when using `locale=all` parameter with arrays and blocks
- Improved UI consistency with Button component margin fixes
- Enhanced Next.js App Router examples for authentication and preview functionality
- Better error messaging for not found collections
