Home

>

Tools

>

Payload CMS

>

Releases

>

Release 2.0.4

Payload CMS Release: Release 2.0.4

Tag Name: v2.0.4

Release Date: 10/10/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 v2.0.4 is a maintenance release that focuses on UI improvements and bug fixes. This update addresses several issues with the admin interface, including sidebar rendering, field margins, array handling, and document controls. The release enhances the overall user experience by improving layout consistency, fixing visual glitches, and resolving functional bugs that affected data management.

Highlight of the Release

    • Fixed sidebar width handling for fields with long descriptions
    • Improved sticky sidebar behavior for better navigation
    • Enhanced document controls with larger hitbox areas
    • Fixed row field margins and width for better layout consistency
    • Resolved issues with nested array field configurations
    • Fixed API tab breadcrumbs and results indentation
    • Global labels now correctly render as page titles

Migration Guide

No migration steps are required for this release. This is a patch update (v2.0.4) that includes bug fixes and UI improvements, but does not introduce breaking changes or require any migration actions from users upgrading from v2.0.0-v2.0.3.

Upgrade Recommendations

We recommend all users to upgrade to v2.0.4 as it includes important bug fixes that improve the stability and usability of the admin interface. This is a patch release with no breaking changes, making it a safe upgrade from previous 2.0.x versions.

To upgrade, run:

npm install [email protected]

or

yarn add [email protected]

Bug Fixes

UI and Layout Fixes

  • Fixed sidebar width handling when fields have long descriptions (#3562)
  • Improved sticky sidebar behavior (#3563)
  • Fixed row field margins and width for better layout consistency (#3558, #3550)
  • Fixed API tab breadcrumbs and results indentation (#3564)
  • Increased document controls popup list button hitbox for better usability (#3529)
  • Fixed global labels not rendering correctly as page titles (#3532)

Data Handling Fixes

  • Fixed issue with nested array field configurations (#3549)
  • Fixed array controls 'addBelow' functionality that was incorrectly adding above
  • Fixed issue #3521 related to data handling
  • Fixed issue #3540 affecting data operations
  • Fixed issue #3541 affecting system functionality

New Features

No significant new features were introduced in this release. This update primarily focuses on bug fixes and UI improvements to enhance the existing functionality.

Security Updates

No security fixes were included in this release. The changes were focused on UI improvements and bug fixes rather than addressing security vulnerabilities.

Performance Improvements

This release does not include any specific performance improvements. The focus was primarily on fixing bugs and improving the user interface rather than enhancing performance.

Impact Summary

Payload CMS v2.0.4 is a maintenance release that significantly improves the admin interface experience. The update addresses multiple UI issues that were affecting content editors' workflow, particularly around sidebar rendering, field layouts, and document controls.

The fixes for sidebar width and sticky behavior make the admin panel more usable, especially when working with fields that have long descriptions. Row field margin and width improvements create a more consistent layout throughout the interface. The enhanced document controls with larger hitbox areas improve accessibility and ease of use.

For developers, the fixes to array handling and API tab improvements provide a more reliable development experience. The documentation additions for plugin development also make it easier to extend Payload's functionality.

Overall, this release enhances the stability and usability of Payload CMS without introducing breaking changes, making it a recommended upgrade for all users.

Full Release Notes

2.0.4 (2023-10-12)

Bug Fixes

Documentation

Statistics:

File Changed300
Line Additions16,220
Line Deletions11,806
Line Changes28,026
Total Commits107

User Affected:

  • Improved sidebar experience with better width handling for long field descriptions
  • Fixed sticky sidebar behavior for better navigation
  • Enhanced document controls with larger hitbox areas for better usability
  • Improved row field margins and width for better content layout

Contributors:

jmikrutjacobsfletchdenolfeDanRibbensAlessioGrjessrynkardependabot[bot]Terraxel99JarrodMFleschmrobsttylandavis