Home

>

Tools

>

Strapi

>

Releases

>

4.11.3

Strapi Release: 4.11.3

Tag Name: v4.11.3

Release Date: 6/28/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.3 is a maintenance release that brings several enhancements and bug fixes to improve the overall user experience. Key improvements include entity cloning with relations, media library selection fixes, and performance optimizations for permissions handling. This release focuses on stability and usability improvements across the admin panel and content management features.

Highlight of the Release

    • Entity cloning now properly handles relations on the server side
    • Fixed media library multiple selection issues
    • Improved performance with memoized permissions
    • Fixed validation issues with required components and dynamic zones
    • Enhanced admin UI with consistent permissions handling

Migration Guide

No specific migration steps are required for this release. This is a maintenance release that focuses on bug fixes and enhancements without introducing breaking changes.

As always, it's recommended to:

  1. Back up your database before upgrading
  2. Test the upgrade in a development environment before applying to production
  3. Review the full changelog for any changes that might affect custom code

Upgrade Recommendations

This release contains important bug fixes and performance improvements that enhance the overall stability and user experience of Strapi. The upgrade is recommended for all users, especially those who:

  • Use the media library extensively and have experienced selection issues
  • Clone entities with relations
  • Work with required components or dynamic zones
  • Have experienced performance issues with permissions handling
  • Use bulk publish functionality

The upgrade process should be straightforward as this is a patch release without breaking changes. Follow the standard Strapi update procedure to upgrade from v4.11.2 to v4.11.3.

Bug Fixes

Media Library Fixes

  • Fixed issues with the "select all" button in the media library
  • Resolved problems when selecting items while another folder's content was already selected
  • Improved the selection state management with better tests and code comments

Content Management Fixes

  • Fixed validation consistency between regular publish and bulk publish operations
  • Resolved an issue where bulk publish functionality was removed
  • Fixed UI padding issues in the bulk publish interface
  • Improved success notifications for workflow stage changes
  • Fixed critical issue preventing saving required dynamic zones or components
  • Resolved "Not Found" errors when cloning entities with non-prohibited fields

Admin Interface Fixes

  • Prevented unnecessary API calls when saving user profile information
  • Fixed infinite rendering loops in several admin pages:
    • Role edit page
    • Audit logs page
    • SSO settings page
  • Fixed permissions handling with proper memoization to improve performance

TypeScript Improvements

  • Fixed overlapping Date type definitions
  • Extended DateValue typings to include string type
  • Enforced usage of JavaScript Date objects where appropriate

New Features

Entity Cloning with Relations

The content manager now supports cloning entities with their relations properly maintained. This server-side implementation ensures that when duplicating content:

  • Relations are properly cloned and connected to the new entity
  • Components and dynamic zones are correctly duplicated
  • Files in media fields are properly referenced
  • Prohibited fields (like UIDs) are handled appropriately

This feature significantly improves the content creation workflow by allowing editors to duplicate complex content structures without losing relationships between entities.

Review Workflow Webhooks (Enterprise Edition)

Enterprise users now benefit from webhook events for workflow stage changes:

  • New webhook event type for workflow stage changes
  • Proper payload formatting with workflow IDs and stage information
  • Integration with the webhook form for easy configuration

Security Updates

No specific security fixes were included in this release.

Performance Improvements

Admin Performance Improvements

  • Permissions are now properly memoized, preventing unnecessary re-renders and improving UI responsiveness
  • Reduced API calls when saving profile information, making the process more efficient
  • Improved code organization by moving permissions into Redux store for better state management
  • Enhanced component rendering by fixing infinite loops in several admin pages

Impact Summary

Strapi v4.11.3 is a maintenance release that addresses several important issues and introduces quality-of-life improvements for both content editors and developers.

The most significant improvements include:

  1. Enhanced Entity Cloning: The ability to clone entities with their relations properly maintained on the server side, which greatly improves content creation workflows.

  2. Fixed Media Library Selection: Resolved issues with multiple selection in the media library, improving the content management experience.

  3. Performance Optimizations: Memoized permissions and reduced unnecessary API calls, resulting in better admin panel performance.

  4. UI Fixes: Resolved rendering loops and improved interface consistency across multiple admin pages.

  5. Developer Experience: Better TypeScript support and code organization improvements with enterprise hook usage.

These changes collectively enhance the stability, performance, and usability of Strapi, making it a recommended upgrade for all users.

Full Release Notes

💅 Enhancement

  • [core:admin] Enhancement: Replace ee_else_ce imports with useEnterprise in settings - users (#16995) @gu-stav
  • [core:admin] Enhancement: Replace ee_else_ce imports with useEnterprise in auth (#16996) @gu-stav
  • [core:content-manager] [Enhancement]: Clone entity relations on the server (#16192) @Marc-Roig

🔥 Bug fix

⚙️ Chore

  • [core:admin] Chore: Move plugin permissions into constants (#17034) @gu-stav
  • [core:admin] Chore: Move admin permissions into redux (#17035) @gu-stav
  • [core:strapi] chore(telemetry): send event ID as a custom (#17029) @Baldinof
  • [dependencies] chore(deps-dev): bump nx from 16.3.2 to 16.4.0 (#17097) @dependabot

📚 Update and Migration Guides

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

Statistics:

File Changed246
Line Additions4,449
Line Deletions11,650
Line Changes16,099
Total Commits144

User Affected:

  • Improved media library multiple selection functionality
  • Enhanced entity cloning capabilities with proper relation handling
  • Fixed bulk publish functionality and UI issues
  • Better notifications for workflow stage changes

Contributors:

damusoinnerdvationsderrickmehaffyjhoward1994markkaylorBaldinofLuizPelegriniConvlyMarc-Roigjoshuaellisdependabot[bot]alexandrebodinnitinmadelyn