Home

>

Tools

>

Strapi

>

Releases

>

4.25.5

Strapi Release: 4.25.5

Tag Name: v4.25.5

Release Date: 7/24/2024

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.25.5 brings important bug fixes for the CLI and TypeScript types, along with a new Cloud CLI feature for linking projects. This release focuses on improving developer experience with better TypeScript support for cron jobs and enhanced CLI functionality for Strapi Cloud users.

Highlight of the Release

    • Fixed TypeScript types for cron jobs
    • Added new 'project link' command to Strapi Cloud CLI
    • Fixed event loop blocking issue in Cloud CLI deploy command
    • Updated contributing guide workflow

Migration Guide

No specific migration steps are required for this release. This is a maintenance release with bug fixes and minor feature additions that should not impact existing functionality.

For general update guidance:

Upgrade Recommendations

This release is recommended for all Strapi users, especially:

  • Developers using TypeScript with cron jobs who will benefit from improved type definitions
  • Strapi Cloud users who will gain access to the new project link command and fixes for the deploy command
  • Contributors who should be aware of the updated contributing guide workflow

To upgrade, run one of the following commands depending on your package manager:

npm install [email protected] --save
# or
yarn upgrade [email protected]

Bug Fixes

CLI Fixes

  • Fixed an issue in the Cloud CLI deploy command that was blocking the event loop (#20850). The fix ensures proper timeout clearing before returning, preventing the event loop from waiting unnecessarily and improving overall CLI performance.

TypeScript Improvements

  • Fixed cron job type definitions (#19723). This update to the node-schedule package and related types improves TypeScript support when working with scheduled tasks in Strapi applications, providing better type safety and developer experience.

New Features

Cloud CLI Project Link Command

A new project link command has been added to the Strapi Cloud CLI (#20714). This feature enhances the developer experience for Strapi Cloud users by providing a dedicated command to link local projects to their cloud counterparts, streamlining the deployment workflow.

Security Updates

No security fixes were included in this release.

Performance Improvements

CLI Performance

The fix for the event loop blocking issue in the Cloud CLI deploy command (#20850) improves the performance and responsiveness of the CLI tool. By properly clearing timeouts before returning from functions, the command now executes more efficiently without unnecessarily tying up system resources.

Impact Summary

Strapi v4.25.5 is a maintenance release that focuses on improving developer experience through bug fixes and feature enhancements for the CLI tools. The TypeScript type fixes for cron jobs address issues developers may have encountered when working with scheduled tasks, providing better type safety.

The Cloud CLI improvements, including the new project link command and fixes for the deploy command, enhance the workflow for Strapi Cloud users by providing more reliable and feature-rich tooling.

Documentation updates to the contributing guide workflow improve the experience for community contributors. Overall, this release represents incremental but important improvements to the Strapi ecosystem with minimal risk of disruption to existing projects.

Full Release Notes

🔥 Bug fix

🚀 New feature

  • [cli] feat(cli): add project link command to cloud cli (#20714) @gonbaum

⚙️ Chore

📚 Update and Migration Guides

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

Statistics:

File Changed65
Line Additions779
Line Deletions477
Line Changes1,256
Total Commits17

User Affected:

  • Fixed TypeScript types for cron jobs, improving type safety when working with scheduled tasks
  • Fixed event loop blocking issue in the Cloud CLI deploy command
  • Gained access to a new Cloud CLI command for linking projects

Contributors:

Boegie19SalahAdDinalexandrebodinMarc-Roigderrickmehaffygonbaum