DevTools & Frameworks MIGRATION GUIDE HIGH MIGRATION EFFORT

TypeScript 2 to 3 Migration Guide

Upgrading TypeScript from v2 to v3 spans 58 intermediate releases with 7 breaking changes and 2 resolved security advisories. Review the actionable checklist, required dependency adjustments, and CLI commands below.

Jump to Breaking Changes (7) ↓ View context.txt (AI Prompts) TypeScript Security Track Record → TypeScript Overview
Migration Risk
High
Based on 7 breaking changes
Breaking Changes
7
Deprecations & removed APIs
Max Release Impact
7/10
Peak architectural complexity
Resolved CVEs
2
Vulnerabilities patched

Step 1: Execute Upgrade Command

Ensure you have a clean git tree before applying package updates.

Refer to the official package manager for TypeScript to target version v3.9.10.

Step 2: Breaking Changes & Incompatible APIs (7)

Inspect and check off each breaking change verified in your codebase.

0 / 7 resolved
vv3.0.1
Inspect v3.0.1 release notes →
vv3.1.1
Inspect v3.1.1 release notes →
vv3.2.1
Inspect v3.2.1 release notes →
vv3.2.2
Inspect v3.2.2 release notes →
vv3.2.4
Inspect v3.2.4 release notes →
vv3.4.1
Inspect v3.4.1 release notes →
vv3.5.1
Inspect v3.5.1 release notes →

Step 3: Patched Security Advisories (2)

Upgrading to v3 resolves the following known vulnerabilities.

All TypeScript CVEs →
Advisory ID Fixed in Version Severity (CVSS) Vulnerability Summary
CVE-2020-1416 v3.9.7 UNRATED Security advisory CVE-2020-1416 patched in typescript v3.9.7
CVE-2021-1639 v3.9.8 UNRATED Security advisory CVE-2021-1639 patched in typescript v3.9.8

Step 4: Intermediate Releases (58)

Chronological progression of releases incorporated in this upgrade.

vv3.9.10 Jun 16, 2021
Impact: 5/10 View notes →
vv4.3.2 May 26, 2021
Impact: 5/10 View notes →
vv4.2.4 Apr 09, 2021
Impact: 5/10 View notes →
vv4.2.3 Mar 05, 2021
Impact: 5/10 View notes →
vv4.2.2 Feb 25, 2021
Impact: 5/10 View notes →
vv4.1.5 Feb 10, 2021
Impact: 5/10 View notes →
vv4.0.7 Feb 10, 2021
Impact: 5/10 View notes →
vv3.9.9 Feb 10, 2021
Impact: 5/10 View notes →
vv3.7.7 Feb 10, 2021
Impact: 5/10 View notes →
vv3.1.8 Feb 10, 2021
Impact: 5/10 View notes →
vv4.1.4 Feb 09, 2021
Impact: 5/10 View notes →
vv4.0.6 Feb 09, 2021
Impact: 5/10 View notes →
vv3.9.8 Feb 09, 2021
Impact: 5/10 View notes →
vv3.7.6 Feb 09, 2021
Impact: 5/10 View notes →
vv3.1.7 Feb 09, 2021
Impact: 5/10 View notes →
vv4.1.3 Dec 15, 2020
Impact: 5/10 View notes →
vv4.1.2 Nov 19, 2020
Impact: 5/10 View notes →
vv4.0.5 Oct 26, 2020
Impact: 5/10 View notes →
vv4.0.3 Sep 18, 2020
Impact: 5/10 View notes →
vv4.0.2 Aug 20, 2020
Impact: 5/10 View notes →
vv3.9.7 Jul 16, 2020
Impact: 5/10 View notes →
vv3.9.6 Jul 06, 2020
Impact: 5/10 View notes →
vv3.9.5 Jun 04, 2020
Impact: 5/10 View notes →
vv3.9.3 May 19, 2020
Impact: 5/10 View notes →
vv3.9.2 May 12, 2020
Impact: 5/10 View notes →
vv3.8.3 Feb 28, 2020
Impact: 5/10 View notes →
vv3.8.2 Feb 23, 2020
Impact: 5/10 View notes →
vv3.6.5 Jan 23, 2020
Impact: 5/10 View notes →
vv3.7.5 Jan 16, 2020
Impact: 5/10 View notes →
vv3.7.4 Dec 30, 2019
Impact: 5/10 View notes →
vv3.7.3 Dec 04, 2019
Impact: 5/10 View notes →
vv3.7.2 Nov 06, 2019
Impact: 5/10 View notes →
vv3.6.4 Oct 10, 2019
Impact: 5/10 View notes →
vv3.6.3 Sep 10, 2019
Impact: 5/10 View notes →
vv3.6.2 Aug 28, 2019
Impact: 5/10 View notes →
vv3.5.3 Jul 09, 2019
Impact: 5/10 View notes →
vv3.5.2 Jun 14, 2019
Impact: 5/10 View notes →
vv3.5.1 Breaking Jun 04, 2019
Impact: 7/10 View notes →
vv3.4.5 Apr 24, 2019
Impact: 5/10 View notes →
vv3.4.4 Apr 24, 2019
Impact: 5/10 View notes →
vv3.4.3 Apr 09, 2019
Impact: 5/10 View notes →
vv3.4.2 Apr 05, 2019
Impact: 5/10 View notes →
vv3.4.1 Breaking Mar 29, 2019
Impact: 7/10 View notes →
vv3.3.4000 Mar 19, 2019
Impact: 5/10 View notes →
vv3.3.3333 Feb 22, 2019
Impact: 5/10 View notes →
vv3.3.3 Feb 22, 2019
Impact: 5/10 View notes →
vv3.3.1 Jan 31, 2019
Impact: 5/10 View notes →
vv3.2.4 Breaking Jan 17, 2019
Impact: 7/10 View notes →
vv3.2.2 Breaking Dec 07, 2018
Impact: 7/10 View notes →
vv3.2.1 Breaking Nov 29, 2018
Impact: 7/10 View notes →
vv3.1.6 Nov 01, 2018
Impact: 5/10 View notes →
vv3.1.5 Oct 31, 2018
Impact: 5/10 View notes →
vv3.1.4 Oct 29, 2018
Impact: 5/10 View notes →
vv3.1.3 Oct 11, 2018
Impact: 5/10 View notes →
vv3.1.2 Oct 09, 2018
Impact: 5/10 View notes →
vv3.1.1 Breaking Sep 28, 2018
Impact: 7/10 View notes →
vv3.0.3 Aug 30, 2018
Impact: 2/10 View notes →
vv3.0.1 Breaking Jul 30, 2018
Impact: 7/10 View notes →
Explore More TypeScript Intelligence

Track real-time updates, compare against alternatives, or audit CVEs.

Overview Latest Release Security Hub