Changes
- Error handling
- New REST Error format
- New Error types usable by users
- New Error types in GraphQL
- Allowed types in media lib
- Allow "all" as a locale for filtering
- Fix homepage copy
- Fix Menu logo
Pre Release
Tag Name: v4.0.0-beta.11
Release Date: 11/5/2021
StrapiOpen-source headless CMS built with Node.js. Provides developers with complete freedom in choosing their favorite tools and frameworks for frontend development.
Strapi v4.0.0-beta.11 introduces significant improvements to error handling with new REST error formats and error types for both REST and GraphQL APIs. The update also includes UI enhancements like a new SearchURLQuery component, DateTimePicker implementation, and fixes for media library functionality. This release focuses on improving developer experience through better error handling and enhancing the admin interface usability.
If you've built custom plugins or extensions that rely on Strapi's error handling:
The old Search component has been removed from the helper plugin. Use the new SearchURLQuery component instead:
// Old implementation
import { Search } from '@strapi/helper-plugin';
// New implementation
import { SearchURLQuery } from '@strapi/helper-plugin';
The new component handles search state through URL parameters, providing better state persistence across page refreshes.
This beta release contains significant improvements to error handling and UI components. We recommend upgrading to this version if:
Since this is still a beta release, we recommend:
The upgrade process follows the standard Strapi update procedure, but pay special attention to any custom code that relies on error handling or uses the old Search component.
No specific security fixes were mentioned in this release.
This beta release represents a significant step forward in Strapi v4's development, particularly in how errors are handled and presented to developers. The new error handling system provides more consistent, detailed, and useful error information across both REST and GraphQL APIs, making debugging and error management more straightforward.
The UI improvements, particularly the new SearchURLQuery component and DateTimePicker, enhance the admin interface usability while fixing several issues with media handling and relation displays. These changes improve the content management experience for editors and administrators.
For developers building with Strapi, this release offers better tools for handling errors and validating data, along with a more robust media library implementation. The code refactoring also improves maintainability and sets the foundation for future enhancements.
While this is still a beta release and may contain some instabilities, it represents important progress toward the final v4 release with meaningful improvements to both developer and user experiences.