Home

>

Tools

>

Strapi

>

Releases

>

5.12.0-beta.0

Strapi Release: 5.12.0-beta.0

Pre Release

Tag Name: v5.12.0-beta.0

Release Date: 3/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 5.12.0-beta.0: Relations On-The-Fly Feature

This beta release introduces a significant enhancement to Strapi's content management capabilities with the new Relations On-The-Fly feature. Content editors can now create and edit related content directly from the relation field without leaving their current editing context. The update also includes improvements to the preview functionality and various bug fixes to enhance the overall user experience.

Highlight of the Release

    • New Relations On-The-Fly feature allows creating and editing related content without leaving the current context
    • Improved preview functionality with fixes for background issues and relation updates
    • Enhanced navigation with back button history in relation modals
    • Support for dynamic zones and components in relations
    • Multiple Strapi instances can now run simultaneously in development mode

Migration Guide

This is a beta release (v5.12.0-beta.0) and introduces new features without requiring specific migration steps. The Relations On-The-Fly feature and Side Editor are now enabled by default as their future flags have been removed.

If you were previously using these features behind feature flags, you should be aware that:

  • The Relations On-The-Fly feature is now generally available
  • The Side Editor feature is now generally available

No database schema changes or configuration updates are required to use these features.

Upgrade Recommendations

As this is a beta release (v5.12.0-beta.0), it's recommended for:

  • Development and testing environments where you want to evaluate the new Relations On-The-Fly feature
  • Projects where improved content editing workflow would be beneficial
  • Environments where you can provide feedback on the new features before they reach stable release

Not recommended for production environments unless you're comfortable with beta software and have thoroughly tested it in your specific use case.

To upgrade:

npm install @strapi/[email protected]

or

yarn add @strapi/[email protected]

Bug Fixes

  • Relations: Fixed issues with dynamic zones and components in relations (#23100)
  • Preview Functionality:
    • Fixed shadow background in preview mode (#23121)
    • Fixed issue where onPreview was not called when updating a relation (#23122)
    • Added origin to preview message (#23059)
    • Disabled preview form when status is modified (#23083)
    • Prevented switching preview tabs with unsaved changes (#23115)
  • Development: Fixed port availability for Vite to allow multiple development mode instances (#23008)
  • TypeScript: Fixed missing mock function that caused TypeScript to fail (#23054)

New Features

Relations On-The-Fly

The major feature in this release is the Relations On-The-Fly functionality, which transforms how content editors work with related content:

  • Relation Modal: Create and edit related content directly from relation fields without navigating away from the current editing context (#22858)
  • Save and Publish Actions: Complete content lifecycle actions directly within the relation modal (#22998)
  • Navigation History: Back button support for improved navigation within relation modals (#23077)
  • Full Page Option: Button to open the related document in full-page edit view when needed (#23003)
  • Feature Flag Removal: The Relations On-The-Fly feature is now enabled by default as the future flag has been removed (#23020)

Side Editor Integration

  • The side editor future flag has been removed, making this feature generally available (#23128)

Security Updates

No security fixes were explicitly mentioned in this release.

Performance Improvements

This release doesn't include specific performance improvements highlighted in the commit messages. However, the ability to run multiple Strapi instances simultaneously in development mode through the Vite port availability fix (#23008) can improve developer workflow efficiency.

Impact Summary

The Strapi 5.12.0-beta.0 release significantly enhances the content editing experience with the Relations On-The-Fly feature. This improvement allows content editors to create and manage related content without context switching, streamlining workflows and improving productivity.

The removal of feature flags for both Relations On-The-Fly and Side Editor indicates Strapi's confidence in these features being ready for wider adoption. These changes align with Strapi's ongoing efforts to make content management more intuitive and efficient.

For developers, the fix allowing multiple Strapi instances to run simultaneously in development mode addresses a practical workflow limitation. The various preview functionality improvements also enhance the content preview experience, which is crucial for content-focused teams.

Overall, this beta release represents a meaningful step forward in Strapi's user experience, particularly for content teams working with complex, interrelated content structures.

Full Release Notes

5.12.0-beta.0 (2025-03-12)

🚀 New feature

  • relations: add save and publish actions to relations modal (#22998)
  • relations: add back button history (#23077)
  • relations-on-the-fly: add the Relation Modal (#22858)
  • relations-on-the-fly: remove future flag (#23020)
  • relations-on-the-fly: add the full page button in the modal to open the document edit view (#23003)

🔥 Bug fix

  • missing mock function causes typescript to fail (#23054)
  • add origin to preview message (#23059)
  • disable preview form when status is modified (#23083)
  • find available port for vite to allow multiple develop mode instances (#23008)
  • prevent switching preview tabs with unsaved changes (#23115)
  • preview has a shadow background (#23121)
  • onPreview is not called when updating a relation (#23122)
  • relations: cannot dynamic zones and components (#23100)

⚙️ Chore

  • new iteration on the purchase pages (2943bee4f4)
  • add documentId to tracking events (#23052)
  • upgrade vite to 5.4.13 (#23066)
  • drop side editor future flag (4a4c1f97b3)
  • drop side editor future flag (#23128)

💅 Enhancement

  • remove warning when project is at seat limit (6f12c0da79)
  • ctb: add aria data to relations buttons (#23076)

❤️ Thank You

  • Alexandre Bodin
  • Ben Irvin
  • markkaylor
  • Maxime Castres
  • Rémi de Juvigny @remidej
  • Simone

Statistics:

File Changed80
Line Additions2,417
Line Deletions1,792
Line Changes4,209
Total Commits19

User Affected:

  • Can now create and edit related content directly from relation fields without leaving the current editing context
  • Benefit from improved navigation with back button history in relation modals
  • Can save and publish related content directly from the relation modal
  • Have the option to open related content in full-page view when needed

Contributors:

simotae14markkaylorremidej