Home

>

Tools

>

Payload CMS

>

Releases

>

Release 1.11.4

Payload CMS Release: Release 1.11.4

Tag Name: v1.11.4

Release Date: 7/25/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.4 brings significant accessibility improvements with enhanced keyboard focus styles across multiple UI components, fixes a critical array field crash bug, updates to the latest Mongoose versions, and introduces a more robust bundler adapter pattern. This release focuses on improving user experience for keyboard navigation while maintaining stability and performance.

Highlight of the Release

    • Enhanced keyboard focus styles across multiple UI components including Cards, Buttons, Links, Pills, Paginators, Nav, and Tables
    • Fixed critical bug that caused page crashes when array field type rows were undefined
    • Updated Mongoose and mongoose-paginate dependencies to latest versions
    • Solidified bundler adapter pattern for more flexible build configurations

Migration Guide

No migration steps are required for this release. The updates are backward compatible and should work seamlessly with existing Payload CMS implementations.

If you're using custom components that extend or modify the default UI components that received keyboard focus style updates (Cards, Buttons, Links, Pills, Paginators, Nav, Tables), you may want to review your custom styles to ensure they work harmoniously with the new focus styles.

Upgrade Recommendations

This release is recommended for all users, especially those who:

  • Prioritize accessibility in their admin interface
  • Have encountered crashes related to array fields with undefined rows
  • Want to benefit from the latest Mongoose performance improvements

The update is straightforward with no breaking changes:

npm install [email protected]
# or
yarn add [email protected]

After upgrading, test your application thoroughly, especially if you have:

  • Custom components that extend the default UI components
  • Complex array field implementations
  • Custom bundling configurations

Bug Fixes

Critical Bug Fixes

  • Fixed an issue where pages would crash if array field type rows were undefined
  • This fix prevents unexpected crashes when working with array fields that might contain undefined values
  • Resolved an issue with the CopyToClipboard component that was causing textarea tabbing problems
  • Fixed disabled state handling in the Paginator component

New Features

Enhanced Keyboard Focus Styles

A comprehensive update to keyboard focus styles has been implemented across multiple UI components:

  • Card Component: Added distinct keyboard focus outline for better visibility
  • Button Component: Implemented keyboard focus styles for improved accessibility
  • Links: Enhanced with keyboard focus styles for better navigation
  • CopyToClipboard: Fixed textarea tabbing issues and added keyboard focus styling
  • Pill Component: Added keyboard focus styles for better interaction
  • Paginator: Fixed disabled state and added keyboard focus styles
  • Nav Component: Improved with keyboard focus styles
  • Table Component: Enhanced with keyboard focus styles for better navigation

Updated Dependencies

  • Upgraded Mongoose and mongoose-paginate to their latest versions, providing performance improvements and bug fixes

Bundler Adapter Pattern

  • Solidified the bundler adapter pattern, allowing for more flexible and maintainable build configurations
  • This improvement provides a more robust foundation for different bundling strategies

Security Updates

No specific security fixes were mentioned in this release. However, keeping dependencies up-to-date (like the Mongoose update) generally helps maintain security by incorporating any security patches from those dependencies.

Performance Improvements

Mongoose Updates

The update to the latest versions of Mongoose and mongoose-paginate brings performance improvements:

  • Better query performance with the latest Mongoose optimizations
  • Improved pagination handling with the updated mongoose-paginate package

Build System Improvements

  • The solidified bundler adapter pattern provides a more efficient build process
  • More flexible configuration options for optimizing build performance

Impact Summary

PayloadCMS v1.11.4 delivers significant accessibility improvements through enhanced keyboard focus styles across the admin UI. This makes the CMS more usable for keyboard-only users and those using assistive technologies. The release also fixes a critical bug that caused crashes when array field type rows were undefined, improving overall stability.

The update to the latest Mongoose and mongoose-paginate versions brings performance benefits for database operations, while the solidified bundler adapter pattern provides developers with more flexible build configuration options.

This release demonstrates PayloadCMS's commitment to accessibility, stability, and developer experience. The keyboard focus improvements align with web accessibility standards, making the admin interface more inclusive without compromising on visual design or functionality.

Full Release Notes

1.11.4 (2023-07-25)

Bug Fixes

  • if arrayFieldType rows are undefined, page would crash (#3049) (08377cc)

Features

Statistics:

File Changed300
Line Additions7,786
Line Deletions1,757
Line Changes9,543
Total Commits11

User Affected:

  • Benefit from updated Mongoose and mongoose-paginate dependencies
  • Can leverage the solidified bundler adapter pattern for more flexible build configurations
  • No longer need to handle array field type crashes when rows are undefined

Contributors:

denolfejacobsfletchJarrodMFleschr3pwnjessrynkar