Home

>

Tools

>

Strapi

>

Releases

>

5.10.0

Strapi Release: 5.10.0

Tag Name: v5.10.0

Release Date: 2/12/2025

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 v5.10.0 introduces responsive design improvements for the blocks editor toolbar and markdown editor, along with a new "Relations on the fly" feature behind a future flag. This release also includes pre-generated API tokens on app creation, improved error logging for validations, and numerous bug fixes addressing UI issues, relation handling, and pagination errors. The update enhances the overall user experience with better responsiveness and fixes several long-standing issues.

Highlight of the Release

    • Responsive blocks editor toolbar for better mobile/tablet editing experience
    • Responsive markdown editor for improved content creation across devices
    • Pre-generated API tokens on app creation for streamlined development setup
    • Relations on the fly feature added behind a future flag
    • Improved error logging for validation messages
    • Fixed multiple UI issues including avatar button, accordions, and rich text links

Migration Guide

No specific migration steps are required for this release. The update from v5.9.0 to v5.10.0 should be straightforward as there are no breaking changes mentioned.

For developers using custom plugins or extensions that interact with the Content Type Builder or relation fields, it's recommended to test your implementations after upgrading to ensure compatibility with the fixed relation handling and state management improvements.

Upgrade Recommendations

This release contains significant UI improvements and bug fixes without introducing breaking changes, making it a recommended upgrade for all Strapi users.

Priority: Medium

  • For content-focused teams: Highly recommended for the responsive editor improvements
  • For developers: Recommended for the improved error logging and API token generation
  • For production environments: Safe to upgrade with standard testing procedures

To upgrade, run:

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

After upgrading, restart your Strapi application and verify that your custom configurations and plugins continue to work as expected.

Bug Fixes

UI and Display Fixes

  • Fixed unresponsive relation search by implementing debouncing
  • Removed unexpected padding around accordions for cleaner UI
  • Fixed UI issues with the avatar button
  • Fixed color missing in links of rich text blocks
  • Fixed window title display in the media library
  • Fixed admin notification to display the correct version

Content Type Builder Improvements

  • Fixed relation types in Content Type Builder
  • Fixed reload state after save and delete operations in Content Type Builder
  • Fixed issue with Class Plugin not being immerable, which was causing infinite loading states

API and Data Handling

  • Fixed incorrect error messages for pagination query parameters at the root level
  • Fixed handling of previous relations in morph-to-many relation
  • Fixed handling of missing TEST_APP_PATH in e2e utility functions

Other Fixes

  • Corrected typing mistake in translation key
  • Fixed checkbox visibility in upload modal (hidden by default now)

New Features

Responsive UI Improvements

  • Responsive Blocks Editor Toolbar: The blocks editor toolbar now adapts to different screen sizes, making content editing more accessible on mobile and tablet devices. When space is limited, toolbar options collapse into a menu for better usability.

  • Responsive Markdown Editor: The markdown editor has been made responsive, providing a better editing experience across different device sizes.

Relations on the Fly

  • Added a new "Relations on the fly" feature behind a future flag. This upcoming feature will allow users to create relations between content types more dynamically.

API Token Generation

  • Added automatic generation of default API tokens when creating a new application, streamlining the development setup process and reducing manual configuration steps.

Security Updates

No specific security fixes were mentioned in this release.

Performance Improvements

Search Performance

  • Implemented debouncing for relation search to prevent excessive API calls and improve responsiveness when searching for relations

Build System Improvements

  • Migrated to Rollup for better build performance and bundle optimization
  • Added useDebounce hook for better handling of input events

State Management

  • Moved to Redux Toolkit (RTK) slices for improved state management and better TypeScript typings
  • Improved overall application performance through better state handling

Impact Summary

Strapi v5.10.0 delivers significant improvements to the content editing experience through responsive design enhancements for both the blocks editor toolbar and markdown editor. These changes make Strapi more usable on mobile and tablet devices, expanding accessibility for content creators.

The introduction of pre-generated API tokens on app creation streamlines the developer experience, reducing setup time and configuration steps. This is particularly valuable for new projects and rapid prototyping.

The "Relations on the fly" feature, though currently behind a future flag, signals Strapi's continued investment in making content modeling more flexible and user-friendly.

Multiple bug fixes address long-standing issues with relation handling, UI elements, and error messages, resulting in a more stable and polished user experience. The performance improvements from debounced searches and better state management contribute to a smoother overall application.

This release represents a balanced mix of new features, quality-of-life improvements, and bug fixes that benefit both content creators and developers without introducing breaking changes.

Full Release Notes

5.10.0 (2025-02-12)

🚀 New feature

  • responsive blocks editor toolbar (#22753)
  • content-manager: make markdown editor responsive (#22820)
  • relations-on-the-fly: Setup the Future flag for the Relations on the fly (#22771)

🔥 Bug fix

  • debounce relation search (d325780fea)
  • handle missing TEST_APP_PATH in e2e utility functions (4d07dffc75)
  • admin infinite loading state (#22763)
  • ctb relation types (#22798)
  • removed unexpected padding around accordions (#22811)
  • pagination query params at root level of query return incorrect error message (#22455)
  • ui issues of the avatar button (#22457)
  • corrected typing mistake in translation key (#22766)
  • delete previous relations in morph to many relation (#22736)
  • ctb reload state after save & delete (#22805)
  • color missing in links of rich texts blocks (#22230, #22350)
  • admin: display correct version on admin notification (#22810)
  • upload: hide checkbox in upload modal by default (#22093)
  • upload: window title in media library (#22806)

⚙️ Chore

💅 Enhancement

  • add default api token on app creation (5bd5447232)
  • pre-generated api tokens (2649ccb00e)
  • better log informations about the errors for yup validations messages (#22001)

❤️ Thank You

Statistics:

File Changed300
Line Additions4,751
Line Deletions3,800
Line Changes8,551
Total Commits45

User Affected:

  • Benefit from responsive blocks editor toolbar for better mobile/tablet editing experience
  • Experience improved markdown editor with responsive design
  • Fixed UI issues with avatar button and accordions for better interface experience
  • Fixed color issues in rich text block links
  • Fixed window title display in media library

Contributors:

alexandrebodinMarc-RoigConvlyBassel17mukulpadwalLink2Twentymarkkaylorinnerdvationslucasboillysamgutentagremidejsimotae14jorritdhokopandeyprafullDhruv-Maradiyadilshad-knk