Home

>

Tools

>

Strapi

>

Releases

>

4.21.1

Strapi Release: 4.21.1

Tag Name: v4.21.1

Release Date: 3/27/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 v4.21.1 is a maintenance release that addresses several critical bugs while adding bulk action capabilities for content releases. Key fixes include resolving issues with the Content-Type Builder reload, data transfer with private upload providers, foreign key constraints in push transfers, and UTC time handling in content releases. This release enhances workflow efficiency for content managers and improves system stability.

Highlight of the Release

    • Added bulk actions for content releases (publish, unpublish, delete)
    • Fixed Content-Type Builder reload after saving changes
    • Added support for private upload providers in data transfer
    • Fixed foreign key constraints in push transfers
    • Fixed UTC time handling in content releases

Migration Guide

No specific migration steps are required for this patch release. Standard update procedures apply:

  1. Update your Strapi version in your package.json:

    npm install [email protected] --save
    

    or

    yarn upgrade [email protected]
    
  2. Restart your Strapi application

For detailed information on updating Strapi, refer to the general update guide.

Upgrade Recommendations

This patch release (v4.21.1) is highly recommended for all Strapi v4.21.0 users as it fixes several critical bugs:

  • Content-Type Builder reload issues that could lead to inconsistent UI state
  • Data transfer problems with private upload providers
  • Foreign key constraint errors during push transfers
  • UTC time handling in content releases

The release also adds valuable bulk action capabilities for content releases that improve workflow efficiency.

There are no breaking changes in this release, making it a safe and straightforward upgrade from v4.21.0.

Bug Fixes

Content-Type Builder Reload

  • Fixed an issue where the Content-Type Builder (CTB) wasn't properly reloading after saving changes
  • Implemented refetch and update of initial state after successful save operations
  • Ensures that changes to content types are immediately reflected in the UI

Data Transfer Enhancements

  • Added support for private upload providers in data transfer operations
  • Refactored signing URL functionality in the Data Transfer Service (DTS)
  • Resolved foreign key constraint errors during push transfers
  • Fixed component UID resolution during transfers

Content Releases Time Handling

  • Fixed creation of UTC time-based releases when sending to backend
  • Resolved timezone-related issues when scheduling content releases
  • Fixed date editing functionality

Admin Interface

  • Fixed display of purchase pages for users with Cloud plans
  • Updated messaging for Cloud plan users

New Features

Bulk Actions for Content Releases

The Content Manager now supports bulk actions for content releases, allowing users to perform operations on multiple entries simultaneously:

  • Bulk Publish: Publish multiple content entries at once
  • Bulk Unpublish: Unpublish multiple content entries in a single action
  • Bulk Delete: Remove multiple entries from a release in one operation

This enhancement significantly improves workflow efficiency when managing large numbers of content entries, reducing the time needed for content release management.

Security Updates

No security fixes were explicitly mentioned in this release.

Performance Improvements

No specific performance improvements were highlighted in this release. The focus was primarily on bug fixes and feature enhancements for content releases.

Impact Summary

Strapi v4.21.1 delivers important stability improvements and workflow enhancements that benefit both developers and content managers. The fixes for Content-Type Builder reload issues, data transfer with private providers, and foreign key constraints resolve pain points that could impact development and migration workflows.

The addition of bulk actions for content releases represents a significant workflow improvement for content managers, enabling more efficient handling of multiple entries. This is particularly valuable for teams managing large volumes of content.

The UTC time handling fix for content releases ensures more reliable scheduling of content publication, which is critical for content teams with time-sensitive publishing requirements.

Overall, this release enhances both the development experience and content management capabilities of Strapi, with minimal upgrade effort required.

Full Release Notes

💅 Enhancement

🔥 Bug fix

  • [core:admin] fix(admin): show purchase pages also with Cloud plans and change message (#19855) @simotae14
  • [core:content-releases] fix(content-releases): fix creation of utc time based when sending to back (#19865) @Feranchz
  • [core:content-type-builder] fix: reload ctb after save (#19811) @Bassel17
  • [core:data-transfer] fix: add support for private upload providers (#19863) @Bassel17
  • [core:data-transfer] Solve foreign key error on push transfers (#19870) @christiancp100

📚 Update and Migration Guides

  • General update guide can be found here
  • Migration guides can be found here 📚

Statistics:

File Changed86
Line Additions1,892
Line Deletions1,345
Line Changes3,237
Total Commits22

User Affected:

  • Benefit from new bulk actions for content releases (publish, unpublish, delete)
  • Fixed UTC time handling in content releases prevents scheduling issues
  • Improved workflow efficiency when managing multiple content entries

Contributors:

Bassel17madhurisandbhorinnerdvationsMarc-RoigalexandrebodinFeranchzchristiancp100simotae14Convly