Home

>

Tools

>

Payload CMS

>

Releases

>

Release 0.5.5

Payload CMS Release: Release 0.5.5

Tag Name: v0.5.5

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

Payload CMS v0.5.5 introduces support for soft breaks in rich text editing, allowing content creators to add line breaks without creating new paragraphs by pressing Shift+Enter. This small but meaningful update improves the content editing experience by providing more formatting flexibility.

Highlight of the Release

    • Added support for soft breaks in rich text editor
    • Content creators can now use Shift+Enter to create line breaks without creating new paragraphs

Migration Guide

No migration is required for this release. The soft breaks feature is automatically available in rich text fields after upgrading.

Upgrade Recommendations

This is a minor feature release that adds soft breaks functionality to rich text fields. It's recommended to upgrade if your content creators would benefit from having more text formatting options.

To upgrade:

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

Bug Fixes

No bug fixes were included in this release.

New Features

Rich Text Soft Breaks

Payload CMS now supports soft breaks in the rich text editor. Content creators can press Shift+Enter to create a line break without starting a new paragraph. This provides more formatting flexibility when creating content in rich text fields.

Previously, pressing Enter would always create a new paragraph, which wasn't always the desired behavior for certain content types. With soft breaks, content creators have more control over the presentation of their text.

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 has a low impact on existing implementations. It adds a quality-of-life improvement for content creators by enabling soft breaks in rich text fields, but doesn't introduce any breaking changes or require modifications to existing code.

Frontend applications that render rich text content from Payload should ensure they properly handle soft breaks in the rendered output, though most rich text renderers should handle this automatically.

Full Release Notes

0.5.5 (2021-04-02)

Features

  • allows soft breaks in rich text (ecd277d)

Statistics:

File Changed3
Line Additions20
Line Deletions2
Line Changes22
Total Commits2

User Affected:

  • Can now add line breaks within paragraphs in rich text fields using Shift+Enter
  • Have more formatting flexibility when creating content
  • Can create more readable and properly formatted content without resorting to workarounds

Contributors:

jmikrut