From 388226f87cec82b64d589a978746ab4dc317989f Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 28 Nov 2024 19:09:29 +0000 Subject: [PATCH] Bump Slang Version --- .changeset/clever-crabs-grow.md | 5 -- .changeset/curvy-fireants-float.md | 5 -- .changeset/early-trees-lay.md | 5 -- .changeset/grumpy-cups-change.md | 5 -- .changeset/long-tips-pay.md | 5 -- .changeset/metal-yaks-pump.md | 5 -- .changeset/selfish-adults-wave.md | 5 -- .changeset/strong-falcons-hope.md | 5 -- CHANGELOG.md | 22 +++++++ Cargo.lock | 64 +++++++++--------- Cargo.toml | 66 +++++++++---------- .../codegen/runtime/npm/package/CHANGELOG.md | 22 +++++++ crates/metaslang/cst/CHANGELOG.md | 22 +++++++ crates/metaslang/graph_builder/CHANGELOG.md | 22 +++++++ .../solidity/outputs/cargo/cli/CHANGELOG.md | 22 +++++++ .../solidity/outputs/cargo/crate/CHANGELOG.md | 22 +++++++ .../solidity/outputs/npm/package/CHANGELOG.md | 22 +++++++ .../solidity/outputs/npm/package/package.json | 2 +- .../testlang/outputs/npm/package/CHANGELOG.md | 22 +++++++ package-lock.json | 2 +- 20 files changed, 243 insertions(+), 107 deletions(-) delete mode 100644 .changeset/clever-crabs-grow.md delete mode 100644 .changeset/curvy-fireants-float.md delete mode 100644 .changeset/early-trees-lay.md delete mode 100644 .changeset/grumpy-cups-change.md delete mode 100644 .changeset/long-tips-pay.md delete mode 100644 .changeset/metal-yaks-pump.md delete mode 100644 .changeset/selfish-adults-wave.md delete mode 100644 .changeset/strong-falcons-hope.md diff --git a/.changeset/clever-crabs-grow.md b/.changeset/clever-crabs-grow.md deleted file mode 100644 index 54fb023e52..0000000000 --- a/.changeset/clever-crabs-grow.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@nomicfoundation/slang": patch ---- - -remove `YulPathComponent` and just use `YulIdentifier` instead. diff --git a/.changeset/curvy-fireants-float.md b/.changeset/curvy-fireants-float.md deleted file mode 100644 index af16fe2298..0000000000 --- a/.changeset/curvy-fireants-float.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@nomicfoundation/slang": minor ---- - -add `node.descendants()` and `cursor.descendants()` APIs to allow iterating over all descendants of the current node in pre-order traversal. diff --git a/.changeset/early-trees-lay.md b/.changeset/early-trees-lay.md deleted file mode 100644 index 297ea4e8e4..0000000000 --- a/.changeset/early-trees-lay.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@nomicfoundation/slang": minor ---- - -fix `node.children()` and `parseOutput.errors()` return types diff --git a/.changeset/grumpy-cups-change.md b/.changeset/grumpy-cups-change.md deleted file mode 100644 index f0d1717051..0000000000 --- a/.changeset/grumpy-cups-change.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@nomicfoundation/slang": minor ---- - -add `cursor.ancestors()` API to allow iterating over all ancestors of the current node, starting with the immediate parent, and moving upwards, ending with the root node. diff --git a/.changeset/long-tips-pay.md b/.changeset/long-tips-pay.md deleted file mode 100644 index 09bd6a5db9..0000000000 --- a/.changeset/long-tips-pay.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@nomicfoundation/slang": minor ---- - -add `cursor.remainingNodes()` API to allow iterating over all the remaining nodes in the current tree, moving in pre-order traversal, until the tree is completed. diff --git a/.changeset/metal-yaks-pump.md b/.changeset/metal-yaks-pump.md deleted file mode 100644 index c1efca467e..0000000000 --- a/.changeset/metal-yaks-pump.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@nomicfoundation/slang": patch ---- - -add `ThisKeyword` and `SuperKeyword` to the grammar, instead of parsing them as identifiers. diff --git a/.changeset/selfish-adults-wave.md b/.changeset/selfish-adults-wave.md deleted file mode 100644 index e3da15b74f..0000000000 --- a/.changeset/selfish-adults-wave.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@nomicfoundation/slang": patch ---- - -unreserve `AddressKeyword`, and let it be used for `MemberAccessExpression`, `StructMember`, etc... diff --git a/.changeset/strong-falcons-hope.md b/.changeset/strong-falcons-hope.md deleted file mode 100644 index f8e5c7aa3e..0000000000 --- a/.changeset/strong-falcons-hope.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@nomicfoundation/slang": patch ---- - -Adding support for deprecated keywords `jump` and `jumpi` diff --git a/CHANGELOG.md b/CHANGELOG.md index 5608328aa9..a4b6c04714 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,27 @@ # changelog +## 0.19.0 + +### Minor Changes + +- [#1156](https://github.com/NomicFoundation/slang/pull/1156) [`3a82f06`](https://github.com/NomicFoundation/slang/commit/3a82f0640efb1c32f895f721429c8e4fe0d18d85) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - add `node.descendants()` and `cursor.descendants()` APIs to allow iterating over all descendants of the current node in pre-order traversal. + +- [#1156](https://github.com/NomicFoundation/slang/pull/1156) [`3a82f06`](https://github.com/NomicFoundation/slang/commit/3a82f0640efb1c32f895f721429c8e4fe0d18d85) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - fix `node.children()` and `parseOutput.errors()` return types + +- [#1156](https://github.com/NomicFoundation/slang/pull/1156) [`3a82f06`](https://github.com/NomicFoundation/slang/commit/3a82f0640efb1c32f895f721429c8e4fe0d18d85) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - add `cursor.ancestors()` API to allow iterating over all ancestors of the current node, starting with the immediate parent, and moving upwards, ending with the root node. + +- [#1156](https://github.com/NomicFoundation/slang/pull/1156) [`3a82f06`](https://github.com/NomicFoundation/slang/commit/3a82f0640efb1c32f895f721429c8e4fe0d18d85) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - add `cursor.remainingNodes()` API to allow iterating over all the remaining nodes in the current tree, moving in pre-order traversal, until the tree is completed. + +### Patch Changes + +- [#1134](https://github.com/NomicFoundation/slang/pull/1134) [`cfc62f2`](https://github.com/NomicFoundation/slang/commit/cfc62f29e2bd505f702544d98b68316b20bbe37e) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - remove `YulPathComponent` and just use `YulIdentifier` instead. + +- [#1138](https://github.com/NomicFoundation/slang/pull/1138) [`44a706f`](https://github.com/NomicFoundation/slang/commit/44a706f6c59d021d24a10e14528498d2336d7145) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - add `ThisKeyword` and `SuperKeyword` to the grammar, instead of parsing them as identifiers. + +- [#1134](https://github.com/NomicFoundation/slang/pull/1134) [`cfc62f2`](https://github.com/NomicFoundation/slang/commit/cfc62f29e2bd505f702544d98b68316b20bbe37e) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - unreserve `AddressKeyword`, and let it be used for `MemberAccessExpression`, `StructMember`, etc... + +- [#1154](https://github.com/NomicFoundation/slang/pull/1154) [`7b9b478`](https://github.com/NomicFoundation/slang/commit/7b9b478d8b356b247d7f0aa6ae274de0b9d32da2) Thanks [@beta-ziliani](https://github.com/beta-ziliani)! - Adding support for deprecated keywords `jump` and `jumpi` + ## 0.18.3 ### Patch Changes diff --git a/Cargo.lock b/Cargo.lock index 35479e3275..769d0cfc20 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -391,7 +391,7 @@ checksum = "98cc8fbded0c607b7ba9dd60cd98df59af97e84d24e49c8557331cfc26d301ce" [[package]] name = "codegen_ebnf" -version = "0.18.3" +version = "0.19.0" dependencies = [ "Inflector", "codegen_language_definition", @@ -401,7 +401,7 @@ dependencies = [ [[package]] name = "codegen_language_definition" -version = "0.18.3" +version = "0.19.0" dependencies = [ "Inflector", "codegen_language_internal_macros", @@ -420,7 +420,7 @@ dependencies = [ [[package]] name = "codegen_language_internal_macros" -version = "0.18.3" +version = "0.19.0" dependencies = [ "itertools 0.13.0", "proc-macro2", @@ -430,14 +430,14 @@ dependencies = [ [[package]] name = "codegen_language_macros" -version = "0.18.3" +version = "0.19.0" dependencies = [ "codegen_language_definition", ] [[package]] name = "codegen_language_tests" -version = "0.18.3" +version = "0.19.0" dependencies = [ "codegen_language_definition", "codegen_language_macros", @@ -449,7 +449,7 @@ dependencies = [ [[package]] name = "codegen_runtime_cargo_crate" -version = "0.18.3" +version = "0.19.0" dependencies = [ "anyhow", "ariadne", @@ -466,7 +466,7 @@ dependencies = [ [[package]] name = "codegen_runtime_cargo_wasm" -version = "0.18.3" +version = "0.19.0" dependencies = [ "anyhow", "codegen_runtime_cargo_crate", @@ -480,7 +480,7 @@ dependencies = [ [[package]] name = "codegen_runtime_generator" -version = "0.18.3" +version = "0.19.0" dependencies = [ "Inflector", "anyhow", @@ -498,7 +498,7 @@ dependencies = [ [[package]] name = "codegen_runtime_npm_package" -version = "0.18.3" +version = "0.19.0" dependencies = [ "anyhow", "codegen_runtime_generator", @@ -507,7 +507,7 @@ dependencies = [ [[package]] name = "codegen_spec" -version = "0.18.3" +version = "0.19.0" dependencies = [ "Inflector", "anyhow", @@ -520,7 +520,7 @@ dependencies = [ [[package]] name = "codegen_testing" -version = "0.18.3" +version = "0.19.0" dependencies = [ "Inflector", "anyhow", @@ -1237,7 +1237,7 @@ checksum = "b248f5224d1d606005e02c97f5aa4e88eeb230488bcc03bc9ca4d7991399f2b5" [[package]] name = "infra_cli" -version = "0.18.3" +version = "0.19.0" dependencies = [ "anyhow", "clap", @@ -1257,7 +1257,7 @@ dependencies = [ [[package]] name = "infra_utils" -version = "0.18.3" +version = "0.19.0" dependencies = [ "Inflector", "anyhow", @@ -1395,7 +1395,7 @@ dependencies = [ [[package]] name = "metaslang_bindings" -version = "0.18.3" +version = "0.19.0" dependencies = [ "metaslang_cst", "metaslang_graph_builder", @@ -1407,7 +1407,7 @@ dependencies = [ [[package]] name = "metaslang_cst" -version = "0.18.3" +version = "0.19.0" dependencies = [ "nom", "serde", @@ -1416,7 +1416,7 @@ dependencies = [ [[package]] name = "metaslang_graph_builder" -version = "0.18.3" +version = "0.19.0" dependencies = [ "env_logger", "indoc", @@ -2202,7 +2202,7 @@ dependencies = [ [[package]] name = "slang_solidity" -version = "0.18.3" +version = "0.19.0" dependencies = [ "anyhow", "ariadne", @@ -2220,7 +2220,7 @@ dependencies = [ [[package]] name = "slang_solidity_cli" -version = "0.18.3" +version = "0.19.0" dependencies = [ "clap", "semver", @@ -2230,7 +2230,7 @@ dependencies = [ [[package]] name = "slang_testlang" -version = "0.18.3" +version = "0.19.0" dependencies = [ "anyhow", "ariadne", @@ -2273,7 +2273,7 @@ dependencies = [ [[package]] name = "solidity_cargo_tests" -version = "0.18.3" +version = "0.19.0" dependencies = [ "Inflector", "anyhow", @@ -2295,7 +2295,7 @@ dependencies = [ [[package]] name = "solidity_cargo_wasm" -version = "0.18.3" +version = "0.19.0" dependencies = [ "anyhow", "codegen_runtime_generator", @@ -2310,7 +2310,7 @@ dependencies = [ [[package]] name = "solidity_language" -version = "0.18.3" +version = "0.19.0" dependencies = [ "codegen_language_definition", "codegen_language_macros", @@ -2319,7 +2319,7 @@ dependencies = [ [[package]] name = "solidity_npm_package" -version = "0.18.3" +version = "0.19.0" dependencies = [ "anyhow", "codegen_runtime_generator", @@ -2329,7 +2329,7 @@ dependencies = [ [[package]] name = "solidity_spec" -version = "0.18.3" +version = "0.19.0" dependencies = [ "anyhow", "codegen_spec", @@ -2339,7 +2339,7 @@ dependencies = [ [[package]] name = "solidity_testing_perf" -version = "0.18.3" +version = "0.19.0" dependencies = [ "iai-callgrind", "infra_utils", @@ -2350,7 +2350,7 @@ dependencies = [ [[package]] name = "solidity_testing_sanctuary" -version = "0.18.3" +version = "0.19.0" dependencies = [ "anyhow", "clap", @@ -2371,11 +2371,11 @@ dependencies = [ [[package]] name = "solidity_testing_snapshots" -version = "0.18.3" +version = "0.19.0" [[package]] name = "solidity_testing_solc" -version = "0.18.3" +version = "0.19.0" dependencies = [ "anyhow", "ariadne", @@ -2590,7 +2590,7 @@ dependencies = [ [[package]] name = "testlang_cargo_tests" -version = "0.18.3" +version = "0.19.0" dependencies = [ "metaslang_graph_builder", "semver", @@ -2599,7 +2599,7 @@ dependencies = [ [[package]] name = "testlang_cargo_wasm" -version = "0.18.3" +version = "0.19.0" dependencies = [ "anyhow", "codegen_runtime_generator", @@ -2614,7 +2614,7 @@ dependencies = [ [[package]] name = "testlang_language" -version = "0.18.3" +version = "0.19.0" dependencies = [ "codegen_language_definition", "codegen_language_macros", @@ -2623,7 +2623,7 @@ dependencies = [ [[package]] name = "testlang_npm_package" -version = "0.18.3" +version = "0.19.0" dependencies = [ "anyhow", "codegen_runtime_generator", diff --git a/Cargo.toml b/Cargo.toml index 4f5d4bf0b6..6d1067bf83 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,5 +1,5 @@ [workspace.package] -version = "0.18.3" +version = "0.19.0" rust-version = "1.82.0" # __RUST_STABLE_VERSION_MARKER__ (keep in sync) edition = "2021" publish = false @@ -49,42 +49,42 @@ members = [ # # Internal # -codegen_ebnf = { path = "crates/codegen/ebnf", version = "0.18.3" } -codegen_language_definition = { path = "crates/codegen/language/definition", version = "0.18.3" } -codegen_language_internal_macros = { path = "crates/codegen/language/internal_macros", version = "0.18.3" } -codegen_language_macros = { path = "crates/codegen/language/macros", version = "0.18.3" } -codegen_language_tests = { path = "crates/codegen/language/tests", version = "0.18.3" } -codegen_runtime_cargo_crate = { path = "crates/codegen/runtime/cargo/crate", version = "0.18.3" } -codegen_runtime_cargo_wasm = { path = "crates/codegen/runtime/cargo/wasm", version = "0.18.3" } -codegen_runtime_generator = { path = "crates/codegen/runtime/generator", version = "0.18.3" } -codegen_runtime_npm_package = { path = "crates/codegen/runtime/npm/package", version = "0.18.3" } -codegen_spec = { path = "crates/codegen/spec", version = "0.18.3" } -codegen_testing = { path = "crates/codegen/testing", version = "0.18.3" } +codegen_ebnf = { path = "crates/codegen/ebnf", version = "0.19.0" } +codegen_language_definition = { path = "crates/codegen/language/definition", version = "0.19.0" } +codegen_language_internal_macros = { path = "crates/codegen/language/internal_macros", version = "0.19.0" } +codegen_language_macros = { path = "crates/codegen/language/macros", version = "0.19.0" } +codegen_language_tests = { path = "crates/codegen/language/tests", version = "0.19.0" } +codegen_runtime_cargo_crate = { path = "crates/codegen/runtime/cargo/crate", version = "0.19.0" } +codegen_runtime_cargo_wasm = { path = "crates/codegen/runtime/cargo/wasm", version = "0.19.0" } +codegen_runtime_generator = { path = "crates/codegen/runtime/generator", version = "0.19.0" } +codegen_runtime_npm_package = { path = "crates/codegen/runtime/npm/package", version = "0.19.0" } +codegen_spec = { path = "crates/codegen/spec", version = "0.19.0" } +codegen_testing = { path = "crates/codegen/testing", version = "0.19.0" } -infra_cli = { path = "crates/infra/cli", version = "0.18.3" } -infra_utils = { path = "crates/infra/utils", version = "0.18.3" } +infra_cli = { path = "crates/infra/cli", version = "0.19.0" } +infra_utils = { path = "crates/infra/utils", version = "0.19.0" } -metaslang_bindings = { path = "crates/metaslang/bindings", version = "0.18.3" } -metaslang_graph_builder = { path = "crates/metaslang/graph_builder", version = "0.18.3" } -metaslang_cst = { path = "crates/metaslang/cst", version = "0.18.3" } +metaslang_bindings = { path = "crates/metaslang/bindings", version = "0.19.0" } +metaslang_graph_builder = { path = "crates/metaslang/graph_builder", version = "0.19.0" } +metaslang_cst = { path = "crates/metaslang/cst", version = "0.19.0" } -slang_solidity = { path = "crates/solidity/outputs/cargo/crate", version = "0.18.3" } -slang_solidity_cli = { path = "crates/solidity/outputs/cargo/cli", version = "0.18.3" } -solidity_cargo_tests = { path = "crates/solidity/outputs/cargo/tests", version = "0.18.3" } -solidity_cargo_wasm = { path = "crates/solidity/outputs/cargo/wasm", version = "0.18.3" } -solidity_language = { path = "crates/solidity/inputs/language", version = "0.18.3" } -solidity_npm_package = { path = "crates/solidity/outputs/npm/package", version = "0.18.3" } -solidity_spec = { path = "crates/solidity/outputs/spec", version = "0.18.3" } -solidity_testing_perf = { path = "crates/solidity/testing/perf", version = "0.18.3" } -solidity_testing_sanctuary = { path = "crates/solidity/testing/sanctuary", version = "0.18.3" } -solidity_testing_snapshots = { path = "crates/solidity/testing/snapshots", version = "0.18.3" } -solidity_testing_solc = { path = "crates/solidity/testing/solc", version = "0.18.3" } +slang_solidity = { path = "crates/solidity/outputs/cargo/crate", version = "0.19.0" } +slang_solidity_cli = { path = "crates/solidity/outputs/cargo/cli", version = "0.19.0" } +solidity_cargo_tests = { path = "crates/solidity/outputs/cargo/tests", version = "0.19.0" } +solidity_cargo_wasm = { path = "crates/solidity/outputs/cargo/wasm", version = "0.19.0" } +solidity_language = { path = "crates/solidity/inputs/language", version = "0.19.0" } +solidity_npm_package = { path = "crates/solidity/outputs/npm/package", version = "0.19.0" } +solidity_spec = { path = "crates/solidity/outputs/spec", version = "0.19.0" } +solidity_testing_perf = { path = "crates/solidity/testing/perf", version = "0.19.0" } +solidity_testing_sanctuary = { path = "crates/solidity/testing/sanctuary", version = "0.19.0" } +solidity_testing_snapshots = { path = "crates/solidity/testing/snapshots", version = "0.19.0" } +solidity_testing_solc = { path = "crates/solidity/testing/solc", version = "0.19.0" } -slang_testlang = { path = "crates/testlang/outputs/cargo/crate", version = "0.18.3" } -testlang_cargo_tests = { path = "crates/testlang/outputs/cargo/tests", version = "0.18.3" } -testlang_cargo_wasm = { path = "crates/testlang/outputs/cargo/wasm", version = "0.18.3" } -testlang_language = { path = "crates/testlang/inputs/language", version = "0.18.3" } -testlang_npm_package = { path = "crates/testlang/outputs/npm/package", version = "0.18.3" } +slang_testlang = { path = "crates/testlang/outputs/cargo/crate", version = "0.19.0" } +testlang_cargo_tests = { path = "crates/testlang/outputs/cargo/tests", version = "0.19.0" } +testlang_cargo_wasm = { path = "crates/testlang/outputs/cargo/wasm", version = "0.19.0" } +testlang_language = { path = "crates/testlang/inputs/language", version = "0.19.0" } +testlang_npm_package = { path = "crates/testlang/outputs/npm/package", version = "0.19.0" } # # External diff --git a/crates/codegen/runtime/npm/package/CHANGELOG.md b/crates/codegen/runtime/npm/package/CHANGELOG.md index 5608328aa9..a4b6c04714 100644 --- a/crates/codegen/runtime/npm/package/CHANGELOG.md +++ b/crates/codegen/runtime/npm/package/CHANGELOG.md @@ -1,5 +1,27 @@ # changelog +## 0.19.0 + +### Minor Changes + +- [#1156](https://github.com/NomicFoundation/slang/pull/1156) [`3a82f06`](https://github.com/NomicFoundation/slang/commit/3a82f0640efb1c32f895f721429c8e4fe0d18d85) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - add `node.descendants()` and `cursor.descendants()` APIs to allow iterating over all descendants of the current node in pre-order traversal. + +- [#1156](https://github.com/NomicFoundation/slang/pull/1156) [`3a82f06`](https://github.com/NomicFoundation/slang/commit/3a82f0640efb1c32f895f721429c8e4fe0d18d85) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - fix `node.children()` and `parseOutput.errors()` return types + +- [#1156](https://github.com/NomicFoundation/slang/pull/1156) [`3a82f06`](https://github.com/NomicFoundation/slang/commit/3a82f0640efb1c32f895f721429c8e4fe0d18d85) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - add `cursor.ancestors()` API to allow iterating over all ancestors of the current node, starting with the immediate parent, and moving upwards, ending with the root node. + +- [#1156](https://github.com/NomicFoundation/slang/pull/1156) [`3a82f06`](https://github.com/NomicFoundation/slang/commit/3a82f0640efb1c32f895f721429c8e4fe0d18d85) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - add `cursor.remainingNodes()` API to allow iterating over all the remaining nodes in the current tree, moving in pre-order traversal, until the tree is completed. + +### Patch Changes + +- [#1134](https://github.com/NomicFoundation/slang/pull/1134) [`cfc62f2`](https://github.com/NomicFoundation/slang/commit/cfc62f29e2bd505f702544d98b68316b20bbe37e) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - remove `YulPathComponent` and just use `YulIdentifier` instead. + +- [#1138](https://github.com/NomicFoundation/slang/pull/1138) [`44a706f`](https://github.com/NomicFoundation/slang/commit/44a706f6c59d021d24a10e14528498d2336d7145) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - add `ThisKeyword` and `SuperKeyword` to the grammar, instead of parsing them as identifiers. + +- [#1134](https://github.com/NomicFoundation/slang/pull/1134) [`cfc62f2`](https://github.com/NomicFoundation/slang/commit/cfc62f29e2bd505f702544d98b68316b20bbe37e) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - unreserve `AddressKeyword`, and let it be used for `MemberAccessExpression`, `StructMember`, etc... + +- [#1154](https://github.com/NomicFoundation/slang/pull/1154) [`7b9b478`](https://github.com/NomicFoundation/slang/commit/7b9b478d8b356b247d7f0aa6ae274de0b9d32da2) Thanks [@beta-ziliani](https://github.com/beta-ziliani)! - Adding support for deprecated keywords `jump` and `jumpi` + ## 0.18.3 ### Patch Changes diff --git a/crates/metaslang/cst/CHANGELOG.md b/crates/metaslang/cst/CHANGELOG.md index 5608328aa9..a4b6c04714 100644 --- a/crates/metaslang/cst/CHANGELOG.md +++ b/crates/metaslang/cst/CHANGELOG.md @@ -1,5 +1,27 @@ # changelog +## 0.19.0 + +### Minor Changes + +- [#1156](https://github.com/NomicFoundation/slang/pull/1156) [`3a82f06`](https://github.com/NomicFoundation/slang/commit/3a82f0640efb1c32f895f721429c8e4fe0d18d85) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - add `node.descendants()` and `cursor.descendants()` APIs to allow iterating over all descendants of the current node in pre-order traversal. + +- [#1156](https://github.com/NomicFoundation/slang/pull/1156) [`3a82f06`](https://github.com/NomicFoundation/slang/commit/3a82f0640efb1c32f895f721429c8e4fe0d18d85) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - fix `node.children()` and `parseOutput.errors()` return types + +- [#1156](https://github.com/NomicFoundation/slang/pull/1156) [`3a82f06`](https://github.com/NomicFoundation/slang/commit/3a82f0640efb1c32f895f721429c8e4fe0d18d85) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - add `cursor.ancestors()` API to allow iterating over all ancestors of the current node, starting with the immediate parent, and moving upwards, ending with the root node. + +- [#1156](https://github.com/NomicFoundation/slang/pull/1156) [`3a82f06`](https://github.com/NomicFoundation/slang/commit/3a82f0640efb1c32f895f721429c8e4fe0d18d85) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - add `cursor.remainingNodes()` API to allow iterating over all the remaining nodes in the current tree, moving in pre-order traversal, until the tree is completed. + +### Patch Changes + +- [#1134](https://github.com/NomicFoundation/slang/pull/1134) [`cfc62f2`](https://github.com/NomicFoundation/slang/commit/cfc62f29e2bd505f702544d98b68316b20bbe37e) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - remove `YulPathComponent` and just use `YulIdentifier` instead. + +- [#1138](https://github.com/NomicFoundation/slang/pull/1138) [`44a706f`](https://github.com/NomicFoundation/slang/commit/44a706f6c59d021d24a10e14528498d2336d7145) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - add `ThisKeyword` and `SuperKeyword` to the grammar, instead of parsing them as identifiers. + +- [#1134](https://github.com/NomicFoundation/slang/pull/1134) [`cfc62f2`](https://github.com/NomicFoundation/slang/commit/cfc62f29e2bd505f702544d98b68316b20bbe37e) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - unreserve `AddressKeyword`, and let it be used for `MemberAccessExpression`, `StructMember`, etc... + +- [#1154](https://github.com/NomicFoundation/slang/pull/1154) [`7b9b478`](https://github.com/NomicFoundation/slang/commit/7b9b478d8b356b247d7f0aa6ae274de0b9d32da2) Thanks [@beta-ziliani](https://github.com/beta-ziliani)! - Adding support for deprecated keywords `jump` and `jumpi` + ## 0.18.3 ### Patch Changes diff --git a/crates/metaslang/graph_builder/CHANGELOG.md b/crates/metaslang/graph_builder/CHANGELOG.md index 5608328aa9..a4b6c04714 100644 --- a/crates/metaslang/graph_builder/CHANGELOG.md +++ b/crates/metaslang/graph_builder/CHANGELOG.md @@ -1,5 +1,27 @@ # changelog +## 0.19.0 + +### Minor Changes + +- [#1156](https://github.com/NomicFoundation/slang/pull/1156) [`3a82f06`](https://github.com/NomicFoundation/slang/commit/3a82f0640efb1c32f895f721429c8e4fe0d18d85) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - add `node.descendants()` and `cursor.descendants()` APIs to allow iterating over all descendants of the current node in pre-order traversal. + +- [#1156](https://github.com/NomicFoundation/slang/pull/1156) [`3a82f06`](https://github.com/NomicFoundation/slang/commit/3a82f0640efb1c32f895f721429c8e4fe0d18d85) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - fix `node.children()` and `parseOutput.errors()` return types + +- [#1156](https://github.com/NomicFoundation/slang/pull/1156) [`3a82f06`](https://github.com/NomicFoundation/slang/commit/3a82f0640efb1c32f895f721429c8e4fe0d18d85) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - add `cursor.ancestors()` API to allow iterating over all ancestors of the current node, starting with the immediate parent, and moving upwards, ending with the root node. + +- [#1156](https://github.com/NomicFoundation/slang/pull/1156) [`3a82f06`](https://github.com/NomicFoundation/slang/commit/3a82f0640efb1c32f895f721429c8e4fe0d18d85) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - add `cursor.remainingNodes()` API to allow iterating over all the remaining nodes in the current tree, moving in pre-order traversal, until the tree is completed. + +### Patch Changes + +- [#1134](https://github.com/NomicFoundation/slang/pull/1134) [`cfc62f2`](https://github.com/NomicFoundation/slang/commit/cfc62f29e2bd505f702544d98b68316b20bbe37e) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - remove `YulPathComponent` and just use `YulIdentifier` instead. + +- [#1138](https://github.com/NomicFoundation/slang/pull/1138) [`44a706f`](https://github.com/NomicFoundation/slang/commit/44a706f6c59d021d24a10e14528498d2336d7145) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - add `ThisKeyword` and `SuperKeyword` to the grammar, instead of parsing them as identifiers. + +- [#1134](https://github.com/NomicFoundation/slang/pull/1134) [`cfc62f2`](https://github.com/NomicFoundation/slang/commit/cfc62f29e2bd505f702544d98b68316b20bbe37e) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - unreserve `AddressKeyword`, and let it be used for `MemberAccessExpression`, `StructMember`, etc... + +- [#1154](https://github.com/NomicFoundation/slang/pull/1154) [`7b9b478`](https://github.com/NomicFoundation/slang/commit/7b9b478d8b356b247d7f0aa6ae274de0b9d32da2) Thanks [@beta-ziliani](https://github.com/beta-ziliani)! - Adding support for deprecated keywords `jump` and `jumpi` + ## 0.18.3 ### Patch Changes diff --git a/crates/solidity/outputs/cargo/cli/CHANGELOG.md b/crates/solidity/outputs/cargo/cli/CHANGELOG.md index 5608328aa9..a4b6c04714 100644 --- a/crates/solidity/outputs/cargo/cli/CHANGELOG.md +++ b/crates/solidity/outputs/cargo/cli/CHANGELOG.md @@ -1,5 +1,27 @@ # changelog +## 0.19.0 + +### Minor Changes + +- [#1156](https://github.com/NomicFoundation/slang/pull/1156) [`3a82f06`](https://github.com/NomicFoundation/slang/commit/3a82f0640efb1c32f895f721429c8e4fe0d18d85) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - add `node.descendants()` and `cursor.descendants()` APIs to allow iterating over all descendants of the current node in pre-order traversal. + +- [#1156](https://github.com/NomicFoundation/slang/pull/1156) [`3a82f06`](https://github.com/NomicFoundation/slang/commit/3a82f0640efb1c32f895f721429c8e4fe0d18d85) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - fix `node.children()` and `parseOutput.errors()` return types + +- [#1156](https://github.com/NomicFoundation/slang/pull/1156) [`3a82f06`](https://github.com/NomicFoundation/slang/commit/3a82f0640efb1c32f895f721429c8e4fe0d18d85) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - add `cursor.ancestors()` API to allow iterating over all ancestors of the current node, starting with the immediate parent, and moving upwards, ending with the root node. + +- [#1156](https://github.com/NomicFoundation/slang/pull/1156) [`3a82f06`](https://github.com/NomicFoundation/slang/commit/3a82f0640efb1c32f895f721429c8e4fe0d18d85) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - add `cursor.remainingNodes()` API to allow iterating over all the remaining nodes in the current tree, moving in pre-order traversal, until the tree is completed. + +### Patch Changes + +- [#1134](https://github.com/NomicFoundation/slang/pull/1134) [`cfc62f2`](https://github.com/NomicFoundation/slang/commit/cfc62f29e2bd505f702544d98b68316b20bbe37e) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - remove `YulPathComponent` and just use `YulIdentifier` instead. + +- [#1138](https://github.com/NomicFoundation/slang/pull/1138) [`44a706f`](https://github.com/NomicFoundation/slang/commit/44a706f6c59d021d24a10e14528498d2336d7145) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - add `ThisKeyword` and `SuperKeyword` to the grammar, instead of parsing them as identifiers. + +- [#1134](https://github.com/NomicFoundation/slang/pull/1134) [`cfc62f2`](https://github.com/NomicFoundation/slang/commit/cfc62f29e2bd505f702544d98b68316b20bbe37e) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - unreserve `AddressKeyword`, and let it be used for `MemberAccessExpression`, `StructMember`, etc... + +- [#1154](https://github.com/NomicFoundation/slang/pull/1154) [`7b9b478`](https://github.com/NomicFoundation/slang/commit/7b9b478d8b356b247d7f0aa6ae274de0b9d32da2) Thanks [@beta-ziliani](https://github.com/beta-ziliani)! - Adding support for deprecated keywords `jump` and `jumpi` + ## 0.18.3 ### Patch Changes diff --git a/crates/solidity/outputs/cargo/crate/CHANGELOG.md b/crates/solidity/outputs/cargo/crate/CHANGELOG.md index 5608328aa9..a4b6c04714 100644 --- a/crates/solidity/outputs/cargo/crate/CHANGELOG.md +++ b/crates/solidity/outputs/cargo/crate/CHANGELOG.md @@ -1,5 +1,27 @@ # changelog +## 0.19.0 + +### Minor Changes + +- [#1156](https://github.com/NomicFoundation/slang/pull/1156) [`3a82f06`](https://github.com/NomicFoundation/slang/commit/3a82f0640efb1c32f895f721429c8e4fe0d18d85) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - add `node.descendants()` and `cursor.descendants()` APIs to allow iterating over all descendants of the current node in pre-order traversal. + +- [#1156](https://github.com/NomicFoundation/slang/pull/1156) [`3a82f06`](https://github.com/NomicFoundation/slang/commit/3a82f0640efb1c32f895f721429c8e4fe0d18d85) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - fix `node.children()` and `parseOutput.errors()` return types + +- [#1156](https://github.com/NomicFoundation/slang/pull/1156) [`3a82f06`](https://github.com/NomicFoundation/slang/commit/3a82f0640efb1c32f895f721429c8e4fe0d18d85) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - add `cursor.ancestors()` API to allow iterating over all ancestors of the current node, starting with the immediate parent, and moving upwards, ending with the root node. + +- [#1156](https://github.com/NomicFoundation/slang/pull/1156) [`3a82f06`](https://github.com/NomicFoundation/slang/commit/3a82f0640efb1c32f895f721429c8e4fe0d18d85) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - add `cursor.remainingNodes()` API to allow iterating over all the remaining nodes in the current tree, moving in pre-order traversal, until the tree is completed. + +### Patch Changes + +- [#1134](https://github.com/NomicFoundation/slang/pull/1134) [`cfc62f2`](https://github.com/NomicFoundation/slang/commit/cfc62f29e2bd505f702544d98b68316b20bbe37e) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - remove `YulPathComponent` and just use `YulIdentifier` instead. + +- [#1138](https://github.com/NomicFoundation/slang/pull/1138) [`44a706f`](https://github.com/NomicFoundation/slang/commit/44a706f6c59d021d24a10e14528498d2336d7145) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - add `ThisKeyword` and `SuperKeyword` to the grammar, instead of parsing them as identifiers. + +- [#1134](https://github.com/NomicFoundation/slang/pull/1134) [`cfc62f2`](https://github.com/NomicFoundation/slang/commit/cfc62f29e2bd505f702544d98b68316b20bbe37e) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - unreserve `AddressKeyword`, and let it be used for `MemberAccessExpression`, `StructMember`, etc... + +- [#1154](https://github.com/NomicFoundation/slang/pull/1154) [`7b9b478`](https://github.com/NomicFoundation/slang/commit/7b9b478d8b356b247d7f0aa6ae274de0b9d32da2) Thanks [@beta-ziliani](https://github.com/beta-ziliani)! - Adding support for deprecated keywords `jump` and `jumpi` + ## 0.18.3 ### Patch Changes diff --git a/crates/solidity/outputs/npm/package/CHANGELOG.md b/crates/solidity/outputs/npm/package/CHANGELOG.md index 5608328aa9..a4b6c04714 100644 --- a/crates/solidity/outputs/npm/package/CHANGELOG.md +++ b/crates/solidity/outputs/npm/package/CHANGELOG.md @@ -1,5 +1,27 @@ # changelog +## 0.19.0 + +### Minor Changes + +- [#1156](https://github.com/NomicFoundation/slang/pull/1156) [`3a82f06`](https://github.com/NomicFoundation/slang/commit/3a82f0640efb1c32f895f721429c8e4fe0d18d85) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - add `node.descendants()` and `cursor.descendants()` APIs to allow iterating over all descendants of the current node in pre-order traversal. + +- [#1156](https://github.com/NomicFoundation/slang/pull/1156) [`3a82f06`](https://github.com/NomicFoundation/slang/commit/3a82f0640efb1c32f895f721429c8e4fe0d18d85) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - fix `node.children()` and `parseOutput.errors()` return types + +- [#1156](https://github.com/NomicFoundation/slang/pull/1156) [`3a82f06`](https://github.com/NomicFoundation/slang/commit/3a82f0640efb1c32f895f721429c8e4fe0d18d85) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - add `cursor.ancestors()` API to allow iterating over all ancestors of the current node, starting with the immediate parent, and moving upwards, ending with the root node. + +- [#1156](https://github.com/NomicFoundation/slang/pull/1156) [`3a82f06`](https://github.com/NomicFoundation/slang/commit/3a82f0640efb1c32f895f721429c8e4fe0d18d85) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - add `cursor.remainingNodes()` API to allow iterating over all the remaining nodes in the current tree, moving in pre-order traversal, until the tree is completed. + +### Patch Changes + +- [#1134](https://github.com/NomicFoundation/slang/pull/1134) [`cfc62f2`](https://github.com/NomicFoundation/slang/commit/cfc62f29e2bd505f702544d98b68316b20bbe37e) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - remove `YulPathComponent` and just use `YulIdentifier` instead. + +- [#1138](https://github.com/NomicFoundation/slang/pull/1138) [`44a706f`](https://github.com/NomicFoundation/slang/commit/44a706f6c59d021d24a10e14528498d2336d7145) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - add `ThisKeyword` and `SuperKeyword` to the grammar, instead of parsing them as identifiers. + +- [#1134](https://github.com/NomicFoundation/slang/pull/1134) [`cfc62f2`](https://github.com/NomicFoundation/slang/commit/cfc62f29e2bd505f702544d98b68316b20bbe37e) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - unreserve `AddressKeyword`, and let it be used for `MemberAccessExpression`, `StructMember`, etc... + +- [#1154](https://github.com/NomicFoundation/slang/pull/1154) [`7b9b478`](https://github.com/NomicFoundation/slang/commit/7b9b478d8b356b247d7f0aa6ae274de0b9d32da2) Thanks [@beta-ziliani](https://github.com/beta-ziliani)! - Adding support for deprecated keywords `jump` and `jumpi` + ## 0.18.3 ### Patch Changes diff --git a/crates/solidity/outputs/npm/package/package.json b/crates/solidity/outputs/npm/package/package.json index 1f2a26bfda..1dcf5498c9 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.18.3", + "version": "0.19.0", "type": "module", "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/", diff --git a/crates/testlang/outputs/npm/package/CHANGELOG.md b/crates/testlang/outputs/npm/package/CHANGELOG.md index 5608328aa9..a4b6c04714 100644 --- a/crates/testlang/outputs/npm/package/CHANGELOG.md +++ b/crates/testlang/outputs/npm/package/CHANGELOG.md @@ -1,5 +1,27 @@ # changelog +## 0.19.0 + +### Minor Changes + +- [#1156](https://github.com/NomicFoundation/slang/pull/1156) [`3a82f06`](https://github.com/NomicFoundation/slang/commit/3a82f0640efb1c32f895f721429c8e4fe0d18d85) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - add `node.descendants()` and `cursor.descendants()` APIs to allow iterating over all descendants of the current node in pre-order traversal. + +- [#1156](https://github.com/NomicFoundation/slang/pull/1156) [`3a82f06`](https://github.com/NomicFoundation/slang/commit/3a82f0640efb1c32f895f721429c8e4fe0d18d85) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - fix `node.children()` and `parseOutput.errors()` return types + +- [#1156](https://github.com/NomicFoundation/slang/pull/1156) [`3a82f06`](https://github.com/NomicFoundation/slang/commit/3a82f0640efb1c32f895f721429c8e4fe0d18d85) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - add `cursor.ancestors()` API to allow iterating over all ancestors of the current node, starting with the immediate parent, and moving upwards, ending with the root node. + +- [#1156](https://github.com/NomicFoundation/slang/pull/1156) [`3a82f06`](https://github.com/NomicFoundation/slang/commit/3a82f0640efb1c32f895f721429c8e4fe0d18d85) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - add `cursor.remainingNodes()` API to allow iterating over all the remaining nodes in the current tree, moving in pre-order traversal, until the tree is completed. + +### Patch Changes + +- [#1134](https://github.com/NomicFoundation/slang/pull/1134) [`cfc62f2`](https://github.com/NomicFoundation/slang/commit/cfc62f29e2bd505f702544d98b68316b20bbe37e) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - remove `YulPathComponent` and just use `YulIdentifier` instead. + +- [#1138](https://github.com/NomicFoundation/slang/pull/1138) [`44a706f`](https://github.com/NomicFoundation/slang/commit/44a706f6c59d021d24a10e14528498d2336d7145) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - add `ThisKeyword` and `SuperKeyword` to the grammar, instead of parsing them as identifiers. + +- [#1134](https://github.com/NomicFoundation/slang/pull/1134) [`cfc62f2`](https://github.com/NomicFoundation/slang/commit/cfc62f29e2bd505f702544d98b68316b20bbe37e) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - unreserve `AddressKeyword`, and let it be used for `MemberAccessExpression`, `StructMember`, etc... + +- [#1154](https://github.com/NomicFoundation/slang/pull/1154) [`7b9b478`](https://github.com/NomicFoundation/slang/commit/7b9b478d8b356b247d7f0aa6ae274de0b9d32da2) Thanks [@beta-ziliani](https://github.com/beta-ziliani)! - Adding support for deprecated keywords `jump` and `jumpi` + ## 0.18.3 ### Patch Changes diff --git a/package-lock.json b/package-lock.json index e3c52af70b..6ac4cdf1ad 100644 --- a/package-lock.json +++ b/package-lock.json @@ -50,7 +50,7 @@ }, "crates/solidity/outputs/npm/package": { "name": "@nomicfoundation/slang", - "version": "0.18.3", + "version": "0.19.0", "license": "MIT", "dependencies": { "@bytecodealliance/preview2-shim": "0.17.1"