Home

>

Tools

>

Strapi

>

Releases

>

5.12.2

Strapi Release: 5.12.2

Tag Name: v5.12.2

Release Date: 4/2/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.12.2 brings UI enhancements with a new user menu displaying profile settings and role information, fixes relation menu link issues, improves API response handling for user permissions, and optimizes bundle size through better tree shaking. This maintenance release focuses on improving the admin interface experience and fixing critical bugs.

Highlight of the Release

    • New user menu with profile settings and role display in the admin interface
    • Fixed relation menu link in the edit view
    • Improved API response structure for user permissions
    • Better tree shaking through preserveModule implementation

Migration Guide

No migration steps are required for this release. This is a maintenance release that can be safely upgraded to without any breaking changes.

Upgrade Recommendations

This is a maintenance release with UI enhancements and bug fixes. It's recommended for all users to upgrade to benefit from the improved user interface and fixed issues.

To upgrade:

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

After upgrading, restart your Strapi application to apply the changes.

Bug Fixes

Fixed Issues

  • Relation Menu Link: Fixed an issue with the relation menu link in the edit view that was causing navigation problems (PR #23228)

  • User Permissions API Response: Resolved a bug where the API response structure for user permissions updates was incorrect. The fix ensures that data is properly nested within the data property in the response, maintaining consistency with the API structure (Issue #23201, PR #23226)

New Features

User Menu Enhancement

A new user menu has been added to the admin interface that displays profile settings and user role information. This enhancement improves the admin user experience by providing clearer access to profile settings and making the current user's role more visible within the interface.

Security Updates

No security fixes were included in this release.

Performance Improvements

Performance Optimizations

  • Improved Tree Shaking: Refactored Rollup utilities and implemented preserveModule for better tree shaking, resulting in more optimized bundle sizes and improved application performance

  • Dependency Updates: Updated Vite from version 5.4.13 to 5.4.15, bringing performance improvements and bug fixes from the Vite project

Impact Summary

Strapi v5.12.2 is a maintenance release that enhances the admin interface with a new user menu displaying profile settings and role information, fixes critical bugs in relation menu links and API responses for user permissions, and improves performance through better tree shaking. The changes primarily impact the admin user experience and developer workflow without introducing breaking changes. The refactored Rollup utilities with preserveModule implementation will result in more optimized bundle sizes, benefiting application performance. Admin users will notice improved navigation with fixed relation menu links and a more informative user menu in the interface.

Full Release Notes

5.12.2 (2025-04-02)

🔥 Bug fix

  • relation menu link (43c2283503)
  • updated update's response to include data within data in case of user permissions (#23201, #23226)

⚙️ Chore

  • refactor rollup utils and move to preserveModule for better tree shaking (4bd7b4e8f5)
  • apply feedback, improve warnings (6b93a97ac7)
  • bump vite from 5.4.13 to 5.4.15 (#23248)

💅 Enhancement

  • add user menu with profile settings and role display (#22954)

❤️ Thank You

Statistics:

File Changed93
Line Additions693
Line Deletions1,213
Line Changes1,906
Total Commits12

User Affected:

  • Benefit from improved UI with new user menu showing profile settings and role display
  • Experience fixed relation menu links in the admin interface
  • Receive properly structured API responses when updating user permissions

Contributors:

alexandrebodinMarc-RoigConvlySatvik-Katochhankit7201markkaylorinnerdvations