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
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