Home

>

Tools

>

Strapi

>

Releases

>

3.0.0-beta.10

Strapi Release: 3.0.0-beta.10

Tag Name: v3.0.0-beta.10

Release Date: 7/9/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.10 introduces a new create-strapi-app package for easier project creation, adds null/not null filters for improved querying, and includes several documentation improvements and bug fixes. This release enhances the developer experience with better project initialization, more filtering options, and UI improvements.

Highlight of the Release

    • New create-strapi-app package for easier project initialization
    • Added null and not null filters for more flexible data querying
    • Improved AWS S3 integration with automatic whitespace trimming for credentials
    • Fixed UI styling issues in Content Type Builder
    • Enhanced documentation with updated links and fixed typos

Migration Guide

No migration is required for this beta release. The new create-strapi-app package is an additional option for project creation and doesn't replace existing functionality.

If you want to use the new package, you can install it globally:

npm install -g create-strapi-app

Or use it directly with npx:

npx create-strapi-app my-project

To use npm instead of yarn (which is the default):

npx create-strapi-app my-project --use-npm

Upgrade Recommendations

As this is a beta release (v3.0.0-beta.10), it's recommended for development and testing environments rather than production deployments.

Developers who are already using Strapi v3.0.0-beta.9 can upgrade to benefit from the new features and fixes. The upgrade process should be straightforward:

npm install [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected]

Or if using yarn:

yarn upgrade [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected]

Bug Fixes

Fixed Content Type Builder UI

Fixed styling on the Content Type Builder left menu list where bullet points were visible and creating visual inconsistency. This was particularly noticeable when the page had enough content to enable scrolling.

AWS S3 Provider Fixes

Added automatic trimming of whitespace for AWS S3 credentials. Previously, if credentials were entered with trailing whitespace, the system would fail to find the bucket despite respecting the whitespace in the configuration. A utility function now checks if the value is a string and applies the trim() function to remove unwanted whitespace.

New Features

New create-strapi-app Package

A new package called create-strapi-app has been introduced to simplify the process of creating new Strapi projects. This package provides a more modern approach to project initialization with:

  • Asynchronous operation for better performance
  • Nice loading indicators using the ora package
  • Support for specifying npm as the package manager with --use-npm flag
  • Better validation and database emptiness tests

This complements the existing strapi new command which has also been refactored to be asynchronous and more robust.

New Query Filters

Added support for _null and _nul (not null) operators in queries, allowing developers to filter records based on whether a field has a null value or not. This provides more flexibility when querying data through the API.

Security Updates

No specific security fixes were included in this release.

Performance Improvements

Improved Project Initialization

The refactoring of strapi-generate-new to be asynchronous improves the performance and responsiveness of project creation. This change, along with the new create-strapi-app package, provides a smoother experience when initializing new Strapi projects.

Better Validation

Added more validation and improved database emptiness tests during project initialization, which helps prevent issues and errors during the setup process.

Impact Summary

This beta release focuses on improving the developer experience with a new project creation package, enhanced filtering capabilities, and various quality-of-life improvements.

The introduction of the create-strapi-app package modernizes the project initialization process, making it more user-friendly especially for newcomers to Strapi. The addition of null and not null filters expands the querying capabilities, allowing for more precise data retrieval.

Several documentation improvements make it easier for users to find information and follow correct procedures. The AWS S3 provider now handles whitespace in credentials more gracefully, preventing a common source of connection errors.

Overall, this release continues to refine the Strapi experience as it moves toward a stable 3.0.0 release, with improvements that benefit both new and existing users.

Full Release Notes

🚀 New

💅 Enhancement

🐛 Bug fix

  • [Admin] Fix styling on content type builder left menu list (#3567) @fredrivett

Statistics:

File Changed158
Line Additions1,606
Line Deletions1,371
Line Changes2,977
Total Commits43

User Affected:

  • New `create-strapi-app` package for easier project initialization
  • Improved `strapi new` command with better validation and async support
  • New null and not null filters for more flexible data querying
  • AWS S3 credentials now have whitespace trimming to prevent connection errors

Contributors:

alexandrebodinderrickmehaffylauriejimLouisAugryfredrivettjacargentina