TL;DR
Strapi v4.12.6 is a maintenance release focused on code refactoring and internal improvements. It introduces support for the Valencian locale, reorganizes enterprise hooks, refactors admin app entries, and updates several dependencies. This release primarily contains code cleanup and architectural improvements that enhance the maintainability of the codebase without introducing significant user-facing changes.
Highlight of the Release
- Added support for Valencian locale
- Reorganized enterprise hooks for better maintainability
- Refactored admin app entries for improved code structure
- Added repository information to @strapi/typescript-utils package.json
- Updated several dependencies including Storybook to 7.3.2
Migration Guide
No migration steps are required for this release as it primarily contains internal code improvements and refactoring.
For general update guidance, refer to the official update guide.
If you're upgrading from an earlier version, check the migration guides for version-specific instructions.
Upgrade Recommendations
This is a maintenance release with no breaking changes, so upgrading is recommended but not urgent. Users can update at their convenience using:
npm install [email protected]
or
yarn upgrade [email protected]
After upgrading, restart your Strapi application to ensure all changes take effect.
Bug Fixes
Fixed Auth Providers Default Values
Improved the default value handling for useAuthProviders() hook, ensuring more reliable behavior when working with authentication providers.
Fixed Route Handling
- Reversed route filtering/creation process to ensure proper route registration
- Fixed code splitting for auth routes
- Removed duplicated routes check to prevent potential issues
- Fixed error handling when hashing user emails to prevent silent failures
New Features
Added Support for Valencian Locale
Strapi now includes support for the Valencian language in the admin interface, making the platform more accessible to Valencian-speaking users. This addition continues Strapi's commitment to internationalization and providing localized experiences for users worldwide.
Repository Information Added to TypeScript Utils
The @strapi/typescript-utils package now includes repository information in its package.json file, improving integration with package managers and making it easier for developers to find the source code and related resources.
Security Updates
No specific security fixes were included in this release.
Performance Improvements
Non-blocking Strapi Version Info Loading
Modified the loading of Strapi version information to be non-blocking, which can improve initial load times of the admin interface.
Code Refactoring and Optimization
Multiple components and pages were refactored for better performance and maintainability:
- Simplified ApplicationInfosPage
- Flattened component hierarchy for NotFoundPage and UseCasePage
- Replaced plugin initializer reducer with local state for better performance
- Reorganized enterprise hooks for more efficient code execution
Impact Summary
Strapi v4.12.6 is primarily a maintenance release focused on internal code improvements and refactoring. The most notable user-facing change is the addition of Valencian locale support, which benefits Valencian-speaking users.
The extensive refactoring of admin components, hooks, and pages improves the maintainability of the codebase and may result in slight performance improvements, but doesn't introduce significant functional changes. The reorganization of enterprise hooks and admin app entries creates a more structured and maintainable codebase for future development.
Several dependencies were updated, including Storybook to version 7.3.2, which keeps the project aligned with current best practices and security standards.
Overall, this release represents Strapi's ongoing commitment to code quality and internationalization without disrupting existing workflows or requiring migration steps from users.
Full Release Notes
โ๏ธ Chore
- [core:admin] added support for Valencian locale (#17535) @x3r0z
- [core:admin] Chore: Reorganize enterprise hooks (#17673) @gu-stav
- [core:admin] Chore: Refactor admin app entries (#17674) @gu-stav
- [dependencies] chore(deps-dev): bump @rollup/plugin-node-resolve from 15.1.0 to 15.2.0 (#17716) @dependabot
- [dependencies] chore(helper-plugin): setup dependabot pattern group, bump storybook (#17721) @gu-stav
- [external] Upgrade mysql2 client to 3.6.0 for CI (#17592) @innerdvations
- [plugin:users-permissions] Chore: Refactor roles list, create and edit pages (#17650) @gu-stav
- [tooling] Remove upload-artifact for playwright-reports (#17697) @innerdvations
- [typescript] chore(@โstrapi/typescript-utils): add repository info to package.json (#17488) @douglasduteil
๐ Documentation
๐ Update and Migration Guides
- General update guide can be found here
- Migration guides can be found here ๐