Home

>

Tools

>

Strapi

>

Releases

>

4.10.6

Strapi Release: 4.10.6

Tag Name: v4.10.6

Release Date: 5/24/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.10.6 is a maintenance release that focuses on bug fixes, enhancements, and dependency updates. Key improvements include fixes for media library folder management, collection name validation, and Cloudinary upload handling. The release also enhances the admin interface with better error displays and refactors the webhooks list view for improved performance.

Highlight of the Release

    • Fixed critical issue where media library folders and files could get unintentionally deleted
    • Improved collection name validation to ensure uniqueness of collection names and IDs
    • Enhanced Cloudinary provider to use chunked uploads for better handling of large files
    • Refactored webhooks list view for improved performance and user experience
    • Fixed issue with description and min/max characters not being visible during validation errors

Migration Guide

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

If you're using Cloudinary as a provider and working with large files (>100MB), you'll automatically benefit from the improved chunked upload implementation without any configuration changes.

Upgrade Recommendations

This release contains important bug fixes, especially for media library management and collection name validation. It's recommended for all users to upgrade, particularly if you:

  1. Work extensively with the media library and folder organization
  2. Are developing content types with similar singular/plural names
  3. Use Cloudinary for media storage and work with large files
  4. Rely on webhooks for integrations

The upgrade process should be straightforward with minimal risk, as this is primarily a maintenance release with no breaking changes.

Bug Fixes

Media Library Folder Management

  • Fixed a critical issue where media library folders and files could get unintentionally deleted
  • Resolved a problem where some folders couldn't be moved inside others
  • Improved path matching logic for folder operations

Content Management

  • Fixed issue where description and min/max characters were not visible during validation error screens
  • Fixed collection names check for plural names in edit mode
  • Added validation to prevent singular name conflicts with collection names

Data Transfer

  • Fixed an issue in transfer pull operations where the code was waiting for websocket connections multiple times, causing potential performance issues

Admin User Management

  • Fixed a bug where the system would try to use undefined admin user email, causing errors

Cloudinary Provider

  • Fixed file upload limitations by using upload_chunked_stream instead of upload_stream, allowing for uploads larger than 100MB

New Features

Collection Names and IDs Uniqueness

The content-type builder now enforces uniqueness for collection names and IDs, preventing potential conflicts in your content structure. This validation ensures that singular and plural names don't clash with existing collection names, improving the robustness of your content model.

Webhooks List View Refactoring

The webhooks management interface has been completely refactored to use modern React patterns and React Query for state management. This results in a more responsive and maintainable UI with improved data fetching, mutation handling, and better error management.

Environment Property in Tracking System

The environment property has been reintroduced in the tracking system, allowing for better analytics and monitoring of your Strapi instance across different environments.

Security Updates

No significant security fixes were included in this release.

Performance Improvements

Webhooks Management

The webhooks list view has been completely refactored to use React Query for data fetching and state management, resulting in more efficient rendering and better performance when managing webhooks.

API Calls Optimization

Replaced numerous axios calls with helper-plugin utilities, standardizing the way API calls are made throughout the admin panel and improving overall responsiveness.

Build Tooling

  • Aligned SWC usage for unit tests and fixed SWC/helpers hazards
  • Removed unnecessary dependencies like react-fast-compare and react-test-renderer
  • Updated Design System to version 1.7.7 for better performance

Impact Summary

Strapi v4.10.6 is a maintenance release that addresses several important bugs and introduces quality-of-life improvements for both developers and content managers.

The most significant fixes target the media library, preventing unintentional deletion of folders and files and resolving issues with folder movement operations. These improvements enhance data safety and provide a more reliable media management experience.

For developers, the collection name validation enhancements ensure more robust content modeling by preventing naming conflicts. The Cloudinary provider improvements allow for handling larger files through chunked uploads, removing the previous 100MB limitation.

The webhooks list view refactoring demonstrates Strapi's ongoing modernization efforts, moving toward React Query for state management and improving the overall developer experience when working with the admin panel.

While this release doesn't introduce major new features, the cumulative effect of these fixes and enhancements results in a more stable, performant, and user-friendly Strapi experience.

Full Release Notes

📖 Documentation

🔥 Bug fix

  • [core:admin] Make sure the admin user email is defined before trying to use it (#16705) @Convly
  • [core:content-manager] fix: Description and min/max characters not visible during error screen (#16404) @gitstart
  • [core:content-type-builder] fix collection names check for plural names in edit (#16789) @simotae14
  • [core:data-transfer] Wait for websocket to open only once in transfer pull (#16648) @Bassel17
  • [core:upload] fix: Media library folders and files can get unintentionally deleted (#16759) @Marc-Roig
  • [core:upload] fix: Some folders can't be moved inside others (#16760) @Marc-Roig
  • [docs] chore: license in strapi/ee needs prefix (#16799) @joshuaellis
  • [providers] Use upload_chunked_stream instead if upload_stream (#16621) @goodhoko

💅 Enhancement

  • [core:admin] Chore: Add eslint rule to forbid access to the strapi global (#16736) @gu-stav
  • [core:content-type-builder] Collection names and ids uniqueness (#16465) @simotae14

⚙️ Chore

  • [core:admin] Chore: Replace axios calls with helper-plugin utils (#16628) @simotae14
  • [core:admin] [Webhooks FE] Refactor List view (#16700) @jhoward1994
  • [core:content-manager] Chore: Refactor useModels to use react-query rather than useReducer (#16791) @gu-stav
  • [core:strapi] Reintroduce the environment property in the tracking system (#16706) @marcoautiero
  • [dependencies] chore(deps): bump @graphql-tools/utils from 8.12.0 to 8.13.1 (#16715) @dependabot
  • [dependencies] chore(deps-dev): bump nx from 15.8.3 to 15.9.4 (#16717) @dependabot
  • [dependencies] chore(deps): bump date-fns from 2.29.3 to 2.30.0 (#16718) @dependabot
  • [dependencies] chore(deps): bump babel-plugin-styled-components from 2.0.2 to 2.1.1 (#16719) @dependabot
  • [dependencies] chore(deps): bump vm2 from 3.9.17 to 3.9.18 (#16732) @dependabot
  • [dependencies] chore: remove react-fast-compare (#16749) @joshuaellis
  • [dependencies] chore: remove react-test-renderer (#16750) @joshuaellis
  • [dependencies] chore: update DS to 1.7.6 (#16770) @joshuaellis
  • [dependencies] chore(deps-dev): bump eslint from 8.27.0 to 8.41.0 (#16784) @dependabot
  • [tooling] Remove @vscode/sqlite3 from example and CI matrix (#16693) @belgattitude
  • [tooling] chore: align swc usage for test:unit and fix swc/helpers hazards (#16731) @belgattitude
  • [tooling] Chore: Update license files (#16742) @gu-stav

📚 Update and Migration Guides

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

Statistics:

File Changed245
Line Additions3,829
Line Deletions5,801
Line Changes9,630
Total Commits126

User Affected:

  • Fixed issue where media library folders and files could get unintentionally deleted
  • Fixed problem where some folders couldn't be moved inside others
  • Improved error display showing description and min/max characters during validation errors

Contributors:

gitstartsimotae14innerdvationsgoodhokoBassel17joshuaellisjhoward1994Convlybelgattitudemaccomaccomaccomaccodependabot[bot]derrickmehaffyMarc-Roiggu-stav