TL;DR
Strapi v3.6.2: Bug Fixes and Enhancements
This minor release focuses on fixing several bugs, enhancing GraphQL and i18n plugins, and improving translations. Key improvements include fixing private attributes in GraphQL schemas, making i18n locales available to non-admin users, preserving metadata during image resizing, and addressing MongoDB compatibility issues. The release also adds Norwegian language support and updates several existing translations.
Highlight of the Release
- Fixed GraphQL plugin to respect private attributes in content type schemas
- Made i18n listLocales route available for non-admin users
- Added support for preserving metadata during image resizing in Media Library
- Fixed MongoDB compatibility issues for versions below 4.2
- Added Norwegian language translation and improved existing translations
- Fixed date field timezone parsing issues
Migration Guide
This is a minor release with no breaking changes, so upgrading from v3.6.1 should be straightforward:
-
Update your dependencies in package.json:
"strapi": "3.6.2",
"strapi-admin": "3.6.2",
"strapi-connector-bookshelf": "3.6.2",
"strapi-plugin-content-manager": "3.6.2",
"strapi-plugin-content-type-builder": "3.6.2",
"strapi-plugin-email": "3.6.2",
"strapi-plugin-i18n": "3.6.2",
"strapi-plugin-upload": "3.6.2",
"strapi-plugin-users-permissions": "3.6.2",
"strapi-utils": "3.6.2"
-
Run npm install or yarn install to update to the new version.
-
Restart your Strapi application.
For detailed migration guides covering major version changes, refer to the official Strapi migration documentation.
Upgrade Recommendations
This release contains important bug fixes and enhancements that improve the stability and functionality of Strapi. It's recommended to upgrade to v3.6.2, especially if you:
- Use GraphQL and have private attributes in your content types
- Need to access i18n locales from non-admin routes
- Use MongoDB versions below 4.2
- Work with date fields and have experienced timezone issues
- Use the Media Library and need to preserve image metadata during resizing
- Require negative integers in your validation rules
- Use SSO authentication
The upgrade process is straightforward with no breaking changes, making this a low-risk update that provides valuable improvements.
Bug Fixes
- GraphQL Schema Generation: Fixed an issue where content type attributes marked as private were still being exposed in the exported GraphQL schema (#9805).
- MongoDB Compatibility: Resolved compatibility issues for MongoDB versions below 4.2 (#10281).
- Date Field Parsing: Fixed a bug where date fields were being parsed with timezone information, causing inconsistencies (#10033).
- Content Type Builder: Fixed issue #10187 related to the content type builder interface (#10193).
- Integer Validation: Removed the positive requirement for integer validation, allowing negative integers to be used (#10269).
- SSO Authentication: Fixed redirection after successful SSO authentication (#10250).
- RBAC Conditions: Improved handling of Role-Based Access Control conditions (#10185).
New Features
- Norwegian Language Support: Added complete Norwegian translation to the admin panel, expanding the internationalization options for users (#9846).
- Enhanced i18n Plugin: The
listLocales route is now available for non-admin users, allowing frontend applications to access locale information directly (#10255).
- Metadata Preservation in Media Library: When resizing images, metadata (EXIF, XMP, IPTC) is now preserved if the "optimize size without quality loss" option is disabled (#10161).
Security Updates
This release includes dependency updates that may address security vulnerabilities:
- Updated nodemailer from 6.5.0 to 6.6.0
- Updated eslint from 7.24.0 to 7.25.0
- Updated react-tooltip from 4.2.17 to 4.2.18
- Updated @fingerprintjs/fingerprintjs from 3.0.7 to 3.1.1
- Updated apollo-server-koa from 2.23.0 to 2.24.0
- Updated stylelint from 13.12.0 to 13.13.1
- Updated ora from 5.3.0 to 5.4.0
- Updated @babel/core from 7.13.16 to 7.14.0
While these updates were primarily maintenance-related, they may include security patches from the respective packages.
Performance Improvements
No specific performance improvements were included in this release. The focus was primarily on bug fixes, translations, and minor enhancements to existing functionality.
Impact Summary
Strapi v3.6.2 is a maintenance release that addresses several important bugs and adds minor enhancements to improve the developer and content editor experience.
The most significant improvements include fixing the GraphQL schema generation to properly respect private attributes, making i18n locales available to non-admin users, and preserving metadata during image resizing operations. These changes enhance both the security and functionality of Strapi applications.
For MongoDB users with versions below 4.2, this release resolves compatibility issues that may have been causing problems. The fix for date field timezone parsing also addresses a common pain point for content editors working with date fields.
The addition of Norwegian language support and improvements to existing translations make Strapi more accessible to international users. The various bug fixes across the admin interface and plugins contribute to a more stable and reliable CMS experience.
Overall, this release focuses on quality-of-life improvements and bug fixes rather than introducing major new features, making it a recommended upgrade for all Strapi users.
Full Release Notes
💅 Enhancement
- [plugin:graphql] GraphQL Plugin (bug): Content type's attributes marked as private are being exposed in the exported GraphQL schema (#9805) @ralphsomeday
- [plugin:i18n] Make listLocales route available for non-admin (#10255) @petersg83
- [plugin:upload] Keep metadata during image resize (Media Library) (#10161) @Kendaros
🌏 Translation
- [admin] Added norwegian translation. (#9846) @ksolberg
- [admin] Update strapi-admin Polish language translations (#10198) @Webnatural
- [admin] Removed extra space (#10203) @cogor
- [admin] Update German strapi-admin translations (#10207) @pr0gr8mm3r
- [plugin:content-manager] Added missing translations (#10202) @cogor
- [plugin:content-type-builder] Added missing translation(content type builder) (#10204) @cogor
- [plugin:documentation] Added missing translations(Documentation plugin) (#10205) @cogor
🐛 Bug fix
📚 Migration guides can be found here 📚