TL;DR
Strapi v4.10.4 brings significant MySQL performance improvements for transaction handling, enhances the admin UI with better stage color badges and notification text, adds Russian translations for i18n and users-permissions plugins, and includes several dependency updates. This release focuses on performance optimization, UI refinements, and internationalization improvements.
Highlight of the Release
- MySQL performance improvements for transaction handling
- Enhanced UI with better stage color badges and fixed spacing
- Added Russian translations for i18n and users-permissions plugins
- Admin routes can now be registered like any other plugin
- Updated dependencies including AWS SDK, webpack, and Design System
Migration Guide
No specific migration steps are required for this release. This is a patch update that should be compatible with existing Strapi v4.10.x installations.
To update to v4.10.4, you can use your package manager:
# Using npm
npm install [email protected]
# Using yarn
yarn upgrade [email protected]
# Using pnpm
pnpm update [email protected]
After updating, restart your Strapi application to apply the changes.
Upgrade Recommendations
This release is recommended for all Strapi users, especially those:
- Using MySQL as their database, who will benefit from the performance improvements
- With Russian-speaking users, who will benefit from the new translations
- Experiencing UI issues with stage color badges or button spacing
As this is a patch release (4.10.4), it contains no breaking changes and should be safe to upgrade from any 4.10.x version. The performance improvements for MySQL users make this update particularly valuable for production environments with high database load.
Bug Fixes
UI and Interface Fixes
- Stage Color Badges: Added proper borders to stage color badges, with a specific limitation to neutral0 (white) backgrounds to ensure visual consistency
- Stage Action Buttons: Reset gap between stage action buttons to fix spacing issues
- Logo Alignment: Changed alignment from stretch to center to prevent distortion
- Content Builder Message: Renamed message when running in production for better clarity
Development and Tooling Fixes
- React Router Dependency: Removed unnecessary React Router dependency to reduce bundle size and potential conflicts
- Jest Test Matching: Fixed testMatch and ignore patterns for more accurate test execution
New Features
Admin Routes Registration
Admin routes can now be registered like any other plugin, providing a more consistent approach to route management. This change allows developers to:
- Register admin routes using the same pattern as other plugins
- Use object notation for route definition
- Better organize routes by splitting them into separate files
This enhancement improves code organization and maintainability for developers working with custom admin routes.
Security Updates
No specific security fixes were included in this release.
Performance Improvements
MySQL Transaction Performance
This release significantly improves MySQL concurrency performance when using transactions. The enhancement addresses potential deadlock issues and optimizes database operations, resulting in:
- Better handling of concurrent database operations
- Reduced likelihood of deadlocks during transaction processing
- Overall improved performance for MySQL database users
This improvement is particularly beneficial for Strapi instances with high traffic or complex database operations that rely heavily on transactions.
Impact Summary
Strapi v4.10.4 delivers important performance optimizations for MySQL users through improved transaction handling, enhancing database operations in high-concurrency scenarios. The release also brings several UI refinements, including better stage color badges with proper borders, fixed spacing between action buttons, and improved notification text.
Russian-speaking users will benefit from new and updated translations for the i18n and users-permissions plugins, improving the localization experience. For developers, the ability to register admin routes like any other plugin provides a more consistent approach to route management.
The release includes several dependency updates, including AWS SDK, webpack-cli, and the Strapi Design System, keeping the framework current and secure. Overall, this patch release focuses on performance, UI refinements, and internationalization without introducing breaking changes, making it a recommended update for all Strapi users.
Full Release Notes
💅 Enhancement
- [core:strapi] enhancement: Improve mysql concurrency performance (#16364) @Marc-Roig
⚙️ Chore
🔥 Bug fix
📚 Update and Migration Guides
- General update guide can be found here
- Migration guides can be found here 📚