TL;DR
Strapi v3.0.3 brings several enhancements and bug fixes to improve the overall user experience. This release includes Russian translation for the Media Library, improved checkbox behavior in the users-permissions plugin, fixes for reset password permissions, and documentation updates. It also enhances GraphQL functionality with custom resolvers and error formatting capabilities.
Highlight of the Release
- Russian translation added for Media Library
- Improved checkbox behavior in users-permissions plugin
- Fixed reset password permission initialization
- Enhanced GraphQL service with info for custom resolvers and formatError capability
- Added documentation for Content-Security-Policy header configuration
Migration Guide
No migration steps are required for this release. This is a patch release (v3.0.3) that includes enhancements and bug fixes without introducing breaking changes.
Bug Fixes
Users-Permissions Plugin Fixes
-
Improved Checkbox Behavior: Fixed issues with the checkbox behavior in the users-permissions plugin. The click action was moved to the wrapper (parent) element to allow clicks on the whole area of the checkbox. Highlighting and visibility on hover of the configuration wheel were also updated for better usability. This makes it clearer that clicking on the item or wheel opens the configuration, while clicking on the text or checkbox toggles the checkbox state.
-
Fixed Reset Password Permission: Resolved an issue with the initialization of reset password permissions, ensuring that password reset functionality works correctly out of the box.
Admin Panel Fixes
- Newsletter Registration Data: Optimized the data collection for newsletter registration by only picking required fields, enhancing privacy and reducing unnecessary data transmission.
Framework Fixes
- Node.js Version Compatibility: Fixed the engine information in package.json to ensure proper Node.js version compatibility.
New Features
Russian Translation for Media Library
The Media Library now includes full Russian language support, making Strapi more accessible to Russian-speaking users. This enhancement improves the internationalization of the platform and provides a more native experience for Russian users.
Enhanced GraphQL Service
The GraphQL plugin has been improved with two significant enhancements:
- Added
info parameter to custom resolvers, giving developers access to more context when building custom GraphQL resolvers
- Added support for
formatError configuration in the GraphQL service, allowing for better error handling and customization
Security Documentation Improvements
Documentation has been updated to include information about the Content-Security-Policy (CSP) header configuration options in security middlewares, providing developers with better guidance on securing their Strapi applications.
Security Updates
No specific security fixes were included in this release. However, the documentation improvements for Content-Security-Policy header configuration will help developers better secure their Strapi applications by providing guidance on proper CSP implementation.
Performance Improvements
Admin Panel Build Process
Improved the build process by ensuring createPluginsJs runs after copyCustomAdmin, which helps prevent potential issues during the admin panel initialization and provides a more reliable build sequence.
Impact Summary
Strapi v3.0.3 is a maintenance release that focuses on improving user experience and fixing several bugs. The addition of Russian translation for the Media Library expands Strapi's accessibility to more users globally. The fixes to the users-permissions plugin enhance the usability of checkboxes and ensure proper initialization of reset password permissions.
For developers, the GraphQL service improvements provide more flexibility with custom resolvers and error handling. Documentation updates for security middlewares and upload providers offer clearer guidance for implementation.
The build process improvement ensures a more reliable admin panel initialization, while the fix for Node.js version compatibility helps prevent potential installation issues.
Overall, this release enhances the stability, usability, and internationalization of Strapi without introducing breaking changes, making it a recommended upgrade for all Strapi v3.0.x users.
Full Release Notes
💅 Enhancement
- [admin] Russian translation for Media Library (#6167) @alxnkt
- [admin] createPluginsJs after copyCustomAdmin (#6626) @ddhp
- [core:framework] Fix the engine info in the package.json (#6691) @teabyii
- [documentation] Security middlewares csp option added (#6694) @ghoshSomoto
- [documentation] Update upload providers README to reflect stable changes (#6709) @derrickmehaffy
- [plugin:graphql] Add info to custom resolvers and add formatError to GraphQL service (#6524) @iicdii
🐛 Bug fix