Home

>

Tools

>

Strapi

>

Releases

>

4.3.9

Strapi Release: 4.3.9

Tag Name: v4.3.9

Release Date: 9/21/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.3.9 introduces a new request context feature, enhances localization support with additional English locales, and fixes several bugs including relation issues when uploading files. This release also adds Node.js 18 support, improves the admin interface with better theme handling, and updates dependencies including Jest and sharp. Various translation improvements and validation enhancements make this a solid maintenance release.

Highlight of the Release

    • New request context feature for better request handling
    • Added support for Node.js 18
    • Enhanced localization with additional English locales
    • Fixed relations when uploading new files to entities
    • Improved theme storage for better UI experience
    • Updated dependencies including Jest 29.0.3 and sharp

Migration Guide

No specific migration steps are required for this update. This is a minor release that should be backward compatible with existing Strapi applications.

For general update guidance:

  1. Make a backup of your project before updating
  2. Update your dependencies in package.json to use v4.3.9
  3. Run npm install or yarn install to update the packages
  4. Restart your Strapi application

If you're using TypeScript with source maps, this update will fix issues with API loading, so you may see improved stability in your development environment.

Upgrade Recommendations

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

  • Need to use Node.js 18
  • Are experiencing issues with file uploads and relations
  • Use TypeScript with source maps
  • Want improved localization support
  • Need better theme handling in the admin interface

The update contains important bug fixes and enhancements that improve the overall stability and functionality of Strapi. Since this is a patch release (4.3.8 → 4.3.9), the upgrade should be straightforward with minimal risk of breaking changes.

Bug Fixes

Relation Handling in File Uploads

Fixed an issue where relations were not correctly set when uploading a new file to an entity. This ensures that file relationships are properly maintained when uploading files to content types.

Source Maps in TypeScript

Fixed an issue where source maps were causing problems when loading APIs. The system now properly excludes source maps when loading APIs, improving compatibility with TypeScript projects.

Guided Tour Visibility

Fixed the guided tour being visible in production mode when it shouldn't be, improving the user experience in production environments.

Content Manager List View Labels

Fixed an issue with custom labels in the Content Manager list view, ensuring that custom field labels are properly displayed.

ID Schema Type

Fixed the ID field in OpenAPI schema to have the correct type of string, improving API documentation accuracy.

New Features

Request Context

A new request context feature has been added to Strapi, allowing developers to access request-specific data throughout the request lifecycle. This feature is exposed through the global Strapi object, making it easier to access request information in various parts of your application.

Node.js 18 Support

Strapi now officially supports Node.js 18, expanding the range of compatible Node.js versions. This allows developers to take advantage of the performance improvements and new features available in Node.js 18.

Enhanced Input JSON Component

The InputJSON component has been improved to prevent crashes when the field value is 0. This enhancement ensures better handling of numeric zero values in JSON inputs.

Security Updates

No specific security fixes were mentioned in this release.

Performance Improvements

No specific performance improvements were highlighted in this release. The focus was primarily on feature enhancements, bug fixes, and compatibility improvements.

Impact Summary

Strapi v4.3.9 brings several important improvements that enhance both developer and user experiences. The addition of request context provides developers with better tools for handling request-specific data, while Node.js 18 support expands compatibility options for deployment environments.

For content editors and administrators, the release fixes several UI issues including guided tour visibility in production, theme storage improvements, and better handling of custom labels in the Content Manager. The fix for relations when uploading files ensures data integrity when managing media assets.

Internationalization gets a boost with additional English locales and improved translations, benefiting projects with global audiences. The update to dependencies like Jest and sharp keeps the codebase modern and secure.

Overall, this release represents a solid maintenance update that addresses specific pain points while adding useful new capabilities without introducing breaking changes.

Full Release Notes

🚀 New feature

💅 Enhancement

🔥 Bug fix

⚙️ Chore

📖 Documentation

  • [docs] Remove outdated Strapi-Docker link from README (#14372) @geetsww

📚 Update and Migration Guides

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

Statistics:

File Changed152
Line Additions1,785
Line Deletions760
Line Changes2,545
Total Commits98

User Affected:

  • Access to new request context feature for better request handling
  • Support for Node.js 18
  • Improved API documentation with free-form filters in query parameters
  • Fixed source map loading issues with TypeScript
  • Better handling of relations when uploading files to entities

Contributors:

aeadedoyinWalkingPizzagitstartZharkanalexandrebodinpetersg83davidluederronronscelesteskonstantinmuensterMarc-Roigdependabot[bot]markkaylorConvly