Home

>

Tools

>

Strapi

>

Releases

>

4.10.7

Strapi Release: 4.10.7

Tag Name: v4.10.7

Release Date: 5/31/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.7 brings several bug fixes, enhancements, and new features. Key improvements include fixes to the data transfer system, i18n entity service decorator, and textarea events. Notable enhancements include Arabic translations, new React hooks for better data fetching, and signed private URLs for media in REST API and GraphQL. The release also includes documentation updates for transactions and content types, along with various dependency updates.

Highlight of the Release

    • Fixed data transfer system to save schemas in memory instead of calling providers repeatedly
    • Added Arabic translations to the admin panel
    • Introduced signed private URLs for media in REST API and GraphQL
    • Created new React hooks (useAdminUsers, useClipboard) for better data fetching
    • Fixed i18n entity-service decorator findMany functionality
    • Added documentation for database transactions

Migration Guide

No specific migration steps are required for this release. This is a patch release that includes bug fixes and enhancements without breaking changes.

For general update guidance, refer to the official Strapi update guide.

Upgrade Recommendations

This is a recommended upgrade for all Strapi users, especially those who:

  1. Use the data transfer system and have experienced issues with admin data appearing in transfers
  2. Work with i18n and have encountered issues with the entity-service decorator
  3. Need Arabic language support
  4. Use private media and want to implement signed URLs
  5. Have experienced issues with textarea events in the admin panel

To upgrade, run:

npm install [email protected] --save
# or
yarn upgrade [email protected]

After upgrading, restart your Strapi application.

Bug Fixes

Data Transfer System Fixes

  • Fixed schema handling in data transfer system by saving schemas in memory instead of repeatedly calling providers
  • Fixed broken entity and links filtering in data transfers, preventing admin data from appearing in transfers

Entity Service Fixes

  • Fixed i18n entity-service decorator findMany functionality
  • Fixed wrapping of results in entity service operations

UI Fixes

  • Fixed textarea events in the admin panel
  • Fixed refetching users in the settings panel
  • Fixed an issue where the entire generatedDocumentation components were being replaced in the documentation plugin

New Features

Signed Private URLs in REST API and GraphQL

Added support for signed private URLs for media in both REST API and GraphQL. This feature allows for secure access to private media files through temporary signed URLs.

New React Hooks

  • useAdminUsers: A new data fetching hook for retrieving and managing admin users
  • useClipboard: A new hook to handle clipboard functionality without external dependencies

Arabic Translations

Added comprehensive Arabic translations to the admin panel, improving accessibility for Arabic-speaking users.

Security Updates

No specific security fixes were mentioned in this release.

Performance Improvements

Data Transfer Performance

Improved performance in the data transfer system by caching schemas in memory instead of calling destination providers repeatedly.

React Query Adoption

Refactored useModels to use react-query instead of useReducer, which provides better caching, background updates, and performance improvements for content type management.

Impact Summary

Strapi v4.10.7 is primarily a bug fix and enhancement release that improves stability and adds several quality-of-life features. The most significant impacts include:

  1. Improved Data Transfer System: Fixed issues with schema handling and entity filtering, making data transfers more reliable.

  2. Enhanced Internationalization: Fixed i18n entity-service decorator and added Arabic translations, improving the experience for international users.

  3. Better Media Handling: Added signed private URLs for media in REST API and GraphQL, enhancing security for private media files.

  4. Improved Developer Experience: New React hooks (useAdminUsers, useClipboard) and better documentation make development more efficient.

  5. UI Improvements: Fixed textarea events and other UI components for a smoother user experience.

These changes collectively improve Strapi's stability, internationalization capabilities, and developer experience without introducing breaking changes.

Full Release Notes

🔥 Bug fix

  • [core:data-transfer] Save schemas in memory and use them instead of calling providers every time (#16812) @Bassel17
  • [core:data-transfer] [DTS] Fix broken entity and links filtering (eg, admin data appearing in transfers) (#16842) @innerdvations
  • [core:helper-plugin] Fix: Textarea events (#16831) @gu-stav
  • [plugin:documentation] Fix: Avoid replacing entire generatedDocumentation components (#16788) @ammi1378
  • [plugin:i18n] [fix] i18n entity-service decorator findMany (#16486) @Boegie19

⚙️ Chore

  • [core:admin] Chore: Improve useReviewWorkflows() interface (#16820) @gu-stav
  • [core:content-manager] Chore: Refactor useModels to use react-query rather than useReducer (#16804) @gu-stav
  • [core:helper-plugin] Chore: Notification - Add missing translation (#16861) @gu-stav
  • [dependencies] chore(deps): bump fork-ts-checker-webpack-plugin from 7.2.1 to 7.3.0 (#16649) @dependabot
  • [dependencies] Chore: Update @strapi/design-system and @strapi/icons to 1.7.9 (#16843) @gu-stav
  • [dependencies] chore(deps): bump axios from 1.3.4 to 1.4.0 (#16850) @dependabot
  • [dependencies] chore(deps-dev): bump @testing-library/dom from 8.19.0 to 8.20.0 (#16851) @dependabot
  • [dependencies] chore(deps): bump formik from 2.2.9 to 2.4.0 (#16853) @dependabot
  • [tooling] chore: add file extension to remove-dist-tag workflow (#16808) @joshuaellis
  • [tooling] Remove typedoc dev dependency (#16833) @innerdvations

💅 Enhancement

  • [core:admin] Translation english to arabic (#16673) @Marwa-Hodeib
  • [core:admin] Enhancement: Create useAdminUsers data fetching hook (#16816) @gu-stav
  • [core:helper-plugin] feat: introduce useClipboard hook to remove dependency (#16751) @joshuaellis
  • [core:upload] Signed Private URLs in the REST API and GraphQL 🔥 (#16518) @Marc-Roig

📖 Documentation

🚀 New feature

  • [core:admin] documentation SSO - local authentication lock-out hide password section in the Profile page (#16819) @simotae14

📚 Update and Migration Guides

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

Statistics:

File Changed153
Line Additions8,596
Line Deletions7,324
Line Changes15,920
Total Commits169

User Affected:

  • Benefit from bug fixes in data transfer system and entity service decorators
  • Can use new React hooks for better data fetching (useAdminUsers, useClipboard)
  • Have access to improved documentation for transactions and content types
  • Can implement signed private URLs for media in REST API and GraphQL

Contributors:

Marc-RoigMarwa-HodeibBoegie19derrickmehaffydependabot[bot]Bassel17ammi1378joshuaellisFeranchzConvlychristiancp100innerdvations