Home

>

Tools

>

Strapi

>

Releases

>

4.9.2

Strapi Release: 4.9.2

Tag Name: v4.9.2

Release Date: 4/19/2023

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.9.2 is a maintenance release focused on bug fixes and enhancements. Key improvements include fixing admin crashes related to user roles, resolving issues with relation reordering, adding pagination to the marketplace, and enhancing search functionality with Intl APIs. This release also includes Russian translations and TypeScript migrations for providers.

Highlight of the Release

    • Fixed admin crashes when accessing user roles without create/update rights
    • Added pagination to marketplace for better navigation
    • Improved search functionality with Intl APIs for better filtering and sorting
    • Fixed relation reordering in dynamic components that previously crashed pages
    • Added Russian translations for the admin interface
    • Improved websocket connection handling in data transfers

Migration Guide

No specific migration steps are required for this release as it primarily contains bug fixes and enhancements that don't introduce breaking changes.

For general update guidance:

  1. Update your Strapi version in your package.json file
  2. Run yarn install or npm install to install the updated dependencies
  3. Restart your Strapi application

As always, it's recommended to test the update in a development environment before applying it to production.

Upgrade Recommendations

This is a recommended upgrade for all Strapi users, especially for those who:

  • Have experienced crashes when accessing user roles without proper permissions
  • Use relation fields within dynamic components
  • Need marketplace pagination for better navigation
  • Would benefit from Russian language support
  • Have encountered issues with database transactions

The release contains important bug fixes and quality-of-life improvements with minimal risk of introducing new issues. As this is a patch release (4.9.1 → 4.9.2), it should be safe to upgrade without breaking changes.

Bug Fixes

Admin Interface Fixes

  • Fixed admin crashes when user roles are accessed without create or update rights
  • Fixed audit logs permissions error in Enterprise Edition
  • Fixed social links display issues on the homepage (key problem)
  • Fixed yarn strapi build to properly use admin package .browserslistrc

Content Management Fixes

  • Fixed relation reordering in dynamic components that previously crashed the page
  • Edit modals now automatically close on form submission
  • Fixed reordering relations with null order values (now defaults to 1)
  • Fixed 'preceding' typo in content-type builder

Data Transfer and Database Fixes

  • Fixed websocket connection issues by ensuring connections are established before push and pull transfers
  • Fixed issues with completed transactions being returned
  • Excluded optional admin types in schema check to prevent validation errors
  • Fixed named export issue for audit-logs content-type

New Features

Marketplace Pagination

The Strapi marketplace now includes pagination functionality, making it easier to navigate through plugins, providers, and other extensions. This improves the user experience when browsing through a large number of marketplace items.

Enhanced Search with Intl APIs

The helper-plugin now uses native JavaScript Intl APIs for filtering and sorting, replacing the previous match-sorter implementation. This provides better internationalization support for searching and filtering throughout the admin panel.

Russian Translations

The admin interface now includes Russian language translations, expanding Strapi's accessibility to Russian-speaking users.

Security Updates

No specific security fixes were mentioned in this release.

Performance Improvements

Search Performance

The switch to native JavaScript Intl APIs for filtering and sorting improves performance for search operations throughout the admin interface, particularly in the Content Manager and Content-Type Builder.

Build Process

The build process has been improved by ensuring yarn strapi build correctly uses the admin package's .browserslistrc file, which helps optimize the build output for supported browsers.

Impact Summary

Strapi v4.9.2 is primarily a maintenance release that addresses several important bugs and adds quality-of-life improvements. The most significant impact is the resolution of admin crashes related to user roles permissions, fixing relation reordering in dynamic components, and adding pagination to the marketplace.

For admin users, the interface is now more stable when working with roles and permissions. Content editors will benefit from fixed relation handling and automatic modal closing on form submission. Developers will appreciate the improved build process, better transaction handling, and TypeScript support for providers.

The addition of Russian translations improves accessibility for Russian-speaking users, while the new Intl API-based search functionality enhances filtering and sorting across the platform.

Overall, this release improves stability, user experience, and developer experience without introducing breaking changes, making it a recommended upgrade for all Strapi users.

Full Release Notes

🔥 Bug fix

  • [core:admin] Fix yarn strapi build to use admin package .browserslistrc (#16196) @hsource
  • [core:admin] Fix Admin Crashes when user roles are accessed without create or update rights (#16279) @simotae14
  • [core:admin] EE Fix audit logs permissions error (#16343) @markkaylor
  • [core:admin] Fix a keys problem with the social links on homepage (#16413) @Feranchz
  • [core:content-manager] fix: Reorder relations in dynamic components crashes page (#16332) @gitstart
  • [core:content-manager] Auto close the edit modal on form submit (#16383) @LuisRodriguezLD
  • [core:content-type-builder] Fix 'preceding' typo (#16303) @hatsforclowns
  • [core:data-transfer] Await websocket connection to be established in push and pull transfers (#16251) @Bassel17
  • [core:data-transfer] [Data transfer] Exclude optional admin types in schema check (#16268) @innerdvations
  • [core:database] [Fix] Reorder relations with null order values (#16298) @Marc-Roig
  • [core:database] Fix(transactions): Do not return completed transactions (#16341) @Marc-Roig
  • [dependencies] chore: release peer version constraint using ^ (#16348) @chentsulin
  • [providers] Don't use a named export, export an object for audit-logs content-type (#16371) @joshuaellis

💅 Enhancement

⚙️ Chore

📖 Documentation


📚 Update and Migration Guides

  • General update guide can be found here
  • Migration guides can be found here 📚

Statistics:

File Changed256
Line Additions15,630
Line Deletions15,561
Line Changes31,191
Total Commits154

User Affected:

  • Fixed crashes when accessing user roles without create/update rights
  • Fixed audit logs permissions error
  • Fixed social links display on homepage
  • Improved marketplace with pagination and better search functionality
  • Benefit from Russian translations if using that language

Contributors:

remidejhide-meFeranchzBassel17innerdvationssimotae14Marc-Roighatsforclownsmarkkaylorchentsulinjoshuaellischristiancp100ConvlyalexandrebodingitstartLuisRodriguezLDhsource