# Migration Context: Strapi v3 -> v4 # Generated by Changelogs.us: 2026-11-30T03:04:37.172575+00:00 # Target Version: v4.26.2 # Upgrade Command: N/A # Breaking Changes: 11 # Security Fixes: 5 ## Executive Summary Upgrading Strapi from 3 to 4 involves 209 releases with risk rating High. ## Breaking Changes List: - [vv4.10.0] [typescript] Upgrade to TS V5 and fix related breaking changes (https://github.com/strapi/strapi/pull/16462) @Convly: - [vv4.11.1] [marketplace] Fix lineHeight breaking card spacing (https://github.com/strapi/strapi/pull/16979) @markkaylor: - [vv4.13.1] :warning: Breaking Changes :warning: Starting with Strapi v4.13.1, requests to the Content API using invalid query parameters will be rejected with an error response instead of being silently removed from the query. If you are seeing “Invalid parameter” errors in a Content API request, please ensure that every parameter in your query string is valid. If you need the previous behavior of filtering out invalid parameters, you will need to use a custom controller that only calls `sanitizeQuery` and not `validateQuery`. For more information as to why we made this change please see #17001: - [vv4.22.1] Chore: Revert @koa/cors upgrade to 5.0.0 due to breaking cors middleware by @derrickmehaffy in https://github.com/strapi/strapi/pull/20041: - [vv5.0.0] [breaking change] Remove the TOrigin Type Param for Attribute.Relation by @Convly in https://github.com/strapi/strapi/pull/19335: - [vv5.0.0] [breaking change] Remove the TOrigin Type Param for Attribute.UID by @Convly in https://github.com/strapi/strapi/pull/19336: - [vv5.0.2] fix: dynamic zones breaking layout logic by @remidej in https://github.com/strapi/strapi/pull/21483: - [vv5.0.4] fix: history cron job breaking on mysql by @remidej in https://github.com/strapi/strapi/pull/21616: - [vv5.24.0] This release does **not** introduce breaking changes in any documented Strapi APIs or functions.: - [vv5.24.1] This release does **not** introduce breaking changes in any documented Strapi APIs or functions.: - [vv5.33.4] - missing property breaking build ([#25205](https://github.com/strapi/strapi/pull/25205)): ## Patched Vulnerabilities (CVEs): - [CVE-2022-24999] (Severity: UNRATED) in vv4.5.5: Security advisory CVE-2022-24999 patched in strapi v4.5.5 - [CVE-2016-20018] (Severity: UNRATED) in vv4.6.0: Security advisory CVE-2016-20018 patched in strapi v4.6.0 - [CVE-2024-37890] (Severity: UNRATED) in vv4.25.12: Security advisory CVE-2024-37890 patched in strapi v4.25.12 - [CVE-2024-28863] (Severity: UNRATED) in vv4.25.12: Security advisory CVE-2024-28863 patched in strapi v4.25.12 - [CVE-2025-27152] (Severity: UNRATED) in vv4.25.22: Security advisory CVE-2025-27152 patched in strapi v4.25.22 ## Instructions for AI Assistant: When migrating user code from Strapi 3 to 4, scan for the deprecated APIs and breaking changes above and refactor code to use modern vv4.26.2 idioms.