Home

>

Tools

>

Payload CMS

>

Releases

>

Release 0.6.3

Payload CMS Release: Release 0.6.3

Tag Name: v0.6.3

Release Date: 4/21/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.6.3 is a maintenance release that addresses three important bugs related to field labeling, schema validation, and rich text handling. This release improves the stability and reliability of the CMS without introducing new features or breaking changes.

Highlight of the Release

    • Fixed array and block field labels to properly use singular and plural forms
    • Aligned admin field properties in Joi schema with TypeScript types for better type safety
    • Added safer parsing for stringified rich text JSON data

Migration Guide

No migration steps are required for this release. The bug fixes are backward compatible and should not affect existing implementations.

Upgrade Recommendations

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

  1. Use array or block fields in their collections or globals
  2. Work with rich text fields and may be passing stringified JSON data
  3. Rely on TypeScript types matching runtime validation

The release contains only bug fixes with no breaking changes, making it a safe upgrade that improves stability.

Bug Fixes

  1. Array and Block Field Labels

    • Fixed an issue where arrays and blocks weren't properly labeled with their singular and plural forms
    • This improves the admin UI by ensuring consistent and grammatically correct labeling
  2. Schema Validation Alignment

    • Fixed discrepancies between admin field properties in Joi validation schema and TypeScript types
    • This ensures that runtime validation matches the expected TypeScript types, preventing potential type errors
  3. Rich Text JSON Parsing

    • Added safer parsing for incoming stringified rich text JSON data
    • Prevents potential errors when handling malformed or unexpected rich text content

New Features

No new features were introduced in this release. This is a bug fix release focused on improving stability and reliability.

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 bug fixes rather than performance enhancements.

Impact Summary

This release focuses on quality-of-life improvements and bug fixes that enhance the stability of PayloadCMS. The fixes address issues with field labeling in the admin UI, schema validation consistency, and rich text data handling.

While these changes may seem minor, they address important aspects of the system:

  1. The field labeling fix improves the admin user experience with grammatically correct labels
  2. The schema validation alignment ensures that runtime behavior matches TypeScript expectations
  3. The rich text parsing improvement prevents potential errors when handling JSON data

These fixes collectively contribute to a more robust and reliable CMS experience for both developers and content editors.

Full Release Notes

0.6.3 (2021-04-21)

Bug Fixes

  • make admin field properties in joi schema match TS types (519c021)
  • properly label arrays/blocks with plural and singular (fa49811)
  • safely parses incoming stringified richtext json (9c95c75)

Statistics:

File Changed8
Line Additions184
Line Deletions40
Line Changes224
Total Commits5

User Affected:

  • Fixed schema validation issues that could cause type mismatches between TypeScript types and Joi validation
  • More reliable handling of rich text data when it comes in as stringified JSON

Contributors:

denolfejmikrut