diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..e9fc7fb --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,143 @@ +## [0.3.20](https://github.com/wessberg/ts-clone-node/compare/v0.3.19...v0.3.20) (2021-05-28) + +## [0.3.19](https://github.com/wessberg/ts-clone-node/compare/v0.3.16...v0.3.19) (2021-03-16) + +### Bug Fixes + +- **ImportEqualsDeclaration:** add support for constructing type-only ImportEqualsDeclarations, as supported by TypeScript 4.2 ([c4b6082](https://github.com/wessberg/ts-clone-node/commit/c4b60823b1a6b89d3d87497663fa099c794eaf6b)) +- add support for 4.1.0-beta and 4.1.0 nightly ([a164d27](https://github.com/wessberg/ts-clone-node/commit/a164d27c65c758f940655087f3195aa79b621533)) +- support [@see](https://github.com/see) jsdoc comments with TypeScript 4.1 ([bc8d58c](https://github.com/wessberg/ts-clone-node/commit/bc8d58ca8de91d505c805f02bb26d68226e18d27)) + +### Features + +- **ConstructorTypeNode:** add support for the 'abstract' modifier for ConstructorTypeNodes, as introduced in TypeScript 4.2 ([254292a](https://github.com/wessberg/ts-clone-node/commit/254292af4f7ec6a3f1f01e6613388d3baa08a889)) + +## [0.3.16](https://github.com/wessberg/ts-clone-node/compare/v0.3.15...v0.3.16) (2020-10-20) + +### Features + +- **MappedTypeNode:** add support for 'as' clauses in MappedTypeNodes ([9ddc790](https://github.com/wessberg/ts-clone-node/commit/9ddc790c58f7a3cde912e27ff2f7dedb678ecec8)) +- **TemplateLiteralTypeNode:** add support for TemplateLiteralTypeNode and TemplateLiteralTypeSpan ([8478aea](https://github.com/wessberg/ts-clone-node/commit/8478aea06b89fab7a6b150315dd08bd69cde3e31)) + +## [0.3.15](https://github.com/wessberg/ts-clone-node/compare/v0.3.14...v0.3.15) (2020-09-07) + +## [0.3.14](https://github.com/wessberg/ts-clone-node/compare/v0.3.13...v0.3.14) (2020-08-23) + +### Features + +- **JSDocDeprecatedTag:** add support for JSDocDeprecatedTags ([bd6df51](https://github.com/wessberg/ts-clone-node/commit/bd6df51fa07b0f885d93460618c2fb410a9f1fc8)) + +## [0.3.13](https://github.com/wessberg/ts-clone-node/compare/v0.3.12...v0.3.13) (2020-08-11) + +### Bug Fixes + +- **parentheses:** make sure that cloned CallExpressions and VariableDeclarations are always structurally equivalent ([03206f6](https://github.com/wessberg/ts-clone-node/commit/03206f6a60ff2919836040cd813c3b11415b14c2)) + +### Features + +- **NamedTupleMember:** add support for NamedTupleMembers ([339fc9b](https://github.com/wessberg/ts-clone-node/commit/339fc9b27395da951f7f0c8641c4aeacb1d9aaa4)) + +## [0.3.12](https://github.com/wessberg/ts-clone-node/compare/v0.3.11...v0.3.12) (2020-08-07) + +### Bug Fixes + +- **PropertyAssignment:** make sure that cloned PropertyAssignments are always structurally equivalent. Closes [#1](https://github.com/wessberg/ts-clone-node/issues/1) ([fa59c75](https://github.com/wessberg/ts-clone-node/commit/fa59c7590b55af80195e41f1ce5f6956b85f09f6)) + +## [0.3.11](https://github.com/wessberg/ts-clone-node/compare/v0.3.10...v0.3.11) (2020-07-27) + +### Bug Fixes + +- **comments:** improve comment cloning ([8f2dbcc](https://github.com/wessberg/ts-clone-node/commit/8f2dbcce91752cc85eb8d8de55aa2d1e66371362)) + +## [0.3.10](https://github.com/wessberg/ts-clone-node/compare/v0.3.9...v0.3.10) (2020-07-27) + +### Bug Fixes + +- also clear synthetic trailing comment ranges ([fe6052e](https://github.com/wessberg/ts-clone-node/commit/fe6052e21e433c1de61da47020834587e0832723)) + +## [0.3.9](https://github.com/wessberg/ts-clone-node/compare/v0.3.8...v0.3.9) (2020-07-03) + +### Features + +- **typescript:** add TypeScript v4 support ([729b38e](https://github.com/wessberg/ts-clone-node/commit/729b38e172e6466217067bc1c6e15ae4ba55b154)) + +## [0.3.8](https://github.com/wessberg/ts-clone-node/compare/v0.3.7...v0.3.8) (2020-03-29) + +### Bug Fixes + +- when preserving a node, make sure to set the parent of the old node if requested ([d78720d](https://github.com/wessberg/ts-clone-node/commit/d78720df4765d427f9de903404a16de006bba4f9)) + +## [0.3.7](https://github.com/wessberg/ts-clone-node/compare/v0.3.6...v0.3.7) (2020-03-29) + +### Bug Fixes + +- fix an issue where the options for setParentNodes would be ignored ([fcd3eb7](https://github.com/wessberg/ts-clone-node/commit/fcd3eb74d9a36121113db7cea3cc6e0ae58896fb)) + +## [0.3.6](https://github.com/wessberg/ts-clone-node/compare/v0.3.5...v0.3.6) (2020-03-29) + +### Bug Fixes + +- always set parents, traversable with \_parent, unless 'setParents' is true, then the 'parent' property is used directly ([6db6182](https://github.com/wessberg/ts-clone-node/commit/6db61824919b945d5fec4ba97341c468b39985fd)) + +## [0.3.5](https://github.com/wessberg/ts-clone-node/compare/v0.3.4...v0.3.5) (2020-03-29) + +### Features + +- **setParents:** expose 'setParents' function ([4b8bda1](https://github.com/wessberg/ts-clone-node/commit/4b8bda129efabfe294f5727c66065de7b4fcf5b2)) + +## [0.3.4](https://github.com/wessberg/ts-clone-node/compare/v0.3.3...v0.3.4) (2020-03-01) + +### Bug Fixes + +- add support for PrivateIdentifiers ([17068ef](https://github.com/wessberg/ts-clone-node/commit/17068efe864dfc941bd127ceb983d2257915de8e)) + +## [0.3.3](https://github.com/wessberg/ts-clone-node/compare/v0.3.2...v0.3.3) (2020-01-15) + +### Bug Fixes + +- **typescript-3.8:** respect 'isTypeOnly' property for ImportClauses ([de62562](https://github.com/wessberg/ts-clone-node/commit/de6256219652246694f82a66a941ab62dce155f5)) + +## [0.3.2](https://github.com/wessberg/ts-clone-node/compare/v0.3.1...v0.3.2) (2020-01-14) + +### Features + +- **typescript-3.8:** add support for TypeScript v3.8 ([36db665](https://github.com/wessberg/ts-clone-node/commit/36db665a59db776e7f5669c34cc6a351cad780a2)) + +## [0.3.1](https://github.com/wessberg/ts-clone-node/compare/v0.3.0...v0.3.1) (2020-01-10) + +### Features + +- add more customizability ([a40af21](https://github.com/wessberg/ts-clone-node/commit/a40af21f1e8e7f784067ed859aeb4081474530cd)) + +# [0.3.0](https://github.com/wessberg/ts-clone-node/compare/v0.2.1...v0.3.0) (2020-01-10) + +## [0.2.1](https://github.com/wessberg/ts-clone-node/compare/v0.2.0...v0.2.1) (2020-01-07) + +# [0.2.0](https://github.com/wessberg/ts-clone-node/compare/v0.1.4...v0.2.0) (2020-01-07) + +### Bug Fixes + +- add support for cloning comments ([73887ae](https://github.com/wessberg/ts-clone-node/commit/73887aeba63fb33e49b30ecfeda2ea2073e1d5c9)) + +## [0.1.4](https://github.com/wessberg/ts-clone-node/compare/v0.1.3...v0.1.4) (2020-01-02) + +### Bug Fixes + +- fix issue with cloning MethodSignatures with modifiers ([c392fc9](https://github.com/wessberg/ts-clone-node/commit/c392fc9dd5f0115258c0ef9d3cbd10637b624c86)) + +## [0.1.3](https://github.com/wessberg/ts-clone-node/compare/v0.1.2...v0.1.3) (2019-12-28) + +## [0.1.2](https://github.com/wessberg/ts-clone-node/compare/v0.1.1...v0.1.2) (2019-12-28) + +### Bug Fixes + +- ensure compatibility with TypeScript v3.0.0 ([92139eb](https://github.com/wessberg/ts-clone-node/commit/92139ebaefca69c98f2ced3c36b3f59f920b6bcd)) + +## [0.1.1](https://github.com/wessberg/ts-clone-node/compare/v0.1.0...v0.1.1) (2019-12-27) + +# [0.1.0](https://github.com/wessberg/ts-clone-node/compare/962a93b9b5ffabe591d4600eeef977a5394b0854...v0.1.0) (2019-12-27) + +### Features + +- add support for dynamic TypeScript versions ([70fbbab](https://github.com/wessberg/ts-clone-node/commit/70fbbabde8a8c8a841725ed8820d48422b99bf60)) +- add support for dynamic TypeScript versions ([962a93b](https://github.com/wessberg/ts-clone-node/commit/962a93b9b5ffabe591d4600eeef977a5394b0854)) diff --git a/package.json b/package.json index 5bec91e..3df0958 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ts-clone-node", - "version": "0.3.19", + "version": "0.3.20", "description": "A library that helps you clone Nodes from a Typescript AST", "scripts": { "generate:sandhog": "sandhog all --yes",