Skip to content

Commit 886ad69

Browse files
authored
22.0.0 (#1521)
1 parent eb9c24a commit 886ad69

File tree

6 files changed

+44
-13
lines changed

6 files changed

+44
-13
lines changed

package-lock.json

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/bootstrap/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ts-morph/bootstrap",
3-
"version": "0.22.0",
3+
"version": "0.23.0",
44
"description": "API for getting quickly set up with the TypeScript Compiler API.",
55
"keywords": [
66
"typescript",
@@ -24,7 +24,7 @@
2424
"rollup": "rollup -c"
2525
},
2626
"dependencies": {
27-
"@ts-morph/common": "~0.22.0"
27+
"@ts-morph/common": "~0.23.0"
2828
},
2929
"devDependencies": {
3030
"@rollup/plugin-typescript": "^11.1.6",

packages/common/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ts-morph/common",
3-
"version": "0.22.0",
3+
"version": "0.23.0",
44
"description": "Common functionality for ts-morph packages.",
55
"main": "dist/ts-morph-common.js",
66
"author": "David Sherret",

packages/ts-morph/CHANGELOG.md

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,31 @@
1-
# Change Log
1+
# Changelog
22

33
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.
44

5+
<a name="22.0.0"></a>
6+
# [22.0.0](https://github.com/dsherret/ts-morph/compare/21.0.1...22.0.0) (2024-03-10)
7+
8+
9+
### Features
10+
11+
* `Type.prototype.isAssignableTo` ([#1517](https://github.com/dsherret/ts-morph/issues/1517)) ([e8b5727](https://github.com/dsherret/ts-morph/commit/e8b5727d7d65827cdc130afebc35f1003a30dc44))
12+
* `TypeChecker.prototype.resolveName` ([#1518](https://github.com/dsherret/ts-morph/issues/1518)) ([ca77636](https://github.com/dsherret/ts-morph/commit/ca77636e4717fa4cd9407922e881b3e3a7463161))
13+
* **BREAKING:** upgrade to TypeScript 5.4 ([#1516](https://github.com/dsherret/ts-morph/issues/1516)) ([e7799eb](https://github.com/dsherret/ts-morph/commit/e7799eb5e5be801acb13eb61cdabb5e65851063a))
14+
* ClassDeclarationStructure - support static blocks ([#1520](https://github.com/dsherret/ts-morph/issues/1520)) ([d24e2a7](https://github.com/dsherret/ts-morph/commit/d24e2a7a529da8c73974c12e338169c398bc3a04))
15+
16+
17+
### Bug Fixes
18+
19+
* **BREAKING:** `Node.prototype.forgetDescendants()` no longer returns self ([#1515](https://github.com/dsherret/ts-morph/issues/1515)) ([92962aa](https://github.com/dsherret/ts-morph/commit/92962aacc92fb9e5b1b18747b3ac1e1c69a42047))
20+
* MethodDeclarationStructure should write an asterisk isGenerator = true ([#1502](https://github.com/dsherret/ts-morph/issues/1502)) ([871cb46](https://github.com/dsherret/ts-morph/commit/871cb461051859d4594451291f2948a2ab8afba0))
21+
22+
### CodeBlockWriter 13.0.1
23+
24+
People may have been working around these bugs in the past:
25+
26+
- `.quote()` - should include newline in literal (https://github.com/dsherret/code-block-writer/pull/47)
27+
- `.quote()` - escape characters were not always being escaped (https://github.com/dsherret/code-block-writer/pull/46)
28+
529
<a name="21.0.0"></a>
630
# [21.0.0](https://github.com/dsherret/ts-morph/compare/20.0.0...21.0.0) (2023-12-02)
731

packages/ts-morph/breaking-changes.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22

33
View [CHANGELOG.md](CHANGELOG.md) for more detail on releases. This file is only a high level overview of breaking changes.
44

5+
## Version 22
6+
7+
- Upgraded to TS 5.4
8+
- code-block-writer fixes that you should be aware of (as some people might have been working around the bugs);
9+
- `.quote()` - should include newline in literal (https://github.com/dsherret/code-block-writer/pull/47)
10+
- `.quote()` - escape characters were not always being escaped (https://github.com/dsherret/code-block-writer/pull/46)
11+
512
## Version 21
613

714
- Upgraded to TS 5.3

packages/ts-morph/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ts-morph",
3-
"version": "21.0.1",
3+
"version": "22.0.0",
44
"description": "TypeScript compiler wrapper for static analysis and code manipulation.",
55
"main": "dist/ts-morph.js",
66
"typings": "lib/ts-morph.d.ts",
@@ -44,7 +44,7 @@
4444
},
4545
"homepage": "https://github.com/dsherret/ts-morph#readme",
4646
"dependencies": {
47-
"@ts-morph/common": "~0.22.0",
47+
"@ts-morph/common": "~0.23.0",
4848
"code-block-writer": "^13.0.1"
4949
},
5050
"devDependencies": {

0 commit comments

Comments
 (0)