diff --git a/Cargo.lock b/Cargo.lock index d93c233af2..f2f1b18ae8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1212,7 +1212,7 @@ checksum = "6dbf3de79e51f3d586ab4cb9d5c3e2c14aa28ed23d180cf89b4df0454a69cc87" [[package]] name = "hugr" -version = "0.23.0" +version = "0.24.0" dependencies = [ "bumpalo", "criterion", @@ -1226,7 +1226,7 @@ dependencies = [ [[package]] name = "hugr-cli" -version = "0.23.0" +version = "0.24.0" dependencies = [ "anyhow", "assert_cmd", @@ -1247,7 +1247,7 @@ dependencies = [ [[package]] name = "hugr-core" -version = "0.23.0" +version = "0.24.0" dependencies = [ "anyhow", "base64", @@ -1291,7 +1291,7 @@ dependencies = [ [[package]] name = "hugr-llvm" -version = "0.23.0" +version = "0.24.0" dependencies = [ "anyhow", "cc", @@ -1310,7 +1310,7 @@ dependencies = [ [[package]] name = "hugr-model" -version = "0.23.0" +version = "0.24.0" dependencies = [ "base64", "bumpalo", @@ -1335,7 +1335,7 @@ dependencies = [ [[package]] name = "hugr-passes" -version = "0.23.0" +version = "0.24.0" 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 42d0552ea1..918a7d8886 100644 --- a/hugr-cli/CHANGELOG.md +++ b/hugr-cli/CHANGELOG.md @@ -1,6 +1,12 @@ # Changelog +## [0.24.0](https://github.com/CQCL/hugr/compare/hugr-cli-v0.23.0...hugr-cli-v0.24.0) - 2025-10-13 + +### 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 09d9127f48..d2c2a6b0eb 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.24.0" 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.24.0" } 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 c5f36ededb..c633523aff 100644 --- a/hugr-core/CHANGELOG.md +++ b/hugr-core/CHANGELOG.md @@ -1,5 +1,20 @@ # Changelog +## [0.24.0](https://github.com/CQCL/hugr/compare/hugr-core-v0.23.0...hugr-core-v0.24.0) - 2025-10-13 + +### 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)) + +### Refactor + +- [**breaking**] consistent inout order in borrow array ([#2621](https://github.com/CQCL/hugr/pull/2621)) + ## [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 e0115e004f..904b92765a 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.24.0" 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.24.0", path = "../hugr-model" } cgmath = { workspace = true, features = ["serde"] } delegate = { workspace = true } diff --git a/hugr-llvm/CHANGELOG.md b/hugr-llvm/CHANGELOG.md index fc365c9080..445226e9d8 100644 --- a/hugr-llvm/CHANGELOG.md +++ b/hugr-llvm/CHANGELOG.md @@ -1,6 +1,17 @@ # Changelog +## [0.24.0](https://github.com/CQCL/hugr/compare/hugr-llvm-v0.23.0...hugr-llvm-v0.24.0) - 2025-10-13 + +### 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)) + +### Refactor + +- [**breaking**] consistent inout order in borrow array ([#2621](https://github.com/CQCL/hugr/pull/2621)) + ## [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 5c01a91794..37ef120a2f 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.24.0" 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.24.0" } anyhow.workspace = true itertools.workspace = true delegate.workspace = true diff --git a/hugr-model/Cargo.toml b/hugr-model/Cargo.toml index 0b7ade84ee..ff53f19c28 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.24.0" 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 0d52ce6052..1538563306 100644 --- a/hugr-passes/CHANGELOG.md +++ b/hugr-passes/CHANGELOG.md @@ -1,6 +1,12 @@ # Changelog +## [0.24.0](https://github.com/CQCL/hugr/compare/hugr-passes-v0.23.0...hugr-passes-v0.24.0) - 2025-10-13 + +### 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 d2cd73109e..dc1b4b4383 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.24.0" 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.24.0" } 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 0bfab942f4..b5c68be2cc 100644 --- a/hugr-persistent/CHANGELOG.md +++ b/hugr-persistent/CHANGELOG.md @@ -1,6 +1,16 @@ # Changelog +## [0.3.1](https://github.com/CQCL/hugr/compare/hugr-persistent-v0.3.0...hugr-persistent-v0.3.1) - 2025-10-13 + +### Bug Fixes + +- *(test)* No extension serialisation in persistent-hugr testing ([#2612](https://github.com/CQCL/hugr/pull/2612)) + +### New Features + +- *(persistent)* Redesign CommitStateSpace, bound Commit lifetime ([#2534](https://github.com/CQCL/hugr/pull/2534)) + ## [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 edce0a534e..b4688d89fe 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.24.0" } derive_more = { workspace = true, features = ["display", "error", "from"] } delegate.workspace = true diff --git a/hugr-py/Cargo.toml b/hugr-py/Cargo.toml index e1c0c48e8f..6d5b3349e1 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.24.0", path = "../hugr-core", features = ["zstd"] } +hugr-model = { version = "0.24.0", 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 5cafe2ef13..cce5c7312f 100644 --- a/hugr/CHANGELOG.md +++ b/hugr/CHANGELOG.md @@ -1,5 +1,21 @@ # Changelog +## [0.24.0](https://github.com/CQCL/hugr/compare/hugr-v0.23.0...hugr-v0.24.0) - 2025-10-13 + +### 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)) + +### Refactor + +- [**breaking**] consistent inout order in borrow array ([#2621](https://github.com/CQCL/hugr/pull/2621)) + ## [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 4c4b8d372a..986e23d72f 100644 --- a/hugr/Cargo.toml +++ b/hugr/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hugr" -version = "0.23.0" +version = "0.24.0" 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.24.0" } +hugr-core = { path = "../hugr-core", version = "0.24.0" } +hugr-passes = { path = "../hugr-passes", version = "0.24.0" } +hugr-llvm = { path = "../hugr-llvm", version = "0.24.0", optional = true } +hugr-persistent = { path = "../hugr-persistent", version = "0.3.1", optional = true } [dev-dependencies] serde_json = { workspace = true }