Packages

ts-morph

28.0.0 · 12 Apr 2026MIT46.3M / weekRepositoryHomepagenpmAtom feed

Upgrading ts-morph From 25.0.1 to 28.0.0

4 releases in betweenevery note read

Reading releases, release notes and advisories…

  1. 25.0.1yours
  2. 26.0.0major
  3. 27.0.0major
  4. 27.0.2
  5. 28.0.0target

Before you upgrade

Tick each one off as you go
  • Breaking28.0.0
  • Breaking28.0.0

Release by release

  1. 28.0.0

    Migration needed12 Apr 20261 new · 1 fix
    • Breaking

      BREAKING: TypeScript 6.0

    • Breaking

      Note there are some breaking changes due to TypeScript 6.0.

    • New

      Standalone printStructure function

    • Fixed

      InvalidOperationError in addTypeArgument

  2. 27.0.2

    12 Oct 20251 fix
    • Fixed

      Fixes the npm publish in order to get the fixes in from 27.0.1

  3. 27.0.0

    7 Sep 20256 new · 2 fixes
    • New

      Switch to tinyglobby

    • New

      TypeChecker - add getAwaitedType

    • New

      TypeScript 5.9

    • New

      Wrap OptionalTypeNode

  4. 26.0.0

    19 May 20252 new · 2 fixes
    • New

      TypeScript 5.8 #1628

    • New

      npm publish with provenance #1634

    • Fixed

      Improve comma appending logic to handle nested template literals correctly

    • Fixed

      bootstrap: Ignore dist-deno folder for npm publish #1610

1 internal line (docs, tests, tooling) left out.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.