Home

>

Tools

>

Strapi

>

Releases

>

3.0.0-beta.5

Strapi Release: 3.0.0-beta.5

Tag Name: v3.0.0-beta.5

Release Date: 6/13/2019

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 v3.0.0-beta.5 Release

What's New

  • Removed the build step in strapi new command for faster project creation
  • Fixed middleware order modification issue in beforeInitialize hooks

Why It Matters

This beta release streamlines the project creation process and addresses a critical middleware ordering bug that could affect plugin behavior. These improvements enhance developer experience and system stability as Strapi moves closer to a stable v3.0.0 release.

Who Should Care

Developers working with Strapi beta versions, especially those creating new projects or implementing custom middleware solutions.

Highlight of the Release

    • Removed build step in strapi new command for faster project creation
    • Fixed critical middleware ordering issue in beforeInitialize hooks
    • Improved overall stability of the beta release

Migration Guide

No migration steps are required for this beta release.

If you're upgrading from v3.0.0-beta.4 to v3.0.0-beta.5:

  1. Update your Strapi version in your package.json:

    "dependencies": {
      "strapi": "3.0.0-beta.5",
      "strapi-admin": "3.0.0-beta.5",
      "strapi-utils": "3.0.0-beta.5",
      "strapi-plugin-content-manager": "3.0.0-beta.5",
      "strapi-plugin-content-type-builder": "3.0.0-beta.5",
      "strapi-plugin-users-permissions": "3.0.0-beta.5",
      "strapi-plugin-email": "3.0.0-beta.5",
      "strapi-plugin-upload": "3.0.0-beta.5"
    }
    
  2. Run npm install or yarn to update dependencies

  3. If you were relying on the automatic build during project creation, note that you'll now need to run strapi build manually after creating a new project.

Upgrade Recommendations

This is a beta release that includes performance improvements and bug fixes. It's recommended for:

  • Developers actively testing Strapi v3.0.0 beta versions
  • Projects that need the middleware ordering fix
  • New projects that would benefit from faster initialization

As this is still a beta release, it's not recommended for production environments unless you're already using the beta series and need these specific fixes.

To upgrade from v3.0.0-beta.4:

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

Remember to update all related Strapi packages to the same version.

Bug Fixes

Middleware Ordering Fix

  • Fixed middleware order modification issue: Resolved a critical bug where beforeInitialize middlewares could incorrectly modify the order of other middlewares. This fix ensures:
    • Consistent middleware execution order
    • Predictable plugin behavior
    • Proper initialization sequence

Other Fixes

  • Removed unnecessary log outputs
  • Fixed unused configuration parameter issue

New Features

Improved Project Creation

  • Removed build step in strapi new command: The project creation process has been streamlined by removing the automatic build step when creating a new Strapi project. This results in:
    • Faster project initialization
    • Reduced wait time for developers
    • More efficient development workflow

This change allows developers to run the build process manually when needed, giving more control over the project setup process.

Security Updates

No specific security fixes were included in this release.

Performance Improvements

Faster Project Creation

  • Streamlined strapi new command: By removing the automatic build step during project creation, the initialization process is now significantly faster. This improvement:
    • Reduces the time needed to set up a new Strapi project
    • Decreases resource usage during project creation
    • Provides a more responsive developer experience

This change is particularly beneficial for developers who frequently create new Strapi projects or work in CI/CD environments.

Impact Summary

This release focuses on improving developer experience and fixing middleware-related issues. The removal of the build step in the strapi new command significantly speeds up project creation, which is particularly valuable during development and testing phases.

The fix for middleware ordering in beforeInitialize hooks addresses a subtle but important issue that could cause unexpected behavior in plugins and custom middleware implementations. This improvement ensures more predictable application behavior and prevents potential hard-to-debug issues.

While this is a relatively small release in terms of changes (220 changes across 40 files), it represents important progress toward a stable v3.0.0 release by addressing specific developer pain points and improving overall system reliability.

Full Release Notes

Statistics:

File Changed40
Line Additions104
Line Deletions116
Line Changes220
Total Commits7

User Affected:

  • Faster project creation with the removal of the build step in `strapi new` command
  • More predictable middleware behavior with the fix for middleware ordering issues

Contributors:

alexandrebodin