Home

>

Tools

>

Strapi

>

Releases

>

4.14.4

Strapi Release: 4.14.4

Tag Name: v4.14.4

Release Date: 10/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.14.4 introduces the beta version of the Blocks Editor, a new rich text editing experience. This release also includes significant TypeScript improvements with many components and hooks being converted to TS, and introduces a new "pack-up" package for better build tooling. Several bug fixes address issues with data transfer, upload functionality, and UI elements. This update continues Strapi's TypeScript migration journey while enhancing the content editing experience.

Highlight of the Release

    • Beta release of the Blocks Editor for rich text editing
    • Introduction of pack-up package for improved build tooling
    • Significant TypeScript improvements across the codebase
    • Fixed data transfer issues with HTTP/HTTPS protocols
    • Fixed upload functionality for replaced media files

Migration Guide

No specific migration steps are required for this release. Standard update procedures apply:

npm install @strapi/[email protected]

or

yarn upgrade @strapi/[email protected]

Note that the Blocks Editor is in beta, so while it's available for use, you may encounter some issues that will be addressed in future releases.

Upgrade Recommendations

This is a minor release with bug fixes and new features. It's recommended to upgrade, especially if you:

  1. Are experiencing issues with data transfers over HTTP/HTTPS
  2. Want to try the new Blocks Editor beta
  3. Are having problems with the upload functionality for replaced media files
  4. Are developing with TypeScript and want to benefit from the improved type definitions

As always, it's recommended to test the upgrade in a development environment before applying it to production.

Bug Fixes

  • Content Manager: Fixed a typo causing action buttons not to show in empty lists
  • Data Transfer: Fixed protocol error by selecting HTTP/HTTPS module based on protocol in local provider
  • Data Transfer: Implemented custom HTTP timeout to keep data transfer connections alive during transfers
  • Upload: Fixed issue with replaced media files not uploading correctly
  • Blocks Editor: Fixed several issues:
    • Content not updating when switching between locales
    • Images appearing too large in large viewports
    • Empty list backspace handling
    • Code blocks shrinking
    • Link colors not using design system colors
    • Disabled state for link button when editor is disabled

New Features

Blocks Editor (Beta)

The most significant addition in this release is the beta version of the Blocks Editor, a new rich text editing experience. Key features include:

  • Support for ordered and unordered lists with proper handling of empty lists and multi-line quotes
  • Link plugin and buttons for adding hyperlinks to content
  • Image handling with proper sizing and aspect ratio preservation
  • Support for code blocks with improved styling
  • Internationalization (i18n) icon for localized blocks fields
  • Proper disabled state handling
  • Description and placeholder support
  • Fixed content updating when switching between locales

Pack-up Package

A new utility package called "pack-up" has been introduced to improve the build tooling:

  • Provides build, watch, check, and init commands
  • Supports TypeScript configuration
  • Includes exports configuration
  • Already being used to build several Strapi packages (helper-plugin, permissions, utils, providers)

Security Updates

No specific security fixes were mentioned in this release.

Performance Improvements

  • The conversion of multiple components and hooks to TypeScript should result in better type safety and fewer runtime errors
  • The new pack-up package provides more efficient build processes for Strapi packages
  • Custom HTTP timeout implementation for data transfers prevents premature connection termination during large transfers

Impact Summary

Strapi v4.14.4 brings significant improvements to the content editing experience with the beta release of the Blocks Editor, which provides a more powerful rich text editing experience. Developers will benefit from extensive TypeScript improvements across the codebase, making development more type-safe and reducing potential runtime errors.

The new pack-up package represents an important step in modernizing Strapi's build tooling, already being used for several core packages. This should lead to more consistent builds and better developer experience when working with Strapi's codebase.

Several bug fixes address issues with data transfer, upload functionality, and UI elements, improving the overall stability of the platform. The fixes for the data transfer protocol issues are particularly important for users who regularly transfer data between Strapi instances.

Note that while this release introduces many improvements, the Blocks Editor is still in beta, so users should expect ongoing refinements in future releases.

Full Release Notes

ℹ️ Node 16 has reached EOL and is no longer supported by Strapi. Starting with v4.14.5, Strapi projects will no longer work with Node 16, only Node 18 or 20.

🔥 Bug fix

  • [core:content-manager] fix: typo causing action button to not show in empty list (#18252) @amerikan
  • [core:data-transfer] [Data Transfer] Select http/https module based on protocol in local provider (#17537) @innerdvations
  • [core:strapi] Use custom http timeout to keep data transfer connection alive (#18235) @innerdvations
  • [core:upload] fix: upload replaced media file (#18301) @TousifProvat

💅 Enhancement

🚀 New feature

⚙️ Chore

📚 Update and Migration Guides

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

Statistics:

File Changed300
Line Additions4,326
Line Deletions5,843
Line Changes10,169
Total Commits110

User Affected:

  • Can now use the new Blocks Editor (beta) for rich text editing
  • Will experience improved image handling in the Blocks Editor
  • Can now add links in the Blocks Editor
  • Will see better list handling in the Blocks Editor

Contributors:

innerdvationsremidejmadhurisandbhormarkkaylorjoshuaellissimotae14pertrai1Feranchzderrickmehaffysumaiya2908Marc-RoigamerikanConvlytousifahmed1dependabot[bot]