From 579f2789ce2cc009d644650b30057f7b5d953d7e Mon Sep 17 00:00:00 2001 From: hugrbot Date: Fri, 10 Oct 2025 17:30:56 +0200 Subject: [PATCH] chore: release --- Cargo.lock | 14 +++++++------- hugr-cli/CHANGELOG.md | 6 ++++++ hugr-cli/Cargo.toml | 4 ++-- hugr-core/CHANGELOG.md | 11 +++++++++++ hugr-core/Cargo.toml | 4 ++-- hugr-llvm/CHANGELOG.md | 7 +++++++ hugr-llvm/Cargo.toml | 4 ++-- hugr-model/Cargo.toml | 2 +- hugr-passes/CHANGELOG.md | 6 ++++++ hugr-passes/Cargo.toml | 4 ++-- hugr-persistent/CHANGELOG.md | 6 ++++++ hugr-persistent/Cargo.toml | 4 ++-- hugr-py/Cargo.toml | 4 ++-- hugr/CHANGELOG.md | 12 ++++++++++++ hugr/Cargo.toml | 12 ++++++------ 15 files changed, 74 insertions(+), 26 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 8983dc3c1..fca9cb638 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1212,7 +1212,7 @@ checksum = "6dbf3de79e51f3d586ab4cb9d5c3e2c14aa28ed23d180cf89b4df0454a69cc87" [[package]] name = "hugr" -version = "0.23.0" +version = "0.23.1" dependencies = [ "bumpalo", "criterion", @@ -1226,7 +1226,7 @@ dependencies = [ [[package]] name = "hugr-cli" -version = "0.23.0" +version = "0.23.1" dependencies = [ "anyhow", "assert_cmd", @@ -1247,7 +1247,7 @@ dependencies = [ [[package]] name = "hugr-core" -version = "0.23.0" +version = "0.23.1" dependencies = [ "anyhow", "base64", @@ -1291,7 +1291,7 @@ dependencies = [ [[package]] name = "hugr-llvm" -version = "0.23.0" +version = "0.23.1" dependencies = [ "anyhow", "cc", @@ -1310,7 +1310,7 @@ dependencies = [ [[package]] name = "hugr-model" -version = "0.23.0" +version = "0.23.1" dependencies = [ "base64", "bumpalo", @@ -1335,7 +1335,7 @@ dependencies = [ [[package]] name = "hugr-passes" -version = "0.23.0" +version = "0.23.1" dependencies = [ "ascent", "derive_more 1.0.0", @@ -1353,7 +1353,7 @@ dependencies = [ [[package]] name = "hugr-persistent" -version = "0.3.0" +version = "0.3.1" dependencies = [ "delegate", "derive_more 1.0.0", diff --git a/hugr-cli/CHANGELOG.md b/hugr-cli/CHANGELOG.md index 42d0552ea..1143f9025 100644 --- a/hugr-cli/CHANGELOG.md +++ b/hugr-cli/CHANGELOG.md @@ -1,6 +1,12 @@ # Changelog +## [0.23.1](https://github.com/CQCL/hugr/compare/hugr-cli-v0.23.0...hugr-cli-v0.23.1) - 2025-10-10 + +### Documentation + +- update cli readme ([#2601](https://github.com/CQCL/hugr/pull/2601)) + ## [0.22.3](https://github.com/CQCL/hugr/compare/hugr-cli-v0.22.2...hugr-cli-v0.22.3) - 2025-09-11 ### New Features diff --git a/hugr-cli/Cargo.toml b/hugr-cli/Cargo.toml index 09d9127f4..dc87b5154 100644 --- a/hugr-cli/Cargo.toml +++ b/hugr-cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hugr-cli" -version = "0.23.0" +version = "0.23.1" edition = { workspace = true } rust-version = { workspace = true } license = { workspace = true } @@ -19,7 +19,7 @@ bench = false clap = { workspace = true, features = ["derive", "cargo"] } clap-verbosity-flag.workspace = true derive_more = { workspace = true, features = ["display", "error", "from"] } -hugr = { path = "../hugr", version = "0.23.0" } +hugr = { path = "../hugr", version = "0.23.1" } serde_json.workspace = true clio = { workspace = true, features = ["clap-parse"] } anyhow.workspace = true diff --git a/hugr-core/CHANGELOG.md b/hugr-core/CHANGELOG.md index c5f36eded..712c5d65a 100644 --- a/hugr-core/CHANGELOG.md +++ b/hugr-core/CHANGELOG.md @@ -1,5 +1,16 @@ # Changelog +## [0.23.1](https://github.com/CQCL/hugr/compare/hugr-core-v0.23.0...hugr-core-v0.23.1) - 2025-10-10 + +### Bug Fixes + +- Preserve offset for CFG edges when serializing to JSON ([#2606](https://github.com/CQCL/hugr/pull/2606)) + +### New Features + +- LLVM lowering for borrow arrays using bitmasks ([#2574](https://github.com/CQCL/hugr/pull/2574)) +- *(py, core, llvm)* add `is_borrowed` op for BorrowArray ([#2610](https://github.com/CQCL/hugr/pull/2610)) + ## [0.23.0](https://github.com/CQCL/hugr/compare/hugr-core-v0.22.4...hugr-core-v0.23.0) - 2025-09-30 ### Bug Fixes diff --git a/hugr-core/Cargo.toml b/hugr-core/Cargo.toml index e0115e004..de8a0b720 100644 --- a/hugr-core/Cargo.toml +++ b/hugr-core/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hugr-core" -version = "0.23.0" +version = "0.23.1" edition = { workspace = true } rust-version = { workspace = true } @@ -28,7 +28,7 @@ bench = false name = "model" [dependencies] -hugr-model = { version = "0.23.0", path = "../hugr-model" } +hugr-model = { version = "0.23.1", path = "../hugr-model" } cgmath = { workspace = true, features = ["serde"] } delegate = { workspace = true } diff --git a/hugr-llvm/CHANGELOG.md b/hugr-llvm/CHANGELOG.md index fc365c908..2e49e1dd2 100644 --- a/hugr-llvm/CHANGELOG.md +++ b/hugr-llvm/CHANGELOG.md @@ -1,6 +1,13 @@ # Changelog +## [0.23.1](https://github.com/CQCL/hugr/compare/hugr-llvm-v0.23.0...hugr-llvm-v0.23.1) - 2025-10-10 + +### New Features + +- LLVM lowering for borrow arrays using bitmasks ([#2574](https://github.com/CQCL/hugr/pull/2574)) +- *(py, core, llvm)* add `is_borrowed` op for BorrowArray ([#2610](https://github.com/CQCL/hugr/pull/2610)) + ## [0.23.0](https://github.com/CQCL/hugr/compare/hugr-llvm-v0.22.4...hugr-llvm-v0.23.0) - 2025-09-30 ### Miscellaneous Tasks diff --git a/hugr-llvm/Cargo.toml b/hugr-llvm/Cargo.toml index 5c01a9179..5bcd599b2 100644 --- a/hugr-llvm/Cargo.toml +++ b/hugr-llvm/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hugr-llvm" -version = "0.23.0" +version = "0.23.1" 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.6.0", default-features = false } -hugr-core = { path = "../hugr-core", version = "0.23.0" } +hugr-core = { path = "../hugr-core", version = "0.23.1" } anyhow.workspace = true itertools.workspace = true delegate.workspace = true diff --git a/hugr-model/Cargo.toml b/hugr-model/Cargo.toml index 0b7ade84e..c63ac0a4e 100644 --- a/hugr-model/Cargo.toml +++ b/hugr-model/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hugr-model" -version = "0.23.0" +version = "0.23.1" 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 0d52ce605..9bea36bff 100644 --- a/hugr-passes/CHANGELOG.md +++ b/hugr-passes/CHANGELOG.md @@ -1,6 +1,12 @@ # Changelog +## [0.23.1](https://github.com/CQCL/hugr/compare/hugr-passes-v0.23.0...hugr-passes-v0.23.1) - 2025-10-10 + +### New Features + +- Add handler for copying / discarding borrow arrays to default lineariser ([#2602](https://github.com/CQCL/hugr/pull/2602)) + ## [0.23.0](https://github.com/CQCL/hugr/compare/hugr-passes-v0.22.4...hugr-passes-v0.23.0) - 2025-09-30 ### Bug Fixes diff --git a/hugr-passes/Cargo.toml b/hugr-passes/Cargo.toml index d2cd73109..060ca50e4 100644 --- a/hugr-passes/Cargo.toml +++ b/hugr-passes/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hugr-passes" -version = "0.23.0" +version = "0.23.1" 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.23.0" } +hugr-core = { path = "../hugr-core", version = "0.23.1" } portgraph = { workspace = true } ascent = { version = "0.8.0" } derive_more = { workspace = true, features = ["display", "error", "from"] } diff --git a/hugr-persistent/CHANGELOG.md b/hugr-persistent/CHANGELOG.md index 0bfab942f..232c6f569 100644 --- a/hugr-persistent/CHANGELOG.md +++ b/hugr-persistent/CHANGELOG.md @@ -1,6 +1,12 @@ # Changelog +## [0.3.1](https://github.com/CQCL/hugr/compare/hugr-persistent-v0.3.0...hugr-persistent-v0.3.1) - 2025-10-10 + +### Bug Fixes + +- *(test)* No extension serialisation in persistent-hugr testing ([#2612](https://github.com/CQCL/hugr/pull/2612)) + ## [0.3.0](https://github.com/CQCL/hugr/compare/hugr-persistent-v0.2.3...hugr-persistent-v0.3.0) - 2025-09-30 ### Miscellaneous Tasks diff --git a/hugr-persistent/Cargo.toml b/hugr-persistent/Cargo.toml index 957c3dfe6..93a64a886 100644 --- a/hugr-persistent/Cargo.toml +++ b/hugr-persistent/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hugr-persistent" -version = "0.3.0" +version = "0.3.1" 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.23.0" } +hugr-core = { path = "../hugr-core", version = "0.23.1" } derive_more = { workspace = true, features = ["display", "error", "from"] } delegate.workspace = true diff --git a/hugr-py/Cargo.toml b/hugr-py/Cargo.toml index e1c0c48e8..62ca4d67a 100644 --- a/hugr-py/Cargo.toml +++ b/hugr-py/Cargo.toml @@ -21,7 +21,7 @@ bench = false [dependencies] bumpalo = { workspace = true, features = ["collections"] } -hugr-core = { version = "0.23.0", path = "../hugr-core", features = ["zstd"] } -hugr-model = { version = "0.23.0", path = "../hugr-model", features = ["pyo3"] } +hugr-core = { version = "0.23.1", path = "../hugr-core", features = ["zstd"] } +hugr-model = { version = "0.23.1", path = "../hugr-model", features = ["pyo3"] } pastey.workspace = true pyo3 = { workspace = true, features = ["extension-module", "abi3-py310"] } diff --git a/hugr/CHANGELOG.md b/hugr/CHANGELOG.md index 5cafe2ef1..2af580aef 100644 --- a/hugr/CHANGELOG.md +++ b/hugr/CHANGELOG.md @@ -1,5 +1,17 @@ # Changelog +## [0.23.1](https://github.com/CQCL/hugr/compare/hugr-v0.23.0...hugr-v0.23.1) - 2025-10-10 + +### Bug Fixes + +- Preserve offset for CFG edges when serializing to JSON ([#2606](https://github.com/CQCL/hugr/pull/2606)) + +### New Features + +- Add handler for copying / discarding borrow arrays to default lineariser ([#2602](https://github.com/CQCL/hugr/pull/2602)) +- LLVM lowering for borrow arrays using bitmasks ([#2574](https://github.com/CQCL/hugr/pull/2574)) +- *(py, core, llvm)* add `is_borrowed` op for BorrowArray ([#2610](https://github.com/CQCL/hugr/pull/2610)) + ## [0.23.0](https://github.com/CQCL/hugr/compare/hugr-v0.22.4...hugr-v0.23.0) - 2025-09-30 ### Bug Fixes diff --git a/hugr/Cargo.toml b/hugr/Cargo.toml index 4c4b8d372..b8ebc08cc 100644 --- a/hugr/Cargo.toml +++ b/hugr/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hugr" -version = "0.23.0" +version = "0.23.1" 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.23.0" } -hugr-core = { path = "../hugr-core", version = "0.23.0" } -hugr-passes = { path = "../hugr-passes", version = "0.23.0" } -hugr-llvm = { path = "../hugr-llvm", version = "0.23.0", optional = true } -hugr-persistent = { path = "../hugr-persistent", version = "0.3.0", optional = true } +hugr-model = { path = "../hugr-model", version = "0.23.1" } +hugr-core = { path = "../hugr-core", version = "0.23.1" } +hugr-passes = { path = "../hugr-passes", version = "0.23.1" } +hugr-llvm = { path = "../hugr-llvm", version = "0.23.1", optional = true } +hugr-persistent = { path = "../hugr-persistent", version = "0.3.1", optional = true } [dev-dependencies] serde_json = { workspace = true }