Home

>

Tools

>

Strapi

>

Releases

>

5.13.0

5.13.0

Tag Name: v5.13.0

Release Date: 5/7/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.13.0 introduces two significant features: the stabilization of the Widgets API and a new relations initiative. It also brings viewable API tokens, initial OpenAPI documentation, and fixes several bugs including Russian locale translation errors and rich text editor issues. This release enhances developer experience with improved configuration options and better API token management.

Highlight of the Release

    • Widgets API is now stable and ready for production use
    • New relations initiative for improved data relationship management
    • API tokens can now be viewed directly in the interface
    • Initial OpenAPI documentation added to core docs
    • Fixed Russian locale translation errors

Migration Guide

Widgets API Stabilization

If you were using the experimental Widgets API, your code should continue to work as the API has been stabilized without breaking changes. However, it's recommended to review your widget implementations to ensure they follow the now-stable API patterns.

Widget Controllers Relocation

Widget controllers, services, and routes have been moved from the admin plugin to the content-manager. If you have custom code that interacts with these components, you may need to update your imports and references accordingly.

Upgrade Recommendations

This release contains important feature stabilizations and bug fixes without introducing breaking changes. It is recommended for all users to upgrade to v5.13.0, especially if you:

  1. Are using or planning to use the Widgets API
  2. Need better API token management capabilities
  3. Have Russian-speaking users experiencing translation issues
  4. Are experiencing any of the fixed bugs

The upgrade process should be straightforward:

npm install strapi@5.13.0
# or
yarn upgrade strapi@5.13.0

After upgrading, restart your Strapi application and verify that all functionality works as expected.

Bug Fixes

UI and Interaction Fixes

  • Fixed rich text editors focus mode modals for a smoother editing experience
  • Updated icon button to include disabled flag for repeatable components
  • Fixed an issue with the ComponentProvider initialization on top of the Relation Modal

Localization and Translation

  • Resolved MISSING_TRANSLATION errors for the Russian ('ru') locale, improving the experience for Russian-speaking users

API and Data Handling

  • Fixed widget type not being exported from core
  • Fixed a typo in the data-transfer CLI for better usability
  • Fixed preview functionality for singleType entries by correctly passing documentId as undefined
  • Corrected the use of text for encrypted key of viewable API tokens

New Features

Stable Widgets API

The Widgets API has been promoted from experimental to stable status with this release. Developers can now confidently build custom dashboard widgets without worrying about breaking changes in future releases. This stabilization marks an important milestone for extending Strapi's dashboard functionality.

Future Branch Create Relations Initiative

A new relations initiative has been introduced, improving how data relationships are created and managed within Strapi. This feature enhances the data modeling capabilities and provides more flexibility when working with related content types.

Viewable API Tokens

API tokens can now be viewed directly in the interface, making it easier for administrators to manage and verify token configurations. This enhancement improves the security workflow by allowing users to check token details without regenerating them.

Security Updates

No specific security fixes were mentioned in this release.

Performance Improvements

Improved Device and User Tracking

The uniqueness of deviceId + userId has been improved, which enhances the system's ability to track and identify user sessions accurately.

Better Widget Management

The system now tracks registered widgets more efficiently, which improves the performance and reliability of the dashboard widget system.

Impact Summary

Strapi v5.13.0 represents a significant step forward in API stability and developer experience. The stabilization of the Widgets API provides a reliable foundation for building custom dashboard components, while the new relations initiative enhances data modeling capabilities.

The ability to view API tokens directly in the interface improves security management workflows, and the addition of initial OpenAPI documentation enhances API discoverability and understanding.

Bug fixes for rich text editors, Russian locale translations, and various UI components improve the overall user experience for both developers and content editors. The reorganization of widget-related code from admin to content-manager reflects Strapi's ongoing efforts to improve code organization and maintainability.

Overall, this release balances new features with quality-of-life improvements and bug fixes, making it a recommended upgrade for all Strapi users.

Full Release Notes

5.13.0 (2025-05-07)

🚀 New feature

  • future branch create relations initiative (#23379)
  • make widgets api stable (#23470)

🔥 Bug fix

  • rich text editors focus mode modals (#23378)
  • widget type not exported from core (#23416)
  • updated icon button to include disabled flag for repeatable comp (#23427)
  • typo in data-transfer CLI (#23422)
  • Error MISSING_TRANSLATION errors for locale 'ru' (#21575)
  • define an initial ComponentProvider on top of the Relation Modal (#23472)
  • use text for encrypted key of viewable api token (#23477)
  • preview: pass documentId as undefined if the entry is singleType (#23302)

📚 Documentation Changes

  • openapi: add initial OpenAPI documentation to core docs (#23443)

⚙️ Chore

  • strapi DS v2.0.0-rc.22 (#23372)
  • strapi DS v2.0.0-rc.23 (#23384)
  • resolve babel (#23391)
  • track registered widgets (#23412)
  • improve uniqueness of deviceId + userId (#23120)
  • Amazon SES readme plugin config improvements (#23390)
  • update cloud cli (#23392)
  • homepage: move widget controllers, services, and routes from admin to content-manager (#23407)

💅 Enhancement

  • make api tokens viewable (#23439)

❤️ Thank You

Statistics:

File Changed142
Line Additions3,740
Line Deletions5,716
Line Changes9,456
Total Commits12

User Affected:

  • Can now use the stable Widgets API for building custom dashboard widgets
  • Benefit from the new relations initiative for improved data relationships
  • Can view API tokens directly in the interface for easier management
  • Have access to initial OpenAPI documentation for better API understanding

Contributors:

ramazansancardkochetkovinnerdvationsBassel17ConvlyMcastressimotae14remidejmarkkaylor