Home

>

Tools

>

Payload CMS

>

Releases

>

Release 1.11.1

Payload CMS Release: Release 1.11.1

Tag Name: v1.11.1

Release Date: 7/11/2023

Payload CMS LogoPayload CMS

Payload 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=all parameter 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=all parameter 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 protectRoles function 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

1.11.1 (2023-07-11)

Bug Fixes

  • #2980, locale=all was not iterating through arrays / blocks (d6bfba7)
  • anchor Button component respect margins (#2648) (1877d22)

Statistics:

File Changed243
Line Additions12,617
Line Deletions4,964
Line Changes17,581
Total Commits15

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

Contributors:

DanRibbensjacobsfletchPatrikKozakJarrodMFleschjessrynkarjmikrut