Home

>

Tools

>

Strapi

>

Releases

>

4.1.11

Strapi Release: 4.1.11

Tag Name: v4.1.11

Release Date: 5/13/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.1.11 brings important fixes for user registration and authentication flows, along with performance improvements for the upload plugin. This release addresses critical issues with admin user registration, email confirmation in the users-permissions plugin, and optimizes storage provider loading.

Highlight of the Release

    • Fixed admin user registration and invitation link functionality
    • Improved email confirmation in users-permissions plugin
    • Enhanced upload plugin by loading storage providers at the register step
    • Fixed select input color issues for better UI consistency

Migration Guide

No specific migration steps are required for this release as it primarily contains bug fixes and enhancements that don't introduce breaking changes. Users can upgrade directly from v4.1.10 to v4.1.11 without any additional configuration changes.

For general migration guidance, refer to the official Strapi migration guides.

Upgrade Recommendations

This release contains important fixes for user registration and authentication flows, making it a recommended upgrade for all Strapi users, especially those using:

  • Admin user invitation functionality
  • Email confirmation with the users-permissions plugin
  • Upload plugin with custom storage providers

To upgrade, run one of the following commands depending on your package manager:

npm install [email protected] --save

or

yarn upgrade [email protected]

This is a patch release with no breaking changes, so the upgrade process should be straightforward.

Bug Fixes

Admin User Registration

Fixed a critical issue with admin user registration where invitation links were not working correctly. The fix properly sets the registration token in the register payload response, ensuring that new admin users can successfully complete the registration process after being invited.

Email Confirmation

Resolved an issue in the users-permissions plugin where email confirmation was not functioning as expected. The fix ensures that the user service correctly fetches all necessary data instead of applying only the ID, making the email confirmation process work reliably for end users.

UI Improvements

Fixed color issues with select inputs (issue #13149) that were affecting the UI consistency and accessibility of the admin panel.

New Features

Upload Plugin Enhancement

Storage providers are now loaded at Strapi's 'register' step before the server starts. This optimization improves the initialization sequence and ensures that storage providers are properly loaded and available when needed. This change makes the upload plugin more reliable and efficient.

Security Updates

Dependency Updates

Updated @actions/core from version 1.8.0 to 1.8.1. While this is primarily a patch update for development dependencies, keeping dependencies updated is an important security practice to ensure that any potential vulnerabilities are addressed.

Performance Improvements

Upload Plugin Optimization

The upload plugin now loads storage providers at the 'register' step of Strapi's initialization process rather than waiting for the server to start. This change optimizes the startup sequence and ensures that storage providers are available earlier in the application lifecycle, potentially reducing initialization time and improving overall performance.

Impact Summary

Strapi v4.1.11 is a maintenance release that focuses on fixing critical issues in user management and authentication flows. The most significant improvements include fixing the admin user registration process, resolving email confirmation issues in the users-permissions plugin, and optimizing the upload plugin's initialization.

For administrators, this release ensures that the process of inviting new team members to the admin panel works correctly, improving team onboarding workflows. Developers will benefit from the more efficient loading of storage providers and the fixed email confirmation functionality, which reduces potential integration issues. End users will experience a more reliable registration process with proper email confirmation.

While this is a minor patch release, the fixes address important functionality that affects core user management features, making it a valuable update for most Strapi installations.

Full Release Notes

💅 Enhancement

🔥 Bug fix


📚 Migration guides can be found here 📚

Statistics:

File Changed43
Line Additions986
Line Deletions6,337
Line Changes7,323
Total Commits16

User Affected:

  • Fixed admin user registration process that was previously not working correctly
  • Improved reliability when inviting new admin users to the platform

Contributors:

vincentbprotahaziauciConvlydependabot[bot]alexandrebodin