From 8bf9a9f4778d40f0f9d33630badab360dded405d Mon Sep 17 00:00:00 2001 From: Daniel Chao Date: Thu, 10 Oct 2024 07:33:43 -0700 Subject: [PATCH] Prepare 0.17.0 release (#30) Also, add a changelog --- CHANGELOG.adoc | 40 ++++++++++++++++++++++++++++++++++++++++ Cargo.lock | 2 +- Cargo.toml | 2 +- package-lock.json | 4 ++-- package.json | 2 +- 5 files changed, 45 insertions(+), 5 deletions(-) create mode 100644 CHANGELOG.adoc diff --git a/CHANGELOG.adoc b/CHANGELOG.adoc new file mode 100644 index 0000000..4840a7d --- /dev/null +++ b/CHANGELOG.adoc @@ -0,0 +1,40 @@ += Changelog + +[[release-0.17.0]] +== 0.17.0 (2024-10-10) + +=== Breaking changes + +* Give type nodes explicit names (e.g. `"unknown"` -> `unknownTypeNode`) +* Remove support for legacy syntax in for and when generators + +=== Additions + +* Add support for Swift Package Manager +* Add support for C bindings +* Add doc comments to the parse tree +* Add `slStringLiteralPart` and `mlStringLiteralPart` to the parse tree +* Add field names to various nodes +* Add support for shebang comments + +=== Fixes + +* Fix parsing of parenthesized expressions in object +elements +* Fix parsing of union types with default markers +* Add missing `else` in when generators +* Add missing module type +* Fix parsing of strings that start with two slashes + +=== Contributors ❤️ + +Thanks to all the contributors for this release! + +* https://github.com/ObserverOfTime[@ObserverOfTime] +* https://github.com/jayadamsmorgan[jayadamsmorgan] +* https://github.com/thomaspurchas[@thomaspurchas] + +[[release-0.16.0]] +== 0.16.0 (2024-02-02) + +Initial release \ No newline at end of file diff --git a/Cargo.lock b/Cargo.lock index eafce72..5f1e855 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -73,7 +73,7 @@ dependencies = [ [[package]] name = "tree-sitter-pkl" -version = "0.16.0" +version = "0.17.0" dependencies = [ "cc", "tree-sitter", diff --git a/Cargo.toml b/Cargo.toml index 2d8e721..cf056a0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "tree-sitter-pkl" description = "Pkl grammar for the tree-sitter parsing library" -version = "0.16.0" +version = "0.17.0" keywords = ["incremental", "parsing", "pkl"] categories = ["parsing", "text-editors"] repository = "https://github.com/apple/tree-sitter-pkl" diff --git a/package-lock.json b/package-lock.json index 70a14f4..4f5c8b9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@apple/tree-sitter-pkl", - "version": "0.16.0", + "version": "0.17.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@apple/tree-sitter-pkl", - "version": "0.16.0", + "version": "0.17.0", "license": "Apache-2.0", "dependencies": { "nan": "^2.17.0" diff --git a/package.json b/package.json index b2111fa..4564b6b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@apple/tree-sitter-pkl", - "version": "0.16.0", + "version": "0.17.0", "description": "Pkl grammar for node-tree-sitter", "repository": { "type": "git",