Releases: dsherret/ts-morph
Releases · dsherret/ts-morph
24.0.0
What's Changed
- perf: remove mkdirp dependency by @benmccann in #1549
- perf: switch to tinyglobby to drop 15 dependencies by @benmccann in #1558
- fix: getDerivedClasses() isn't correct in some cases by @jmyrick02 in #1557
- fix: getBodyText() doesn't work as would be expected by @jmyrick02 in #1560
- feat: TypeScript 5.6 by @dsherret in #1576
New Contributors
- @benmccann made their first contribution in #1549
- @jmyrick02 made their first contribution in #1557
Full Changelog: 23.0.0...24.0.0
23.0.0
What's Changed
- feat: ts 5.5 by @dsherret in #1545
- feat: Type.prototype.isBigInt and isBigIntLiteral by @dsherret in #1546
- fix: handle removeDefaultImport with type only import by @dsherret in #1547
Now available on JSR for use in Deno: https://jsr.io/@ts-morph/ts-morph
Full Changelog: 22.0.0...23.0.0
22.0.0
What's Changed
- feat(BREAKING): upgrade to TypeScript 5.4 by @dsherret in #1516
- fix(BREAKING):
Node.prototype.forgetDescendants()
no longer returns self by @dsherret in #1515 - feat:
Type.prototype.isAssignableTo
by @dsherret in #1517 - feat:
TypeChecker.prototype.resolveName
by @dsherret in #1518 - fix: MethodDeclarationStructure should write an asterisk isGenerator = true by @ajvincent in #1502
- docs: fix typo in adding-source-files.md by @ilirbeqirii in #1490
- feat: ClassDeclarationStructure - support static blocks by @dsherret in #1520
CodeBlockWriter 13.0.1
People may have been working around these bugs in the past:
.quote()
- should include newline on newline (dsherret/code-block-writer#47).quote()
- escape characters were not always being escaped (dsherret/code-block-writer#46)
New Contributors
- @ilirbeqirii made their first contribution in #1490
Full Changelog: 21.0.1...22.0.0
21.0.1
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: 21.0.0...21.0.1
21.0.0
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
toTypeChecker
. add convenience method for getting the value symbol onShorthandPropertyAssignment
. 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
- @ajvincent made their first contribution in #1473
Full Changelog: 20.0.0...21.0.0
20.0.0
What's Changed
- feat: upgrade to TypeScript 5.2 by @dsherret in #1450
- fix: support dynamic type imports in getReferencedSourceFiles() by @lo1tuma in #1436
New Contributors
- @lo1tuma made their first contribution in #1436
- @kronodeus made their first contribution in #1455
Full Changelog: 19.0.0...20.0.0
19.0.0
What's Changed
- docs: add deno installation method by @scarf005 in #1411
- feat: improve typing of
Type
by @odiak in #1408 - feat: add IsVoid method to
Type
by @giuseppelt in #1398 - feat: add JSDocable to ExportAssignment by @giuseppelt in #1397
- feat: upgrade to TS 5.1 by @dsherret in #1415
- fix: allow
.tranform
to work with Nodes from another parsed source file by @ivanhofer in #1417
New Contributors
- @scarf005 made their first contribution in #1411
- @odiak made their first contribution in #1408
- @giuseppelt made their first contribution in #1398
- @ivanhofer made their first contribution in #1417
Full Changelog: 18.0.0...19.0.0
18.0.0
17.0.1
17.0.0
Bug Fixes
- getOverloads for a class method should take into account if static (#1337) (f927d01), closes #1298
- ImportEqualsDeclaration should be exportable (#1336) (7680bae)
- named import/export specifier structures were missing isTypeOnly (#1347) (6b88a0b)
Features
- allow providing custom error messages to
OrThrow
methods (#1327) (05916d3) - Thanks @jantimon! - upgrade to TS 4.9 (#1354) (e334437)
BREAKING CHANGES
- Upgraded to TS 4.9