🔥 Bug fix
- [core:content-manager] fix(content-manager): fix strange behaviours when you change position on Dynamic Zones and solve issue with ids not unique (#19480) @simotae14
Tag Name: v4.20.2
Release Date: 2/21/2024
StrapiOpen-source headless CMS built with Node.js. Provides developers with complete freedom in choosing their favorite tools and frameworks for frontend development.
This minor release addresses critical bugs in the Content Manager, specifically fixing issues with Dynamic Zones component positioning and unique ID generation. It also improves French translations for null/not null filters and enhances the Content Releases feature by properly cleaning up scheduled release cron jobs when deleted. This update is recommended for all users experiencing these specific issues.
No specific migration steps are required for this patch release. Simply update your Strapi version to v4.20.2.
For general update guidance, refer to the official update guide.
This patch release (v4.20.2) is recommended for all Strapi users, especially those who:
The update addresses specific bugs without introducing breaking changes, making it a safe upgrade for all v4.20.x installations.
Dynamic Zones Component Positioning: Fixed strange behaviors that occurred when changing the position of components within Dynamic Zones. The editor reference is now properly checked before creating a new one during drag operations.
Unique ID Generation: Resolved issues with non-unique IDs in Dynamic Zones that could cause unexpected behavior and conflicts.
CodeMirror Editor Cleanup: Improved the cleanup process for CodeMirror editor instances on re-rendering, preventing memory leaks and improving performance.
Component Selection: Changed the approach for selecting temporary key values to ensure more reliable operation.
No security fixes were included in this release.
This patch release focuses on fixing several important bugs that affect the day-to-day usage of Strapi, particularly for content editors working with Dynamic Zones. The fixes address issues that could cause confusion and frustration when rearranging components within Dynamic Zones, as well as potential problems caused by non-unique IDs.
For French-speaking users, the improved translations for null/not null filters enhance the usability of the admin interface. Additionally, the enhancement to the Content Releases feature ensures better resource management by properly cleaning up cron jobs when scheduled releases are deleted.
Overall, this release improves stability and user experience without introducing any breaking changes or requiring migration steps. It's a straightforward update that resolves specific issues reported by the community.