TL;DR
Strapi v4.3.7 is a maintenance release focused on bug fixes and enhancements. Key improvements include fixing component deletion when removing entities, addressing i18n locale query permissions, adding primary keys to relational tables, and enhancing SQLite support. The update also includes UI improvements, better REST API population options, and various translation fixes.
Highlight of the Release
- Fixed component deletion when removing entities to prevent orphaned data
- Added primary keys to relational tables improving database integrity
- Enhanced REST API with more flexible population parameter options
- Fixed permission issues with i18n locale queries in GraphQL
- Improved SQLite support with RETURNING clause
Migration Guide
No specific migration steps are required for this release as it primarily contains bug fixes and enhancements.
However, if you're using SQLite with custom queries that leverage the RETURNING clause, you'll now have better support for this feature.
If you've been experiencing issues with component deletion when removing entities, this release fixes that problem automatically without requiring manual intervention.
For general update instructions, refer to the official update guide.
Upgrade Recommendations
This release contains important bug fixes and enhancements that improve database integrity, fix permission issues, and enhance the REST API. It's recommended for all Strapi users to upgrade to v4.3.7, especially if you:
- Use relational data structures extensively
- Work with the i18n plugin and GraphQL
- Use SQLite as your database
- Have experienced issues with component deletion
- Need better REST API population options
The update is backward compatible and should not cause any breaking changes to your existing Strapi application.
Bug Fixes
Database and Entity Management
- Fixed component deletion when removing entities, preventing orphaned component data in the database
- Added primary keys to relational tables, improving database integrity and query performance
- Fixed handling of 0 values in relations that were previously not processed correctly
- Added support for the USE RETURNING clause in SQLite, enhancing compatibility
Internationalization and UI
- Fixed permission issues with i18n locale queries in GraphQL plugin
- Fixed the i18n LocalePicker component in Content Manager
- Fixed Spanish translation for global.users
- Fixed loadingMessage prop-types in SelectMany and SelectOne components
API and Documentation
- Fixed several issues in the users-permissions OpenAPI specification
- Updated Catalan translations for the upload plugin
- Added missing translation strings for webhook creation form
New Features
Enhanced REST API Population Options
The REST API now supports more flexible options when populating fields. You can use true, t, false, f, 1, or 0 when specifying population parameters, making API queries more intuitive and flexible.
Improved UI Consistency
Settings header primary actions are now consistently sized as "small" across the admin interface, improving UI consistency and visual harmony throughout the application.
Security Updates
No specific security fixes were mentioned in this release.
Performance Improvements
Database Improvements
- Added primary keys to relational tables, which can improve query performance and database integrity
- Improved primary key management in the schema builder
- Enhanced SQLite support with the USE RETURNING clause, which can reduce the number of queries needed for certain operations
Admin UI Optimizations
- Updated to @strapi/design-system 1.2.2, which includes various performance improvements
- Streamlined UI components with consistent sizing for action buttons
Impact Summary
Strapi v4.3.7 is a maintenance release that focuses on bug fixes and enhancements to improve stability and user experience. The most significant improvements are in database integrity with the addition of primary keys to relational tables and fixing component deletion when removing entities.
For developers, the REST API now supports more flexible population parameter options, and SQLite users will benefit from improved support for the RETURNING clause. Content editors will experience better handling of relation fields and an improved i18n locale picker component.
Administrators will notice fixed permission issues with i18n locale queries in GraphQL and an improved OpenAPI specification for the users-permissions plugin. Multilingual users will benefit from various translation fixes and additions.
This release also includes performance improvements through better database schema management and UI optimizations with the updated design system. Overall, this update enhances Strapi's reliability and user experience without introducing breaking changes.
Full Release Notes
🔥 Bug fix
- [core:admin] Fix global.users translation for ES (#14264) @WalkingPizza
- [core:content-manager] Fix/delete components when deleting entity (#14132) @Marc-Roig
- [core:content-manager] 0 values are not handled correctly in relations (#14206) @gitstart
- [core:content-manager] SelectMany/ SelectOne: Fix loadingMessage prop-types (#14326) @gu-stav
- [core:database] Add primary keys to relational table (#13720) @alexandrebodin
- [core:database] Allow USE RETURNING in SQLite (#14267) @WalkingPizza
- [plugin:graphql] Fix/i18n locale queries forbidden access (#14282) @Convly
- [plugin:i18n] CM: Fix i18n LocalePicker component (#14239) @gu-stav
- [plugin:users-permissions] Fix several issues in the users-permissions OpenAPI specification (#14275) @dmeijboom
💅 Enhancement
- [core:admin] Make all settings header primary actions small (#14195) @WalkingPizza
- [core:admin] Update upload plugin catalan translation (#14260) @davefv
- [core:strapi] Allow the use of 'true', 't', 'false', 'f', '1', '0' when populating a field in REST API (#14124) @petersg83
⚙️ Chore
📚 Update and Migration Guides
- General update guide can be found here
- Migration guides can be found here 📚