From fe18369ee33906e25dfea0fbad88e1b3e34f6e93 Mon Sep 17 00:00:00 2001 From: David Sherret Date: Sat, 2 Dec 2023 16:13:57 -0500 Subject: [PATCH] 21.0.0 (#1479) --- packages/bootstrap/package.json | 4 ++-- packages/common/package.json | 2 +- packages/ts-morph/CHANGELOG.md | 23 +++++++++++++++++++++++ packages/ts-morph/breaking-changes.md | 6 ++++++ packages/ts-morph/package.json | 4 ++-- 5 files changed, 34 insertions(+), 5 deletions(-) diff --git a/packages/bootstrap/package.json b/packages/bootstrap/package.json index ad4e930f3..4a57f4e3b 100644 --- a/packages/bootstrap/package.json +++ b/packages/bootstrap/package.json @@ -1,6 +1,6 @@ { "name": "@ts-morph/bootstrap", - "version": "0.21.0", + "version": "0.22.0", "description": "API for getting quickly set up with the TypeScript Compiler API.", "keywords": [ "typescript", @@ -24,7 +24,7 @@ "rollup": "rollup -c" }, "dependencies": { - "@ts-morph/common": "~0.21.0" + "@ts-morph/common": "~0.22.0" }, "devDependencies": { "@rollup/plugin-typescript": "^11.1.5", diff --git a/packages/common/package.json b/packages/common/package.json index bfa743fa8..cbd9e50b9 100644 --- a/packages/common/package.json +++ b/packages/common/package.json @@ -1,6 +1,6 @@ { "name": "@ts-morph/common", - "version": "0.21.0", + "version": "0.22.0", "description": "Common functionality for ts-morph packages.", "main": "dist/ts-morph-common.js", "author": "David Sherret", diff --git a/packages/ts-morph/CHANGELOG.md b/packages/ts-morph/CHANGELOG.md index 1a52fe34b..464100d91 100644 --- a/packages/ts-morph/CHANGELOG.md +++ b/packages/ts-morph/CHANGELOG.md @@ -2,6 +2,29 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. + +# [21.0.0](https://github.com/dsherret/ts-morph/compare/20.0.0...21.0.0) (2023-12-02) + + +### Features + +* `ProjectOptions::defaultCompilerOptions` ([#1460](https://github.com/dsherret/ts-morph/issues/1460)) ([b5dee3d](https://github.com/dsherret/ts-morph/commit/b5dee3d)) +* add interface and type literal getters & setters ([#1473](https://github.com/dsherret/ts-morph/issues/1473)) ([339f685](https://github.com/dsherret/ts-morph/commit/339f685)) +* add wrapped method for `getShorthandAssignmentValueSymbol` to `TypeChecker` ([#1456](https://github.com/dsherret/ts-morph/issues/1456)) ([1d8b382](https://github.com/dsherret/ts-morph/commit/1d8b382)) +* TypeScript 5.3 ([#1476](https://github.com/dsherret/ts-morph/issues/1476)) ([010a269](https://github.com/dsherret/ts-morph/commit/010a269)) + + +### Performance Improvements + +* use path.exists functions that don't throw internally when not exists ([#1478](https://github.com/dsherret/ts-morph/issues/1478)) ([432f43f](https://github.com/dsherret/ts-morph/commit/432f43f)) + + +### 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). + # [20.0.0](https://github.com/dsherret/ts-morph/compare/19.0.0...20.0.0) (2023-09-11) diff --git a/packages/ts-morph/breaking-changes.md b/packages/ts-morph/breaking-changes.md index f622db5d0..c5564de8c 100644 --- a/packages/ts-morph/breaking-changes.md +++ b/packages/ts-morph/breaking-changes.md @@ -2,6 +2,12 @@ View [CHANGELOG.md](CHANGELOG.md) for more detail on releases. This file is only a high level overview of breaking changes. +## Version 21 + +- 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). + ## Version 20 - Upgraded to TS 5.2 diff --git a/packages/ts-morph/package.json b/packages/ts-morph/package.json index 9e6dd195f..a1420cad8 100644 --- a/packages/ts-morph/package.json +++ b/packages/ts-morph/package.json @@ -1,6 +1,6 @@ { "name": "ts-morph", - "version": "20.0.0", + "version": "21.0.0", "description": "TypeScript compiler wrapper for static analysis and code manipulation.", "main": "dist/ts-morph.js", "typings": "lib/ts-morph.d.ts", @@ -44,7 +44,7 @@ }, "homepage": "https://github.com/dsherret/ts-morph#readme", "dependencies": { - "@ts-morph/common": "~0.21.0", + "@ts-morph/common": "~0.22.0", "code-block-writer": "^12.0.0" }, "devDependencies": {