Home

>

Tools

>

Strapi

>

Releases

>

4.23.0

Strapi Release: 4.23.0

Tag Name: v4.23.0

Release Date: 4/10/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 v4.23.0 introduces a new release column in the Content Manager list view, enhances database filtering capabilities, and fixes several critical issues. This update improves content release management, fixes cloning functionality for media and nested components, and resolves issues with the i18n plugin integration. The update also includes important fixes for URL handling and reverts the Sharp package to a more stable version.

Highlight of the Release

    • New release column in Content Manager list view for better content release tracking
    • Enhanced database filtering with support for media deep filtering and relation shortcut filters
    • Fixed cloning functionality to properly include media and nested components
    • Improved compatibility with i18n plugin and handling when the plugin is not installed
    • Fixed URL handling for relative BACKEND_URL configurations

Migration Guide

No specific migration steps are required for this update. As with any Strapi update, it's recommended to:

  1. Back up your application before updating
  2. Update your dependencies in package.json
  3. Run npm install or yarn install to install the new version
  4. Restart your Strapi application

For detailed instructions, refer to the general update guide in the Strapi documentation.

Upgrade Recommendations

This release is recommended for all Strapi users, especially those who:

  • Use the Content Releases feature and would benefit from the new UI improvements
  • Need enhanced filtering capabilities for media and relations
  • Have experienced issues with cloning entries containing media or nested components
  • Use the i18n plugin or have removed it from their application
  • Have encountered issues with relative URLs in BACKEND_URL configuration

The update from v4.22.1 to v4.23.0 should be straightforward with no breaking changes reported. As always, it's recommended to test the update in a development environment before applying it to production systems.

Bug Fixes

Content Manager Cloning Improvements

Fixed an issue where cloning entries in the Content Manager didn't properly populate media and nested components. This ensures that when duplicating content, all associated media files and nested component structures are correctly included in the cloned entry.

i18n Plugin Integration Fixes

Two important fixes related to the i18n plugin were implemented:

  • The locale column and grouping option are now hidden when the i18n plugin is not installed, preventing UI confusion
  • Fixed a boot issue that occurred when removing the i18n plugin from an application, ensuring smoother plugin management

URL Handling for Backend

Fixed an issue where relative URLs in the BACKEND_URL configuration would cause problems. The system now forces an absolute URL if the BACKEND_URL is relative, resolving issue #18175.

Webhook Creation Fix

Resolved an issue with creating webhooks on an empty list page, ensuring that administrators can set up webhooks even when starting from scratch.

Sharp Package Reversion

Reverted the Sharp package from v0.33.3 back to v0.32.6 to address compatibility issues that were discovered after the initial update.

New Features

Release Column in Content Manager List View

A significant UI enhancement has been added to the Content Manager with a new release column in the list view. This feature allows content editors to quickly see which entries are part of a release, making content release management more efficient and transparent. The column displays release status information directly in the list view, eliminating the need to navigate to separate screens to check release status.

Media Deep Filtering & Relation Shortcut Filters

The database querying capabilities have been enhanced with support for media deep filtering and relation shortcut filters. This improvement allows for more powerful and flexible queries when working with media fields and relations, enabling developers to create more precise filters and improve application performance by reducing unnecessary data fetching.

Security Updates

No specific security fixes were mentioned in this release.

Performance Improvements

Database Query Optimization

The addition of media deep filtering and relation shortcut filters not only enhances functionality but also improves performance by allowing more precise queries. This reduces the amount of data that needs to be processed and transferred, resulting in faster response times for complex queries involving media and relations.

Development Workflow Improvements

Several tooling improvements were made to enhance the development workflow:

  • Added NX cache to the ignore list to prevent unnecessary cache-related issues
  • Added watch scripts for all projects to streamline the development process
  • Updated Vite and webpack-dev-middleware for better build performance

Impact Summary

Strapi v4.23.0 delivers significant improvements to content management workflows, particularly for teams using the Content Releases feature. The new release column in the Content Manager list view provides at-a-glance visibility into release status, streamlining content publishing workflows.

Database querying capabilities have been enhanced with media deep filtering and relation shortcut filters, giving developers more powerful tools for building complex queries and improving application performance.

Several important bug fixes address issues with content cloning, i18n plugin integration, and URL handling, resulting in a more stable and reliable CMS experience. The reversion of the Sharp package to v0.32.6 ensures compatibility and stability for media processing.

Overall, this release focuses on improving the user experience for content editors and developers alike, with particular emphasis on content release management and filtering capabilities. The changes are non-breaking and should provide immediate benefits after upgrading.

Full Release Notes

⚙️ Chore

🔥 Bug fix

🚀 New feature

💅 Enhancement

  • [core:database] feat: support media deep filtering & relation shortcut filters (#19971) @alexandrebodin

📚 Update and Migration Guides

  • General update guide can be found here
  • Migration guides can be found here 📚

Statistics:

File Changed108
Line Additions2,020
Line Deletions712
Line Changes2,732
Total Commits35

User Affected:

  • Benefit from the new release column in Content Manager list view for better content release tracking
  • Experience improved cloning functionality that now properly includes media and nested components
  • Can use enhanced filtering capabilities for media and relations

Contributors:

mariansimecekalexandrebodinchristiancp100joshuaellismarkkaylorderrickmehaffysimotae14innerdvationsmadhurisandbhorMarc-Roig