Home

>

Tools

>

Strapi

>

Releases

>

5.11.2

Strapi Release: 5.11.2

Tag Name: v5.11.2

Release Date: 3/13/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.11.2 fixes a critical bug in bidirectional relations synchronization

This patch release addresses an important issue with bidirectional relations in Strapi, ensuring that related data properly syncs across both sides of a relation. The fix resolves inconsistencies that could occur when updating relational data, providing more reliable data management for content types with bidirectional relationships.

Highlight of the Release

    • Fixed critical bug in bidirectional relations synchronization
    • Improved data consistency across related content types
    • Enhanced reliability when updating relational data

Migration Guide

No migration steps are required for this update. This is a patch release that fixes a bug without introducing breaking changes or requiring configuration updates.

To update to v5.11.2, you can use your package manager:

# Using npm
npm install [email protected]

# Using yarn
yarn add [email protected]

# Using pnpm
pnpm add [email protected]

Upgrade Recommendations

Priority: Medium-High

This upgrade is recommended for all Strapi users who utilize bidirectional relations in their content types. The fix addresses a data consistency issue that could affect the reliability of your content management.

The update is a straightforward patch release with minimal risk, focusing solely on fixing the bidirectional relations synchronization bug. No breaking changes are introduced.

If your Strapi instance heavily relies on bidirectional relations, upgrading to v5.11.2 is highly recommended to ensure data integrity across your content types.

Bug Fixes

Bidirectional Relations Synchronization

Fixed an issue where bidirectional relations were not properly synchronizing between related content types. This bug could cause data inconsistencies where updates to one side of a relation weren't correctly reflected on the other side.

The fix ensures that when content with bidirectional relations is updated, both sides of the relationship are properly synchronized, maintaining data integrity across the content management system.

Reference: PR #23146

New Features

No new features were introduced in this patch release. This is a focused bug fix release addressing a specific issue with bidirectional relations synchronization.

Security Updates

No security fixes were included in this release. The focus was on fixing the bidirectional relations synchronization bug.

Performance Improvements

No specific performance improvements were included in this release. The focus was on fixing the bidirectional relations synchronization bug.

Impact Summary

This patch release addresses a specific but important issue with bidirectional relations in Strapi. The fix ensures that when content with bidirectional relations is updated, both sides of the relationship are properly synchronized.

Before the fix:

  • Updates to one side of a bidirectional relation might not be properly reflected on the other side
  • This could lead to data inconsistencies and unexpected behavior when querying related content
  • Developers might need to implement workarounds to ensure data consistency

After the fix:

  • Bidirectional relations are properly synchronized when content is updated
  • Data consistency is maintained across related content types
  • The core functionality works as expected without requiring manual intervention

This release improves the reliability of Strapi's relational data management without introducing any breaking changes or requiring configuration updates. The impact is positive for all users who work with bidirectional relations in their content types.

Full Release Notes

5.11.2 (2025-03-13)

🔥 Bug fix

⚙️ Chore

❤️ Thank You

  • Marc-Roig

Statistics:

File Changed45
Line Additions376
Line Deletions353
Line Changes729
Total Commits4

User Affected:

  • More reliable bidirectional relation management when updating related content
  • Reduced risk of data inconsistencies between related content types
  • Improved data integrity across the content management system

Contributors:

Marc-Roigalexandrebodin