TL;DR
Strapi v4.0.1 is a maintenance release that includes numerous bug fixes, performance improvements, and enhancements. Key updates include fixes for API token population, plugin configuration, content management relation fields, and GraphQL functionality. The release also improves the admin interface with text changes, adds creation information in detail views, and includes several translation updates for multiple languages.
Migration Guide
No specific migration steps are required for upgrading from v4.0.0 to v4.0.1 as this is a maintenance release with bug fixes and minor enhancements.
If you're using API tokens with relations, note that this release fixes an issue where relations were not being populated when using read-only API keys. Your existing code should work better without changes.
If you were working around any of the fixed bugs (like the regex validation for empty strings or issues with copying content between locales), you can now remove those workarounds.
Upgrade Recommendations
This is a recommended upgrade for all Strapi v4.0.0 users as it contains important bug fixes and performance improvements.
To upgrade:
-
Update your Strapi dependencies in your package.json:
npm upgrade [email protected] --save
or with yarn:
yarn upgrade [email protected]
-
Run the installation:
npm install
or with yarn:
yarn install
-
Start your application:
npm run develop
or with yarn:
yarn develop
No database migrations or configuration changes are required for this update.
Impact Summary
Strapi v4.0.1 is a maintenance release that focuses on bug fixes and quality-of-life improvements following the major v4.0.0 release. The update addresses several critical issues that affected developers and content editors.
For developers, the most significant fixes include resolving issues with API token relation population, plugin configuration handling per environment, and GraphQL functionality improvements. The fix for relations not being populated when using read-only API keys is particularly important for applications using the API in read-only mode.
Content editors will benefit from fixes to the content manager, including relation field improvements, better handling of content copying between locales with dynamic zones, and improved error messages. The addition of creation information in detail views also enhances content tracking capabilities.
Administrators will find improvements in user management, including fixed user filtering and permission settings. The interface has been enhanced with better text consistency and additional translations for international users.
Performance improvements include optimizations to the admin build process and better handling of API queries with large result sets. The release also includes numerous translation updates for Korean, Dutch, Japanese, French, and adds Traditional Chinese support.
Overall, this release significantly improves the stability and usability of Strapi v4 without introducing breaking changes.