TL;DR
Strapi v4.5.2 is a maintenance release focused on bug fixes and improvements to the Content Manager, Content Type Builder, and database functionality. Key fixes include JSON field editing, UI improvements for relation fields, and database compatibility enhancements for MySQL and PostgreSQL. This release also includes translation updates and internal tooling improvements.
Highlight of the Release
- Fixed JSON field editing with false values
- Fixed UI issues with text wrapping in relation fields
- Improved database compatibility with MySQL versions below 8
- Fixed PostgreSQL schema support when using raw queries
- Added tracking system for Content Type Builder access
Migration Guide
No specific migration steps are required for this release. This is a maintenance release focused on bug fixes and minor enhancements.
For general update instructions, follow the standard update guide.
Upgrade Recommendations
This release contains important bug fixes for database compatibility and UI components. It's recommended for all users to upgrade, especially if you:
- Use MySQL versions below 8
- Work with PostgreSQL with custom schemas
- Edit JSON fields with boolean values
- Experience UI issues with relation fields or toggle inputs
The upgrade process should be straightforward with no breaking changes. Simply update your dependencies using your package manager:
npm install [email protected] --save
# or
yarn upgrade [email protected]
After upgrading, restart your Strapi application to apply the changes.
Bug Fixes
Content Manager Fixes
- JSON Field Editing: Fixed an issue where JSON fields with
false values couldn't be properly edited
- UI Improvements:
- Fixed text wrapping issues in RelationMultiple fields that were causing display problems
- Fixed ToggleInput wrapping in the "Configure the view" interface
- Resolved various UI component display issues
Database Compatibility Fixes
- MySQL Compatibility: Fixed relations functionality for MySQL versions below 8 by providing alternative implementations for window functions
- PostgreSQL Schema Support: Fixed schema support for PostgreSQL when using raw queries, ensuring proper database operations across different schema configurations
Content Type Builder Fixes
- Relation Properties: Fixed an issue where custom plugin options in relation properties weren't being preserved when editing relations
New Features
Tracking System for Content Type Builder
Added a new tracking system that monitors access to the Content Type Builder. This enhancement helps administrators better understand how and when the Content Type Builder is being accessed within their Strapi instance.
Security Updates
No significant security fixes were included in this release. However, the dependency updates may include security patches from upstream packages:
- Updated loader-utils from 1.4.1 to 1.4.2
- Updated deep-object-diff from 1.1.7 to 1.1.9
- Updated @babel/parser from 7.18.10 to 7.18.13
Performance Improvements
Build System Improvements
- Replaced direct
require calls with path.resolve for better module resolution
- Updated dependencies including Design System to version 1.3.0
- Improved polyfill handling for better cross-environment compatibility
These changes help improve the build process and ensure better compatibility across different Node.js environments.
Impact Summary
Strapi v4.5.2 is a maintenance release that addresses several important bugs and introduces minor enhancements. The most significant fixes relate to database compatibility (MySQL < 8 and PostgreSQL schema support) and UI improvements in the Content Manager.
For developers, this release resolves issues with JSON field editing and relation properties in the Content Type Builder. Content editors will benefit from improved UI components, particularly with relation fields and toggle inputs.
The addition of a tracking system for Content Type Builder access provides administrators with better insights into how this critical part of the CMS is being used.
This release also includes several internal improvements to the build system and testing infrastructure, which should result in better overall stability. Translation updates for Dutch, Portuguese, and Traditional Chinese have been added as well.
Overall, this is a recommended update for all Strapi users that improves stability and user experience without introducing breaking changes.
Full Release Notes
🔥 Bug fix
⚙️ Chore
💅 Enhancement
📚 Update and Migration Guides
- General update guide can be found here
- Migration guides can be found here 📚