Changes
- Fixes windows support
- Fixes UI bugs
Pre Release
Tag Name: v4.0.0-beta.2
Release Date: 10/4/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.2 represents a significant milestone in the v4 migration, introducing major architectural changes, UI improvements, and new features like API Token authentication. This beta release focuses on stabilizing the new design system, enhancing developer experience, and improving cross-platform compatibility, particularly for Windows users.
This is a beta release of Strapi v4, which includes significant architectural changes from v3. If you're migrating from v3, please refer to the comprehensive migration guide in the official documentation.
For users already on v4 alpha or earlier beta releases, here are key changes to be aware of:
The middleware system has been refactored to use programmatic loading. If you've created custom middlewares, you'll need to update them to the new format.
If you're using API authentication, the new API Token system provides enhanced security and management capabilities. You may need to regenerate your tokens and update your authentication logic.
The GraphQL schema generation has been completely refactored. If you're using GraphQL, test your queries thoroughly as there might be breaking changes in how filters and relations are handled.
Component relations in the Content-Type Builder have been fixed. If you were experiencing issues with component relations, they should now work correctly, but you may need to verify your existing relations.
This release includes significant fixes for Windows compatibility. If you were experiencing issues running Strapi on Windows, many of these should now be resolved.
For development environments: We recommend upgrading to this beta release to test your applications against the latest changes in Strapi v4. This will help you prepare for the final release and provide valuable feedback to the Strapi team.
For production environments: As this is a beta release, it is not recommended for production use. There may still be breaking changes and stability issues before the final v4 release.
v4.0.0-beta.2 for all Strapi packagesnpm install or yarn installIf you encounter issues, please report them on the Strapi GitHub repository with detailed information about your environment and the steps to reproduce.
A complete API Token authentication system has been implemented, allowing for more secure and manageable API access. This includes:
The Content Manager now features improved relation handling:
/api prefix for better security isolationStrapi v4.0.0-beta.2 represents a significant step forward in the v4 migration process, focusing on stabilizing the new architecture and improving developer experience. This release brings substantial improvements to the admin UI, particularly for Dynamic Zones and relation management, while also enhancing the backend with a new API Token authentication system and refactored middleware handling.
The most impactful changes include the new API Token system, which provides better security and management for API access, and the improved relation handling in the Content Manager. Windows users will benefit from numerous fixes that improve cross-platform compatibility.
For developers, the refactored GraphQL schema generation and middleware system offer more flexibility and better performance, though they may require adjustments to existing code. Content editors will appreciate the enhanced UI for Dynamic Zones and the improved localization interface.
This beta release continues to solidify the foundation of Strapi v4, bringing it closer to production readiness while addressing feedback from earlier alpha and beta releases. While not yet recommended for production use, it provides a good opportunity for developers to test their applications against the latest changes and prepare for the final v4 release.