diff --git a/.changeset/cuddly-avocados-sing.md b/.changeset/cuddly-avocados-sing.md deleted file mode 100644 index 24d490888c..0000000000 --- a/.changeset/cuddly-avocados-sing.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"changelog": minor ---- - -Add a Rust Cursor API and refactor the Rust Visitor API to run on top of it. diff --git a/.changeset/gold-knives-jump.md b/.changeset/gold-knives-jump.md deleted file mode 100644 index 772659fda2..0000000000 --- a/.changeset/gold-knives-jump.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"changelog": patch ---- - -Move `syntax::parser::ProductionKind` to `syntax::nodes` namespace. diff --git a/.changeset/metal-fans-raise.md b/.changeset/metal-fans-raise.md deleted file mode 100644 index df6cbe0c23..0000000000 --- a/.changeset/metal-fans-raise.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"changelog": patch ---- - -Add TokenNode.text to the TS API. diff --git a/.changeset/modern-tools-shake.md b/.changeset/modern-tools-shake.md deleted file mode 100644 index d70fde95c3..0000000000 --- a/.changeset/modern-tools-shake.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"changelog": minor ---- - -Move Visitor et al to node:: namespace, which is where Cursor is. diff --git a/.changeset/neat-paws-unite.md b/.changeset/neat-paws-unite.md deleted file mode 100644 index c4213c6340..0000000000 --- a/.changeset/neat-paws-unite.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"changelog": minor ---- - -Rename `range` functions that return a TextRange to `text_range` diff --git a/.changeset/plenty-terms-rest.md b/.changeset/plenty-terms-rest.md deleted file mode 100644 index 01a591c2ff..0000000000 --- a/.changeset/plenty-terms-rest.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"changelog": patch ---- - -Add first pass of Typescript binding to the Cursor API, but no TS Visitor yet. diff --git a/.changeset/sweet-bugs-report.md b/.changeset/sweet-bugs-report.md deleted file mode 100644 index 8096f4038c..0000000000 --- a/.changeset/sweet-bugs-report.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"changelog": patch ---- - -render EBNF grammar on top of each `ProductionKind`, `RuleKind`, and `TokenKind`. diff --git a/.changeset/ten-doors-scream.md b/.changeset/ten-doors-scream.md deleted file mode 100644 index 03b2b0d747..0000000000 --- a/.changeset/ten-doors-scream.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"changelog": patch ---- - -Correct versioning for `SourceUnitMember` and `ContractMember` children. diff --git a/CHANGELOG.md b/CHANGELOG.md index c67ba58146..32dd8d23d7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,27 @@ # changelog +## 0.9.0 + +### Minor Changes + +- [#540](https://github.com/NomicFoundation/slang/pull/540) [`0d04f95`](https://github.com/NomicFoundation/slang/commit/0d04f959bf1f5831c912d5109de3d933cfaa6266) Thanks [@AntonyBlakey](https://github.com/AntonyBlakey)! - Add a Rust Cursor API and refactor the Rust Visitor API to run on top of it. + +- [#540](https://github.com/NomicFoundation/slang/pull/540) [`0d04f95`](https://github.com/NomicFoundation/slang/commit/0d04f959bf1f5831c912d5109de3d933cfaa6266) Thanks [@AntonyBlakey](https://github.com/AntonyBlakey)! - Move Visitor et al to node:: namespace, which is where Cursor is. + +- [#540](https://github.com/NomicFoundation/slang/pull/540) [`0d04f95`](https://github.com/NomicFoundation/slang/commit/0d04f959bf1f5831c912d5109de3d933cfaa6266) Thanks [@AntonyBlakey](https://github.com/AntonyBlakey)! - Rename `range` functions that return a TextRange to `text_range` + +### Patch Changes + +- [#543](https://github.com/NomicFoundation/slang/pull/543) [`7a34599`](https://github.com/NomicFoundation/slang/commit/7a34599f6b237b03a0f8ba92755cae6107589e37) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - Move `syntax::parser::ProductionKind` to `syntax::nodes` namespace. + +- [#540](https://github.com/NomicFoundation/slang/pull/540) [`0d04f95`](https://github.com/NomicFoundation/slang/commit/0d04f959bf1f5831c912d5109de3d933cfaa6266) Thanks [@AntonyBlakey](https://github.com/AntonyBlakey)! - Add TokenNode.text to the TS API. + +- [#540](https://github.com/NomicFoundation/slang/pull/540) [`0d04f95`](https://github.com/NomicFoundation/slang/commit/0d04f959bf1f5831c912d5109de3d933cfaa6266) Thanks [@AntonyBlakey](https://github.com/AntonyBlakey)! - Add first pass of Typescript binding to the Cursor API, but no TS Visitor yet. + +- [#545](https://github.com/NomicFoundation/slang/pull/545) [`e73658a`](https://github.com/NomicFoundation/slang/commit/e73658ae4e777e78a01e213f213e2a5dc13e5cba) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - render EBNF grammar on top of each `ProductionKind`, `RuleKind`, and `TokenKind`. + +- [#558](https://github.com/NomicFoundation/slang/pull/558) [`95bbc50`](https://github.com/NomicFoundation/slang/commit/95bbc5025fbf63b8d4e07f7652a70a7f66363db6) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - Correct versioning for `SourceUnitMember` and `ContractMember` children. + ## 0.8.0 ### Minor Changes diff --git a/Cargo.lock b/Cargo.lock index 4e26d4ef20..76bfd28e51 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -328,7 +328,7 @@ checksum = "2da6da31387c7e4ef160ffab6d5e7f00c42626fe39aea70a7b0f1773f7dd6c1b" [[package]] name = "codegen_ebnf" -version = "0.8.0" +version = "0.9.0" dependencies = [ "Inflector", "codegen_schema", @@ -338,7 +338,7 @@ dependencies = [ [[package]] name = "codegen_legacy_syntax_templates" -version = "0.8.0" +version = "0.9.0" dependencies = [ "ariadne", "napi", @@ -352,7 +352,7 @@ dependencies = [ [[package]] name = "codegen_schema" -version = "0.8.0" +version = "0.9.0" dependencies = [ "anyhow", "codegen_utils", @@ -368,7 +368,7 @@ dependencies = [ [[package]] name = "codegen_spec" -version = "0.8.0" +version = "0.9.0" dependencies = [ "Inflector", "anyhow", @@ -380,7 +380,7 @@ dependencies = [ [[package]] name = "codegen_syntax" -version = "0.8.0" +version = "0.9.0" dependencies = [ "Inflector", "anyhow", @@ -398,7 +398,7 @@ dependencies = [ [[package]] name = "codegen_testing" -version = "0.8.0" +version = "0.9.0" dependencies = [ "anyhow", "codegen_schema", @@ -408,7 +408,7 @@ dependencies = [ [[package]] name = "codegen_utils" -version = "0.8.0" +version = "0.9.0" dependencies = [ "anyhow", "ariadne", @@ -1398,7 +1398,7 @@ checksum = "7bd3e3206899af3f8b12af284fafc038cc1dc2b41d1b89dd17297221c5d225de" [[package]] name = "slang_solidity" -version = "0.8.0" +version = "0.9.0" dependencies = [ "anyhow", "ariadne", @@ -1423,7 +1423,7 @@ dependencies = [ [[package]] name = "solidity_cargo_build" -version = "0.8.0" +version = "0.9.0" dependencies = [ "anyhow", "codegen_schema", @@ -1434,7 +1434,7 @@ dependencies = [ [[package]] name = "solidity_cargo_tests" -version = "0.8.0" +version = "0.9.0" dependencies = [ "anyhow", "codegen_schema", @@ -1448,7 +1448,7 @@ dependencies = [ [[package]] name = "solidity_language" -version = "0.8.0" +version = "0.9.0" dependencies = [ "anyhow", "bson", @@ -1458,7 +1458,7 @@ dependencies = [ [[package]] name = "solidity_npm_build" -version = "0.8.0" +version = "0.9.0" dependencies = [ "anyhow", "codegen_schema", @@ -1469,7 +1469,7 @@ dependencies = [ [[package]] name = "solidity_npm_crate" -version = "0.8.0" +version = "0.9.0" dependencies = [ "ariadne", "napi", @@ -1485,7 +1485,7 @@ dependencies = [ [[package]] name = "solidity_smoke_testing" -version = "0.8.0" +version = "0.9.0" dependencies = [ "anyhow", "codegen_schema", @@ -1502,7 +1502,7 @@ dependencies = [ [[package]] name = "solidity_spec" -version = "0.8.0" +version = "0.9.0" dependencies = [ "anyhow", "codegen_schema", @@ -1513,7 +1513,7 @@ dependencies = [ [[package]] name = "solidity_testing_utils" -version = "0.8.0" +version = "0.9.0" dependencies = [ "anyhow", "semver", diff --git a/Cargo.toml b/Cargo.toml index d2b9165876..8ef0338fee 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,5 +1,5 @@ [workspace.package] -version = "0.8.0" +version = "0.9.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 c67ba58146..32dd8d23d7 100644 --- a/crates/solidity/outputs/cargo/crate/CHANGELOG.md +++ b/crates/solidity/outputs/cargo/crate/CHANGELOG.md @@ -1,5 +1,27 @@ # changelog +## 0.9.0 + +### Minor Changes + +- [#540](https://github.com/NomicFoundation/slang/pull/540) [`0d04f95`](https://github.com/NomicFoundation/slang/commit/0d04f959bf1f5831c912d5109de3d933cfaa6266) Thanks [@AntonyBlakey](https://github.com/AntonyBlakey)! - Add a Rust Cursor API and refactor the Rust Visitor API to run on top of it. + +- [#540](https://github.com/NomicFoundation/slang/pull/540) [`0d04f95`](https://github.com/NomicFoundation/slang/commit/0d04f959bf1f5831c912d5109de3d933cfaa6266) Thanks [@AntonyBlakey](https://github.com/AntonyBlakey)! - Move Visitor et al to node:: namespace, which is where Cursor is. + +- [#540](https://github.com/NomicFoundation/slang/pull/540) [`0d04f95`](https://github.com/NomicFoundation/slang/commit/0d04f959bf1f5831c912d5109de3d933cfaa6266) Thanks [@AntonyBlakey](https://github.com/AntonyBlakey)! - Rename `range` functions that return a TextRange to `text_range` + +### Patch Changes + +- [#543](https://github.com/NomicFoundation/slang/pull/543) [`7a34599`](https://github.com/NomicFoundation/slang/commit/7a34599f6b237b03a0f8ba92755cae6107589e37) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - Move `syntax::parser::ProductionKind` to `syntax::nodes` namespace. + +- [#540](https://github.com/NomicFoundation/slang/pull/540) [`0d04f95`](https://github.com/NomicFoundation/slang/commit/0d04f959bf1f5831c912d5109de3d933cfaa6266) Thanks [@AntonyBlakey](https://github.com/AntonyBlakey)! - Add TokenNode.text to the TS API. + +- [#540](https://github.com/NomicFoundation/slang/pull/540) [`0d04f95`](https://github.com/NomicFoundation/slang/commit/0d04f959bf1f5831c912d5109de3d933cfaa6266) Thanks [@AntonyBlakey](https://github.com/AntonyBlakey)! - Add first pass of Typescript binding to the Cursor API, but no TS Visitor yet. + +- [#545](https://github.com/NomicFoundation/slang/pull/545) [`e73658a`](https://github.com/NomicFoundation/slang/commit/e73658ae4e777e78a01e213f213e2a5dc13e5cba) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - render EBNF grammar on top of each `ProductionKind`, `RuleKind`, and `TokenKind`. + +- [#558](https://github.com/NomicFoundation/slang/pull/558) [`95bbc50`](https://github.com/NomicFoundation/slang/commit/95bbc5025fbf63b8d4e07f7652a70a7f66363db6) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - Correct versioning for `SourceUnitMember` and `ContractMember` children. + ## 0.8.0 ### Minor Changes diff --git a/crates/solidity/outputs/npm/package/CHANGELOG.md b/crates/solidity/outputs/npm/package/CHANGELOG.md index c67ba58146..32dd8d23d7 100644 --- a/crates/solidity/outputs/npm/package/CHANGELOG.md +++ b/crates/solidity/outputs/npm/package/CHANGELOG.md @@ -1,5 +1,27 @@ # changelog +## 0.9.0 + +### Minor Changes + +- [#540](https://github.com/NomicFoundation/slang/pull/540) [`0d04f95`](https://github.com/NomicFoundation/slang/commit/0d04f959bf1f5831c912d5109de3d933cfaa6266) Thanks [@AntonyBlakey](https://github.com/AntonyBlakey)! - Add a Rust Cursor API and refactor the Rust Visitor API to run on top of it. + +- [#540](https://github.com/NomicFoundation/slang/pull/540) [`0d04f95`](https://github.com/NomicFoundation/slang/commit/0d04f959bf1f5831c912d5109de3d933cfaa6266) Thanks [@AntonyBlakey](https://github.com/AntonyBlakey)! - Move Visitor et al to node:: namespace, which is where Cursor is. + +- [#540](https://github.com/NomicFoundation/slang/pull/540) [`0d04f95`](https://github.com/NomicFoundation/slang/commit/0d04f959bf1f5831c912d5109de3d933cfaa6266) Thanks [@AntonyBlakey](https://github.com/AntonyBlakey)! - Rename `range` functions that return a TextRange to `text_range` + +### Patch Changes + +- [#543](https://github.com/NomicFoundation/slang/pull/543) [`7a34599`](https://github.com/NomicFoundation/slang/commit/7a34599f6b237b03a0f8ba92755cae6107589e37) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - Move `syntax::parser::ProductionKind` to `syntax::nodes` namespace. + +- [#540](https://github.com/NomicFoundation/slang/pull/540) [`0d04f95`](https://github.com/NomicFoundation/slang/commit/0d04f959bf1f5831c912d5109de3d933cfaa6266) Thanks [@AntonyBlakey](https://github.com/AntonyBlakey)! - Add TokenNode.text to the TS API. + +- [#540](https://github.com/NomicFoundation/slang/pull/540) [`0d04f95`](https://github.com/NomicFoundation/slang/commit/0d04f959bf1f5831c912d5109de3d933cfaa6266) Thanks [@AntonyBlakey](https://github.com/AntonyBlakey)! - Add first pass of Typescript binding to the Cursor API, but no TS Visitor yet. + +- [#545](https://github.com/NomicFoundation/slang/pull/545) [`e73658a`](https://github.com/NomicFoundation/slang/commit/e73658ae4e777e78a01e213f213e2a5dc13e5cba) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - render EBNF grammar on top of each `ProductionKind`, `RuleKind`, and `TokenKind`. + +- [#558](https://github.com/NomicFoundation/slang/pull/558) [`95bbc50`](https://github.com/NomicFoundation/slang/commit/95bbc5025fbf63b8d4e07f7652a70a7f66363db6) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - Correct versioning for `SourceUnitMember` and `ContractMember` children. + ## 0.8.0 ### Minor Changes diff --git a/crates/solidity/outputs/npm/package/package.json b/crates/solidity/outputs/npm/package/package.json index 05704e0269..2f22caa6fb 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.8.0", + "version": "0.9.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", @@ -29,15 +29,15 @@ "prettier": "2.8.8" }, "optionalDependencies": { - "@nomicfoundation/slang-darwin-arm64": "0.8.0", - "@nomicfoundation/slang-win32-arm64-msvc": "0.8.0", - "@nomicfoundation/slang-linux-arm64-gnu": "0.8.0", - "@nomicfoundation/slang-linux-arm64-musl": "0.8.0", - "@nomicfoundation/slang-win32-ia32-msvc": "0.8.0", - "@nomicfoundation/slang-darwin-x64": "0.8.0", - "@nomicfoundation/slang-win32-x64-msvc": "0.8.0", - "@nomicfoundation/slang-linux-x64-gnu": "0.8.0", - "@nomicfoundation/slang-linux-x64-musl": "0.8.0" + "@nomicfoundation/slang-darwin-arm64": "0.9.0", + "@nomicfoundation/slang-win32-arm64-msvc": "0.9.0", + "@nomicfoundation/slang-linux-arm64-gnu": "0.9.0", + "@nomicfoundation/slang-linux-arm64-musl": "0.9.0", + "@nomicfoundation/slang-win32-ia32-msvc": "0.9.0", + "@nomicfoundation/slang-darwin-x64": "0.9.0", + "@nomicfoundation/slang-win32-x64-msvc": "0.9.0", + "@nomicfoundation/slang-linux-x64-gnu": "0.9.0", + "@nomicfoundation/slang-linux-x64-musl": "0.9.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 9a8a42ba73..96139dd2a8 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.8.0", + "version": "0.9.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 b0369cf0dd..602107cc44 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.8.0", + "version": "0.9.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 fec2302fe0..3ac365ecae 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.8.0", + "version": "0.9.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 4d8aea1761..d8fc3e5d2a 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.8.0", + "version": "0.9.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 c2eea1e8cb..2450280d54 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.8.0", + "version": "0.9.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 7d7dbbd493..889c8420aa 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.8.0", + "version": "0.9.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 a46ca80187..4fe0940242 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.8.0", + "version": "0.9.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 6e0fcfd97f..efbd1580bd 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.8.0", + "version": "0.9.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 705c8c7749..9527bafbbf 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.8.0", + "version": "0.9.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 17cabc513c..e5f6413956 100644 --- a/package-lock.json +++ b/package-lock.json @@ -14,7 +14,7 @@ }, "crates/solidity/outputs/npm/package": { "name": "@nomicfoundation/slang", - "version": "0.8.0", + "version": "0.9.0", "license": "MIT", "devDependencies": { "@napi-rs/cli": "2.16.1", @@ -24,15 +24,15 @@ "node": ">= 10" }, "optionalDependencies": { - "@nomicfoundation/slang-darwin-arm64": "0.8.0", - "@nomicfoundation/slang-darwin-x64": "0.8.0", - "@nomicfoundation/slang-linux-arm64-gnu": "0.8.0", - "@nomicfoundation/slang-linux-arm64-musl": "0.8.0", - "@nomicfoundation/slang-linux-x64-gnu": "0.8.0", - "@nomicfoundation/slang-linux-x64-musl": "0.8.0", - "@nomicfoundation/slang-win32-arm64-msvc": "0.8.0", - "@nomicfoundation/slang-win32-ia32-msvc": "0.8.0", - "@nomicfoundation/slang-win32-x64-msvc": "0.8.0" + "@nomicfoundation/slang-darwin-arm64": "0.9.0", + "@nomicfoundation/slang-darwin-x64": "0.9.0", + "@nomicfoundation/slang-linux-arm64-gnu": "0.9.0", + "@nomicfoundation/slang-linux-arm64-musl": "0.9.0", + "@nomicfoundation/slang-linux-x64-gnu": "0.9.0", + "@nomicfoundation/slang-linux-x64-musl": "0.9.0", + "@nomicfoundation/slang-win32-arm64-msvc": "0.9.0", + "@nomicfoundation/slang-win32-ia32-msvc": "0.9.0", + "@nomicfoundation/slang-win32-x64-msvc": "0.9.0" } }, "crates/solidity/outputs/npm/package/target/dist": { @@ -846,141 +846,6 @@ "resolved": "crates/solidity/outputs/npm/package", "link": true }, - "node_modules/@nomicfoundation/slang-darwin-arm64": { - "version": "0.8.0", - "resolved": "https://registry.npmjs.org/@nomicfoundation/slang-darwin-arm64/-/slang-darwin-arm64-0.8.0.tgz", - "integrity": "sha512-2uL9HwfXQq+ISYNs/uWIwBxY8HfdJ/OefzbOuL9zXBfIhN4m8YTuhjBTxFIynrGR2ML70Hrg71/7FFBzTR3sug==", - "cpu": [ - "arm64" - ], - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@nomicfoundation/slang-darwin-x64": { - "version": "0.8.0", - "resolved": "https://registry.npmjs.org/@nomicfoundation/slang-darwin-x64/-/slang-darwin-x64-0.8.0.tgz", - "integrity": "sha512-ef84CmKPiQKahWoUeIqHcuzMNF2ZDzNwwuAN6g/pSYK9w5kHjYAlY+tOdB0N/OGLLrmfiKyVmW6jnt5YhH24lA==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@nomicfoundation/slang-linux-arm64-gnu": { - "version": "0.8.0", - "resolved": "https://registry.npmjs.org/@nomicfoundation/slang-linux-arm64-gnu/-/slang-linux-arm64-gnu-0.8.0.tgz", - "integrity": "sha512-N7MuN7vcXU1dZl+jsFwMJLnU50pkz9l5Xzp2ENOjO4yzGxRiXUK19Rmom5HuQRbPqpX0e3OZnn/t1vLwxhWHAw==", - "cpu": [ - "arm64" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@nomicfoundation/slang-linux-arm64-musl": { - "version": "0.8.0", - "resolved": "https://registry.npmjs.org/@nomicfoundation/slang-linux-arm64-musl/-/slang-linux-arm64-musl-0.8.0.tgz", - "integrity": "sha512-77gHl18/IagBpqd2SNmk5+GgolFKw0haLHR6P/5kN6ZIim23x7CaxouCiYNJWvTsAbbuPzu6DjSqAmqp78+t7g==", - "cpu": [ - "arm64" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@nomicfoundation/slang-linux-x64-gnu": { - "version": "0.8.0", - "resolved": "https://registry.npmjs.org/@nomicfoundation/slang-linux-x64-gnu/-/slang-linux-x64-gnu-0.8.0.tgz", - "integrity": "sha512-hS87nklsb9wlnJm3oky+74plyvgmeYJKGpydtp95DDmkN8SExRAeoQn9bd0PbQuCRfqorrpljSbAkFYqg2OeeQ==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@nomicfoundation/slang-linux-x64-musl": { - "version": "0.8.0", - "resolved": "https://registry.npmjs.org/@nomicfoundation/slang-linux-x64-musl/-/slang-linux-x64-musl-0.8.0.tgz", - "integrity": "sha512-CwUPpKKrgIzUwxxUP23M2nKks3oYYC5e+loIZSjIY0FozAINF7ERcri39NE6XHrcrrVeX9V7wx+J0gS8LDcWQw==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@nomicfoundation/slang-win32-arm64-msvc": { - "version": "0.8.0", - "resolved": "https://registry.npmjs.org/@nomicfoundation/slang-win32-arm64-msvc/-/slang-win32-arm64-msvc-0.8.0.tgz", - "integrity": "sha512-dV94XK6QF4FHSA1hnzYCnoIJrzJclb3/Ym5vwwT4fWd2IESyw3iZmKr0qpVb3YlyiMtPmfn4IX+qMBMoEbB6fg==", - "cpu": [ - "arm64" - ], - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@nomicfoundation/slang-win32-ia32-msvc": { - "version": "0.8.0", - "resolved": "https://registry.npmjs.org/@nomicfoundation/slang-win32-ia32-msvc/-/slang-win32-ia32-msvc-0.8.0.tgz", - "integrity": "sha512-GI6EHa4i6+UEhIwJiHS2gffI9JetUGHKL7pUaWkOzyPLdqDxhZt17M7o4q7HSSvUCBNLKa8e7fzh03QL54UB6w==", - "cpu": [ - "ia32" - ], - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@nomicfoundation/slang-win32-x64-msvc": { - "version": "0.8.0", - "resolved": "https://registry.npmjs.org/@nomicfoundation/slang-win32-x64-msvc/-/slang-win32-x64-msvc-0.8.0.tgz", - "integrity": "sha512-1l9bqE6Gj1dhbrvtCeidsnD8XQAaTTWu3uCERf2NJd5mks6ElpZrQ6BON6zEsMjY6UhpX6MUGZPo7R2dvW8SvQ==", - "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", @@ -8262,7 +8127,7 @@ } }, "scripts/changelog": { - "version": "0.8.0", + "version": "0.9.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 c67ba58146..32dd8d23d7 100644 --- a/scripts/changelog/CHANGELOG.md +++ b/scripts/changelog/CHANGELOG.md @@ -1,5 +1,27 @@ # changelog +## 0.9.0 + +### Minor Changes + +- [#540](https://github.com/NomicFoundation/slang/pull/540) [`0d04f95`](https://github.com/NomicFoundation/slang/commit/0d04f959bf1f5831c912d5109de3d933cfaa6266) Thanks [@AntonyBlakey](https://github.com/AntonyBlakey)! - Add a Rust Cursor API and refactor the Rust Visitor API to run on top of it. + +- [#540](https://github.com/NomicFoundation/slang/pull/540) [`0d04f95`](https://github.com/NomicFoundation/slang/commit/0d04f959bf1f5831c912d5109de3d933cfaa6266) Thanks [@AntonyBlakey](https://github.com/AntonyBlakey)! - Move Visitor et al to node:: namespace, which is where Cursor is. + +- [#540](https://github.com/NomicFoundation/slang/pull/540) [`0d04f95`](https://github.com/NomicFoundation/slang/commit/0d04f959bf1f5831c912d5109de3d933cfaa6266) Thanks [@AntonyBlakey](https://github.com/AntonyBlakey)! - Rename `range` functions that return a TextRange to `text_range` + +### Patch Changes + +- [#543](https://github.com/NomicFoundation/slang/pull/543) [`7a34599`](https://github.com/NomicFoundation/slang/commit/7a34599f6b237b03a0f8ba92755cae6107589e37) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - Move `syntax::parser::ProductionKind` to `syntax::nodes` namespace. + +- [#540](https://github.com/NomicFoundation/slang/pull/540) [`0d04f95`](https://github.com/NomicFoundation/slang/commit/0d04f959bf1f5831c912d5109de3d933cfaa6266) Thanks [@AntonyBlakey](https://github.com/AntonyBlakey)! - Add TokenNode.text to the TS API. + +- [#540](https://github.com/NomicFoundation/slang/pull/540) [`0d04f95`](https://github.com/NomicFoundation/slang/commit/0d04f959bf1f5831c912d5109de3d933cfaa6266) Thanks [@AntonyBlakey](https://github.com/AntonyBlakey)! - Add first pass of Typescript binding to the Cursor API, but no TS Visitor yet. + +- [#545](https://github.com/NomicFoundation/slang/pull/545) [`e73658a`](https://github.com/NomicFoundation/slang/commit/e73658ae4e777e78a01e213f213e2a5dc13e5cba) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - render EBNF grammar on top of each `ProductionKind`, `RuleKind`, and `TokenKind`. + +- [#558](https://github.com/NomicFoundation/slang/pull/558) [`95bbc50`](https://github.com/NomicFoundation/slang/commit/95bbc5025fbf63b8d4e07f7652a70a7f66363db6) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - Correct versioning for `SourceUnitMember` and `ContractMember` children. + ## 0.8.0 ### Minor Changes diff --git a/scripts/changelog/package.json b/scripts/changelog/package.json index 9093906824..f61cbe4da1 100644 --- a/scripts/changelog/package.json +++ b/scripts/changelog/package.json @@ -1,6 +1,6 @@ { "name": "changelog", - "version": "0.8.0", + "version": "0.9.0", "dependencies": { "@actions/github": "5.1.1", "@changesets/changelog-github": "0.4.8",