Home

>

Tools

>

Strapi

>

Releases

>

4.1.9

Strapi Release: 4.1.9

Tag Name: v4.1.9

Release Date: 4/27/2022

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.1.9 is a maintenance release that addresses several important bugs, including fixing JPEG upload errors, enabling .jsx extensions, and correcting the ADMIN_JWT_SECRET generation. It also includes documentation updates for marketplace media CSP settings and bumps several dependencies to newer versions. This release improves stability and developer experience without introducing breaking changes.

Highlight of the Release

    • Fixed JPEG upload errors with invalid SOS parameters
    • Enabled .jsx extension support
    • Fixed ADMIN_JWT_SECRET generation to avoid spaces
    • Added marketplace media CSP settings documentation
    • Updated Design System to version 1.1.0

Migration Guide

No specific migration steps are required for this release. This is a maintenance release with bug fixes that should be backward compatible.

For general migration guidance, refer to the official Strapi migration guides.

Upgrade Recommendations

This release contains important bug fixes and documentation updates. It's recommended for all users to upgrade, especially if you:

  • Work with JPEG image uploads
  • Use or plan to use .jsx files in your project
  • Are setting up new Strapi instances (to benefit from the fixed ADMIN_JWT_SECRET generation)
  • Need the latest marketplace media CSP settings

The upgrade should be straightforward with minimal risk as this is primarily a bug fix release with no breaking changes.

Bug Fixes

Fixed JPEG Upload Errors

Fixed an issue where uploading certain JPEG images would fail with a VipsJpegError: Invalid SOS parameters for sequential JPEG error. This resolves problems users were experiencing when uploading specific types of JPEG images.

Enabled .jsx Extensions

Added support for .jsx file extensions in the admin panel, fixing issue #13124. This allows developers to use JSX syntax in files with the .jsx extension.

Fixed ADMIN_JWT_SECRET Generation

Corrected the ADMIN_JWT_SECRET generation process which was incorrectly including a space character. This improves security configuration and prevents potential authentication issues.

Fixed Roadmap Links in README

Updated broken roadmap links in the project's README file to ensure users can access the correct roadmap information.

New Features

No significant new features were introduced in this release. This is primarily a bug fix and maintenance release.

Security Updates

While not explicitly labeled as a security fix, the correction of the ADMIN_JWT_SECRET generation process (removing unwanted spaces) improves the security configuration of Strapi instances by ensuring properly formatted JWT secrets.

Performance Improvements

No specific performance improvements were highlighted in this release.

Impact Summary

Strapi v4.1.9 is a maintenance release that addresses several important bugs and includes documentation updates. The most significant fixes include resolving JPEG upload errors, enabling .jsx extension support, and correcting the ADMIN_JWT_SECRET generation process to avoid spaces.

The release also updates several dependencies, including fs-extra (10.0.1 to 10.1.0), @actions/core (1.6.0 to 1.7.0), and eslint-plugin-react-hooks (4.4.0 to 4.5.0). Additionally, the Design System has been bumped to version 1.1.0.

These changes improve the stability and developer experience of Strapi without introducing breaking changes. Users who work with image uploads, JSX files, or are setting up new Strapi instances will particularly benefit from this release.

Full Release Notes

Statistics:

File Changed114
Line Additions5,442
Line Deletions5,350
Line Changes10,792
Total Commits22

User Affected:

  • Can now use .jsx extensions in their Strapi projects
  • Will benefit from fixed JPEG upload functionality
  • Will have properly generated ADMIN_JWT_SECRET without spaces
  • Have access to updated documentation for marketplace media CSP settings

Contributors:

alekzonderElliot67dependabot[bot]derrickmehaffyConvlysoupetteronronscelestesalexandrebodin