Home

>

Tools

>

Strapi

>

Releases

>

5.0.0-rc.1

Strapi Release: 5.0.0-rc.1

Pre Release

Tag Name: v5.0.0-rc.1

Release Date: 7/2/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.1: UI Improvements, Bug Fixes, and Enhanced Authentication

This release candidate brings several UI improvements to the Strapi admin panel, fixes multiple bugs in the content manager and media library, and adds new authentication capabilities. Key improvements include fixes to the rich text editor, better handling of database synchronization, and enhanced RBAC permissions for release settings. This update focuses on polishing the user experience and fixing issues reported in the previous release candidate.

Highlight of the Release

    • Added ability to register username and password providers for authentication
    • Fixed rich text editor UI issues including blocks expand/collapse functionality
    • Applied RBAC permissions to the release settings page
    • Fixed 'select all' functionality in media library list view
    • Improved database synchronization by only deleting tracked tables, columns, indexes, and foreign keys
    • Fixed duplicate audit log events

Migration Guide

This release candidate doesn't require specific migration steps from v5.0.0-rc.0. However, if you're using custom authentication providers or have implemented WebSocket functionality, you may want to review the related changes:

  • If you're implementing custom authentication, check the new username and password provider registration capability (#20634)
  • If you're using Vite HMR with custom WebSocket implementations, be aware of the fix preventing Vite from hijacking WebSocket upgrade events (#20663)

Upgrade Recommendations

As this is a release candidate (RC1) for Strapi v5.0.0, it's recommended for testing environments and early adopters who want to provide feedback before the final release.

If you're already using v5.0.0-rc.0, upgrading to this release is recommended to benefit from the numerous bug fixes and UI improvements. The changes are primarily focused on fixing issues rather than introducing breaking changes.

For production environments, it's still advisable to wait for the final v5.0.0 release unless you specifically need the fixes included in this release candidate.

Bug Fixes

  • UI and Navigation Improvements:

    • Fixed history action position in the admin menu (#20640)
    • Fixed rich text editor UI issues, including blocks expand/collapse tooltip functionality (#20639)
    • Fixed component count display in content-type builder menu (#20636)
    • Fixed token edit icon propagation issue (#20661)
  • Content Management Fixes:

    • Fixed bulk list view publish dismissal in content manager (#20646)
    • Fixed 'select all' functionality in media library list view (#20645)
    • Disabled category selection when editing components (#20656)
    • Fixed issue with populating morph relations when counting draft relations (#20662)
  • System Improvements:

    • Fixed duplicated audit log events (#20647)
    • Fixed Koa query type definitions (#20659)
    • Prevented Vite HMR from hijacking WebSocket upgrade events (#20663)

New Features

  • Custom Authentication Provider Registration: Added capability to register username and password providers, giving developers more flexibility in implementing custom authentication solutions (#20634)

  • RBAC Permissions for Release Settings: Applied role-based access control permissions to the release settings page, improving security and access management (#20648)

Security Updates

No specific security fixes were included in this release.

Performance Improvements

  • Database Synchronization: Improved database synchronization by ensuring only tracked tables, columns, indexes, and foreign keys are deleted during sync operations, preventing unintended data loss (#20580)

  • WebSocket Handling: Enhanced WebSocket handling by preventing Vite HMR from hijacking WebSocket upgrade events, improving development server stability (#20663)

Impact Summary

This release candidate brings important refinements to Strapi v5.0.0, focusing on UI improvements, bug fixes, and enhanced functionality. The changes impact various aspects of the admin interface, including the rich text editor, content management operations, and authentication capabilities.

The most significant improvements include fixes to the rich text editor UI, better handling of database synchronization, and the addition of RBAC permissions to the release settings page. Content editors will benefit from fixed bulk actions and improved component visualization, while developers gain new authentication provider capabilities and better TypeScript support.

While this is still a release candidate and not recommended for production use, it represents a significant step toward a more stable and feature-complete v5.0.0 final release. The focus on fixing UI issues and improving user experience suggests that Strapi is prioritizing polish and stability as they approach the final v5.0.0 release.

Full Release Notes

What's Changed

Full Changelog: v5.0.0-rc.0...v5.0.0-rc.1

Statistics:

File Changed97
Line Additions1,495
Line Deletions1,003
Line Changes2,498
Total Commits18

User Affected:

  • Improved UI experience with fixed rich text editor issues
  • Better RBAC permissions in release settings page
  • Fixed token edit functionality
  • Fixed history action positioning in menu

Contributors:

alexandrebodinremidejjhoward1994Marc-Roigsimotae14Bassel17Convly