TL;DR
Strapi 5.12.0 introduces powerful new features for content management, including on-the-fly relation editing in modals and a preview side editor for Growth/Enterprise users. This release enhances the content editing workflow by allowing users to create and edit related content without leaving their current context. Additional improvements include admin session persistence across tabs, better database query handling, and various UI and performance fixes. This update significantly improves content management efficiency and provides a more seamless editing experience.
Highlight of the Release
- On-the-fly relation editing in modals allows creating and editing related content without leaving the current context
- Preview side editor for Growth/Enterprise users provides immediate content visualization
- Admin sessions now persist across browser tabs for a more seamless workflow
- Improved database query builder with better sub-queries handling
- Enhanced user management with direct access to Chargebee portal for seat management
Migration Guide
Upgrading to 5.12.0
This release doesn't require any specific migration steps. Simply update your Strapi version to 5.12.0:
npm install @strapi/[email protected]
Or if you're using Yarn:
yarn upgrade @strapi/[email protected]
After upgrading, restart your Strapi application to apply the changes.
Feature Flags
The "relations-on-the-fly" future flag has been removed as this feature is now fully integrated into the core product. If you were previously using this flag in your configuration, you can safely remove it.
License Considerations
The new preview side editor feature is available only for Growth and Enterprise license holders. Make sure your license is properly configured to access this feature.
Upgrade Recommendations
This release is recommended for all Strapi users, especially those who work extensively with relational content. The on-the-fly relation editing feature significantly improves content management workflows, and the various bug fixes address important issues across the platform.
Priority: Medium
- For content-heavy applications: High priority due to the improved relation management features
- For applications with complex data models: High priority due to database query builder improvements
- For Growth/Enterprise users: High priority to benefit from the new preview side editor
No breaking changes have been identified in this release, making it a safe upgrade for most users. As always, it's recommended to test the upgrade in a development environment before applying it to production.
Bug Fixes
Relation Management Fixes
- Fixed overflow behavior in relation labels for better UI consistency
- Corrected locale and document ID handling when reordering relations
- Resolved issues with components and dynamic zones in relation modals
- Fixed back button history when confirming dialogs
- Improved bidirectional relations synchronization
UI and Rendering Fixes
- Added z-index property to menu content in blocks and markdown editors to prevent overlap issues
- Fixed UI issues on purchase pages
- Resolved layout property issues in InputRenderer
- Fixed preview background shadow issues
- Corrected webhook detail page intermediate value issues in production builds
System and Performance Fixes
- Improved cronjob scheduling to run closer to app start
- Fixed asset stream handling for remote providers in the Digital Asset Manager
- Enhanced database query builder with better sub-queries handling
- Fixed SSO login cookie preservation
- Removed unnecessary future flags
New Features
On-the-fly Relation Editing
The standout feature in this release is the ability to create and edit related content directly from within modals, without having to navigate away from your current editing context. This significantly streamlines content management workflows by allowing you to:
- Create new related entries without leaving your current document
- Edit existing relations in a modal interface
- Navigate back through your editing history with the new back button
- Open the full document edit view when needed with a dedicated button
Preview Side Editor
Growth and Enterprise users now benefit from a preview side editor that allows for immediate visualization of content changes. This feature:
- Provides a split-view editing experience
- Prevents switching preview tabs with unsaved changes
- Includes proper license checks for advanced preview features
Seat Management Integration
A new integration with Chargebee allows administrators to manage their subscription seats directly:
- Direct link to the Chargebee portal from within Strapi
- Customized messaging based on license type
- Improved license notifications
Security Updates
Dependency Updates
- Upgraded axios to version 1.8.2 to address CWE-918 security vulnerability
- Upgraded PrismJS to version 1.30.0 to address potential security issues
- Updated esbuild-loader to version 4.3.0 for improved security and performance
Performance Improvements
Database Query Optimization
The database query builder has been improved to handle sub-queries more efficiently, which can lead to better performance for complex data retrieval operations.
System Initialization
Cronjobs now run closer to application start, improving the initialization sequence and reducing potential delays in scheduled tasks.
Admin Session Management
The new session persistence across browser tabs not only improves user experience but also reduces unnecessary authentication operations when working with multiple tabs.
Impact Summary
Strapi 5.12.0 delivers significant improvements to content management workflows with its on-the-fly relation editing and preview side editor features. These enhancements directly address common pain points in content creation and editing processes, allowing for more efficient work with related content and better visualization of changes.
The relation editing feature is particularly impactful as it eliminates the need to navigate away from the current context when working with related content, reducing friction in content management workflows. For Growth and Enterprise users, the preview side editor provides immediate feedback on content changes, further streamlining the editing process.
System improvements like better database query handling, admin session persistence across tabs, and various bug fixes contribute to a more stable and performant platform. Security updates to dependencies ensure that the application remains protected against known vulnerabilities.
Overall, this release represents a significant step forward in Strapi's content management capabilities, particularly for organizations with complex content models and relational data structures.
Full Release Notes
5.12.0 (2025-03-26)
🚀 New feature
- add on-the-fly relation editing in modals (#22997)
- add preview side editor for growth/ee users (#22997)
- adding a link to chargebee portal for managing seats (ccc540ffcb)
🔥 Bug fix
- bidirectional relations sync (4e64ec6cec)
- incorrect token source in pr diff (#23142)
- incorrect file path and parameters for pr_diff (#23143)
- deprecated step summary output (#23144)
- bidirectional relations sync (ad216ff22f)
- remove useless rotf future flag (#23139)
- ui issues on purchae pages (#23084)
- add z index property to the menu content in blocks and markdown (#23150)
- relation label fix overflow behaviour (#23125)
- add the correct locale and document Id when we reorder the relations (#23152)
- run cronjobs closer to app start (08528cceda)
- On production build webhooks detail page intermediate value issue #23099 (#23099)
- correctly read asset stream for dts asset remote providers (#23169)
- add the correct document in the back button history when we confirm dialog (#23184)
- issue with layout property in InputRenderer (#23183)
- removing the Strapi Cloud condition for Manage seats (cdde94f005)
- one more Strapi Cloud condition for Manage seats (4ac8513411)
- final final Strapi Cloud condition for Manage seats (4d1d36a71c)
- adding license type with it's typing (ea6268bc6a)
- reverting licenseType to type (ff5b6069b9)
- manage seats link for gold license (1cf3c821d1)
- updating message for Gold licenses (01abcb251f)
- removing type because we use the licenseLimitInformation instead (c7e57b2c40)
- updating tests for Managing seats (c3f2ca2808)
- now my code is prettier (7d410c85ab)
- prettier translations as well (8e0423d29d)
- handling type === gold check in license notifications (4be9ba6828)
- prettier on my notification file (31611b4598)
- updating license notifications and their tests (f4754bded9)
- prettier notification tests (16829452be)
- preserve cookie in sso login (#23240)
- database: improve sub queries handling in the qb (#23129)
- relations: no components available in relation modal dynamic zone (#23151)
📚 Documentation Changes
- add strapi/permissions documentation (#23091)
⚙️ Chore
- todo tests (2f08d92b24)
- add GitHub Action to list merged PRs between branches (#23007)
- fix invalid template workflow to point to proper link (c8270086d9)
- release v5.11.3 (#23185)
- upgrade prismjs to 1.30.0 (#23191)
- deps: upgrade esbuild-loader to 4.3.0 (#23068)
💅 Enhancement
- add tracking for editing relations on-the-fly and preview (#23206)
- admin session presists across tabs (#23188)
- add advanced preview license check (#23221)
🚨 Security
- deps: upgrade axios to 1.8.2 for CWE-918 (#23105)
❤️ Thank You
- Bassel Kanso @Bassel17
- Ben Irvin
- Derrick Mehaffy
- HichamELBSI
- Jean-Sébastien Herbaux
- Lucas Boilly @lucasboilly
- Marc-Roig
- markkaylor
- Rémi de Juvigny @remidej
- seenabaaz
- Simon Norris
- Simone