Changes
- Fix documentation plugin on CT deletion
- Fix hidden attributes in U&P
- Support unique fields in the CM
- Fix localization bug
- Fix admin helmet
- Bump design system version
Pre Release
Tag Name: v4.0.0-beta.18
Release Date: 11/29/2021
StrapiOpen-source headless CMS built with Node.js. Provides developers with complete freedom in choosing their favorite tools and frameworks for frontend development.
Strapi v4.0.0-beta.18 introduces unique field validation, fixes several critical bugs in the Content Manager and Admin UI, and improves the overall stability of the CMS. This release focuses on enhancing data integrity with the new unique validator while addressing issues with localization, content type management, and UI components.
No major migration steps are required for this beta release. However, if you're using custom plugins that interact with content types, you should test them thoroughly after upgrading to ensure compatibility with the fixed content type deletion handling.
If you've implemented custom validation logic for unique fields, you may want to review and potentially replace it with the new built-in unique validator.
This beta release contains important bug fixes and new features that improve the stability and functionality of Strapi v4. We recommend all developers currently using v4.0.0-beta.17 to upgrade to this version.
The upgrade process should be straightforward:
npm install [email protected]
# or
yarn upgrade [email protected]
After upgrading, restart your Strapi application and verify that all functionality works as expected, particularly if you're using localization features or have custom plugins.
assign to preserve keysThe most significant addition in this release is the new unique validator, which allows developers to enforce uniqueness constraints on their content types. This feature:
id field when checking uniquenessThe design system has been updated with several UI improvements:
id field in the findOne queryThis beta release significantly improves Strapi v4's stability and feature set by introducing unique field validation and fixing several critical bugs. The unique validator enhances data integrity capabilities, allowing developers to enforce uniqueness constraints on their content types without custom code.
The fixes for localization, content type management, and UI components address pain points reported by users and improve the overall experience. The optimization of the build process will result in smaller package sizes and faster deployments.
For developers, the improved CLI functionality and fixed content type extension mechanism provide a more reliable development experience. Content editors will benefit from the UI improvements and better localization support, while administrators will appreciate the enhanced security and more consistent UI in the Users & Permissions plugin.
As Strapi v4 moves closer to a stable release, these improvements demonstrate the team's commitment to addressing feedback and enhancing the platform's core functionality.