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/fluffy-elephants-beg.md b/.changeset/fluffy-elephants-beg.md deleted file mode 100644 index 0a4403c509..0000000000 --- a/.changeset/fluffy-elephants-beg.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@nomicfoundation/slang": minor ---- - -rename `parser/Parser.supportedVersions()` API to `utils/LanguageFacts.supportedVersions()`. diff --git a/.changeset/gentle-onions-drum.md b/.changeset/gentle-onions-drum.md deleted file mode 100644 index a9e3df2839..0000000000 --- a/.changeset/gentle-onions-drum.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@nomicfoundation/slang": minor ---- - -expose the `BingingGraph` API to allow querying definitions/references between source files. 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/pink-flowers-draw.md b/.changeset/pink-flowers-draw.md deleted file mode 100644 index 0e013f2eaf..0000000000 --- a/.changeset/pink-flowers-draw.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@nomicfoundation/slang": minor ---- - -add a `CompilationBuilder` API to incrementally load and resolve source files and their imports. 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/smart-cooks-suffer.md b/.changeset/smart-cooks-suffer.md deleted file mode 100644 index 2c46a5040c..0000000000 --- a/.changeset/smart-cooks-suffer.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@nomicfoundation/slang": minor ---- - -Improved error recovery, where leading trivia are always parsed and included before an erroneous terminal. 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 22bd1fca92..01e68f858a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,35 @@ # 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 + +- [#1194](https://github.com/NomicFoundation/slang/pull/1194) [`7a25d63`](https://github.com/NomicFoundation/slang/commit/7a25d6375b691048cf51303c0449412998d23206) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - rename `parser/Parser.supportedVersions()` API to `utils/LanguageFacts.supportedVersions()`. + +- [#1194](https://github.com/NomicFoundation/slang/pull/1194) [`7a25d63`](https://github.com/NomicFoundation/slang/commit/7a25d6375b691048cf51303c0449412998d23206) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - expose the `BingingGraph` API to allow querying definitions/references between source files. + +- [#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. + +- [#1194](https://github.com/NomicFoundation/slang/pull/1194) [`7a25d63`](https://github.com/NomicFoundation/slang/commit/7a25d6375b691048cf51303c0449412998d23206) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - add a `CompilationBuilder` API to incrementally load and resolve source files and their imports. + +- [#1172](https://github.com/NomicFoundation/slang/pull/1172) [`6102886`](https://github.com/NomicFoundation/slang/commit/61028868a879977145fcf98ae378572c6e9b9e4d) Thanks [@beta-ziliani](https://github.com/beta-ziliani)! - Improved error recovery, where leading trivia are always parsed and included before an erroneous terminal. + +### 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 6284efc61a..9c1a1cc7c2 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", @@ -499,7 +499,7 @@ dependencies = [ [[package]] name = "codegen_runtime_npm_package" -version = "0.18.3" +version = "0.19.0" dependencies = [ "anyhow", "codegen_runtime_generator", @@ -508,7 +508,7 @@ dependencies = [ [[package]] name = "codegen_spec" -version = "0.18.3" +version = "0.19.0" dependencies = [ "Inflector", "anyhow", @@ -522,7 +522,7 @@ dependencies = [ [[package]] name = "codegen_testing" -version = "0.18.3" +version = "0.19.0" dependencies = [ "Inflector", "anyhow", @@ -1378,7 +1378,7 @@ checksum = "b248f5224d1d606005e02c97f5aa4e88eeb230488bcc03bc9ca4d7991399f2b5" [[package]] name = "infra_cli" -version = "0.18.3" +version = "0.19.0" dependencies = [ "anyhow", "clap", @@ -1398,7 +1398,7 @@ dependencies = [ [[package]] name = "infra_utils" -version = "0.18.3" +version = "0.19.0" dependencies = [ "Inflector", "anyhow", @@ -1541,7 +1541,7 @@ dependencies = [ [[package]] name = "metaslang_bindings" -version = "0.18.3" +version = "0.19.0" dependencies = [ "metaslang_cst", "metaslang_graph_builder", @@ -1553,7 +1553,7 @@ dependencies = [ [[package]] name = "metaslang_cst" -version = "0.18.3" +version = "0.19.0" dependencies = [ "nom", "serde", @@ -1562,7 +1562,7 @@ dependencies = [ [[package]] name = "metaslang_graph_builder" -version = "0.18.3" +version = "0.19.0" dependencies = [ "env_logger", "indoc", @@ -2329,7 +2329,7 @@ dependencies = [ [[package]] name = "slang_solidity" -version = "0.18.3" +version = "0.19.0" dependencies = [ "anyhow", "ariadne", @@ -2347,7 +2347,7 @@ dependencies = [ [[package]] name = "slang_solidity_cli" -version = "0.18.3" +version = "0.19.0" dependencies = [ "clap", "semver", @@ -2357,7 +2357,7 @@ dependencies = [ [[package]] name = "slang_testlang" -version = "0.18.3" +version = "0.19.0" dependencies = [ "anyhow", "ariadne", @@ -2400,7 +2400,7 @@ dependencies = [ [[package]] name = "solidity_cargo_tests" -version = "0.18.3" +version = "0.19.0" dependencies = [ "Inflector", "anyhow", @@ -2421,7 +2421,7 @@ dependencies = [ [[package]] name = "solidity_cargo_wasm" -version = "0.18.3" +version = "0.19.0" dependencies = [ "anyhow", "codegen_runtime_generator", @@ -2436,7 +2436,7 @@ dependencies = [ [[package]] name = "solidity_language" -version = "0.18.3" +version = "0.19.0" dependencies = [ "codegen_language_definition", "codegen_language_macros", @@ -2445,7 +2445,7 @@ dependencies = [ [[package]] name = "solidity_npm_package" -version = "0.18.3" +version = "0.19.0" dependencies = [ "anyhow", "codegen_runtime_generator", @@ -2455,7 +2455,7 @@ dependencies = [ [[package]] name = "solidity_spec" -version = "0.18.3" +version = "0.19.0" dependencies = [ "anyhow", "codegen_spec", @@ -2465,7 +2465,7 @@ dependencies = [ [[package]] name = "solidity_testing_perf" -version = "0.18.3" +version = "0.19.0" dependencies = [ "iai-callgrind", "infra_utils", @@ -2476,7 +2476,7 @@ dependencies = [ [[package]] name = "solidity_testing_sanctuary" -version = "0.18.3" +version = "0.19.0" dependencies = [ "anyhow", "clap", @@ -2497,11 +2497,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", @@ -2732,7 +2732,7 @@ dependencies = [ [[package]] name = "testlang_cargo_tests" -version = "0.18.3" +version = "0.19.0" dependencies = [ "metaslang_graph_builder", "semver", @@ -2741,7 +2741,7 @@ dependencies = [ [[package]] name = "testlang_cargo_wasm" -version = "0.18.3" +version = "0.19.0" dependencies = [ "anyhow", "codegen_runtime_generator", @@ -2756,7 +2756,7 @@ dependencies = [ [[package]] name = "testlang_language" -version = "0.18.3" +version = "0.19.0" dependencies = [ "codegen_language_definition", "codegen_language_macros", @@ -2765,7 +2765,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 dd157f1f16..93f75bc1ec 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 22bd1fca92..01e68f858a 100644 --- a/crates/codegen/runtime/npm/package/CHANGELOG.md +++ b/crates/codegen/runtime/npm/package/CHANGELOG.md @@ -1,5 +1,35 @@ # 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 + +- [#1194](https://github.com/NomicFoundation/slang/pull/1194) [`7a25d63`](https://github.com/NomicFoundation/slang/commit/7a25d6375b691048cf51303c0449412998d23206) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - rename `parser/Parser.supportedVersions()` API to `utils/LanguageFacts.supportedVersions()`. + +- [#1194](https://github.com/NomicFoundation/slang/pull/1194) [`7a25d63`](https://github.com/NomicFoundation/slang/commit/7a25d6375b691048cf51303c0449412998d23206) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - expose the `BingingGraph` API to allow querying definitions/references between source files. + +- [#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. + +- [#1194](https://github.com/NomicFoundation/slang/pull/1194) [`7a25d63`](https://github.com/NomicFoundation/slang/commit/7a25d6375b691048cf51303c0449412998d23206) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - add a `CompilationBuilder` API to incrementally load and resolve source files and their imports. + +- [#1172](https://github.com/NomicFoundation/slang/pull/1172) [`6102886`](https://github.com/NomicFoundation/slang/commit/61028868a879977145fcf98ae378572c6e9b9e4d) Thanks [@beta-ziliani](https://github.com/beta-ziliani)! - Improved error recovery, where leading trivia are always parsed and included before an erroneous terminal. + +### 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 22bd1fca92..01e68f858a 100644 --- a/crates/metaslang/cst/CHANGELOG.md +++ b/crates/metaslang/cst/CHANGELOG.md @@ -1,5 +1,35 @@ # 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 + +- [#1194](https://github.com/NomicFoundation/slang/pull/1194) [`7a25d63`](https://github.com/NomicFoundation/slang/commit/7a25d6375b691048cf51303c0449412998d23206) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - rename `parser/Parser.supportedVersions()` API to `utils/LanguageFacts.supportedVersions()`. + +- [#1194](https://github.com/NomicFoundation/slang/pull/1194) [`7a25d63`](https://github.com/NomicFoundation/slang/commit/7a25d6375b691048cf51303c0449412998d23206) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - expose the `BingingGraph` API to allow querying definitions/references between source files. + +- [#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. + +- [#1194](https://github.com/NomicFoundation/slang/pull/1194) [`7a25d63`](https://github.com/NomicFoundation/slang/commit/7a25d6375b691048cf51303c0449412998d23206) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - add a `CompilationBuilder` API to incrementally load and resolve source files and their imports. + +- [#1172](https://github.com/NomicFoundation/slang/pull/1172) [`6102886`](https://github.com/NomicFoundation/slang/commit/61028868a879977145fcf98ae378572c6e9b9e4d) Thanks [@beta-ziliani](https://github.com/beta-ziliani)! - Improved error recovery, where leading trivia are always parsed and included before an erroneous terminal. + +### 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 22bd1fca92..01e68f858a 100644 --- a/crates/metaslang/graph_builder/CHANGELOG.md +++ b/crates/metaslang/graph_builder/CHANGELOG.md @@ -1,5 +1,35 @@ # 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 + +- [#1194](https://github.com/NomicFoundation/slang/pull/1194) [`7a25d63`](https://github.com/NomicFoundation/slang/commit/7a25d6375b691048cf51303c0449412998d23206) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - rename `parser/Parser.supportedVersions()` API to `utils/LanguageFacts.supportedVersions()`. + +- [#1194](https://github.com/NomicFoundation/slang/pull/1194) [`7a25d63`](https://github.com/NomicFoundation/slang/commit/7a25d6375b691048cf51303c0449412998d23206) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - expose the `BingingGraph` API to allow querying definitions/references between source files. + +- [#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. + +- [#1194](https://github.com/NomicFoundation/slang/pull/1194) [`7a25d63`](https://github.com/NomicFoundation/slang/commit/7a25d6375b691048cf51303c0449412998d23206) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - add a `CompilationBuilder` API to incrementally load and resolve source files and their imports. + +- [#1172](https://github.com/NomicFoundation/slang/pull/1172) [`6102886`](https://github.com/NomicFoundation/slang/commit/61028868a879977145fcf98ae378572c6e9b9e4d) Thanks [@beta-ziliani](https://github.com/beta-ziliani)! - Improved error recovery, where leading trivia are always parsed and included before an erroneous terminal. + +### 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 22bd1fca92..01e68f858a 100644 --- a/crates/solidity/outputs/cargo/cli/CHANGELOG.md +++ b/crates/solidity/outputs/cargo/cli/CHANGELOG.md @@ -1,5 +1,35 @@ # 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 + +- [#1194](https://github.com/NomicFoundation/slang/pull/1194) [`7a25d63`](https://github.com/NomicFoundation/slang/commit/7a25d6375b691048cf51303c0449412998d23206) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - rename `parser/Parser.supportedVersions()` API to `utils/LanguageFacts.supportedVersions()`. + +- [#1194](https://github.com/NomicFoundation/slang/pull/1194) [`7a25d63`](https://github.com/NomicFoundation/slang/commit/7a25d6375b691048cf51303c0449412998d23206) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - expose the `BingingGraph` API to allow querying definitions/references between source files. + +- [#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. + +- [#1194](https://github.com/NomicFoundation/slang/pull/1194) [`7a25d63`](https://github.com/NomicFoundation/slang/commit/7a25d6375b691048cf51303c0449412998d23206) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - add a `CompilationBuilder` API to incrementally load and resolve source files and their imports. + +- [#1172](https://github.com/NomicFoundation/slang/pull/1172) [`6102886`](https://github.com/NomicFoundation/slang/commit/61028868a879977145fcf98ae378572c6e9b9e4d) Thanks [@beta-ziliani](https://github.com/beta-ziliani)! - Improved error recovery, where leading trivia are always parsed and included before an erroneous terminal. + +### 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 22bd1fca92..01e68f858a 100644 --- a/crates/solidity/outputs/cargo/crate/CHANGELOG.md +++ b/crates/solidity/outputs/cargo/crate/CHANGELOG.md @@ -1,5 +1,35 @@ # 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 + +- [#1194](https://github.com/NomicFoundation/slang/pull/1194) [`7a25d63`](https://github.com/NomicFoundation/slang/commit/7a25d6375b691048cf51303c0449412998d23206) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - rename `parser/Parser.supportedVersions()` API to `utils/LanguageFacts.supportedVersions()`. + +- [#1194](https://github.com/NomicFoundation/slang/pull/1194) [`7a25d63`](https://github.com/NomicFoundation/slang/commit/7a25d6375b691048cf51303c0449412998d23206) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - expose the `BingingGraph` API to allow querying definitions/references between source files. + +- [#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. + +- [#1194](https://github.com/NomicFoundation/slang/pull/1194) [`7a25d63`](https://github.com/NomicFoundation/slang/commit/7a25d6375b691048cf51303c0449412998d23206) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - add a `CompilationBuilder` API to incrementally load and resolve source files and their imports. + +- [#1172](https://github.com/NomicFoundation/slang/pull/1172) [`6102886`](https://github.com/NomicFoundation/slang/commit/61028868a879977145fcf98ae378572c6e9b9e4d) Thanks [@beta-ziliani](https://github.com/beta-ziliani)! - Improved error recovery, where leading trivia are always parsed and included before an erroneous terminal. + +### 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 22bd1fca92..01e68f858a 100644 --- a/crates/solidity/outputs/npm/package/CHANGELOG.md +++ b/crates/solidity/outputs/npm/package/CHANGELOG.md @@ -1,5 +1,35 @@ # 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 + +- [#1194](https://github.com/NomicFoundation/slang/pull/1194) [`7a25d63`](https://github.com/NomicFoundation/slang/commit/7a25d6375b691048cf51303c0449412998d23206) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - rename `parser/Parser.supportedVersions()` API to `utils/LanguageFacts.supportedVersions()`. + +- [#1194](https://github.com/NomicFoundation/slang/pull/1194) [`7a25d63`](https://github.com/NomicFoundation/slang/commit/7a25d6375b691048cf51303c0449412998d23206) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - expose the `BingingGraph` API to allow querying definitions/references between source files. + +- [#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. + +- [#1194](https://github.com/NomicFoundation/slang/pull/1194) [`7a25d63`](https://github.com/NomicFoundation/slang/commit/7a25d6375b691048cf51303c0449412998d23206) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - add a `CompilationBuilder` API to incrementally load and resolve source files and their imports. + +- [#1172](https://github.com/NomicFoundation/slang/pull/1172) [`6102886`](https://github.com/NomicFoundation/slang/commit/61028868a879977145fcf98ae378572c6e9b9e4d) Thanks [@beta-ziliani](https://github.com/beta-ziliani)! - Improved error recovery, where leading trivia are always parsed and included before an erroneous terminal. + +### 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 c7fba2b62c..f8cbe15998 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 22bd1fca92..01e68f858a 100644 --- a/crates/testlang/outputs/npm/package/CHANGELOG.md +++ b/crates/testlang/outputs/npm/package/CHANGELOG.md @@ -1,5 +1,35 @@ # 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 + +- [#1194](https://github.com/NomicFoundation/slang/pull/1194) [`7a25d63`](https://github.com/NomicFoundation/slang/commit/7a25d6375b691048cf51303c0449412998d23206) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - rename `parser/Parser.supportedVersions()` API to `utils/LanguageFacts.supportedVersions()`. + +- [#1194](https://github.com/NomicFoundation/slang/pull/1194) [`7a25d63`](https://github.com/NomicFoundation/slang/commit/7a25d6375b691048cf51303c0449412998d23206) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - expose the `BingingGraph` API to allow querying definitions/references between source files. + +- [#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. + +- [#1194](https://github.com/NomicFoundation/slang/pull/1194) [`7a25d63`](https://github.com/NomicFoundation/slang/commit/7a25d6375b691048cf51303c0449412998d23206) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - add a `CompilationBuilder` API to incrementally load and resolve source files and their imports. + +- [#1172](https://github.com/NomicFoundation/slang/pull/1172) [`6102886`](https://github.com/NomicFoundation/slang/commit/61028868a879977145fcf98ae378572c6e9b9e4d) Thanks [@beta-ziliani](https://github.com/beta-ziliani)! - Improved error recovery, where leading trivia are always parsed and included before an erroneous terminal. + +### 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 beaec4f318..b03e7163a7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -51,7 +51,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"