Payload CMS Release: Release 1.15.5
Tag Name: v1.15.5
Release Date: 9/9/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
PayloadCMS v1.15.5 is a minor bug fix release that addresses issues with hasMany relationships in field state promises and resolves console errors for checkboxes. This maintenance update ensures smoother operation of relationship fields and eliminates unnecessary console warnings.
Highlight of the Release
- Fixed hasMany relationships within addFieldStatePromise functionality
- Eliminated console errors for checkbox components
Migration Guide
No migration is required for this release. The fixes are backward compatible and should work automatically after updating.
Upgrade Recommendations
This is a recommended upgrade for all users who:
- Use hasMany relationships with field state promises
- Are bothered by console errors when using checkbox fields
The update is small and focused, with minimal risk of introducing new issues. You can upgrade directly from v1.15.4 to v1.15.5 without any additional steps.
Bug Fixes
Fixed hasMany relationships in field state promises
The primary fix in this release addresses an issue with hasMany relationships when used within the addFieldStatePromise functionality. Previously, these relationships weren't being handled correctly, which could lead to unexpected behavior when field states depended on hasMany relationship values. This has been corrected in PR #3300.
Eliminated console errors for checkboxes
This release also fixes console errors that were appearing when using checkbox fields. These errors, while not affecting functionality, were cluttering developer consoles and have now been resolved in PR #3291.
New Features
No new features were added in this release. This is a maintenance release focused on bug fixes.
Security Updates
No security fixes were included in this release.
Performance Improvements
No specific performance improvements were included in this release. The changes were focused on bug fixes and error resolution.
Impact Summary
This release has a low to moderate impact, primarily affecting developers who use hasMany relationships with field state promises or who have been experiencing console errors with checkbox fields. The changes are non-breaking and focused on fixing specific issues rather than introducing new functionality.
The hasMany relationship fix ensures that field state promises work correctly with these relationship types, which is important for forms that rely on relationship field values to determine the state of other fields.
The checkbox console error fix is more of a quality-of-life improvement for developers, eliminating unnecessary warnings that could make it harder to spot actual issues in the console.
