Home

>

Tools

>

Strapi

>

Releases

>

5.0.0-beta.8

Strapi Release: 5.0.0-beta.8

Pre Release

Tag Name: v5.0.0-beta.8

Release Date: 5/22/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-beta.8 introduces significant enhancements to the Content Manager with multi-locale publishing capabilities, bulk actions migration to v5, and improved navigation. This release also includes important fixes for nested component permissions, date comparison in the Content Manager, and data transfer logging. Performance improvements include Redux toolkit cache management and React 18.3 updates.

Highlight of the Release

    • Multi-locale publishing support in Content Manager
    • Bulk delete and unpublish actions migrated to v5
    • Improved navigation with reordered links and better tooltip positioning
    • Fixed nested component permissions issue
    • Updated to React & React DOM 18.3

Migration Guide

Upgrading from v5.0.0-beta.7 to v5.0.0-beta.8

This beta release continues to refine Strapi v5 features. To upgrade:

  1. Update your package.json dependencies:

    "strapi": "5.0.0-beta.8",
    "@strapi/strapi": "5.0.0-beta.8",
    "@strapi/admin": "5.0.0-beta.8",
    "@strapi/plugin-*": "5.0.0-beta.8"
    
  2. Run yarn install or npm install to update dependencies

  3. If you've customized the Content Manager or are using the i18n plugin, test the new multi-locale publishing functionality to ensure compatibility with your setup.

  4. If you've built custom plugins that interact with the main navigation, review the changes to the navigation API as links now have a position property for ordering.

  5. For TypeScript users, the incremental build options have been fixed with the addition of tsBuildInfoFile.

Upgrade Recommendations

As this is a beta release (v5.0.0-beta.8), it's recommended for testing and development environments rather than production use. This release brings important improvements to the Content Manager and fixes several issues from previous beta versions.

If you're already using v5.0.0-beta.7, upgrading to beta.8 is recommended to benefit from the multi-locale publishing capabilities, improved bulk actions, and various bug fixes.

For production environments, it's still advised to wait for the stable v5.0.0 release unless you specifically need the features or fixes in this beta version.

Bug Fixes

Content Manager Fixes

  • Fixed nested components permission issues that were preventing proper access
  • Improved date comparison for modified content detection
  • Fixed flaky frontend tests for the Content Manager
  • Fixed user & permissions frontend tests

Data Transfer Fixes

  • Improved logging by creating only one log file as needed
  • Fixed document ID handling in Data Transfer Service
  • Added regression test for multiple logs

Admin Interface Fixes

  • Reset all Redux toolkit cache on logout for better security and performance
  • Fixed filtering of documentId from attributesToRemove

New Features

Multi-locale Publishing

Content editors can now publish content across multiple locales simultaneously. This feature includes a new bulk locale publish modal in the Content Manager edit view, with proper validation error handling and status display.

Main Navigation Improvements

  • Reordered navigation links for better user experience
  • Added position property to control link ordering
  • Fixed tooltip positioning for navigation links
  • Changed the "Configure the view" link icon in the edit view

Plugin List Enhancements

Core packages are now unlisted from the plugin list, providing a cleaner interface that focuses on actual plugins rather than core functionality. This includes hiding Content Releases and Review Workflows from the list.

Security Updates

No specific security fixes were mentioned in this release.

Performance Improvements

React Updates

Updated React and React DOM to version 18.3, bringing performance improvements and new features to the admin interface.

Redux Toolkit Optimizations

  • Refactored API to use one createApi call from Redux toolkit
  • Improved cache management with proper reset on logout
  • Fixed performance regression where selectFromResult was running too often due to arguments

Component Rendering Improvements

Memoized form inputs for complex forms to reduce unnecessary re-renders and improve overall performance in the Content Manager.

Impact Summary

Strapi v5.0.0-beta.8 significantly enhances the content management experience, particularly for multi-language websites, with the introduction of multi-locale publishing. Content editors can now publish content across multiple languages simultaneously, streamlining workflows and reducing repetitive tasks.

The migration of bulk actions (delete and unpublish) to v5 architecture ensures these critical features are fully compatible with the new version. Navigation improvements provide a more intuitive user experience with better organization of menu items and improved tooltip positioning.

For developers, the update to React 18.3, TypeScript improvements, and Redux toolkit optimizations deliver better performance and development experience. The fixes for nested component permissions and data transfer logging address important issues that could affect content management and migration processes.

Overall, this beta release represents a substantial step forward in refining Strapi v5's feature set and stability, particularly for multilingual content management and bulk operations.

Full Release Notes

What's Changed

Full Changelog: v5.0.0-beta.7...v5.0.0-beta.8

Statistics:

File Changed300
Line Additions5,578
Line Deletions6,543
Line Changes12,121
Total Commits24

User Affected:

  • Can now publish content across multiple locales simultaneously
  • Benefit from improved bulk delete and unpublish actions in the Content Manager
  • Experience better UI with improved tooltip positioning and navigation link ordering

Contributors:

Marc-Roigjhoward1994madhurisandbhorsimotae14joshuaellislucasboillyinnerdvationsBassel17Convly