Home

>

Tools

>

Payload CMS

>

Releases

>

Release 1.11.3

Payload CMS Release: Release 1.11.3

Tag Name: v1.11.3

Release Date: 7/19/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.3 brings several quality-of-life improvements for developers, including enhanced authentication features, better logging capabilities, and UI fixes. This release focuses on improving developer experience with auto-login capabilities for testing environments, returning user data with refreshed tokens, and adding support for custom logger destinations. The update also addresses UI issues with rich text links and buttons.

Highlight of the Release

    • Auto-login capability for development and testing environments
    • User data now returned alongside refreshed authentication tokens
    • Support for custom logger destinations
    • Fixed rich text link validation on creation
    • Improved date picker functionality and styling
    • Added backdrop blur effect to buttons for better UI

Migration Guide

No migration steps are required for this release. All changes are backward compatible and should work with existing Payload CMS implementations.

If you're using custom logging solutions, you may want to review the new logger destination feature to see if it can simplify your current implementation.

Upgrade Recommendations

This release contains several quality-of-life improvements and bug fixes without introducing breaking changes. It's recommended to upgrade to v1.11.3, especially if you:

  • Are developing or testing with frequent login requirements
  • Need user data alongside token refreshes
  • Want more control over logging
  • Have experienced issues with rich text link validation
  • Use date pickers extensively in your admin UI

The upgrade process should be straightforward with minimal risk, as this is a minor patch release.

Bug Fixes

Rich Text Link Validation

Fixed an issue where rich text link elements were not properly validating during creation. This ensures that links created in the rich text editor maintain proper formatting and functionality.

Button Backdrop Blur

Added backdrop blur effect to buttons, resolving UI inconsistencies and improving visual feedback when interacting with buttons throughout the interface.

New Features

Auto-login Capability

Added a new configuration option that enables automatic login during development and testing. This feature eliminates the need to manually log in after each code change, significantly improving developer workflow and productivity.

User Data with Refreshed Tokens

The token refresh endpoint now returns the queried user data alongside the refreshed token. This enhancement reduces the need for additional API calls to fetch user information after token refresh.

Custom Logger Destination Support

Added support for custom logger destinations, allowing developers to specify where log output should be directed. This feature provides greater flexibility for log management and integration with external logging systems.

Authentication Documentation Examples

Added documentation examples for useAPIKey and disableLocalStrategy authentication options, making it easier for developers to implement these authentication features.

Security Updates

No specific security fixes were included in this release.

Performance Improvements

Date Picker Improvements

Enhanced the date picker component with improved styles and functionality, making date selection more intuitive and visually consistent with the rest of the interface.

MongoDB URI Updates

Updated example folder MongoDB URIs to work properly with Node 18, ensuring compatibility with newer Node.js versions.

Mongoose Package Stability

Pinned the mongoose-paginate-v2 dependency to ensure consistent behavior and prevent unexpected issues from package updates.

Impact Summary

PayloadCMS v1.11.3 focuses on developer experience improvements and UI enhancements. The addition of auto-login capabilities significantly streamlines development workflows by eliminating repetitive login steps. The enhancement to return user data with refreshed tokens reduces API calls and improves application efficiency.

For content editors, the UI improvements to buttons, rich text links, and date pickers create a more polished and reliable editing experience. The fixed validation for rich text links prevents potential content issues.

System administrators benefit from more flexible logging options with the new logger destination support, allowing better integration with existing monitoring systems.

Overall, this release represents a collection of targeted improvements that enhance both developer and end-user experiences without requiring migration efforts.

Full Release Notes

Statistics:

File Changed51
Line Additions558
Line Deletions168
Line Changes726
Total Commits10

User Affected:

  • Benefit from auto-login capability in development environments
  • Can now access user data alongside refreshed authentication tokens
  • Have more flexibility with custom logger destinations
  • Access to improved authentication documentation with new examples

Contributors:

jessrynkarjacobsfletchAlessioGrJarrodMFleschdenolfe