diff --git a/.changeset/five-cougars-lay.md b/.changeset/five-cougars-lay.md deleted file mode 100644 index a07ca7bd91..0000000000 --- a/.changeset/five-cougars-lay.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"changelog": minor ---- - -Added error recovery i.e. a CST is _always_ produced, even if there are errors. The erroneous/skipped text is in the CST as a `TokenKind::SKIPPED` token. diff --git a/.changeset/four-cooks-approve.md b/.changeset/four-cooks-approve.md deleted file mode 100644 index e3556e8a90..0000000000 --- a/.changeset/four-cooks-approve.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"changelog": minor ---- - -generate typescript string enums for CST kinds diff --git a/.changeset/heavy-dolls-end.md b/.changeset/heavy-dolls-end.md deleted file mode 100644 index fc30772dcc..0000000000 --- a/.changeset/heavy-dolls-end.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"changelog": minor ---- - -extract inlined and sub-expressions in language grammar diff --git a/.changeset/plenty-chefs-report.md b/.changeset/plenty-chefs-report.md deleted file mode 100644 index 17fb638210..0000000000 --- a/.changeset/plenty-chefs-report.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"changelog": minor ---- - -fill in missing CST node names diff --git a/.changeset/real-planes-think.md b/.changeset/real-planes-think.md deleted file mode 100644 index 0395062696..0000000000 --- a/.changeset/real-planes-think.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"changelog": minor ---- - -switch over the NPM package to use CommonJS modules instead of ES modules. diff --git a/.changeset/selfish-apricots-give.md b/.changeset/selfish-apricots-give.md deleted file mode 100644 index e62ac6cc65..0000000000 --- a/.changeset/selfish-apricots-give.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"changelog": minor ---- - -flatten unnamed CST nodes into parent nodes diff --git a/.changeset/shy-carrots-love.md b/.changeset/shy-carrots-love.md deleted file mode 100644 index 054165134f..0000000000 --- a/.changeset/shy-carrots-love.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"changelog": minor ---- - -Use the Rowan model for the CST i.e. TokenNodes contain the string content, and RuleNodes contain only the combined _length_ of their children's text. diff --git a/.changeset/shy-goats-warn.md b/.changeset/shy-goats-warn.md deleted file mode 100644 index ca2e02e180..0000000000 --- a/.changeset/shy-goats-warn.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"changelog": minor ---- - -preserve correct ranges on empty rule nodes diff --git a/.changeset/strange-frogs-camp.md b/.changeset/strange-frogs-camp.md deleted file mode 100644 index dbf7c5a336..0000000000 --- a/.changeset/strange-frogs-camp.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"changelog": minor ---- - -inlining CST nodes that offer no additional syntactic information diff --git a/.changeset/tame-cameras-chew.md b/.changeset/tame-cameras-chew.md deleted file mode 100644 index bd5f4190aa..0000000000 --- a/.changeset/tame-cameras-chew.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"changelog": minor ---- - -Expression productions now correctly wrap the recursive 'calls' in a rule node diff --git a/CHANGELOG.md b/CHANGELOG.md index 34127abbf8..639647f4c2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,29 @@ # changelog +## 0.7.0 + +### Minor Changes + +- [#502](https://github.com/NomicFoundation/slang/pull/502) [`c383238`](https://github.com/NomicFoundation/slang/commit/c383238c1f51157b37ec63bc99e63fb85c1bc224) Thanks [@AntonyBlakey](https://github.com/AntonyBlakey)! - Added error recovery i.e. a CST is _always_ produced, even if there are errors. The erroneous/skipped text is in the CST as a `TokenKind::SKIPPED` token. + +- [#501](https://github.com/NomicFoundation/slang/pull/501) [`cb221fe`](https://github.com/NomicFoundation/slang/commit/cb221fed784e8a2eb59f17907412149c7b415ed8) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - generate typescript string enums for CST kinds + +- [#517](https://github.com/NomicFoundation/slang/pull/517) [`8bd5446`](https://github.com/NomicFoundation/slang/commit/8bd544695a6dd4880a00d0cecf8d13ad79b238d3) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - extract inlined and sub-expressions in language grammar + +- [#518](https://github.com/NomicFoundation/slang/pull/518) [`b3b562b`](https://github.com/NomicFoundation/slang/commit/b3b562be6365fab25b97e54746a7500b9e7bd595) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - fill in missing CST node names + +- [#515](https://github.com/NomicFoundation/slang/pull/515) [`f24e873`](https://github.com/NomicFoundation/slang/commit/f24e873a93cbcef53aad1fa5eed1ea9ab1af1c04) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - switch over the NPM package to use CommonJS modules instead of ES modules. + +- [#498](https://github.com/NomicFoundation/slang/pull/498) [`44f1ff7`](https://github.com/NomicFoundation/slang/commit/44f1ff70100d6e2f8afe54c7ff87e24a8479e4b9) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - flatten unnamed CST nodes into parent nodes + +- [#502](https://github.com/NomicFoundation/slang/pull/502) [`c383238`](https://github.com/NomicFoundation/slang/commit/c383238c1f51157b37ec63bc99e63fb85c1bc224) Thanks [@AntonyBlakey](https://github.com/AntonyBlakey)! - Use the Rowan model for the CST i.e. TokenNodes contain the string content, and RuleNodes contain only the combined _length_ of their children's text. + +- [#499](https://github.com/NomicFoundation/slang/pull/499) [`1582d60`](https://github.com/NomicFoundation/slang/commit/1582d60c7ef81a785db0b9e3cb4d074d9cb6d442) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - preserve correct ranges on empty rule nodes + +- [#500](https://github.com/NomicFoundation/slang/pull/500) [`73ddac9`](https://github.com/NomicFoundation/slang/commit/73ddac9ca972f80aa9a0321de7f94c47b505d7a6) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - inlining CST nodes that offer no additional syntactic information + +- [#512](https://github.com/NomicFoundation/slang/pull/512) [`72dc3d3`](https://github.com/NomicFoundation/slang/commit/72dc3d3d90bc6a02d36836cc1fed17f5be5de2fb) Thanks [@AntonyBlakey](https://github.com/AntonyBlakey)! - Expression productions now correctly wrap the recursive 'calls' in a rule node + ## 0.6.0 ### Minor Changes diff --git a/Cargo.lock b/Cargo.lock index 49c4422130..8060ed749d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -260,7 +260,7 @@ checksum = "2da6da31387c7e4ef160ffab6d5e7f00c42626fe39aea70a7b0f1773f7dd6c1b" [[package]] name = "codegen_ebnf" -version = "0.6.0" +version = "0.7.0" dependencies = [ "Inflector", "codegen_schema", @@ -270,7 +270,7 @@ dependencies = [ [[package]] name = "codegen_schema" -version = "0.6.0" +version = "0.7.0" dependencies = [ "anyhow", "codegen_utils", @@ -286,7 +286,7 @@ dependencies = [ [[package]] name = "codegen_spec" -version = "0.6.0" +version = "0.7.0" dependencies = [ "Inflector", "anyhow", @@ -298,7 +298,7 @@ dependencies = [ [[package]] name = "codegen_syntax" -version = "0.6.0" +version = "0.7.0" dependencies = [ "Inflector", "codegen_ebnf", @@ -313,7 +313,7 @@ dependencies = [ [[package]] name = "codegen_syntax_templates" -version = "0.6.0" +version = "0.7.0" dependencies = [ "ariadne", "napi", @@ -327,7 +327,7 @@ dependencies = [ [[package]] name = "codegen_testing" -version = "0.6.0" +version = "0.7.0" dependencies = [ "anyhow", "codegen_schema", @@ -337,7 +337,7 @@ dependencies = [ [[package]] name = "codegen_utils" -version = "0.6.0" +version = "0.7.0" dependencies = [ "anyhow", "ariadne", @@ -1061,7 +1061,7 @@ dependencies = [ [[package]] name = "slang_solidity" -version = "0.6.0" +version = "0.7.0" dependencies = [ "anyhow", "ariadne", @@ -1077,7 +1077,7 @@ dependencies = [ [[package]] name = "solidity_cargo_build" -version = "0.6.0" +version = "0.7.0" dependencies = [ "anyhow", "codegen_schema", @@ -1088,7 +1088,7 @@ dependencies = [ [[package]] name = "solidity_cargo_tests" -version = "0.6.0" +version = "0.7.0" dependencies = [ "anyhow", "codegen_schema", @@ -1102,7 +1102,7 @@ dependencies = [ [[package]] name = "solidity_language" -version = "0.6.0" +version = "0.7.0" dependencies = [ "anyhow", "bson", @@ -1112,7 +1112,7 @@ dependencies = [ [[package]] name = "solidity_npm_build" -version = "0.6.0" +version = "0.7.0" dependencies = [ "anyhow", "codegen_schema", @@ -1123,7 +1123,7 @@ dependencies = [ [[package]] name = "solidity_npm_crate" -version = "0.6.0" +version = "0.7.0" dependencies = [ "ariadne", "napi", @@ -1139,7 +1139,7 @@ dependencies = [ [[package]] name = "solidity_smoke_testing" -version = "0.6.0" +version = "0.7.0" dependencies = [ "anyhow", "codegen_schema", @@ -1156,7 +1156,7 @@ dependencies = [ [[package]] name = "solidity_spec" -version = "0.6.0" +version = "0.7.0" dependencies = [ "anyhow", "codegen_schema", @@ -1167,7 +1167,7 @@ dependencies = [ [[package]] name = "solidity_testing_utils" -version = "0.6.0" +version = "0.7.0" dependencies = [ "anyhow", "semver", diff --git a/Cargo.toml b/Cargo.toml index 931a3445da..1abac5def4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,5 +1,5 @@ [workspace.package] -version = "0.6.0" +version = "0.7.0" rust-version = "1.69.0" # Keep this version in sync with "$RUST_VERSION" in "$REPO_ROOT/bin/hermit.hcl" and "rust-src" in "$REPO_ROOT/bin" edition = "2021" publish = false diff --git a/crates/solidity/outputs/cargo/crate/CHANGELOG.md b/crates/solidity/outputs/cargo/crate/CHANGELOG.md index 34127abbf8..639647f4c2 100644 --- a/crates/solidity/outputs/cargo/crate/CHANGELOG.md +++ b/crates/solidity/outputs/cargo/crate/CHANGELOG.md @@ -1,5 +1,29 @@ # changelog +## 0.7.0 + +### Minor Changes + +- [#502](https://github.com/NomicFoundation/slang/pull/502) [`c383238`](https://github.com/NomicFoundation/slang/commit/c383238c1f51157b37ec63bc99e63fb85c1bc224) Thanks [@AntonyBlakey](https://github.com/AntonyBlakey)! - Added error recovery i.e. a CST is _always_ produced, even if there are errors. The erroneous/skipped text is in the CST as a `TokenKind::SKIPPED` token. + +- [#501](https://github.com/NomicFoundation/slang/pull/501) [`cb221fe`](https://github.com/NomicFoundation/slang/commit/cb221fed784e8a2eb59f17907412149c7b415ed8) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - generate typescript string enums for CST kinds + +- [#517](https://github.com/NomicFoundation/slang/pull/517) [`8bd5446`](https://github.com/NomicFoundation/slang/commit/8bd544695a6dd4880a00d0cecf8d13ad79b238d3) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - extract inlined and sub-expressions in language grammar + +- [#518](https://github.com/NomicFoundation/slang/pull/518) [`b3b562b`](https://github.com/NomicFoundation/slang/commit/b3b562be6365fab25b97e54746a7500b9e7bd595) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - fill in missing CST node names + +- [#515](https://github.com/NomicFoundation/slang/pull/515) [`f24e873`](https://github.com/NomicFoundation/slang/commit/f24e873a93cbcef53aad1fa5eed1ea9ab1af1c04) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - switch over the NPM package to use CommonJS modules instead of ES modules. + +- [#498](https://github.com/NomicFoundation/slang/pull/498) [`44f1ff7`](https://github.com/NomicFoundation/slang/commit/44f1ff70100d6e2f8afe54c7ff87e24a8479e4b9) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - flatten unnamed CST nodes into parent nodes + +- [#502](https://github.com/NomicFoundation/slang/pull/502) [`c383238`](https://github.com/NomicFoundation/slang/commit/c383238c1f51157b37ec63bc99e63fb85c1bc224) Thanks [@AntonyBlakey](https://github.com/AntonyBlakey)! - Use the Rowan model for the CST i.e. TokenNodes contain the string content, and RuleNodes contain only the combined _length_ of their children's text. + +- [#499](https://github.com/NomicFoundation/slang/pull/499) [`1582d60`](https://github.com/NomicFoundation/slang/commit/1582d60c7ef81a785db0b9e3cb4d074d9cb6d442) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - preserve correct ranges on empty rule nodes + +- [#500](https://github.com/NomicFoundation/slang/pull/500) [`73ddac9`](https://github.com/NomicFoundation/slang/commit/73ddac9ca972f80aa9a0321de7f94c47b505d7a6) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - inlining CST nodes that offer no additional syntactic information + +- [#512](https://github.com/NomicFoundation/slang/pull/512) [`72dc3d3`](https://github.com/NomicFoundation/slang/commit/72dc3d3d90bc6a02d36836cc1fed17f5be5de2fb) Thanks [@AntonyBlakey](https://github.com/AntonyBlakey)! - Expression productions now correctly wrap the recursive 'calls' in a rule node + ## 0.6.0 ### Minor Changes diff --git a/crates/solidity/outputs/npm/package/CHANGELOG.md b/crates/solidity/outputs/npm/package/CHANGELOG.md index 34127abbf8..639647f4c2 100644 --- a/crates/solidity/outputs/npm/package/CHANGELOG.md +++ b/crates/solidity/outputs/npm/package/CHANGELOG.md @@ -1,5 +1,29 @@ # changelog +## 0.7.0 + +### Minor Changes + +- [#502](https://github.com/NomicFoundation/slang/pull/502) [`c383238`](https://github.com/NomicFoundation/slang/commit/c383238c1f51157b37ec63bc99e63fb85c1bc224) Thanks [@AntonyBlakey](https://github.com/AntonyBlakey)! - Added error recovery i.e. a CST is _always_ produced, even if there are errors. The erroneous/skipped text is in the CST as a `TokenKind::SKIPPED` token. + +- [#501](https://github.com/NomicFoundation/slang/pull/501) [`cb221fe`](https://github.com/NomicFoundation/slang/commit/cb221fed784e8a2eb59f17907412149c7b415ed8) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - generate typescript string enums for CST kinds + +- [#517](https://github.com/NomicFoundation/slang/pull/517) [`8bd5446`](https://github.com/NomicFoundation/slang/commit/8bd544695a6dd4880a00d0cecf8d13ad79b238d3) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - extract inlined and sub-expressions in language grammar + +- [#518](https://github.com/NomicFoundation/slang/pull/518) [`b3b562b`](https://github.com/NomicFoundation/slang/commit/b3b562be6365fab25b97e54746a7500b9e7bd595) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - fill in missing CST node names + +- [#515](https://github.com/NomicFoundation/slang/pull/515) [`f24e873`](https://github.com/NomicFoundation/slang/commit/f24e873a93cbcef53aad1fa5eed1ea9ab1af1c04) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - switch over the NPM package to use CommonJS modules instead of ES modules. + +- [#498](https://github.com/NomicFoundation/slang/pull/498) [`44f1ff7`](https://github.com/NomicFoundation/slang/commit/44f1ff70100d6e2f8afe54c7ff87e24a8479e4b9) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - flatten unnamed CST nodes into parent nodes + +- [#502](https://github.com/NomicFoundation/slang/pull/502) [`c383238`](https://github.com/NomicFoundation/slang/commit/c383238c1f51157b37ec63bc99e63fb85c1bc224) Thanks [@AntonyBlakey](https://github.com/AntonyBlakey)! - Use the Rowan model for the CST i.e. TokenNodes contain the string content, and RuleNodes contain only the combined _length_ of their children's text. + +- [#499](https://github.com/NomicFoundation/slang/pull/499) [`1582d60`](https://github.com/NomicFoundation/slang/commit/1582d60c7ef81a785db0b9e3cb4d074d9cb6d442) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - preserve correct ranges on empty rule nodes + +- [#500](https://github.com/NomicFoundation/slang/pull/500) [`73ddac9`](https://github.com/NomicFoundation/slang/commit/73ddac9ca972f80aa9a0321de7f94c47b505d7a6) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - inlining CST nodes that offer no additional syntactic information + +- [#512](https://github.com/NomicFoundation/slang/pull/512) [`72dc3d3`](https://github.com/NomicFoundation/slang/commit/72dc3d3d90bc6a02d36836cc1fed17f5be5de2fb) Thanks [@AntonyBlakey](https://github.com/AntonyBlakey)! - Expression productions now correctly wrap the recursive 'calls' in a rule node + ## 0.6.0 ### Minor Changes diff --git a/crates/solidity/outputs/npm/package/package.json b/crates/solidity/outputs/npm/package/package.json index 76f76b3cae..fe954c5912 100644 --- a/crates/solidity/outputs/npm/package/package.json +++ b/crates/solidity/outputs/npm/package/package.json @@ -1,6 +1,6 @@ { "name": "@nomicfoundation/slang", - "version": "0.6.0", + "version": "0.7.0", "description": "A modular set of compiler APIs empowering the next generation of Solidity code analysis and developer tooling. Written in Rust and distributed in multiple languages.", "homepage": "https://nomicfoundation.github.io/slang/", "license": "MIT", @@ -36,15 +36,15 @@ "prettier": "2.8.8" }, "optionalDependencies": { - "@nomicfoundation/slang-darwin-arm64": "0.6.0", - "@nomicfoundation/slang-win32-arm64-msvc": "0.6.0", - "@nomicfoundation/slang-linux-arm64-gnu": "0.6.0", - "@nomicfoundation/slang-linux-arm64-musl": "0.6.0", - "@nomicfoundation/slang-win32-ia32-msvc": "0.6.0", - "@nomicfoundation/slang-darwin-x64": "0.6.0", - "@nomicfoundation/slang-win32-x64-msvc": "0.6.0", - "@nomicfoundation/slang-linux-x64-gnu": "0.6.0", - "@nomicfoundation/slang-linux-x64-musl": "0.6.0" + "@nomicfoundation/slang-darwin-arm64": "0.7.0", + "@nomicfoundation/slang-win32-arm64-msvc": "0.7.0", + "@nomicfoundation/slang-linux-arm64-gnu": "0.7.0", + "@nomicfoundation/slang-linux-arm64-musl": "0.7.0", + "@nomicfoundation/slang-win32-ia32-msvc": "0.7.0", + "@nomicfoundation/slang-darwin-x64": "0.7.0", + "@nomicfoundation/slang-win32-x64-msvc": "0.7.0", + "@nomicfoundation/slang-linux-x64-gnu": "0.7.0", + "@nomicfoundation/slang-linux-x64-musl": "0.7.0" }, "napi": { "triples": { diff --git a/crates/solidity/outputs/npm/package/platforms/darwin-arm64/package.json b/crates/solidity/outputs/npm/package/platforms/darwin-arm64/package.json index e02362e7b9..e10d2b5533 100644 --- a/crates/solidity/outputs/npm/package/platforms/darwin-arm64/package.json +++ b/crates/solidity/outputs/npm/package/platforms/darwin-arm64/package.json @@ -1,6 +1,6 @@ { "name": "@nomicfoundation/slang-darwin-arm64", - "version": "0.6.0", + "version": "0.7.0", "description": "Platform-specific binaries for @nomicfoundation/slang.", "homepage": "https://nomicfoundation.github.io/slang/", "license": "MIT", diff --git a/crates/solidity/outputs/npm/package/platforms/darwin-x64/package.json b/crates/solidity/outputs/npm/package/platforms/darwin-x64/package.json index 884b91b9e3..bb071f6002 100644 --- a/crates/solidity/outputs/npm/package/platforms/darwin-x64/package.json +++ b/crates/solidity/outputs/npm/package/platforms/darwin-x64/package.json @@ -1,6 +1,6 @@ { "name": "@nomicfoundation/slang-darwin-x64", - "version": "0.6.0", + "version": "0.7.0", "description": "Platform-specific binaries for @nomicfoundation/slang.", "homepage": "https://nomicfoundation.github.io/slang/", "license": "MIT", diff --git a/crates/solidity/outputs/npm/package/platforms/linux-arm64-gnu/package.json b/crates/solidity/outputs/npm/package/platforms/linux-arm64-gnu/package.json index 53f936da24..f82de8fcd1 100644 --- a/crates/solidity/outputs/npm/package/platforms/linux-arm64-gnu/package.json +++ b/crates/solidity/outputs/npm/package/platforms/linux-arm64-gnu/package.json @@ -1,6 +1,6 @@ { "name": "@nomicfoundation/slang-linux-arm64-gnu", - "version": "0.6.0", + "version": "0.7.0", "description": "Platform-specific binaries for @nomicfoundation/slang.", "homepage": "https://nomicfoundation.github.io/slang/", "license": "MIT", diff --git a/crates/solidity/outputs/npm/package/platforms/linux-arm64-musl/package.json b/crates/solidity/outputs/npm/package/platforms/linux-arm64-musl/package.json index 05bc6ef9df..1b4e82617f 100644 --- a/crates/solidity/outputs/npm/package/platforms/linux-arm64-musl/package.json +++ b/crates/solidity/outputs/npm/package/platforms/linux-arm64-musl/package.json @@ -1,6 +1,6 @@ { "name": "@nomicfoundation/slang-linux-arm64-musl", - "version": "0.6.0", + "version": "0.7.0", "description": "Platform-specific binaries for @nomicfoundation/slang.", "homepage": "https://nomicfoundation.github.io/slang/", "license": "MIT", diff --git a/crates/solidity/outputs/npm/package/platforms/linux-x64-gnu/package.json b/crates/solidity/outputs/npm/package/platforms/linux-x64-gnu/package.json index 4713f71bbb..b2b98ae349 100644 --- a/crates/solidity/outputs/npm/package/platforms/linux-x64-gnu/package.json +++ b/crates/solidity/outputs/npm/package/platforms/linux-x64-gnu/package.json @@ -1,6 +1,6 @@ { "name": "@nomicfoundation/slang-linux-x64-gnu", - "version": "0.6.0", + "version": "0.7.0", "description": "Platform-specific binaries for @nomicfoundation/slang.", "homepage": "https://nomicfoundation.github.io/slang/", "license": "MIT", diff --git a/crates/solidity/outputs/npm/package/platforms/linux-x64-musl/package.json b/crates/solidity/outputs/npm/package/platforms/linux-x64-musl/package.json index 44444808e5..3716cadaea 100644 --- a/crates/solidity/outputs/npm/package/platforms/linux-x64-musl/package.json +++ b/crates/solidity/outputs/npm/package/platforms/linux-x64-musl/package.json @@ -1,6 +1,6 @@ { "name": "@nomicfoundation/slang-linux-x64-musl", - "version": "0.6.0", + "version": "0.7.0", "description": "Platform-specific binaries for @nomicfoundation/slang.", "homepage": "https://nomicfoundation.github.io/slang/", "license": "MIT", diff --git a/crates/solidity/outputs/npm/package/platforms/win32-arm64-msvc/package.json b/crates/solidity/outputs/npm/package/platforms/win32-arm64-msvc/package.json index 41b85faee2..b81fd58f20 100644 --- a/crates/solidity/outputs/npm/package/platforms/win32-arm64-msvc/package.json +++ b/crates/solidity/outputs/npm/package/platforms/win32-arm64-msvc/package.json @@ -1,6 +1,6 @@ { "name": "@nomicfoundation/slang-win32-arm64-msvc", - "version": "0.6.0", + "version": "0.7.0", "description": "Platform-specific binaries for @nomicfoundation/slang.", "homepage": "https://nomicfoundation.github.io/slang/", "license": "MIT", diff --git a/crates/solidity/outputs/npm/package/platforms/win32-ia32-msvc/package.json b/crates/solidity/outputs/npm/package/platforms/win32-ia32-msvc/package.json index 585b348a02..38aaf21299 100644 --- a/crates/solidity/outputs/npm/package/platforms/win32-ia32-msvc/package.json +++ b/crates/solidity/outputs/npm/package/platforms/win32-ia32-msvc/package.json @@ -1,6 +1,6 @@ { "name": "@nomicfoundation/slang-win32-ia32-msvc", - "version": "0.6.0", + "version": "0.7.0", "description": "Platform-specific binaries for @nomicfoundation/slang.", "homepage": "https://nomicfoundation.github.io/slang/", "license": "MIT", diff --git a/crates/solidity/outputs/npm/package/platforms/win32-x64-msvc/package.json b/crates/solidity/outputs/npm/package/platforms/win32-x64-msvc/package.json index 3e2d793f99..586df5a91d 100644 --- a/crates/solidity/outputs/npm/package/platforms/win32-x64-msvc/package.json +++ b/crates/solidity/outputs/npm/package/platforms/win32-x64-msvc/package.json @@ -1,6 +1,6 @@ { "name": "@nomicfoundation/slang-win32-x64-msvc", - "version": "0.6.0", + "version": "0.7.0", "description": "Platform-specific binaries for @nomicfoundation/slang.", "homepage": "https://nomicfoundation.github.io/slang/", "license": "MIT", diff --git a/package-lock.json b/package-lock.json index d3691a35f6..15bf6105be 100644 --- a/package-lock.json +++ b/package-lock.json @@ -14,7 +14,7 @@ }, "crates/solidity/outputs/npm/package": { "name": "@nomicfoundation/slang", - "version": "0.6.0", + "version": "0.7.0", "license": "MIT", "devDependencies": { "@napi-rs/cli": "2.16.1", @@ -24,15 +24,15 @@ "node": ">= 10" }, "optionalDependencies": { - "@nomicfoundation/slang-darwin-arm64": "0.6.0", - "@nomicfoundation/slang-darwin-x64": "0.6.0", - "@nomicfoundation/slang-linux-arm64-gnu": "0.6.0", - "@nomicfoundation/slang-linux-arm64-musl": "0.6.0", - "@nomicfoundation/slang-linux-x64-gnu": "0.6.0", - "@nomicfoundation/slang-linux-x64-musl": "0.6.0", - "@nomicfoundation/slang-win32-arm64-msvc": "0.6.0", - "@nomicfoundation/slang-win32-ia32-msvc": "0.6.0", - "@nomicfoundation/slang-win32-x64-msvc": "0.6.0" + "@nomicfoundation/slang-darwin-arm64": "0.7.0", + "@nomicfoundation/slang-darwin-x64": "0.7.0", + "@nomicfoundation/slang-linux-arm64-gnu": "0.7.0", + "@nomicfoundation/slang-linux-arm64-musl": "0.7.0", + "@nomicfoundation/slang-linux-x64-gnu": "0.7.0", + "@nomicfoundation/slang-linux-x64-musl": "0.7.0", + "@nomicfoundation/slang-win32-arm64-msvc": "0.7.0", + "@nomicfoundation/slang-win32-ia32-msvc": "0.7.0", + "@nomicfoundation/slang-win32-x64-msvc": "0.7.0" } }, "crates/solidity/outputs/npm/tests": { @@ -818,141 +818,6 @@ "resolved": "crates/solidity/outputs/npm/package", "link": true }, - "node_modules/@nomicfoundation/slang-darwin-arm64": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/@nomicfoundation/slang-darwin-arm64/-/slang-darwin-arm64-0.6.0.tgz", - "integrity": "sha512-gboa0bxEpLVWtrQJCZJQt1mMbRtm/IT/nZxHVDH/JKoteUynBNZ9apXZxyI/wSmErLqAEeHeY8vDEGz2tNbAtQ==", - "cpu": [ - "arm64" - ], - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@nomicfoundation/slang-darwin-x64": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/@nomicfoundation/slang-darwin-x64/-/slang-darwin-x64-0.6.0.tgz", - "integrity": "sha512-krMniNniQRQLoAPTGM4Dzz7o3GakDlMnOyRrLIonfKqN9srMRG4+gLoJaYR5bd15sECsHz6M9vLYRUaY86XcCw==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@nomicfoundation/slang-linux-arm64-gnu": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/@nomicfoundation/slang-linux-arm64-gnu/-/slang-linux-arm64-gnu-0.6.0.tgz", - "integrity": "sha512-aIXX+aHJVz9ZTYsxewsjE6bLRxt0WKF35d6a2YhWbANQHk2sF+zVt+DDsykW7YSmzG7XbpdWL1i/q5HRA4E2yg==", - "cpu": [ - "arm64" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@nomicfoundation/slang-linux-arm64-musl": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/@nomicfoundation/slang-linux-arm64-musl/-/slang-linux-arm64-musl-0.6.0.tgz", - "integrity": "sha512-1dAxBgFrcnTqlHDOO92zV3MKni/akeefJ8kyEucg0f9zHdeUsscAmAIbDEwp4GcMuzLIBw3T/8q2vnMyVYbxoQ==", - "cpu": [ - "arm64" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@nomicfoundation/slang-linux-x64-gnu": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/@nomicfoundation/slang-linux-x64-gnu/-/slang-linux-x64-gnu-0.6.0.tgz", - "integrity": "sha512-+WNU+q/a4WzyEukInIEKKddsGlSP/qvEOd25WHs6pWkHebAQEyPrA8eFCpEw/W49V29gj+V06twQpa9XWuvpqw==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@nomicfoundation/slang-linux-x64-musl": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/@nomicfoundation/slang-linux-x64-musl/-/slang-linux-x64-musl-0.6.0.tgz", - "integrity": "sha512-yqo15IjZFLN4NLNQahknsR2dKTH6XvOMfK7z/moqpC2eSvV43sgCmLavwCeg/ofyJKCsqlW5rBNF8HLfk+7p7Q==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@nomicfoundation/slang-win32-arm64-msvc": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/@nomicfoundation/slang-win32-arm64-msvc/-/slang-win32-arm64-msvc-0.6.0.tgz", - "integrity": "sha512-YfEz4PAyNsql/k/5Q+CT3hcIEWSEwzRpFAnomBcECOb//f7O9t0g/nhv4c39XHl1sO4We4xGh/DyQZlc+teDIQ==", - "cpu": [ - "arm64" - ], - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@nomicfoundation/slang-win32-ia32-msvc": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/@nomicfoundation/slang-win32-ia32-msvc/-/slang-win32-ia32-msvc-0.6.0.tgz", - "integrity": "sha512-HxKipT+8g0oaetAV1Z33q0rmnj5u/Ng+JPIWGyUe9QYmRD8G71tlxkur/Rwp1yPeP+/EPOUfajT9XqJ3eMGiUA==", - "cpu": [ - "ia32" - ], - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@nomicfoundation/slang-win32-x64-msvc": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/@nomicfoundation/slang-win32-x64-msvc/-/slang-win32-x64-msvc-0.6.0.tgz", - "integrity": "sha512-Gn6fFIekFZcToi/Lkiu1E7beHCP+sduX27tB4P1nlrJjyKFLQgV6EPLT/kRp3TqDwom3cVvCviArr+yUO7s7TQ==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">= 10" - } - }, "node_modules/@octokit/auth-token": { "version": "2.5.0", "resolved": "https://registry.npmjs.org/@octokit/auth-token/-/auth-token-2.5.0.tgz", @@ -8234,7 +8099,7 @@ } }, "scripts/changelog": { - "version": "0.6.0", + "version": "0.7.0", "dependencies": { "@actions/github": "5.1.1", "@changesets/changelog-github": "0.4.8", diff --git a/scripts/changelog/CHANGELOG.md b/scripts/changelog/CHANGELOG.md index 34127abbf8..639647f4c2 100644 --- a/scripts/changelog/CHANGELOG.md +++ b/scripts/changelog/CHANGELOG.md @@ -1,5 +1,29 @@ # changelog +## 0.7.0 + +### Minor Changes + +- [#502](https://github.com/NomicFoundation/slang/pull/502) [`c383238`](https://github.com/NomicFoundation/slang/commit/c383238c1f51157b37ec63bc99e63fb85c1bc224) Thanks [@AntonyBlakey](https://github.com/AntonyBlakey)! - Added error recovery i.e. a CST is _always_ produced, even if there are errors. The erroneous/skipped text is in the CST as a `TokenKind::SKIPPED` token. + +- [#501](https://github.com/NomicFoundation/slang/pull/501) [`cb221fe`](https://github.com/NomicFoundation/slang/commit/cb221fed784e8a2eb59f17907412149c7b415ed8) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - generate typescript string enums for CST kinds + +- [#517](https://github.com/NomicFoundation/slang/pull/517) [`8bd5446`](https://github.com/NomicFoundation/slang/commit/8bd544695a6dd4880a00d0cecf8d13ad79b238d3) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - extract inlined and sub-expressions in language grammar + +- [#518](https://github.com/NomicFoundation/slang/pull/518) [`b3b562b`](https://github.com/NomicFoundation/slang/commit/b3b562be6365fab25b97e54746a7500b9e7bd595) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - fill in missing CST node names + +- [#515](https://github.com/NomicFoundation/slang/pull/515) [`f24e873`](https://github.com/NomicFoundation/slang/commit/f24e873a93cbcef53aad1fa5eed1ea9ab1af1c04) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - switch over the NPM package to use CommonJS modules instead of ES modules. + +- [#498](https://github.com/NomicFoundation/slang/pull/498) [`44f1ff7`](https://github.com/NomicFoundation/slang/commit/44f1ff70100d6e2f8afe54c7ff87e24a8479e4b9) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - flatten unnamed CST nodes into parent nodes + +- [#502](https://github.com/NomicFoundation/slang/pull/502) [`c383238`](https://github.com/NomicFoundation/slang/commit/c383238c1f51157b37ec63bc99e63fb85c1bc224) Thanks [@AntonyBlakey](https://github.com/AntonyBlakey)! - Use the Rowan model for the CST i.e. TokenNodes contain the string content, and RuleNodes contain only the combined _length_ of their children's text. + +- [#499](https://github.com/NomicFoundation/slang/pull/499) [`1582d60`](https://github.com/NomicFoundation/slang/commit/1582d60c7ef81a785db0b9e3cb4d074d9cb6d442) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - preserve correct ranges on empty rule nodes + +- [#500](https://github.com/NomicFoundation/slang/pull/500) [`73ddac9`](https://github.com/NomicFoundation/slang/commit/73ddac9ca972f80aa9a0321de7f94c47b505d7a6) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - inlining CST nodes that offer no additional syntactic information + +- [#512](https://github.com/NomicFoundation/slang/pull/512) [`72dc3d3`](https://github.com/NomicFoundation/slang/commit/72dc3d3d90bc6a02d36836cc1fed17f5be5de2fb) Thanks [@AntonyBlakey](https://github.com/AntonyBlakey)! - Expression productions now correctly wrap the recursive 'calls' in a rule node + ## 0.6.0 ### Minor Changes diff --git a/scripts/changelog/package.json b/scripts/changelog/package.json index 814e0ff236..6b0c9cccea 100644 --- a/scripts/changelog/package.json +++ b/scripts/changelog/package.json @@ -1,6 +1,6 @@ { "name": "changelog", - "version": "0.6.0", + "version": "0.7.0", "dependencies": { "@actions/github": "5.1.1", "@changesets/changelog-github": "0.4.8",