Home

>

Tools

>

Strapi

>

Releases

>

4.1.10

Strapi Release: 4.1.10

Tag Name: v4.1.10

Release Date: 5/11/2022

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 v4.1.10 focuses on bug fixes and enhancements, including fixing user population in Users-Permissions, addressing GCP deployment issues, improving security by sanitizing hidden attributes, and enhancing the UI with new translations and design system components. This release also includes important fixes for file uploads, bulk deletion operations, and guided tour functionality.

Highlight of the Release

    • Fixed user population in Users-Permissions plugin
    • Added fallback mime-type detection for file uploads
    • Fixed deployment issues on Google Cloud Platform
    • Enhanced security by sanitizing hidden attributes from API responses
    • Added Russian and Catalan translations to the admin interface
    • Upgraded Sentry plugin to the latest version
    • Fixed bulk deletion for non-default locales

Migration Guide

This is a patch release (v4.1.9 → v4.1.10) that focuses on bug fixes and enhancements. No specific migration steps are required.

To upgrade:

npm install [email protected]

or

yarn upgrade [email protected]

After upgrading, restart your Strapi application to ensure all changes take effect.

Upgrade Recommendations

This release contains important bug fixes and security improvements, so upgrading is recommended for all Strapi v4.1.x users.

Priority: Medium

The upgrade process should be straightforward as this is a patch release with no breaking changes. The fixes for user population, file uploads, and security enhancements make this update valuable for most Strapi installations.

If you're using Google Cloud Platform for deployment, this update is particularly important as it fixes an issue with database migrations folder generation.

Bug Fixes

  • Core Functionality

    • Fixed issue with populating User data in Users-Permissions plugin
    • Resolved problem with guided tour skipped local storage
    • Fixed hook getter spread that made handlers invalid
    • Addressed SingleTypeFormWrapper to properly display custom error messages
  • File Management

    • Added fallback mime-type detection when none is set for uploaded files
    • Fixed error display when loading upload provider fails
  • Localization

    • Fixed bulk delete functionality for non-default locales
  • Deployment

    • Fixed deployment issues on Google Cloud Platform by automatically generating .gitkeep for database migrations folder

New Features

and Enhancements

  • UI Improvements

    • Updated homepage logo with a new design
    • Implemented Design System v2 components for a more consistent UI experience
    • Added spellcheck functionality to the Wysiwyg editor
    • Reduced padding on marketplace cards for better visual appearance
  • Internationalization

    • Added Catalan translation for the Admin UI
    • Enhanced Russian translations for admin content
  • Developer Experience

    • Improved error display when loading upload providers
    • Added automatic generation of .gitkeep file for database migrations folder

Security Updates

  • Sanitized hidden attributes from admin API responses to prevent exposure of sensitive data
  • Upgraded nodemailer to the latest version to address potential security vulnerabilities
  • Improved security in the Users-Permissions plugin by properly handling user data population

Performance Improvements

  • Upgraded Sentry plugin to the latest version, which includes performance improvements for error tracking and monitoring
  • Improved component rendering with Design System v2 components
  • Enhanced hook handling to prevent invalid execution that could impact performance

Impact Summary

Strapi v4.1.10 delivers several important fixes and enhancements that improve the overall stability, security, and user experience of the platform.

The most significant improvements include:

  1. User Data Handling: Fixed issues with user population in the Users-Permissions plugin, which resolves problems developers might have encountered when trying to access related user data.

  2. File Upload Reliability: Added fallback mime-type detection for uploaded files, ensuring that files without a detected mime-type can still be properly processed.

  3. Security Enhancements: Sanitized hidden attributes from admin API responses, preventing potential exposure of sensitive information.

  4. Deployment Improvements: Fixed deployment issues on Google Cloud Platform by automatically generating necessary files for database migrations.

  5. UI Enhancements: Updated the design system components, added language translations, and improved the Wysiwyg editor with spellcheck functionality.

These changes collectively enhance the developer experience, content editor workflow, and platform security without introducing breaking changes, making this a recommended update for all Strapi v4.1.x users.

Full Release Notes

🔥 Bug fix

💅 Enhancement

🚨 Security

  • [core:admin] Sanitize hidden attributes from admin API responses (#13185) @Convly

📚 Migration guides can be found here 📚

Statistics:

File Changed172
Line Additions5,140
Line Deletions3,258
Line Changes8,398
Total Commits91

User Affected:

  • Can now properly populate User data in Users-Permissions plugin
  • Will experience improved deployment on Google Cloud Platform with automatic .gitkeep generation for database migrations
  • Benefit from fixed hook handling that previously caused invalid execution
  • Can use the updated Sentry plugin with the latest version

Contributors:

iicdiipetersg83markkaylordavefvderrickmehaffyConvlyMaksZhukovdependabot[bot]alexandrebodinvincentbproronronscelestesremidejbglidwell