Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

22.0.0 #1521

Merged
merged 2 commits into from
Mar 10, 2024
Merged

22.0.0 #1521

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions packages/bootstrap/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ts-morph/bootstrap",
"version": "0.22.0",
"version": "0.23.0",
"description": "API for getting quickly set up with the TypeScript Compiler API.",
"keywords": [
"typescript",
Expand All @@ -24,7 +24,7 @@
"rollup": "rollup -c"
},
"dependencies": {
"@ts-morph/common": "~0.22.0"
"@ts-morph/common": "~0.23.0"
},
"devDependencies": {
"@rollup/plugin-typescript": "^11.1.6",
Expand Down
2 changes: 1 addition & 1 deletion packages/common/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ts-morph/common",
"version": "0.22.0",
"version": "0.23.0",
"description": "Common functionality for ts-morph packages.",
"main": "dist/ts-morph-common.js",
"author": "David Sherret",
Expand Down
26 changes: 25 additions & 1 deletion packages/ts-morph/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,31 @@
# Change Log
# Changelog

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.

<a name="22.0.0"></a>
# [22.0.0](https://github.com/dsherret/ts-morph/compare/21.0.1...22.0.0) (2024-03-10)


### Features

* `Type.prototype.isAssignableTo` ([#1517](https://github.com/dsherret/ts-morph/issues/1517)) ([e8b5727](https://github.com/dsherret/ts-morph/commit/e8b5727d7d65827cdc130afebc35f1003a30dc44))
* `TypeChecker.prototype.resolveName` ([#1518](https://github.com/dsherret/ts-morph/issues/1518)) ([ca77636](https://github.com/dsherret/ts-morph/commit/ca77636e4717fa4cd9407922e881b3e3a7463161))
* **BREAKING:** upgrade to TypeScript 5.4 ([#1516](https://github.com/dsherret/ts-morph/issues/1516)) ([e7799eb](https://github.com/dsherret/ts-morph/commit/e7799eb5e5be801acb13eb61cdabb5e65851063a))
* ClassDeclarationStructure - support static blocks ([#1520](https://github.com/dsherret/ts-morph/issues/1520)) ([d24e2a7](https://github.com/dsherret/ts-morph/commit/d24e2a7a529da8c73974c12e338169c398bc3a04))


### Bug Fixes

* **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))
* 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))

### CodeBlockWriter 13.0.1

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

- `.quote()` - should include newline in literal (https://github.com/dsherret/code-block-writer/pull/47)
- `.quote()` - escape characters were not always being escaped (https://github.com/dsherret/code-block-writer/pull/46)

<a name="21.0.0"></a>
# [21.0.0](https://github.com/dsherret/ts-morph/compare/20.0.0...21.0.0) (2023-12-02)

Expand Down
7 changes: 7 additions & 0 deletions packages/ts-morph/breaking-changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

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

## Version 22

- Upgraded to TS 5.4
- code-block-writer fixes that you should be aware of (as some people might have been working around the bugs);
- `.quote()` - should include newline in literal (https://github.com/dsherret/code-block-writer/pull/47)
- `.quote()` - escape characters were not always being escaped (https://github.com/dsherret/code-block-writer/pull/46)

## Version 21

- Upgraded to TS 5.3
Expand Down
4 changes: 2 additions & 2 deletions packages/ts-morph/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ts-morph",
"version": "21.0.1",
"version": "22.0.0",
"description": "TypeScript compiler wrapper for static analysis and code manipulation.",
"main": "dist/ts-morph.js",
"typings": "lib/ts-morph.d.ts",
Expand Down Expand Up @@ -44,7 +44,7 @@
},
"homepage": "https://github.com/dsherret/ts-morph#readme",
"dependencies": {
"@ts-morph/common": "~0.22.0",
"@ts-morph/common": "~0.23.0",
"code-block-writer": "^13.0.1"
},
"devDependencies": {
Expand Down