Payload CMS Release: Release 1.15.6
Tag Name: v1.15.6
Release Date: 9/13/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.6 Release
This maintenance release addresses three important bug fixes in PayloadCMS:
- Fixed the "greater than or equal" admin filter functionality that was not working properly
- Resolved issues with relationship fields using
relationTo[]arrays not correctly loading returned data from form submissions - Removed the Hot Module Replacement (HMR) plugin from production webpack configurations, which was causing unnecessary overhead in production environments
These fixes improve the reliability of filtering operations, relationship field handling, and production build performance.
Highlight of the Release
- Fixed 'greater than or equal' admin filter functionality
- Resolved relationship field data loading issues in form submissions
- Optimized production builds by removing unnecessary HMR plugin
Migration Guide
No migration steps are required for this release. This is a drop-in replacement that fixes bugs and improves performance without introducing breaking changes.
To upgrade, simply update your PayloadCMS dependency to version 1.15.6:
npm install [email protected]
# or
yarn add [email protected]
# or
pnpm add [email protected]
Upgrade Recommendations
This is a recommended upgrade for all PayloadCMS users, especially for:
- Users experiencing issues with the "greater than or equal" filter in the admin interface
- Projects using relationship fields with multiple collection options (
relationTo[]) - Production deployments that would benefit from optimized webpack configurations
Since this release only contains bug fixes and performance improvements with no breaking changes, upgrading should be straightforward and low-risk.
Bug Fixes
-
Fixed 'Greater Than Equal' Admin Filter
- The admin interface's "greater than or equal" filter was not functioning correctly, preventing proper content filtering
- This fix ensures that numeric and date-based filtering using the greater than or equal operator now works as expected
- PR #3306
-
Fixed Relationship Field Data Loading
- Fields with
relationTo[]array configuration were not correctly loading returned data from form submissions - This caused issues when working with relationship fields that could connect to multiple collections
- The fix ensures proper data loading and display after form submissions for these relationship fields
- PR #3317
- Fields with
-
Removed HMR Plugin from Production Webpack Configs
- The Hot Module Replacement (HMR) plugin was incorrectly included in production webpack configurations
- This was unnecessary for production builds and could potentially cause issues
- The fix removes this plugin from production builds while maintaining it for development environments
- PR #3319 addressing Issue #3289
New Features
No new features were introduced in this release. This is a maintenance release focused on bug fixes and performance improvements.
Security Updates
No security fixes were included in this release.
Performance Improvements
Optimized Production Builds
- Removed the Hot Module Replacement (HMR) plugin from production webpack configurations
- This optimization eliminates unnecessary code and processing in production environments
- Production builds should now be slightly more efficient and potentially faster to load
- This change addresses Issue #3289
Impact Summary
PayloadCMS v1.15.6 is a maintenance release that addresses three specific bugs while also providing a minor performance improvement for production builds.
The fixes for the "greater than or equal" filter and relationship field data loading directly improve the user experience for content editors and developers working with the admin interface. These issues could have caused frustration and workflow disruptions, so their resolution enhances the reliability of the CMS.
The removal of the HMR plugin from production webpack configurations is a more technical improvement that optimizes production builds. While end users might not directly notice this change, it represents better engineering practices by ensuring that development-specific tools don't unnecessarily impact production performance.
Overall, this release demonstrates PayloadCMS's commitment to stability and quality, addressing specific pain points reported by the community without introducing new features that might create additional issues.
Full Release Notes
Statistics:
User Affected:
- Benefit from more reliable relationship field data handling in form submissions
- Experience improved production build performance with the removal of the HMR plugin
- Can now properly use 'greater than or equal' filters in admin queries
