Home

>

Tools

>

Strapi

>

Releases

>

4.0.4

Strapi Release: 4.0.4

Tag Name: v4.0.4

Release Date: 1/10/2022

Strapi LogoStrapi

Open-source headless CMS built with Node.js. Provides developers with complete freedom in choosing their favorite tools and frameworks for frontend development.

TL;DR

Strapi v4.0.4 is a maintenance release that addresses several UI and functionality issues. It fixes infinite loading when filling content from another locale, improves the WYSIWYG editor, adds description support for Dynamic Zones, and prevents creating invalid content types. This release enhances the overall user experience with better validation and UI improvements.

Highlight of the Release

    • Fixed infinite loading issue when filling content from another locale
    • Improved WYSIWYG editor with UI enhancements
    • Added description support for Dynamic Zones
    • Added validation to prevent creating content types with empty Dynamic Zones
    • Made left menu header title and workplace translatable

Migration Guide

This is a patch release (v4.0.3 → v4.0.4) with no breaking changes. You can upgrade safely without any specific migration steps.

For general migration guides, please refer to the official Strapi documentation.

Upgrade Recommendations

It is recommended to upgrade to v4.0.4 as soon as possible, especially if you are experiencing any of the issues fixed in this release, such as:

  • Infinite loading when filling content from another locale
  • Issues with the WYSIWYG editor
  • Problems with Dynamic Zones

To upgrade, run one of the following commands depending on 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

  • Infinite Loading Fix: Resolved an issue causing infinite loading when filling content from another locale, improving the multilingual content editing experience.
  • Colors Dependency Fix: Updated cli-table3 which now uses chalk instead of colors, resolving dependency conflicts.
  • Translation Display: Fixed issues with displaying wrong translations in the admin interface.
  • Schema Validation: Added proper validation to prevent saving content types when a dynamic zone does not have components, with appropriate error notifications.

New Features

Added Features

  • Dynamic Zone Descriptions: Added support for descriptions in Dynamic Zones, providing better context for content editors when working with complex content structures.
  • Required Field UI for Rich Text: Added visual indicators for required rich text fields, making it clearer which fields must be filled before saving.
  • Translatable Left Menu Header: Made the left menu header title and workplace strings translatable resources, improving internationalization support.

Security Updates

No security fixes were mentioned in this release.

Performance Improvements

No specific performance improvements were mentioned in this release. The changes were primarily focused on bug fixes and UI enhancements.

Impact Summary

This release focuses on improving the user experience by fixing several UI and functionality issues. Content editors will benefit from the fixed infinite loading issue when working with multilingual content and the improved WYSIWYG editor. Developers will appreciate the enhanced validation for Dynamic Zones and the fixed dependency issues. The addition of descriptions for Dynamic Zones and visual indicators for required rich text fields makes the content creation process more intuitive. Overall, this is a quality-of-life improvement release that enhances the stability and usability of Strapi v4.

Full Release Notes

🐛 Bug fix

💅 Enhancement


📚 Migration guides can be found here 📚

Statistics:

File Changed55
Line Additions4,378
Line Deletions4,954
Line Changes9,332
Total Commits26

User Affected:

  • Fixed infinite loading issue when filling content from another locale
  • Improved WYSIWYG editor UI for better content editing experience
  • Added visual indicator for required rich text fields

Contributors:

iicdiis3n-w6ironronscelestesHichamELBSIsoupetteezra-enpetersg83alexandrebodin