Changes
- Media Lib UI fixes
- Content type builder UI fixes
- Security middleware enforce safer defaults
- Filter type casting
Pre Release
Tag Name: v4.0.0-beta.7
Release Date: 10/28/2021
StrapiOpen-source headless CMS built with Node.js. Provides developers with complete freedom in choosing their favorite tools and frameworks for frontend development.
This beta release focuses on polishing the Strapi v4 experience with numerous UI fixes across the Media Library and Content Type Builder. Security has been enhanced with stricter CSP configurations, and filter functionality has been improved with proper type casting. The release also includes updates to the design system package and icon set, providing a more consistent visual experience.
As this is a beta release (v4.0.0-beta.7), no specific migration steps are required if you're already using v4.0.0-beta.6. However, if you've customized any of the following areas, you may need to make adjustments:
If you've directly imported from the design system package in custom code, you'll need to update your imports to use the new package name.
If you've modified the default CSP settings, you should review the new stricter defaults and ensure your customizations maintain appropriate security levels.
If you've created custom UI components that rely on the icon set, you may need to update your references to use the new icon components.
This release contains important bug fixes and security improvements, so upgrading from v4.0.0-beta.6 to v4.0.0-beta.7 is recommended for all users currently testing Strapi v4 beta.
To upgrade:
Update your package.json to reference the new version:
"strapi": "4.0.0-beta.7"
Run your package manager's update command:
npm install
# or
yarn
Test your application thoroughly after upgrading, especially if you use custom components that might be affected by the design system changes.
As this is still a beta release, it's recommended to test thoroughly in a non-production environment before deploying.
This beta release represents an important step in polishing the Strapi v4 experience before its stable release. The focus has been on fixing UI issues, enhancing security, and improving the developer experience.
The Media Library and Content Type Builder interfaces have received significant attention, with fixes for filters, redirections, and alignment issues. These improvements make content management more intuitive and reliable.
Security has been strengthened with stricter CSP configurations, which is particularly important for applications handling sensitive data or operating in regulated environments.
The filter type casting improvements enhance the reliability of queries, ensuring that data is properly filtered regardless of the input format.
Design system updates, including the package renaming and new icon set, contribute to a more consistent and modern visual experience throughout the application.
Overall, this release addresses several pain points reported by beta testers and moves Strapi v4 closer to production readiness.