Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Oct 5, 2025

This PR contains the following updates:

Package Change Age Confidence
ts-morph 12.2.0 -> 27.0.2 age confidence

Release Notes

dsherret/ts-morph (ts-morph)

v27.0.2

Compare Source

What's Changed

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

Full Changelog: dsherret/ts-morph@27.0.1...27.0.2

v27.0.0

Compare Source

What's Changed

New Contributors

Full Changelog: dsherret/ts-morph@26.0.0...27.0.0

v26.0.0

Compare Source

What's Changed
  • feat: TypeScript 5.8 #​1628
  • fix: Improve comma appending logic to handle nested template literals correctly by @​kingston in #​1630
  • fix(bootstrap): ignore dist-deno folder for npm publish #​1610
  • feat: npm publish with provenance #​1634
New Contributors

Full Changelog: dsherret/ts-morph@25.0.1...26.0.0

v25.0.1

Compare Source

Bug Fixes

v25.0.0

Compare Source

What's Changed

  • feat: TypeScript 5.7.2 #​1594
  • fix: switch back to fast-glob for stability #​1595
  • fix: properly insert async keyword in arrow function #​1597
  • fix: throw descriptive error when inserting variable statement with no declarations #​1598
  • fix: removing last named import/export should not remove or change declaration #​1599

Full Changelog: dsherret/ts-morph@24.0.0...25.0.0

v24.0.0

Compare Source

What's Changed

New Contributors

Full Changelog: dsherret/ts-morph@23.0.0...24.0.0

v23.0.0

Compare Source

What's Changed

Now available on JSR for use in Deno: https://jsr.io/@​ts-morph/ts-morph

Full Changelog: dsherret/ts-morph@22.0.0...23.0.0

v22.0.0

Compare Source

What's Changed

CodeBlockWriter 13.0.1

People may have been working around these bugs in the past:

New Contributors

Full Changelog: dsherret/ts-morph@21.0.1...22.0.0

v21.0.1

Compare Source

I forgot to run a code generation script to update some code for the 21.0.0 release and only realized after. This release fixes that and also reduces the chance of that happening in the future.

For 21.0.0 release notes, see https://github.com/dsherret/ts-morph/releases/tag/21.0.0

Full Changelog: dsherret/ts-morph@21.0.0...21.0.1

v21.0.0

Compare Source

What's Changed

  • feat: ProjectOptions::defaultCompilerOptions by @​wojpawlik in #​1460
  • feat: TypeScript 5.3 #​1476
  • feat: add interface and type literal getters & setters by @​ajvincent in #​1473
  • feat: add wrapped method for getShorthandAssignmentValueSymbol to TypeChecker. add convenience method for getting the value symbol on ShorthandPropertyAssignment. by @​kronodeus in #​1456
  • perf: use path.exists functions that don't throw internally when not exists #​1478
Breaking Changes
  • Upgraded to TS 5.3
  • Underlying @ts-morph/common file system methods return undefined instead of throwing when not exists (for perf).
  • Private fields are actually private (default build requires private fields).

New Contributors

Full Changelog: dsherret/ts-morph@20.0.0...21.0.0

v20.0.0

Compare Source

What's Changed

New Contributors

Full Changelog: dsherret/ts-morph@19.0.0...20.0.0

v19.0.0

Compare Source

What's Changed

New Contributors

Full Changelog: dsherret/ts-morph@18.0.0...19.0.0

v18.0.0

Compare Source

What's Changed

BREAKING CHANGE: Upgraded to TypeScript 5.0.2

New Contributors

Full Changelog: dsherret/ts-morph@17.0.1...18.0.0

v17.0.1

Compare Source

  • fix: revert rollup from v3 to v2 to fix build (esModuleInterop: true had no effect) #​1358

v17.0.0

Compare Source

Bug Fixes
Features
BREAKING CHANGES
  • Upgraded to TS 4.9

v16.0.0

Compare Source

Features
BREAKING CHANGES
  • Upgraded to TS 4.8
  • Decorators are now modifiers due to TS 4.8
  • ts.createX functions seem almost completely deprecated in TS 4.8, so make sure to update your code to use the traversal.context.createX functions instead
  • Type#isArray() returns true for readonly arrays

v15.1.0

Compare Source

Bug Fixes
  • DocumentSpan should attempt to load the source file if it's not loaded yet (#​1291) (1eda69c)
  • Included symlinked directories when reading a directory (#​1290) (f1b4ea2)
Features

v15.0.0

Compare Source

Bug Fixes
  • transform() - ensure comments on nodes with only added synthetic leading comments show up in output (abc840d), closes #​1273
  • ensure leading and trailing trivia for overloads ends up in output (0d043b5), closes #​1244
  • common: deleting directories didn't work on Node (163de40), closes #​1249
  • handle undefined in comment node type guards (#​1275) (452cff3)
  • transform should take into account the node changing kinds (75c4a75), closes #​1248
Features
BREAKING CHANGES
  • transform now returns a Node instead of this because the returned node could be the replaced node.
  • Upgraded to TS 4.7. Please review changes to typescript.d.ts in #​1281.

v14.0.0

Compare Source

  • Upgraded to TS 4.6
  • To align with the ts compiler:
    • AssertEntry#getValue now returns an expression instead of a string literal.
    • AssertEntryStructure#value now represents an expression instead of a string literal.

v13.0.3

Compare Source

v13.0.2

Compare Source

v13.0.1

Compare Source

Bug Fixes
  • Regression in getReferencingNodesInOtherSourceFiles with source files not marked as in the project (7504aed)
  • Surface read file errors instead of ignoring them (760fe8c)
  • Align getScriptSnapshot compiler host libFileMap behaviour with readFile (9e84d72)

v13.0.0

Compare Source

Bug Fixes
  • Do not throw an error if decorator expr is wrapped in a paren expr (c77db30), closes #​1214
Code Refactoring
  • Node.isXNode(node) static type guard methods are now Node.isX(node) (e5bcba9), closes #​1166
  • Remove already deprecated WriterFunctions and TypeGuards exports. (be87373)
Features
  • Add AssertClause and AssertEntry (#​1224) (bcf694f)
  • Add Node.hasStructure type guard. (0f7d9be)
  • Change readDirSync to return directory entries instead of file paths (f22a50d)
  • Make Structure.isX function more flexible (a54dd69), closes #​1219
  • Type only methods for ImportSpecifier and ExportSpecifier (e93c96e)
  • TypeScript 4.5 support (#​1220) (526e0dd)
  • Wrap more JS doc nodes (5107999)
BREAKING CHANGES
  • Node.isXNode(node)-like static type guard methods are now Node.isX(node) to reduce verbosity.
  • Targeting ES2018 instead of ES2015
  • Upgraded to TS 4.5
  • Removed already deprecated WriterFunctions and TypeGuards exports. Use Writers and Node instead.
  • readDirSync now returns directory entries.

Configuration

📅 Schedule: Branch creation - Only on Sunday and Saturday ( * * * * 0,6 ) (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the dependencies label Oct 5, 2025
@changeset-bot
Copy link

changeset-bot bot commented Oct 5, 2025

⚠️ No Changeset found

Latest commit: a4c06f6

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@renovate renovate bot force-pushed the renovate/ts-morph-27.x branch from a76d93a to a4c06f6 Compare October 12, 2025 18:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant