diff --git a/.release-please-manifest.json b/.release-please-manifest.json index dfd563f3..42b44323 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.34.0" + ".": "0.35.0" } diff --git a/CHANGELOG.md b/CHANGELOG.md index 91ee6c31..3a1e5840 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,18 @@ the ANTLR-style `-listener`, `-no-listener`, `-visitor`, and `-no-visitor` spellings. Use the corresponding double-dash options. +## [0.35.0](https://github.com/ophi-dev/antlr-rust-runtime/compare/v0.34.0...v0.35.0) (2026-08-29) + + +### Features + +* **codegen:** inline trivial pure parser rules before ATN construction ([#352](https://github.com/ophi-dev/antlr-rust-runtime/issues/352)) ([5caa7d3](https://github.com/ophi-dev/antlr-rust-runtime/commit/5caa7d3e3910c157410dd2b3a902202bf4cad5cc)) + + +### Performance Improvements + +* **codegen:** encode generated data tables as compact blobs ([#360](https://github.com/ophi-dev/antlr-rust-runtime/issues/360)) ([a056c71](https://github.com/ophi-dev/antlr-rust-runtime/commit/a056c71869ac557efa811eb888c1238d167c2ac9)) + ## [0.34.0](https://github.com/ophi-dev/antlr-rust-runtime/compare/v0.33.1...v0.34.0) (2026-08-17) diff --git a/Cargo.lock b/Cargo.lock index 0905cf39..a233c692 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -100,7 +100,7 @@ dependencies = [ [[package]] name = "antlr-rust-codegen" -version = "0.34.0" +version = "0.35.0" dependencies = [ "anstream", "anstyle", @@ -127,7 +127,7 @@ dependencies = [ [[package]] name = "antlr-rust-g4-parser" -version = "0.34.0" +version = "0.35.0" dependencies = [ "antlr-rust-runtime", "insta", @@ -136,7 +136,7 @@ dependencies = [ [[package]] name = "antlr-rust-rs-parser" -version = "0.34.0" +version = "0.35.0" dependencies = [ "antlr-rust-runtime", "insta", @@ -144,7 +144,7 @@ dependencies = [ [[package]] name = "antlr-rust-runtime" -version = "0.34.0" +version = "0.35.0" dependencies = [ "insta", "memchr", @@ -154,7 +154,7 @@ dependencies = [ [[package]] name = "antlr-rust-runtime-testsuite" -version = "0.34.0" +version = "0.35.0" dependencies = [ "antlr-rust-codegen", "antlr-rust-runtime", @@ -163,7 +163,7 @@ dependencies = [ [[package]] name = "antlr-rust-toml-parser" -version = "0.34.0" +version = "0.35.0" dependencies = [ "antlr-rust-runtime", "insta", diff --git a/Cargo.toml b/Cargo.toml index b0afa1e8..9bb2bca3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -19,7 +19,7 @@ resolver = "3" [workspace.package] # x-release-please-start-version -version = "0.34.0" +version = "0.35.0" # x-release-please-end edition = "2024" rust-version = "1.95" @@ -30,11 +30,11 @@ homepage = "https://github.com/ophi-dev/antlr-rust-runtime" [workspace.dependencies] # x-release-please-start-version -antlr-rust-runtime = { path = "crates/antlr-rust-runtime", version = "=0.34.0" } -antlr-rust-g4-parser = { path = "crates/antlr-rust-g4-parser", version = "=0.34.0" } -antlr-rust-rs-parser = { path = "crates/antlr-rust-rs-parser", version = "=0.34.0" } -antlr-rust-toml-parser = { path = "crates/antlr-rust-toml-parser", version = "=0.34.0" } -antlr-rust-codegen = { path = "crates/antlr-rust-codegen", version = "=0.34.0" } +antlr-rust-runtime = { path = "crates/antlr-rust-runtime", version = "=0.35.0" } +antlr-rust-g4-parser = { path = "crates/antlr-rust-g4-parser", version = "=0.35.0" } +antlr-rust-rs-parser = { path = "crates/antlr-rust-rs-parser", version = "=0.35.0" } +antlr-rust-toml-parser = { path = "crates/antlr-rust-toml-parser", version = "=0.35.0" } +antlr-rust-codegen = { path = "crates/antlr-rust-codegen", version = "=0.35.0" } # x-release-please-end icu_properties = { version = "2.2.0", features = ["alloc"] } insta = { version = "1", default-features = false } diff --git a/README.md b/README.md index af06a339..7b40c1f8 100644 --- a/README.md +++ b/README.md @@ -36,10 +36,10 @@ For Rust projects, add the runtime crate: ```toml [dependencies] -antlr-rust-runtime = "0.34.0" +antlr-rust-runtime = "0.35.0" [build-dependencies] -antlr-rust-codegen = "0.34.0" +antlr-rust-codegen = "0.35.0" ``` diff --git a/VERSION b/VERSION index 85e60ed1..7b52f5e5 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.34.0 +0.35.0 diff --git a/crates/antlr-rust-codegen/README.md b/crates/antlr-rust-codegen/README.md index d397e53a..160cc3f6 100644 --- a/crates/antlr-rust-codegen/README.md +++ b/crates/antlr-rust-codegen/README.md @@ -8,10 +8,10 @@ Use it from a build script: ```toml # x-release-please-start-version [dependencies] -antlr-rust-runtime = "0.34.0" +antlr-rust-runtime = "0.35.0" [build-dependencies] -antlr-rust-codegen = "0.34.0" +antlr-rust-codegen = "0.35.0" # x-release-please-end ``` diff --git a/docs/migration.md b/docs/migration.md index 0d259df7..cf6b2b96 100644 --- a/docs/migration.md +++ b/docs/migration.md @@ -169,10 +169,10 @@ Rust build scripts can instead use the same generation pipeline as a library: ```toml [dependencies] -antlr-rust-runtime = "0.34.0" +antlr-rust-runtime = "0.35.0" [build-dependencies] -antlr-rust-codegen = "0.34.0" +antlr-rust-codegen = "0.35.0" ```