Home

>

Tools

>

Payload CMS

>

Releases

>

Release 0.6.1

Payload CMS Release: Release 0.6.1

Tag Name: v0.6.1

Release Date: 4/19/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

Payload CMS v0.6.1 Release

What's new: This release enables rich text relationships by default and fixes critical GraphQL localization bugs.

Why it matters: Rich text relationships are now enabled out of the box, improving the content editing experience without requiring additional configuration. The GraphQL localization fixes ensure proper functioning of localized relationship queries.

Who should care: Content editors will benefit from the improved rich text editing capabilities, while developers working with localized content and GraphQL will see more reliable query results.

Highlight of the Release

    • Rich text relationships enabled by default
    • Fixed GraphQL localization bugs with relationships
    • Improved code organization by removing duplicative columns

Migration Guide

No migration steps are required for this release. The enabling of rich text relationships by default is backward compatible and won't affect existing configurations that have explicitly set this option.

If you have previously set enableRichTextRelationship: false in your configuration, that setting will still be respected.

Upgrade Recommendations

This is a minor release with feature improvements and bug fixes. It's recommended to upgrade to benefit from the GraphQL localization fixes and improved default configuration.

To upgrade:

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

No configuration changes are required after upgrading.

Bug Fixes

GraphQL Localization Relationship Bugs

Fixed issues with GraphQL queries when working with localized relationships. This ensures that relationship queries properly respect localization settings and return the expected results across different locales.

Configuration Structure Improvements

Moved the enableRichTextRelationship configuration option to its proper location in the codebase, ensuring it works correctly and consistently.

Duplicative Columns Cleanup

Removed redundant column definitions that were causing duplication in the admin UI and database queries, resulting in a cleaner codebase and potentially improved performance.

New Features

Rich Text Relationships Enabled by Default

Rich text relationships are now enabled by default in Payload CMS. This feature allows content editors to easily create links to other documents within rich text fields without requiring additional configuration.

Previously, developers needed to explicitly set enableRichTextRelationship: true in their configuration. With this change, the feature is automatically available, streamlining the setup process and improving the content editing experience.

Security Updates

No specific security fixes were included in this release.

Performance Improvements

The removal of duplicative columns may result in slightly improved performance for database operations and admin UI rendering, though this was primarily a code cleanup rather than a targeted performance enhancement.

Impact Summary

This release focuses on improving the developer and content editor experience by enabling rich text relationships by default and fixing critical GraphQL localization bugs.

The changes are non-breaking and require no migration steps, making this a safe upgrade for all Payload CMS users. Content editors will immediately benefit from the improved rich text capabilities, while developers will see more reliable behavior when working with localized relationships in GraphQL queries.

The code cleanup (removing duplicative columns and reorganizing configuration options) contributes to a more maintainable codebase going forward.

Full Release Notes

0.6.1 (2021-04-19)

Bug Fixes

  • cleans up duplicative columns (5f2073a)
  • graphql localized relationship bugs (280f809)
  • moves enableRichTextRelationship to proper spot (16ca22b)

Features

  • sets enableRichTextRelationship to true by default (9970470)

Statistics:

File Changed8
Line Additions74
Line Deletions37
Line Changes111
Total Commits8

User Affected:

  • Rich text relationships are now enabled by default, allowing easier linking to other content within rich text fields
  • Improved editing experience without requiring additional configuration

Contributors:

jmikrut