diff --git a/Cargo.lock b/Cargo.lock index b12439fe40..bd05c0292b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1327,7 +1327,7 @@ checksum = "6dbf3de79e51f3d586ab4cb9d5c3e2c14aa28ed23d180cf89b4df0454a69cc87" [[package]] name = "hugr" -version = "0.25.6" +version = "0.25.7" dependencies = [ "bumpalo", "criterion", @@ -1341,7 +1341,7 @@ dependencies = [ [[package]] name = "hugr-cli" -version = "0.25.6" +version = "0.25.7" dependencies = [ "anyhow", "assert_cmd", @@ -1365,7 +1365,7 @@ dependencies = [ [[package]] name = "hugr-core" -version = "0.25.6" +version = "0.25.7" dependencies = [ "anyhow", "base64", @@ -1410,7 +1410,7 @@ dependencies = [ [[package]] name = "hugr-llvm" -version = "0.25.6" +version = "0.25.7" dependencies = [ "anyhow", "cc", @@ -1430,7 +1430,7 @@ dependencies = [ [[package]] name = "hugr-model" -version = "0.25.6" +version = "0.25.7" dependencies = [ "base64", "bumpalo", @@ -1455,7 +1455,7 @@ dependencies = [ [[package]] name = "hugr-passes" -version = "0.25.6" +version = "0.25.7" dependencies = [ "ascent", "derive_more 2.1.1", @@ -1475,7 +1475,7 @@ dependencies = [ [[package]] name = "hugr-persistent" -version = "0.4.6" +version = "0.4.7" dependencies = [ "delegate", "derive_more 2.1.1", diff --git a/hugr-cli/Cargo.toml b/hugr-cli/Cargo.toml index 65fb51c084..394b9b42fd 100644 --- a/hugr-cli/Cargo.toml +++ b/hugr-cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hugr-cli" -version = "0.25.6" +version = "0.25.7" edition = { workspace = true } rust-version = { workspace = true } license = { workspace = true } @@ -23,7 +23,7 @@ tracing = ["dep:tracing", "dep:tracing-subscriber"] clap = { workspace = true, features = ["derive", "cargo"] } clap-verbosity-flag.workspace = true derive_more = { workspace = true, features = ["display", "error", "from"] } -hugr = { path = "../hugr", version = "0.25.6" } +hugr = { path = "../hugr", version = "0.25.7" } serde_json.workspace = true serde = { workspace = true, features = ["derive"] } clio = { workspace = true, features = ["clap-parse"] } diff --git a/hugr-core/CHANGELOG.md b/hugr-core/CHANGELOG.md index a927c94907..642134b9ca 100644 --- a/hugr-core/CHANGELOG.md +++ b/hugr-core/CHANGELOG.md @@ -1,6 +1,12 @@ # Changelog +## [0.25.7](https://github.com/Quantinuum/hugr/compare/hugr-core-v0.25.6...hugr-core-v0.25.7) - 2026-03-06 + +### Documentation + +- added examples in docs srtring ([#2920](https://github.com/Quantinuum/hugr/pull/2920)) + ## [0.25.6](https://github.com/Quantinuum/hugr/compare/hugr-core-v0.25.5...hugr-core-v0.25.6) - 2026-02-20 ### Bug Fixes diff --git a/hugr-core/Cargo.toml b/hugr-core/Cargo.toml index c811079531..22585ffa90 100644 --- a/hugr-core/Cargo.toml +++ b/hugr-core/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hugr-core" -version = "0.25.6" +version = "0.25.7" edition = { workspace = true } rust-version = { workspace = true } @@ -28,7 +28,7 @@ bench = false name = "model" [dependencies] -hugr-model = { version = "0.25.6", path = "../hugr-model" } +hugr-model = { version = "0.25.7", path = "../hugr-model" } cgmath = { workspace = true, features = ["serde"] } delegate = { workspace = true } diff --git a/hugr-llvm/Cargo.toml b/hugr-llvm/Cargo.toml index 92408e775d..573c07081f 100644 --- a/hugr-llvm/Cargo.toml +++ b/hugr-llvm/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hugr-llvm" -version = "0.25.6" +version = "0.25.7" description = "A general and extensible crate for lowering HUGRs into LLVM IR" edition.workspace = true @@ -26,7 +26,7 @@ workspace = true [dependencies] inkwell = { version = ">=0.7.1, <0.9", default-features = false } -hugr-core = { path = "../hugr-core", version = "0.25.6" } +hugr-core = { path = "../hugr-core", version = "0.25.7" } anyhow.workspace = true itertools.workspace = true delegate.workspace = true diff --git a/hugr-model/Cargo.toml b/hugr-model/Cargo.toml index 3f34f9de24..a1fe693646 100644 --- a/hugr-model/Cargo.toml +++ b/hugr-model/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hugr-model" -version = "0.25.6" +version = "0.25.7" readme = "README.md" documentation = "https://docs.rs/hugr-model/" description = "Data model for Quantinuum's HUGR intermediate representation" diff --git a/hugr-passes/CHANGELOG.md b/hugr-passes/CHANGELOG.md index 1eb2506633..fa0e02367d 100644 --- a/hugr-passes/CHANGELOG.md +++ b/hugr-passes/CHANGELOG.md @@ -1,6 +1,19 @@ # Changelog +## [0.25.7](https://github.com/Quantinuum/hugr/compare/hugr-passes-v0.25.6...hugr-passes-v0.25.7) - 2026-03-06 + +### Documentation + +- added examples in docs srtring ([#2920](https://github.com/Quantinuum/hugr/pull/2920)) + +### New Features + +- Define pass application scopes ([#2772](https://github.com/Quantinuum/hugr/pull/2772)) +- Modify dead code elimination pass to remove unreachable basic blocks ([#2884](https://github.com/Quantinuum/hugr/pull/2884)) +- Add non-generic `with_scope` method for composable passes ([#2910](https://github.com/Quantinuum/hugr/pull/2910)) +- update passes to use PassScope where non-breaking ([#2836](https://github.com/Quantinuum/hugr/pull/2836)) + ## [0.25.6](https://github.com/Quantinuum/hugr/compare/hugr-passes-v0.25.5...hugr-passes-v0.25.6) - 2026-02-20 ### Bug Fixes diff --git a/hugr-passes/Cargo.toml b/hugr-passes/Cargo.toml index fbfd5420ef..0834e622e6 100644 --- a/hugr-passes/Cargo.toml +++ b/hugr-passes/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hugr-passes" -version = "0.25.6" +version = "0.25.7" edition = { workspace = true } rust-version = { workspace = true } license = { workspace = true } @@ -19,7 +19,7 @@ workspace = true bench = false [dependencies] -hugr-core = { path = "../hugr-core", version = "0.25.6" } +hugr-core = { path = "../hugr-core", version = "0.25.7" } portgraph = { workspace = true } ascent = { version = "0.8.0" } derive_more = { workspace = true, features = [ diff --git a/hugr-persistent/Cargo.toml b/hugr-persistent/Cargo.toml index e632ef02f3..39ee7a12a4 100644 --- a/hugr-persistent/Cargo.toml +++ b/hugr-persistent/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hugr-persistent" -version = "0.4.6" +version = "0.4.7" edition = { workspace = true } rust-version = { workspace = true } license = { workspace = true } @@ -16,7 +16,7 @@ categories = ["compilers"] name = "persistent_walker_example" [dependencies] -hugr-core = { path = "../hugr-core", version = "0.25.6" } +hugr-core = { path = "../hugr-core", version = "0.25.7" } derive_more = { workspace = true, features = [ "display", diff --git a/hugr-py/Cargo.toml b/hugr-py/Cargo.toml index b96ed7b2e9..2bd45caf59 100644 --- a/hugr-py/Cargo.toml +++ b/hugr-py/Cargo.toml @@ -21,9 +21,9 @@ bench = false [dependencies] bumpalo = { workspace = true, features = ["collections"] } -hugr-core = { version = "0.25.6", path = "../hugr-core", default-features = false } -hugr-cli = { version = "0.25.6", path = "../hugr-cli", default-features = false } -hugr-model = { version = "0.25.6", path = "../hugr-model", default-features = false, features = [ +hugr-core = { version = "0.25.7", path = "../hugr-core", default-features = false } +hugr-cli = { version = "0.25.7", path = "../hugr-cli", default-features = false } +hugr-model = { version = "0.25.7", path = "../hugr-model", default-features = false, features = [ "pyo3", ] } pastey.workspace = true diff --git a/hugr/CHANGELOG.md b/hugr/CHANGELOG.md index 1c0370bb37..f5fb9cbeee 100644 --- a/hugr/CHANGELOG.md +++ b/hugr/CHANGELOG.md @@ -1,5 +1,18 @@ # Changelog +## [0.25.7](https://github.com/Quantinuum/hugr/compare/hugr-v0.25.6...hugr-v0.25.7) - 2026-03-06 + +### Documentation + +- added examples in docs srtring ([#2920](https://github.com/Quantinuum/hugr/pull/2920)) + +### New Features + +- Define pass application scopes ([#2772](https://github.com/Quantinuum/hugr/pull/2772)) +- Modify dead code elimination pass to remove unreachable basic blocks ([#2884](https://github.com/Quantinuum/hugr/pull/2884)) +- Add non-generic `with_scope` method for composable passes ([#2910](https://github.com/Quantinuum/hugr/pull/2910)) +- update passes to use PassScope where non-breaking ([#2836](https://github.com/Quantinuum/hugr/pull/2836)) + ## [0.25.6](https://github.com/Quantinuum/hugr/compare/hugr-v0.25.5...hugr-v0.25.6) - 2026-02-20 ### Bug Fixes diff --git a/hugr/Cargo.toml b/hugr/Cargo.toml index 0cc14270fc..18be9c3856 100644 --- a/hugr/Cargo.toml +++ b/hugr/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hugr" -version = "0.25.6" +version = "0.25.7" edition = { workspace = true } rust-version = { workspace = true } @@ -31,11 +31,11 @@ zstd = ["hugr-core/zstd"] persistent_unstable = ["hugr-persistent"] [dependencies] -hugr-model = { path = "../hugr-model", version = "0.25.6" } -hugr-core = { path = "../hugr-core", version = "0.25.6" } -hugr-passes = { path = "../hugr-passes", version = "0.25.6" } -hugr-llvm = { path = "../hugr-llvm", version = "0.25.6", optional = true } -hugr-persistent = { path = "../hugr-persistent", version = "0.4.6", optional = true } +hugr-model = { path = "../hugr-model", version = "0.25.7" } +hugr-core = { path = "../hugr-core", version = "0.25.7" } +hugr-passes = { path = "../hugr-passes", version = "0.25.7" } +hugr-llvm = { path = "../hugr-llvm", version = "0.25.7", optional = true } +hugr-persistent = { path = "../hugr-persistent", version = "0.4.7", optional = true } [dev-dependencies] serde_json = { workspace = true }