Home

>

Tools

>

Strapi

>

Releases

>

5.0.0-rc.10

Strapi Release: 5.0.0-rc.10

Pre Release

Tag Name: v5.0.0-rc.10

Release Date: 8/14/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.10: UI Improvements and Bug Fixes

This release candidate brings several important bug fixes for draft validations, UID field handling, and review workflow webhooks. It also introduces UI improvements by relocating the plugins page to the settings section and adds a codemod for React and React-DOM to help with migrations. Performance has been enhanced by reducing unnecessary API requests in the content manager.

Highlight of the Release

    • Fixed draft validations for better content editing experience
    • Added codemod for React and React-DOM to assist with migrations
    • Moved plugins page to settings section for improved UI organization
    • Optimized content manager to reduce unnecessary API requests
    • Fixed UID field availability checks and cloning functionality

Migration Guide

This is a release candidate (RC) version, so no specific migration steps are required if you're upgrading from v5.0.0-rc.9. However, if you're using custom plugins or extensions that interact with:

  1. Draft validations: You may need to update your code to accommodate the fixed validation behavior.

  2. UID field handling: If you have custom code that interacts with UID fields, ensure it's compatible with the updated availability checks.

  3. Review workflow webhooks: If you rely on review workflow webhooks, verify that your integrations work correctly with the fixed webhook triggering.

  4. React dependencies: You can use the new codemod for React and React-DOM to help with migration of these dependencies.

For developers upgrading from v4.x to v5.x, please refer to the comprehensive migration guide in the Strapi documentation.

Upgrade Recommendations

This release (v5.0.0-rc.10) contains important bug fixes and enhancements that improve the stability and user experience of Strapi v5. If you're already using v5.0.0-rc.9, we recommend upgrading to this version to benefit from these improvements.

For production environments, we still recommend waiting for the final v5.0.0 release before upgrading from v4.x, as this is still a release candidate.

To upgrade from v5.0.0-rc.9 to v5.0.0-rc.10:

npm upgrade [email protected] --save
# or
yarn upgrade [email protected]

After upgrading, restart your Strapi application and test thoroughly, especially if you're using features related to draft content, UID fields, or review workflows.

Bug Fixes

  • Draft Validations: Fixed issues with draft validations to ensure proper validation behavior for draft content (#20892).

  • UID Field Handling:

    • Fixed UID availability checks to properly validate unique identifiers (#20922).
    • Improved UID availability checking while cloning entries.
    • Fixed redirect to edit view upon successful cloning.
    • Prevented uniqueness checks for empty strings to avoid unnecessary validations (#20985).
  • Content Manager Optimization: Reduced unnecessary API requests in the content manager, improving performance and responsiveness (#20958).

  • Review Workflow Webhooks: Fixed triggering of review workflow webhooks to ensure proper notification when workflow states change (#21001).

  • Controlled Inputs: Fixed issues with controlled string inputs by removing defaultValue from controlled inputs.

New Features

  • Codemod for React and React-DOM: Added a new codemod to help developers migrate their React and React-DOM dependencies, making the upgrade process smoother (#20960).

  • Plugins Page Moved to Settings: The installed plugins page has been relocated to the settings section, improving the overall organization of the admin UI (#20930).

  • Lifecycle Hooks for ContentTypes: Added lifecycle hooks when transforming contentTypes to models, providing developers with more control over the transformation process (#20975).

Security Updates

No specific security fixes were included in this release.

Performance Improvements

  • Reduced API Requests: The content manager now performs fewer unnecessary API requests, resulting in a more responsive editing experience (#20958).

  • Optimized UID Validation: Improved the efficiency of UID field validation by skipping uniqueness checks for empty strings, reducing unnecessary server requests (#20985).

Impact Summary

This release candidate (v5.0.0-rc.10) focuses on improving stability and user experience with several important bug fixes and enhancements. Content editors will benefit from improved draft validations and UID field handling, while developers gain access to new tools like the React codemod and lifecycle hooks for content types. The admin UI is enhanced by relocating the plugins page to the settings section for better organization.

Performance improvements include reduced API requests in the content manager and optimized UID validation, resulting in a more responsive editing experience. The fixes for review workflow webhooks ensure proper notification when workflow states change, which is crucial for teams using this feature.

While this is still a release candidate, these improvements make v5.0.0-rc.10 a worthwhile upgrade for those already using the v5 release candidate series, bringing Strapi closer to a stable v5.0.0 release.

Full Release Notes

What's Changed

New Contributors

Full Changelog: v5.0.0-rc.9...v5.0.0-rc.10

Statistics:

File Changed88
Line Additions2,445
Line Deletions1,857
Line Changes4,302
Total Commits11

User Affected:

  • Improved experience with draft validations
  • Better handling of UID fields with fixes for availability checks and cloning
  • Reduced unnecessary API requests in the content manager for smoother editing experience

Contributors:

FeranchzMarc-RoigBassel17remidejMarionLemaire