Home

>

Tools

>

Strapi

>

Releases

>

4.13.4

Strapi Release: 4.13.4

Tag Name: v4.13.4

Release Date: 9/11/2023

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.13.4 is a maintenance release that fixes critical issues with URL handling in the upload plugin. It addresses problems with relative URLs and improves fallback behavior when the backend URL is not defined. The release also includes UI improvements for the WYSIWYG editor and updates several dependencies.

Highlight of the Release

    • Fixed critical issues with relative URLs in the upload plugin
    • Enhanced WYSIWYG editor to fill 90% of viewport in expanded mode
    • Improved project data synchronization frequency
    • Updated dependencies including better-sqlite3 to version 8.6.0 and TypeScript to 5.2.2

Migration Guide

No specific migration steps are required for this patch release. This is a bug fix release that should be safe to upgrade to without any breaking changes.

For general update guidance:

Upgrade Recommendations

Recommended Upgrade Path

This is a patch release (v4.13.4) that fixes important bugs in the upload plugin's URL handling. It's recommended for all users to upgrade, especially if you're experiencing issues with relative URLs or upload functionality.

To upgrade:

npm install @strapi/[email protected]

or

yarn upgrade @strapi/[email protected]

After upgrading, restart your Strapi application to apply the changes.

Bug Fixes

Upload Plugin URL Handling Fixes

  • Fixed an issue where relative URLs would fail when used with the appendSearchParamsToUrl function, ensuring proper URL construction in the upload plugin.
  • Added a fallback to window.location.href when the backend URL is not defined, improving robustness of the upload functionality.

Filter Objects

  • Added the ID property to filter objects, fixing missing functionality in the filtering system.

New Features

Enhanced WYSIWYG Editor

The expanded WYSIWYG editor now fills 90% of the viewport, providing a more immersive editing experience for content creators.

Improved Project Data Synchronization

Added an event to sync project data more frequently, specifically for admin users count and active admin users count, providing more up-to-date information about your Strapi instance.

Experimental Plugin Build Command

Added a new experimental plugin:build command to improve the plugin development workflow.

Security Updates

No security fixes were explicitly mentioned in this release.

Performance Improvements

No significant performance improvements were explicitly mentioned in this release.

Impact Summary

Strapi v4.13.4 is primarily a bug fix release that addresses critical issues with URL handling in the upload plugin. These fixes ensure that relative URLs work correctly with the appendSearchParamsToUrl function and provide a proper fallback when the backend URL is not defined.

The release also brings quality-of-life improvements for content editors with an enhanced WYSIWYG editor that now fills 90% of the viewport in expanded mode, providing a more comfortable editing experience.

For administrators, the addition of more frequent project data synchronization means more up-to-date information about admin users count and active admin users.

Several dependencies have been updated, including better-sqlite3 to version 8.6.0 and TypeScript to 5.2.2, keeping the project current with the latest improvements and fixes from these packages.

Overall, this is a maintenance release that improves stability and user experience without introducing breaking changes.

Full Release Notes

🔥 Bug fix

  • [core:upload] fix: relativeURLs fail with appendSearchParamsToUrl (#17967) @joshuaellis
  • [core:upload] fix: fallback to window.location.href if backendURL is not defined (#17982) @joshuaellis

📚 Update and Migration Guides

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

Statistics:

File Changed122
Line Additions4,678
Line Deletions2,266
Line Changes6,944
Total Commits32

User Affected:

  • Fixed issues with relative URLs in the upload plugin, preventing potential broken functionality
  • Improved fallback behavior when backend URL is not defined
  • Updated dependencies including better-sqlite3 and TypeScript

Contributors:

jhoward1994antgeldependabot[bot]joshuaellisinnerdvationsConvlyMarc-RoiglauriejimFeranchzmarkkayloriKasch