Home

>

Tools

>

Strapi

>

Releases

>

5.0.0-rc.29

Strapi Release: 5.0.0-rc.29

Pre Release

Tag Name: v5.0.0-rc.29

Release Date: 9/18/2024

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.0.0-rc.29 focuses on fixing internationalization (i18n) permission issues when switching between locales, improving UI elements like history fields, and upgrading several dependencies for better security and performance. This release ensures that user permissions are correctly applied when working with different language versions of content.

Highlight of the Release

    • Fixed permission handling when switching between different language versions of content
    • Improved UI for history fields with proper width and styling
    • Security enhancements through multiple dependency upgrades

Migration Guide

No migration steps are required for this release candidate. The changes are primarily bug fixes and dependency upgrades that don't require any action from users upgrading from v5.0.0-rc.28.

Upgrade Recommendations

This release candidate is recommended for all users testing Strapi v5, especially those using the internationalization (i18n) feature with role-based access control. The fixes for permission handling when switching between locales are important for ensuring proper content management workflows. Additionally, the security dependency upgrades help maintain a secure environment.

Bug Fixes

Permission and Internationalization Fixes

  • Fixed permission handling when switching between different locales, ensuring proper role-based access control (RBAC) is applied
  • Resolved issues with locale deletion for single types
  • Fixed the useDoc hook to properly handle document IDs for single types
  • Corrected the behavior when no document exists for a specific locale by properly checking creation permissions

UI Fixes

  • Fixed width issues with history fields for better display
  • Resolved issues with relations to admin users not being fetched correctly in history
  • Removed links to admin users from history relation inputs
  • Applied consistent shadow styling across the interface

New Features

No significant new features were added in this release candidate. This update primarily focuses on bug fixes, UI improvements, and dependency upgrades.

Security Updates

Security Dependency Upgrades

  • Upgraded ws to version 8.17.1
  • Upgraded sanitize-html to version 2.13.0
  • Upgraded undici to version 6.19.2

These upgrades address potential security vulnerabilities in these dependencies.

Performance Improvements

No specific performance improvements were highlighted in this release. The focus was primarily on bug fixes, UI improvements, and security enhancements through dependency upgrades.

Impact Summary

This release candidate primarily impacts users working with multilingual content in Strapi, particularly when different user roles have varying permissions across locales. The fixes ensure that permissions are correctly applied when switching between language versions of content, preventing potential access control issues.

The UI improvements to history fields enhance the content editing experience with better display and handling of relations. These changes are particularly noticeable when viewing the history of content changes.

The security dependency upgrades, while not changing functionality, help maintain the security posture of Strapi installations by addressing potential vulnerabilities in third-party packages.

Overall, this is a maintenance-focused release that improves stability and security rather than introducing new capabilities.

Full Release Notes

Statistics:

File Changed52
Line Additions197
Line Deletions111
Line Changes308
Total Commits15

User Affected:

  • Improved experience when switching between different language versions of content with proper permission checks
  • Better UI for history fields with fixed width issues
  • No longer see links to admin users from history relation inputs

Contributors:

jhoward1994innerdvationsalexandrebodinremidej