Home

>

Tools

>

Payload CMS

>

Releases

>

Release 1.6.18

Payload CMS Release: Release 1.6.18

Tag Name: v1.6.18

Release Date: 3/9/2023

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 v1.6.18: Table Column Improvements & Rich Text Bug Fixes

This release focuses on fixing several UI issues related to table columns and rich text fields. Key improvements include proper rendering of row fields as table columns, fixed column preference synchronization, and a critical fix for rich text fields within blocks that were causing crashes during reordering operations. These changes enhance the stability and usability of PayloadCMS's admin interface, particularly for users working with complex data structures and tables.

Highlight of the Release

    • Fixed rendering of row fields as table columns (issue #2257)
    • Resolved crashes when reordering blocks containing rich text fields (issue #2272)
    • Improved table column preference synchronization
    • Enhanced transpilation support for files above current workspace

Migration Guide

No migration steps are required for this release. The fixes are backward compatible and will automatically apply when upgrading from v1.6.17 to v1.6.18.

Upgrade Recommendations

This release is recommended for all users, especially those who:

  1. Use row fields in table columns
  2. Work with rich text fields within block fields
  3. Customize table column preferences
  4. Have experienced crashes when reordering blocks with rich text fields

The upgrade process is straightforward:

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

No configuration changes or migrations are required after upgrading.

Bug Fixes

Table Column Rendering and Preferences

  • Row Fields as Table Columns: Fixed an issue where row fields were not properly rendering as table columns in the admin UI (#2257)
  • Column Preference Synchronization: Resolved problems with table column preferences not being properly saved or synchronized across sessions
  • Drawer Column Retention: Fixed issues with column preferences in drawer components, ensuring they are properly retained

Rich Text and Block Handling

  • Block Reordering Crash: Fixed a critical bug where rich text fields within blocks were causing the application to crash when attempting to reorder them (#2272)
  • Relationship Swap: Addressed issues with relationship field handling

Build and Transpilation

  • SWC Register Transpilation: Fixed an issue that prevented swc/register from properly transpiling files located above the current workspace

New Features

No significant new features were introduced in this release. This update primarily focuses on bug fixes and stability improvements for existing functionality.

Security Updates

No security fixes were included in this release.

Performance Improvements

This release includes minor performance improvements related to table rendering and column preference handling. By fixing the synchronization of column preferences and properly rendering row fields as table columns, users should experience more responsive and consistent table behavior in the admin interface.

Impact Summary

This release primarily addresses UI and functionality issues in the PayloadCMS admin interface. The fixes for table column rendering and rich text within blocks resolve pain points that affected content editors' daily workflows.

The most significant impact comes from fixing the crash that occurred when reordering blocks containing rich text fields (issue #2272), which was a critical usability issue for anyone working with complex nested content structures.

The improvements to table column preferences ensure that user customizations to table views are properly saved and synchronized, providing a more consistent and personalized experience when working with collection data.

For developers, the fix allowing swc/register to transpile files above the current workspace removes a limitation that could affect certain project structures and build processes.

Overall, while this release doesn't introduce new features, it significantly improves the stability and reliability of core PayloadCMS functionality, making it an important update for all users.

Full Release Notes

1.6.18 (2023-03-09)

Bug Fixes

  • #2272, rich text within blocks causing crash on reorder (7daddf8)
  • allows swc/register to transpile files above current workspace (ef826c8)
  • renders row fields as table columns #2257 (b10e842)
  • table column preferences sync (a1ddd2e)

Statistics:

File Changed13
Line Additions229
Line Deletions30
Line Changes259
Total Commits11

User Affected:

  • Can now properly view row fields as table columns in the admin UI
  • Will no longer experience crashes when reordering blocks containing rich text fields
  • Will have their table column preferences properly saved and synchronized

Contributors:

jacobsfletchJarrodMFleschjmikrut