Home

>

Tools

>

Payload CMS

>

Releases

>

Release 0.5.4

Payload CMS Release: Release 0.5.4

Tag Name: v0.5.4

Release Date: 4/2/2021

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 v0.5.4 is a minor release that focuses on bug fixes for array and block field types and resolves issues with unique indices in MongoDB. This release improves data integrity and user experience when working with complex field types in the admin panel.

Highlight of the Release

    • Fixed bug with array and block fields not properly resetting row count on initial state changes
    • Resolved issues with unique indices in MongoDB
    • Improved issue templates for better project maintenance

Migration Guide

No migration is required for this release. The bug fixes are backward compatible and will automatically improve functionality when you upgrade.

Upgrade Recommendations

This is a recommended upgrade for all users, especially those who:

  1. Use array or block field types in their collections or globals
  2. Rely on unique indices for data integrity

To upgrade, run:

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

Bug Fixes

Array and Block Field Types

  • Fixed an issue where arrays and blocks were not properly resetting their row count when the initial state changed (9a7c0e3)
    • This ensures that dynamic content properly updates when data changes
    • Prevents potential UI inconsistencies when working with these field types

Database Improvements

  • Fixed issues with unique indices in MongoDB (23c45f1)
    • Ensures proper enforcement of uniqueness constraints
    • Improves data integrity for collections with unique field requirements

New Features

No new features were added in this release. This update focuses on bug fixes and maintenance improvements.

Security Updates

No security fixes were included in this release.

Performance Improvements

No specific performance improvements were included in this release.

Impact Summary

This release focuses on bug fixes that improve the reliability of PayloadCMS when working with array and block field types, as well as when using unique indices in MongoDB. While the changes are relatively small in scope, they address important issues that could affect data integrity and user experience.

The fixes for array and block field types ensure that the UI properly updates when data changes, preventing potential inconsistencies in the admin panel. The unique indices fix improves the reliability of enforcing uniqueness constraints in MongoDB collections.

Additionally, the project maintenance has been improved with updated issue templates, which will help with better bug reporting and feature requests from the community.

Full Release Notes

0.5.4 (2021-04-02)

Bug Fixes

  • ensures arrays and blocks reset row count on initialState change (9a7c0e3)
  • unique indices (23c45f1)

Statistics:

File Changed11
Line Additions91
Line Deletions26
Line Changes117
Total Commits6

User Affected:

  • Fixed issues with row count not resetting properly when initial state changes
  • Improved reliability when working with dynamic content

Contributors:

denolfejmikrut