Home

>

Tools

>

Payload CMS

>

Releases

>

Release 0.5.2

Payload CMS Release: Release 0.5.2

Tag Name: v0.5.2

Release Date: 3/31/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.2 fixes a critical bug affecting rich text relationships in modal interfaces. This maintenance release ensures that modals work correctly when managing relationships within rich text fields, improving the content editing experience.

Highlight of the Release

    • Fixed modal interaction issues with rich text relationship fields
    • Improved stability of the rich text editor when used with relationships in modal contexts

Migration Guide

No migration steps are required for this release. The fix is applied automatically when you upgrade to v0.5.2.

Upgrade Recommendations

We recommend all users upgrade to v0.5.2, especially if you're using rich text fields with relationship functionality in your Payload CMS implementation. This is a bug fix release with no breaking changes, so upgrading should be straightforward:

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

Bug Fixes

Rich Text Relationship Modal Fix

This release addresses an issue where relationship fields within rich text editors were not functioning correctly when displayed in modal contexts. The fix ensures that:

  • Relationship modals open properly when triggered from within a rich text field
  • The correct relationship data is maintained when editing content in modal contexts
  • The UI properly handles the relationship selection workflow in nested modal scenarios

This resolves the issue reported and fixed in PR #120.

New Features

No new features were added in this release. This is a bug fix release focused on resolving issues with rich text relationship modals.

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 fixing functionality rather than performance optimization.

Impact Summary

This release has a moderate impact on content editors who work with rich text fields containing relationships in modal contexts. The fix resolves UI issues that could potentially disrupt content editing workflows when working with nested relationships.

For developers, this release eliminates the need for potential workarounds that might have been implemented to address the relationship modal issues. The changes are contained to the rich text relationship functionality and do not affect other parts of the system.

Overall, this is a targeted bug fix release that improves the stability and reliability of the content editing experience without introducing any breaking changes or requiring migration steps.

Full Release Notes

0.5.2 (2021-03-31)

Bug Fixes

  • modal issues with richtext relationship (8ea4407)

Statistics:

File Changed5
Line Additions66
Line Deletions46
Line Changes112
Total Commits3

User Affected:

  • Can now properly use relationship fields within rich text editors when they appear in modal contexts
  • Will experience fewer UI errors when working with complex content structures
  • Will have a more reliable content editing experience

Contributors:

jmikrut