Home

>

Tools

>

Strapi

>

Releases

>

4.10.5

Strapi Release: 4.10.5

Tag Name: v4.10.5

Release Date: 5/11/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.10.5 is a maintenance release that addresses several bugs, enhances TypeScript support, and improves CI performance. Key fixes include sorting in the Content Manager list view, data transfer schema handling, and removal of deprecated security headers. The release also extends custom field configuration options and significantly speeds up CI workflows.

Highlight of the Release

    • Fixed sorting for toOne relational fields in Content Manager list view
    • Added schema check bypass capability in data transfer operations
    • Removed deprecated Expect-CT security header
    • Extended CustomFieldServerOptions types with inputSize configuration
    • Improved CI performance by optimizing yarn installation and caching (>30% faster)

Migration Guide

No specific migration steps are required for this release as it primarily contains bug fixes and enhancements that don't break existing functionality.

For the schema bypass feature in data transfers, this is an opt-in capability that doesn't affect existing behavior unless explicitly used.

Upgrade Recommendations

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

  1. Use relational fields with sorting in the Content Manager
  2. Perform data transfers between environments with slightly different schemas
  3. Are concerned about security best practices
  4. Develop custom fields and need the new inputSize configuration option

The upgrade should be straightforward with minimal risk as it primarily contains bug fixes and non-breaking enhancements.

Bug Fixes

Content Manager Fixes

  • Fixed sorting functionality for toOne relational fields in the Content Manager list view
  • Fixed broken "open documentation" link

Security and Headers

  • Removed deprecated Expect-CT response header which is no longer recommended by security standards
  • Fixed @setup/node invalid parameters issue

Data Transfer Fixes

  • Improved handling of empty paths in data transfer operations
  • Fixed schema difference detection and handling
  • Added ability to bypass schema checks and ignore fields/links that don't exist in destination

New Features

Data Transfer Improvements

  • Added schema check bypass capability that allows transfers to proceed even when schemas don't perfectly match
  • Implemented middleware for schema difference handling
  • Added confirmation prompts for transfers with schema differences
  • Added reporting of differences before confirming transfers
  • Improved handling of data that cannot be transferred due to schema mismatches

TypeScript Enhancements

  • Extended CustomFieldServerOptions types with new inputSize configuration for better form field control
  • Improved type definitions for custom fields

Security Updates

Security Header Updates

  • Removed the deprecated Expect-CT response header which is no longer recommended by modern security standards and has been superseded by Chrome's built-in Certificate Transparency policy
  • This change helps maintain a cleaner security posture by removing unnecessary headers

Performance Improvements

CI Performance Improvements

  • Implemented a new yarn node modules install action that significantly speeds up CI workflows
  • Added node_modules caching capabilities to reduce installation time
  • Optimized CI workflows to achieve over 30% faster build times
  • Improved cleanup cache processes for better resource management

Impact Summary

Strapi v4.10.5 delivers important fixes and quality-of-life improvements across several areas of the CMS. Content managers will benefit from fixed sorting functionality for relational fields, while developers gain improved data transfer capabilities with the new schema bypass feature that provides more flexibility when moving content between environments with schema differences.

The release also enhances TypeScript support for custom field developers and removes deprecated security headers to align with current best practices. CI performance improvements, while primarily benefiting the Strapi core team, demonstrate ongoing efforts to optimize the development workflow.

Overall, this is a solid maintenance release that addresses specific pain points without introducing breaking changes, making it a recommended upgrade for all Strapi users.

Full Release Notes

🔥 Bug fix

  • [core:content-manager] Fix: Fix toOne sorting in CM list-view (#16675) @gu-stav
  • [core:data-transfer] [DTS] Allow schema check bypass; remove data that cannot be transfered (#16634) @innerdvations
  • [core:strapi] [fix] remove Expect-CT response header (#16292) @candidosales

💅 Enhancement

⚙️ Chore


📚 Update and Migration Guides

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

Statistics:

File Changed82
Line Additions1,102
Line Deletions731
Line Changes1,833
Total Commits61

User Affected:

  • Fixed sorting functionality for relational fields in the Content Manager list view
  • Improved data transfer capabilities with schema check bypass option

Contributors:

candidosalesbelgattitudeinnerdvationsderrickmehaffykonstantinmuensterchristiancp100markkaylorremidejjoshuaellisConvly