Home

>

Tools

>

Strapi

>

Releases

>

5.0.1

Strapi Release: 5.0.1

Tag Name: v5.0.1

Release Date: 9/25/2024

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 v5.0.1 is a maintenance release that brings several bug fixes, enhancements, and dependency updates following the major v5.0.0 release. Key improvements include fixes for component creation in dynamic zones, database operations, and better support for Yarn 4. The release also adds British English locale support and improves internal cron task management.

Highlight of the Release

    • Fixed issue preventing component creation from dynamic zones
    • Added British English (en-GB) locale support
    • Improved database operations with proper transaction handling
    • Added support for Yarn 4 in create-strapi-app
    • Enhanced internal cron tasks with named tasks for better monitoring

Migration Guide

No specific migration steps are required when upgrading from Strapi v5.0.0 to v5.0.1. This is a maintenance release that includes bug fixes and minor enhancements that don't require configuration changes.

If you're using Yarn 4, this release improves compatibility with create-strapi-app, making it easier to start new projects.

Upgrade Recommendations

This release is recommended for all Strapi v5.0.0 users as it fixes several important bugs and improves stability. The upgrade process should be straightforward with minimal risk:

  1. Update your Strapi dependencies in your package.json file:

    npm install @strapi/[email protected] @strapi/[email protected] @strapi/plugin-*@5.0.1
    

    or with Yarn:

    yarn upgrade @strapi/[email protected] @strapi/[email protected] @strapi/plugin-*@5.0.1
    
  2. Restart your Strapi application

No database migrations or configuration changes are required for this update.

Bug Fixes

Fixed Component Creation in Dynamic Zones

Fixed an issue that prevented users from creating components within dynamic zones, improving content modeling flexibility.

Database Operation Fixes

  • Fixed the order of dropping and creating columns and indexes to prevent database errors
  • Improved transaction handling when batch inserting data to ensure data integrity

Helper Plugin Codemods Fix

Added proper importName to helper-plugin codemods, ensuring correct imports during migration.

Keycloak Provider Spelling Fix

Corrected the spelling of "Keycloak" in the authentication provider, ensuring proper configuration.

Create Strapi App with Yarn 4

Fixed issues with create-strapi-app to properly support Yarn 4, ensuring compatibility with the latest package manager versions.

Template Version Fix

Updated templates to use Strapi v5 instead of v4, ensuring new projects start with the correct version.

New Features

Added British English (en-GB) Locale

Strapi now includes British English (en-GB) locale support, allowing for region-specific language preferences in the admin interface.

Named Internal Cron Tasks

All internal cron tasks have been updated to use named tasks, making them easier to identify, monitor, and debug in logs and monitoring tools.

Security Updates

No specific security fixes were included in this release. However, the security documentation has been updated in relation to the Strapi 5 stable release, providing users with the latest security guidance.

Performance Improvements

Improved Database Operations

The release includes optimizations for database operations:

  • Better transaction handling for batch inserts
  • Proper sequencing of column and index operations

These improvements help maintain data integrity while enhancing overall database performance.

Impact Summary

Strapi v5.0.1 is a maintenance release that addresses several bugs and adds minor enhancements following the major v5.0.0 release. The most significant fixes include resolving issues with component creation in dynamic zones, improving database operations, and adding support for Yarn 4 in the project creation tool.

For content editors, the fix for component creation in dynamic zones improves the content modeling experience. Developers will benefit from better database transaction handling, proper ordering of database operations, and improved tooling. System administrators will appreciate the named cron tasks for better monitoring and the updated security documentation.

This release also adds British English (en-GB) locale support and includes various dependency updates to keep the platform secure and performant. Overall, this is a recommended update for all Strapi v5 users that improves stability without introducing breaking changes.

Full Release Notes

What's Changed

New Contributors

Full Changelog: v5.0.0...v5.0.1

Statistics:

File Changed93
Line Additions1,829
Line Deletions1,505
Line Changes3,334
Total Commits38

User Affected:

  • Fixed issue with creating components from dynamic zones
  • Improved database operations with proper transaction handling
  • Better support for Yarn 4 in create-strapi-app
  • Fixed helper-plugin codemods with proper import names
  • Access to British English (en-GB) locale

Contributors:

Christian-Schwarz2003innerdvationsalexandrebodinsmorimotoThrottlederrickmehaffyBassel17simotae14Convlyremidej