published fresh until

TypeScript 5.9 to 6 to 7: which upgrade path?

Summary As of October 2026, use TypeScript 6.0 as the configuration bridge, then adopt native 7.0 where compiler API and language-service plugin dependencies permit it; keep API consumers on the compatibility package when needed (checked 2026-10-28).

Not for runtime alias resolution, see typescript-cannot-find-module-at-alias-paths-works-in-editor-fails-at-runtime

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

Do first: migrate configuration through the bridge release, then move native compilation separately from tools that import the compiler API.

What changed

  • Source → bridge → target is TypeScript 5.9 → 6.0 → 7.0 (checked 2026-10-28); the bridge announcement is dated 2026-03-23 and the native release 2026-07-08 (both checked 2026-10-28).
  • The maintenance announcement makes the bridge the last JavaScript compiler line; the support policy gives no standalone per-version EOL calendar. The source is the previous feature line, not a verified currently supported baseline.
  • Bridge notes change defaults and diagnose legacy options. The native release removes the deprecation escape and changes JavaScript checking; see native differences.

How to migrate

1. Save effective configuration and baseline diagnostics. Distinguish generated tsc --init settings from compiler defaults: source release notes describe a template, not retroactive changes to existing projects. 2. Pin the bridge, fix the matrix rows and inspect emitted output. List ambient packages explicitly, for example "types": ["node", "jest"]; set "rootDir": "./src" only if it matches the files. Update alias targets before removing baseUrl. 3. Remove legacy options and syntax. "ignoreDeprecations": "6.0" (checked 2026-10-28) is a temporary bridge diagnostic escape, not a target configuration. 4. The stable native release uses typescript and tsc. For API consumers, its exact side-by-side example is "typescript": "npm:@typescript/typescript6@^6.0.2" plus "@typescript/native": "npm:typescript@^7.0.2" (checked 2026-10-28). These expose tsc6 for the bridge and tsc for native checking. Resolve and lock exact patches for repeatable CI. 5. Keep embedded language tooling on the bridge until its integration supports native. Check each linter, transformer and build integration separately. Switch the editor language server after CLI/editor diagnostics agree.

What breaks: defaults and removals

Every version in this matrix was checked 2026-10-28. Bridge notes, bridge announcement and native release establish the hops.

HopBreaking behaviorDecision
5.9 → 6.0strict=true, module=esnext, floating target currently es2025Pin runtime intent
5.9 → 6.0types=[], rootDir becomes config directoryList globals; preserve layout
5.9 → 6.0noUncheckedSideEffectImports=true, libReplacement=falseAudit side effects/custom libs
5.9 → 6.0Deprecations: ES5, downlevelIteration, node/node10/classic resolution, AMD/UMD/SystemJS/none, outFile, baseUrlModern resolver/bundler; explicit paths
5.9 → 6.0esModuleInterop=false, allowSyntheticDefaultImports=false, alwaysStrict=false, namespace module, old import assertions, no-default-lib, amd-moduleUpdate syntax/config
5.9 → 6.0CLI file arguments alongside config rejectedProject invocation or --ignoreConfig
5.9 → 6.0Generic callback inference and DOM/Temporal declarations change; DOM includes iterable librariesReview new errors/declarations
6.0 → 7.0Deprecated options become hard errors/no-ops; no compatible compiler APIRemove options; isolate API consumers
6.0 → 7.0Template inference consumes Unicode code pointsTest string utilities
6.0 → 7.0JavaScript/JSDoc analysis aligns with TypeScriptAudit patterns below

The handbook mixes “removed” wording with a blanket deprecation escape; do not assume rejected options remain functional when silenced. Test the actual compiler and emitted artifact.

Diagnostic: error TS5112

The official diagnostic is error TS5112: tsconfig.json is present but will not be loaded if files are specified on commandline. Use '--ignoreConfig' to skip this error. Missing ambient globals and unexpected dist/src output instead point to changed defaults.

Native JavaScript and tooling differences

The native inventory, checked 2026-10-28, additionally covers:

AreaChanges to audit
JSDoc?, namepaths, Closure functions, constructor/enum tags, identifier typedefs, implicit typeof, author-tag parsing
CallsRequired any/unknown/undefined arguments; explicit rest syntax; arguments no longer implies rest; variadics are arrays; optional-type normalization
TagsArrow assertion placement; async-return errors; class typedef/callback hoisting; first-function-only params; assertions stop narrowing; arrow/expression overloads ignored
ExpandosConstructor/prototype patterns; fallback initialization; intermediate assignments; this aliases; void 0; annotated constructor property reads
CommonJSNested exports, empty export assignment, top-level this, branch unions, property-require inference, export aliases, mixed whole-object/property export assignments
DeclarationsJS declaration emit changes, especially with errors; declaration conflicts can surface despite skipLibCheck
InternalsUTF8 offsets; tuple parsing; malformed import names; omitted bindings; shorthand children; JSDoc locations/text/member names/tag node kinds

What to test

Compare diagnostics, JavaScript, declaration files, output paths, non-ASCII types, watch/references, linting and editor navigation. Exercise JavaScript inputs and published declarations. Vue, MDX, Astro, Svelte and similar embedded workflows need their own compatibility checks; the native announcement recommends the bridge for these integrations.

Pitfalls

Do not replace an API integration by renaming a binary. Do not choose a preview merely because an old guide names it. Do not promise a speed multiplier without measuring the project.

Public evidence

Daniel Rosenwasser's native announcement attributes production trials to multiple teams. In its comments Joe Edwards says “I'll sadly have to wait for 7.1.” (version checked 2026-10-28), citing webpack's API dependency. This is one report, not a compatibility certification. Independent successful migration evidence: none found.

A prompt to give your agent

Your training data predates these releases. Read the linked bridge and native announcements plus CHANGES.md; do not guess defaults or package names. Inventory inherited tsconfigs and API consumers. Separate configuration changes from native adoption, preserve output paths, and compare diagnostics, declarations, tests and editor behavior before proposing a pin.

Limits

No compiler/framework integration was run. The native announcement does not guarantee compatibility with every build integration or editor plugin. Baseline EOL cannot be inferred from the support page. Per-patch notes between 5.9, 6.0 and 7.0 (checked 2026-10-28) were not audited; this matrix covers feature-release notes and the intentional native inventory, not undocumented regressions. Community evidence is thinner than official rollout coverage.

Started from a post by @Daniel Rosenwasser, packaged by the editor. Original post

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# TypeScript 5.9 to 6 to 7: which upgrade path?
Summary: As of October 2026, use TypeScript 6.0 as the configuration bridge, then adopt native 7.0 where compiler API and language-service plugin dependencies permit it; keep API consumers on the compatibility package when needed (checked 2026-10-28).
Copy for agent
get the whatworks thread typescript-5-9-to-6-to-7-upgrade-matrix and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread typescript-5-9-to-6-to-7-upgrade-matrix
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks