Home

>

Tools

>

Strapi

>

Releases

>

4.11.5

Strapi Release: 4.11.5

Tag Name: v4.11.5

Release Date: 7/12/2023

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.11.5 is a maintenance release that includes several bug fixes, enhancements, and dependency updates. Key improvements include fixes for the settings menu permissions, media browsing functionality, and SSO query optimization. The release also enhances the developer experience with improved hooks, TypeScript support, and UI refinements.

This update is recommended for all Strapi users to ensure proper functionality and security of their applications.

Highlight of the Release

    • Fixed settings menu permissions to only display items the user has access to
    • Fixed media browsing functionality in the Content Manager
    • Improved SSO query optimization to only run when SSO is enabled
    • Enhanced i18n locale selector UI with better spacing
    • Added TypeScript support with a new 'any' type for strapi.admin
    • Refactored useLicenseLimits() hook with improved functionality

Migration Guide

No specific migration steps are required for this release as it's a maintenance update with bug fixes and enhancements.

For general update guidance:

Upgrade Recommendations

This release contains important bug fixes and enhancements that improve the overall stability and user experience of Strapi. It's recommended for all users to upgrade to v4.11.5, especially if you're experiencing any of the issues addressed in this release.

The update is particularly important for:

  • Users experiencing issues with settings menu permissions
  • Users having problems with media browsing in the Content Manager
  • Developers working with TypeScript who need better type support
  • Projects using SSO functionality

As this is a minor patch release (4.11.4 → 4.11.5), the upgrade should be straightforward with minimal risk. Follow the standard update procedure in the Strapi documentation.

Bug Fixes

Admin Panel Fixes

  • Fixed an issue where the settings menu was displaying items that users didn't have permission to access.
  • Fixed the handleClick function to properly handle click events.
  • Optimized SSO functionality to only run queries when SSO is enabled, improving performance.

Content Management Fixes

  • Fixed media browsing functionality in the Content Manager, resolving issues with media selection and browsing.
  • Fixed the i18n Content Manager EditView locale selector flex gap for better UI appearance.

Data Transfer Fixes

  • Removed merge presence in data transfer strategies to fix potential data integrity issues.

New Features

Enhanced Developer Experience

  • TypeScript Improvements: Added an any type for strapi.admin to improve TypeScript support and developer experience.
  • Improved Hooks: Refactored the useLicenseLimits() hook with better functionality and added a new getFeature() convenience method.
  • Parameter Serializer: Added a params serializer to improve API request handling.

UI Enhancements

  • Content Type Builder: Added a back icon link on the "Add Another Field" popup to improve navigation and user experience.
  • Review Workflow Columns: Refactored Content Manager list-view review-workflow columns to use the useEnterprise hook with an enabled boolean flag for better conditional rendering.

Security Updates

No specific security fixes were mentioned in this release. However, the dependency updates included in this release may contain security patches from the upstream projects.

Performance Improvements

Query Optimization

  • Improved SSO functionality by only running queries when SSO is enabled, reducing unnecessary database operations.

Dependency Updates

  • Updated multiple dependencies to newer versions with performance improvements:
    • Updated Webpack from 5.86.0 to 5.88.1
    • Updated React-Redux from 8.0.5 to 8.1.1
    • Updated Winston from 3.3.3 to 3.9.0
    • Updated Stream-JSON from 1.7.4 to 1.8.0

Tooling Improvements

  • Updated Yarn to v3.6.1 for better package management performance.
  • Improved Dependabot configuration with better grouping of updates for more efficient dependency management.

Impact Summary

Strapi v4.11.5 is a maintenance release that focuses on bug fixes, UI improvements, and dependency updates. The most significant impacts include:

  1. Improved Admin Experience: Fixed permissions in the settings menu and enhanced UI elements throughout the admin panel, making the platform more intuitive and secure.

  2. Better Content Management: Fixed issues with media browsing and improved the i18n locale selector, enhancing the content editing experience.

  3. Enhanced Developer Tools: Added TypeScript improvements, refactored hooks, and updated dependencies to provide a better development experience.

  4. Performance Optimizations: Improved SSO query handling and updated dependencies for better overall performance.

This release demonstrates Strapi's commitment to continuously improving both the user and developer experience through thoughtful refinements and bug fixes. While it doesn't introduce major new features, it strengthens the foundation of the CMS by addressing specific pain points reported by the community.

Full Release Notes

⚙️ Chore

  • [core:admin] Chore: Refactor useLicenseLimits() hook (#17050) @gu-stav
  • [core:admin] Add params serializer (#17074) @markkaylor
  • [core:admin] Chore: Remove unique identifier (#17126) @Mcastres
  • [core:admin] Chore: Apply default color to ReviewWorkflowsColumn (#17213) @gu-stav
  • [core:content-manager] chore: remove step from time configure view modal (#17155) @joshuaellis
  • [core:helper-plugin] chore: refactor helper-plugin tests & PaginationURLQuery (#17183) @joshuaellis
  • [dependencies] chore(deps-dev): bump lerna from 6.5.1 to 6.6.2 (#16785) @dependabot
  • [dependencies] chore(deps): bump graphql-scalars from 1.20.1 to 1.22.2 (#17017) @dependabot
  • [dependencies] chore(deps-dev): bump the jest group with 4 updates (#17189) @dependabot
  • [dependencies] chore(deps): bump the webpack group with 1 update (#17191) @dependabot
  • [dependencies] chore(deps-dev): bump stylelint from 13.13.1 to 15.10.1 (#17235) @dependabot
  • [dependencies] chore(deps-dev): bump jest-environment-jsdom from 29.5.0 to 29.6.1 (#17240) @dependabot
  • [dependencies] chore(deps-dev): bump @typescript-eslint/eslint-plugin from 5.59.1 to 5.61.0 (#17241) @dependabot
  • [dependencies] chore(deps): bump react-redux from 8.0.5 to 8.1.1 (#17242) @dependabot
  • [dependencies] chore(deps-dev): bump the eslint group with 2 updates (#17247) @dependabot
  • [tooling] Update Yarn to v3.6.1 (#17064) @smorimoto
  • [tooling] Chore: Group dependabot updates (#17184) @gu-stav
  • [tooling] Chore: Improve and extend dependabot groups (#17243) @gu-stav

💅 Enhancement

  • [core:admin] Chore: Refactor CM list-view review-workflow columns to use useEnterprise (#17047) @gu-stav
  • [core:admin] Enhancement: Add a getFeature convenience method to the useLicenseLimit hook (#17198) @gu-stav
  • [core:content-type-builder] Add link(back icon) on Add Another Field popup to improve user experience (#17062) @nitinmadelyn
  • [typescript] feat: Add an any type for strapi.admin (#17175) @boazpoolman

🔥 Bug fix

📚 Update and Migration Guides

  • General update guide can be found here
  • Migration guides can be found here 📚
  • ⚠️ If you experience no assets visible at the root of the Media Library please check this migration guide ⚠️

Statistics:

File Changed142
Line Additions4,386
Line Deletions5,419
Line Changes9,805
Total Commits97

User Affected:

  • Fixed settings menu permissions issue where items were displayed that the user didn't have permission to access
  • Improved SSO functionality by optimizing queries to only run when SSO is enabled
  • Enhanced usability with UI improvements in various admin sections

Contributors:

smoothdvddependabot[bot]nitinmadelynjoshuaellissmorimotoboazpoolmanMcastresConvlynoobCode-69christiancp100markkaylorMarc-Roig