0.15.7 (2022-04-12)
Bug Fixes
- checkbox validation error positioning (9af89b6)
Features
- sanitize defaultValue to false when field is required (6f84c0a)
Tag Name: v0.15.7
Release Date: 4/12/2022
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.
This minor release focuses on improving documentation, fixing UI issues with checkbox validation errors, and updating key dependencies to newer versions. The update to React 18 represents a significant modernization of the framework's foundation, while documentation improvements make it easier for developers to customize and extend PayloadCMS.
This release updates PayloadCMS to React 18. If you have custom components that integrate with the admin panel, you may need to review them for compatibility with React 18.
Key changes in React 18 that might affect custom components:
createRoot instead of renderFor most users, this update should be transparent and require no changes to your code.
This is a minor release with bug fixes and dependency updates. It's recommended to upgrade to benefit from the improved checkbox validation positioning and documentation improvements.
If you have extensive custom components in the admin UI, test them thoroughly after upgrading due to the React 18 update.
To upgrade:
npm install [email protected]
# or
yarn add [email protected]
exampleFieldHook function in documentationsass-loader & node-sass) for customizing CSS variables in the admin paneldefaultValue to false when a checkbox field is required, improving form validation behavior and preventing confusing statesNo security fixes were mentioned in this release.
No specific performance improvements were mentioned in this release.
This release has a low to moderate impact, primarily affecting the admin UI experience and developer documentation. The most significant change is the update to React 18, which modernizes the framework but may require testing of custom admin components.
The checkbox validation error positioning fix improves the user experience for content editors working with forms containing checkbox fields. The documentation improvements make it easier for developers to customize the admin UI and understand how to use field hooks correctly.
No database changes or API modifications are included in this release, making it a safe upgrade for most users. The changes are focused on the admin panel UI and developer experience rather than core functionality.