Home

>

Tools

>

Payload CMS

>

Releases

>

Release 1.5.3

Payload CMS Release: Release 1.5.3

Tag Name: v1.5.3

Release Date: 1/5/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

Payload CMS v1.5.3 fixes an annoying theme flicker issue in the code editor component. This small maintenance release improves the user experience by ensuring consistent theme rendering in the admin UI's code editor, eliminating the brief flash of unthemed content that was occurring previously.

Highlight of the Release

    • Fixed theme flickering issue in the code editor component
    • Removed code editor theme from options to prevent inconsistent rendering
    • Improved GraphQL type organization for globals

Migration Guide

No migration is required for this release. The update is fully backward compatible and can be installed without any changes to your existing Payload CMS implementation.

Upgrade Recommendations

This is a minor bug fix release that improves the user experience with the code editor component. While not critical, upgrading is recommended for all users who utilize code editor fields in their admin UI to benefit from the improved visual consistency.

To upgrade:

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

Bug Fixes

Code Editor Theme Flickering

Fixed an issue where the code editor component would briefly flicker between themes when loading or re-rendering. This was causing a jarring visual experience for users working with code fields in the admin UI.

The fix removes the code editor theme from options and ensures consistent theme application, preventing the momentary flash of unthemed or incorrectly themed content.

New Features

No new features were added in this release. This is primarily a bug fix and maintenance release focused on improving the existing code editor component's visual stability.

Security Updates

No security fixes were included in this release.

Performance Improvements

No specific performance improvements were included in this release. The changes were focused on visual consistency rather than performance optimization.

Impact Summary

This release has minimal impact on overall system functionality. It addresses a specific UI issue with the code editor component that was causing visual flickering when themes were applied. The changes are isolated to the admin UI experience and do not affect API functionality, data structures, or performance.

Additionally, there was some internal code organization improvement related to GraphQL types for globals being moved onto the Payload class, which is a maintenance change that doesn't affect external API behavior.

Full Release Notes

1.5.3 (2023-01-05)

Bug Fixes

  • theme flicker on code editor (6567454)

Statistics:

File Changed5
Line Additions40
Line Deletions31
Line Changes71
Total Commits7

User Affected:

  • Will experience a more consistent visual experience when using code editor fields
  • No longer see distracting theme flickers when interacting with code editor components

Contributors:

jessrynkarJarrodMFleschjmikrut