Home

>

Tools

>

Payload CMS

>

Releases

>

3.0.0-beta.58

Payload CMS Release: 3.0.0-beta.58

Pre Release

Tag Name: v3.0.0-beta.58

Release Date: 7/3/2024

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 v3.0.0-beta.58 introduces an experimental table feature for the Lexical rich text editor and fixes a critical bug with request headers in view rendering. This beta release also includes important documentation updates for field admin and root-level routes.

Highlight of the Release

    • Added experimental table feature to the Lexical rich text editor
    • Fixed request headers issue in admin view rendering
    • Updated documentation for field admin in Payload 3.0
    • Clarified requirements for root-level routes in documentation

Migration Guide

No specific migration steps are required for this beta release. However, if you're using custom admin views, you may want to verify that they correctly handle request headers after updating.

Upgrade Recommendations

This beta release is recommended for developers who:

  1. Need the experimental table feature in the Lexical rich text editor
  2. Were experiencing issues with missing request headers in admin views
  3. Want to stay current with the latest documentation updates for Payload 3.0

As this is a beta release (v3.0.0-beta.58), it's primarily intended for testing and development environments rather than production deployments.

Bug Fixes

Request Headers Fix in View Rendering

Fixed an issue where req.headers was missing when admin views fetched data to render. This bug could cause problems with authentication, content negotiation, and other header-dependent functionality in admin views. The fix ensures that request headers are properly passed through inside of initPage, maintaining the integrity of the request context throughout the rendering process.

New Features

Experimental Table Feature for Lexical Rich Text Editor

The Lexical rich text editor now includes an experimental table feature (EXPERIMENTAL_TableFeature), allowing content editors to create and manage tables within rich text content. This feature enhances the content creation capabilities of the editor.

Client Features Provider Registration

Client Features can now register providers in the Lexical rich text editor, enabling more flexible and powerful plugin development. This improvement allows for better extensibility and customization of the rich text editing experience.

Security Updates

No specific security fixes were mentioned in this release.

Performance Improvements

No specific performance improvements were mentioned in this release.

Impact Summary

This beta release enhances the Lexical rich text editor with experimental table support and fixes a critical issue with request headers in view rendering. The addition of provider registration for Client Features improves the extensibility of the rich text editor.

The documentation updates for field admin and root-level routes provide clearer guidance for developers working with Payload 3.0. The request headers fix ensures that admin views have access to important header information when fetching data to render, which can prevent issues with authentication and content negotiation.

While this is a beta release with a relatively focused set of changes, it represents continued progress toward a stable Payload 3.0 release with improved rich text editing capabilities and more reliable admin view rendering.

Full Release Notes

Statistics:

File Changed60
Line Additions2,367
Line Deletions580
Line Changes2,947
Total Commits5

User Affected:

  • Can now use experimental table features in the Lexical rich text editor
  • Need to be aware of the fix for request headers in view rendering
  • Should review updated documentation for field admin and root-level routes

Contributors:

jacobsfletchJarrodMFleschAlessioGrdenolfe