Payload CMS Release: Release 1.6.6
Tag Name: v1.6.6
Release Date: 2/7/2023
Payload CMSPayload 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 v1.6.6 Release
This release fixes two important bugs: an infinite loop issue when populating rich text fields using dataloader and a problem with date fields in localized content. The update ensures better stability when working with rich text relationships and enables proper functioning of date fields across different locales.
Highlight of the Release
- Fixed infinite loop issue when populating rich text relationships with dataloader
- Enabled proper functioning of date fields with localized content
- Added documentation for TypeScript configuration with path aliases
Migration Guide
No migration is required for this release. The bug fixes are backward compatible and should work automatically after updating to v1.6.6.
Upgrade Recommendations
This release is recommended for all users, especially those who:
- Use rich text fields with relationships that are populated via dataloader
- Work with date fields in localized content
The update is a minor bug fix release with no breaking changes, so upgrading should be straightforward:
npm install [email protected]
# or
yarn add [email protected]
Bug Fixes
Fixed Infinite Loop in Rich Text Population
This release resolves issue #1887 where an infinite loop could occur when using dataloader to populate rich text relationships. The problem was causing performance issues and potential application crashes when working with complex rich text content that included relationships to other documents.
Fixed Date Fields with Localization
The release fixes an issue where date fields weren't functioning correctly when used with localized content. This update enables proper handling of date fields across different locales, ensuring that:
- Date fields correctly maintain their values when switching between locales
- Date formatting respects locale settings
- The datepicker component works properly in all localized contexts
The fix included updating the datepicker version, adding proper TypeScript types, and improving the date/time formatting functionality.
New Features
No new features were added in this release. This is primarily a bug fix release.
Security Updates
No security fixes were included in this release.
Performance Improvements
No specific performance improvements were highlighted in this release, although fixing the infinite loop issue with rich text population will prevent performance degradation in applications using rich text relationships.
Impact Summary
This release addresses two significant bugs that could impact day-to-day operations for Payload CMS users. The fix for the infinite loop issue in rich text population prevents potential application crashes and performance problems when working with complex content relationships. The date field localization fix ensures that multilingual sites can properly manage date content across different language versions.
Additionally, the documentation improvement for TypeScript configuration with path aliases helps developers set up more maintainable codebases with proper type generation.
While this is a minor release with only bug fixes, it's important for ensuring stable operation of Payload CMS instances that use either rich text relationships or localized date fields.
Full Release Notes
Statistics:
User Affected:
- Can now use date fields properly with localized content
- No longer experience infinite loops when populating rich text relationships
- Have access to improved documentation for TypeScript configuration with aliases
