Home

>

Tools

>

Payload CMS

>

Releases

>

Release 0.6.6

Payload CMS Release: Release 0.6.6

Tag Name: v0.6.6

Release Date: 4/27/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.6.6 delivers critical bug fixes for password updates, GraphQL error handling, rich text fields, and image processing on M1 chips. This maintenance release improves stability and compatibility across different environments without introducing breaking changes.

Highlight of the Release

    • Fixed password updates in user operations
    • Improved GraphQL error format compatibility
    • Fixed rich text handling for empty strings
    • Added support for image resizing on Apple M1 chips

Migration Guide

No migration steps are required for this release. All fixes are backward compatible and should work seamlessly when upgrading from v0.6.5.

Upgrade Recommendations

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

  • Use password fields and need to update user passwords
  • Rely on GraphQL for API interactions
  • Work with rich text fields
  • Process images on Apple M1 hardware

Since this is a patch release with no breaking changes, upgrading should be straightforward with minimal risk.

Bug Fixes

  • Password Updates: Fixed an issue where password changes weren't being saved properly during update operations. This ensures that user password updates work correctly through the API.

  • GraphQL Error Handling: Improved the GraphQL error response format to ensure compatibility with GraphQL clients and better error handling in frontend applications.

  • Rich Text Field Handling: Fixed an issue where empty rich text fields weren't being properly saved as empty strings, causing potential rendering issues.

  • API Error Typing: Removed an unnecessary check for incoming.data.length since data is properly typed as a keyed array when it is an instance of APIError, preventing potential type errors.

  • M1 Chip Compatibility: Added support for image resizing operations on Apple M1 chip architecture, ensuring that image processing works correctly on the latest Mac hardware.

New Features

No new features were introduced in this release. This is primarily a bug fix and maintenance release.

Security Updates

The fix for password updates during user operations addresses a potential security concern where password changes might not be properly saved. This ensures that password updates function correctly, maintaining the security of user accounts.

Performance Improvements

This release includes improved image processing support for Apple M1 chips, which should result in better performance for image resizing operations on M1-based systems. No other specific performance improvements were included in this release.

Impact Summary

PayloadCMS v0.6.6 is a maintenance release that addresses several important bugs affecting core functionality. The fixes for password updates, GraphQL error handling, and rich text field processing improve the reliability of the CMS for both developers and content editors. The addition of M1 chip support for image processing ensures compatibility with modern Mac hardware.

These changes collectively enhance the stability of PayloadCMS without introducing breaking changes or requiring migrations, making this a low-risk, high-value update for all users.

Full Release Notes

0.6.6 (2021-04-27)

Bug Fixes

  • graphql returns compatible error format (6f188b1)
  • handle rich text saving as empty string (382089b)
  • removes incoming.data.length check, since data is typed as a keyed array when it is an instance of APIError (2643e1a)
  • support image resizing on M1 chip (8cfc039)
  • update operation can save password changes (a85bf9e)

Statistics:

File Changed10
Line Additions314
Line Deletions295
Line Changes609
Total Commits9

User Affected:

  • Can now properly update user passwords through the API
  • Will receive properly formatted GraphQL errors for better error handling
  • No longer need to worry about rich text field edge cases when saving empty content

Contributors:

denolfeOntopicDanRibbensJarrodMFlesch