Home

>

Tools

>

Strapi

>

Releases

>

4.15.2

Strapi Release: 4.15.2

Tag Name: v4.15.2

Release Date: 11/8/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.15.2 is a maintenance release that focuses on bug fixes and enhancements to the admin interface. It includes keyboard shortcuts for block modifiers, fixes for media library image caching issues, and improvements to the GraphQL plugin. The release also continues the TypeScript migration effort with several components converted to TS. This update is recommended for all users to ensure a stable development experience.

Highlight of the Release

    • Added keyboard shortcuts for block modifiers to improve content editing efficiency
    • Fixed media library image signedUrl cache busting issue
    • Added ability to pass HTTP server options from configuration
    • Fixed GraphQL validation for repeatable component attributes
    • Continued TypeScript migration with several components converted to TS

Migration Guide

No specific migration steps are required for this release. This is a maintenance release that focuses on bug fixes and enhancements.

For general update guidance:

  • Update your Strapi version in your package.json file
  • Run npm install or yarn install to update dependencies
  • Restart your Strapi application

As always, it's recommended to:

  1. Back up your project before updating
  2. Test the update in a development environment before applying to production
  3. Review the full changelog for any specific changes that might affect your custom code

Upgrade Recommendations

This release is recommended for all Strapi users as it contains important bug fixes and quality-of-life improvements. The fixes for media library image caching, GraphQL validation, and admin interface issues address pain points that could affect day-to-day usage.

Priority: Medium Urgency: Standard update that can be applied during your regular maintenance cycle

There are no breaking changes in this release, making it a safe upgrade for most projects. As always, testing in a development environment before updating production is recommended.

Bug Fixes

Admin Interface Fixes

  • Fixed padding issues in the toolbar for a better editing experience
  • Fixed exports and settings links in Community Edition
  • Resolved missing environment utilities
  • Fixed webpack watch on reload to prevent memory leaks
  • Added direct Document import and ignorePrompts CLI flag
  • Fixed appropriate loader usage between JSX and TSX files
  • Corrected website link containing a typo

Media Library Improvements

  • Fixed media library image signedUrl cache busting issue that was causing stale images to be displayed

GraphQL Plugin Enhancement

  • Fixed GraphQL validation for repeatable component attributes, ensuring proper validation of these complex data structures

Build and Dependencies

  • Fixed build pipeline and dependencies to ensure proper functioning of the admin interface

New Features

Keyboard Shortcuts for Block Modifiers

Content editors can now use keyboard shortcuts when working with block modifiers in the content editor, making the content creation process more efficient and accessible.

HTTP Server Options Configuration

Developers can now pass HTTP server options directly from the Strapi configuration, providing more flexibility and control over the server setup. This allows for customizing server behavior without modifying core code.

Security Updates

No specific security fixes were included in this release.

Performance Improvements

Build Process Optimization

The release includes several improvements to the build process, including better handling of webpack watch processes and optimized dependency management. These changes help reduce memory usage during development and improve overall build performance.

Admin Interface Responsiveness

Several fixes and optimizations in the admin interface contribute to a more responsive user experience, particularly in the content editor with the addition of keyboard shortcuts and fixes to the toolbar.

Impact Summary

Strapi v4.15.2 is primarily a maintenance release that addresses several bugs and adds minor enhancements to improve the overall user experience. The most notable improvements include keyboard shortcuts for block modifiers, fixes for media library image caching issues, and the ability to pass HTTP server options from configuration.

For content editors, the addition of keyboard shortcuts for block modifiers will improve workflow efficiency. Developers will benefit from the fixed GraphQL validation for repeatable components and the new ability to configure HTTP server options. The continued TypeScript migration also improves code quality and maintainability for those working with the codebase.

This release continues Strapi's commitment to quality and developer experience, with numerous bug fixes and TypeScript conversions that lay groundwork for future improvements. While there are no breaking changes, the fixes address several pain points that users may have encountered in previous versions.

Full Release Notes

🔥 Bug fix

🚀 New feature

⚙️ Chore

💅 Enhancement

📚 Update and Migration Guides

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

Statistics:

File Changed241
Line Additions6,148
Line Deletions4,186
Line Changes10,334
Total Commits27

User Affected:

  • Benefit from new keyboard shortcuts for block modifiers, improving content editing efficiency
  • Fixed issues with the toolbar padding for a better editing experience
  • Resolved media library image signedUrl cache busting issues for more reliable media management

Contributors:

madhurisandbhorlucasboillythanos982joshuaellisalexandrebodininnerdvationsmarkkaylor