diff --git a/Cargo.lock b/Cargo.lock index 37a5d53617..edfa339d45 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1208,7 +1208,7 @@ checksum = "6dbf3de79e51f3d586ab4cb9d5c3e2c14aa28ed23d180cf89b4df0454a69cc87" [[package]] name = "hugr" -version = "0.22.4" +version = "0.23.0" dependencies = [ "bumpalo", "criterion", @@ -1222,7 +1222,7 @@ dependencies = [ [[package]] name = "hugr-cli" -version = "0.22.4" +version = "0.23.0" dependencies = [ "anyhow", "assert_cmd", @@ -1243,7 +1243,7 @@ dependencies = [ [[package]] name = "hugr-core" -version = "0.22.4" +version = "0.23.0" dependencies = [ "anyhow", "base64", @@ -1287,7 +1287,7 @@ dependencies = [ [[package]] name = "hugr-llvm" -version = "0.22.4" +version = "0.23.0" dependencies = [ "anyhow", "cc", @@ -1306,7 +1306,7 @@ dependencies = [ [[package]] name = "hugr-model" -version = "0.22.4" +version = "0.23.0" dependencies = [ "base64", "bumpalo", @@ -1331,7 +1331,7 @@ dependencies = [ [[package]] name = "hugr-passes" -version = "0.22.4" +version = "0.23.0" dependencies = [ "ascent", "derive_more 1.0.0", @@ -1349,7 +1349,7 @@ dependencies = [ [[package]] name = "hugr-persistent" -version = "0.2.3" +version = "0.3.0" dependencies = [ "delegate", "derive_more 1.0.0", diff --git a/hugr-cli/Cargo.toml b/hugr-cli/Cargo.toml index 71c4756b92..09d9127f48 100644 --- a/hugr-cli/Cargo.toml +++ b/hugr-cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hugr-cli" -version = "0.22.4" +version = "0.23.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.22.4" } +hugr = { path = "../hugr", version = "0.23.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 df47b1cceb..c5f36ededb 100644 --- a/hugr-core/CHANGELOG.md +++ b/hugr-core/CHANGELOG.md @@ -1,5 +1,33 @@ # Changelog +## [0.23.0](https://github.com/CQCL/hugr/compare/hugr-core-v0.22.4...hugr-core-v0.23.0) - 2025-09-30 + +### Bug Fixes + +- [**breaking**] Appease `cargo-audit` by replacing unmaintained dependencies ([#2572](https://github.com/CQCL/hugr/pull/2572)) +- *(core)* check extension versions on model import ([#2580](https://github.com/CQCL/hugr/pull/2580)) +- [**breaking**] test extension version compatibility on ModelWithExts ([#2587](https://github.com/CQCL/hugr/pull/2587)) +- *(core)* check used extension versions against resolved extensions ([#2588](https://github.com/CQCL/hugr/pull/2588)) +- [**breaking**] model import loads Package extensions ([#2590](https://github.com/CQCL/hugr/pull/2590)) + +### Miscellaneous Tasks + +- [**breaking**] Cleanup deprecated definitions ([#2594](https://github.com/CQCL/hugr/pull/2594)) + +### New Features + +- add trait+funcs for linking Hugrs explicitly by Node ([#2521](https://github.com/CQCL/hugr/pull/2521)) +- Documentation and error hints ([#2523](https://github.com/CQCL/hugr/pull/2523)) +- Allow creating DFG builders from existing hugrs ([#2562](https://github.com/CQCL/hugr/pull/2562)) +- add_input/output for arbitrary DFGBuilders ([#2564](https://github.com/CQCL/hugr/pull/2564)) +- [**breaking**] Return error instead of panicking in DFGWrapper::add_{in,out}put ([#2571](https://github.com/CQCL/hugr/pull/2571)) +- *(core)* inner acccesors for WithGenerator error ([#2583](https://github.com/CQCL/hugr/pull/2583)) +- Normalize CFGs ([#2591](https://github.com/CQCL/hugr/pull/2591)) + +### Refactor + +- [**breaking**] Replace lazy_static with std::sync::LazyLock ([#2567](https://github.com/CQCL/hugr/pull/2567)) + ## [0.22.4](https://github.com/CQCL/hugr/compare/hugr-core-v0.22.3...hugr-core-v0.22.4) - 2025-09-24 ### Bug Fixes diff --git a/hugr-core/Cargo.toml b/hugr-core/Cargo.toml index d5b82db49d..e0115e004f 100644 --- a/hugr-core/Cargo.toml +++ b/hugr-core/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hugr-core" -version = "0.22.4" +version = "0.23.0" edition = { workspace = true } rust-version = { workspace = true } @@ -28,7 +28,7 @@ bench = false name = "model" [dependencies] -hugr-model = { version = "0.22.4", path = "../hugr-model" } +hugr-model = { version = "0.23.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 e3a9efd165..fc365c9080 100644 --- a/hugr-llvm/CHANGELOG.md +++ b/hugr-llvm/CHANGELOG.md @@ -1,6 +1,20 @@ # Changelog +## [0.23.0](https://github.com/CQCL/hugr/compare/hugr-llvm-v0.22.4...hugr-llvm-v0.23.0) - 2025-09-30 + +### Miscellaneous Tasks + +- [**breaking**] Cleanup deprecated definitions ([#2594](https://github.com/CQCL/hugr/pull/2594)) + +### Refactor + +- [**breaking**] Replace lazy_static with std::sync::LazyLock ([#2567](https://github.com/CQCL/hugr/pull/2567)) + +### Testing + +- Add framework for LLVM execution tests involving panics ([#2568](https://github.com/CQCL/hugr/pull/2568)) + ## [0.22.2](https://github.com/CQCL/hugr/compare/hugr-llvm-v0.22.1...hugr-llvm-v0.22.2) - 2025-08-06 ### Bug Fixes diff --git a/hugr-llvm/Cargo.toml b/hugr-llvm/Cargo.toml index ed68b6cf75..5c01a91794 100644 --- a/hugr-llvm/Cargo.toml +++ b/hugr-llvm/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hugr-llvm" -version = "0.22.4" +version = "0.23.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.22.4" } +hugr-core = { path = "../hugr-core", version = "0.23.0" } anyhow.workspace = true itertools.workspace = true delegate.workspace = true diff --git a/hugr-model/CHANGELOG.md b/hugr-model/CHANGELOG.md index 4fb7bbd419..2c02e45bb7 100644 --- a/hugr-model/CHANGELOG.md +++ b/hugr-model/CHANGELOG.md @@ -1,6 +1,16 @@ # Changelog +## [0.23.0](https://github.com/CQCL/hugr/compare/hugr-model-v0.22.4...hugr-model-v0.23.0) - 2025-09-30 + +### Bug Fixes + +- [**breaking**] Appease `cargo-audit` by replacing unmaintained dependencies ([#2572](https://github.com/CQCL/hugr/pull/2572)) + +### New Features + +- Documentation and error hints ([#2523](https://github.com/CQCL/hugr/pull/2523)) + ## [0.22.4](https://github.com/CQCL/hugr/compare/hugr-model-v0.22.3...hugr-model-v0.22.4) - 2025-09-24 ### New Features diff --git a/hugr-model/Cargo.toml b/hugr-model/Cargo.toml index 90bbebd71f..0b7ade84ee 100644 --- a/hugr-model/Cargo.toml +++ b/hugr-model/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hugr-model" -version = "0.22.4" +version = "0.23.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 ad2e096f3c..0d52ce6052 100644 --- a/hugr-passes/CHANGELOG.md +++ b/hugr-passes/CHANGELOG.md @@ -1,6 +1,26 @@ # Changelog +## [0.23.0](https://github.com/CQCL/hugr/compare/hugr-passes-v0.22.4...hugr-passes-v0.23.0) - 2025-09-30 + +### Bug Fixes + +- DeadCodeElim keeps consumers of linear outputs ([#2560](https://github.com/CQCL/hugr/pull/2560)) +- [**breaking**] Appease `cargo-audit` by replacing unmaintained dependencies ([#2572](https://github.com/CQCL/hugr/pull/2572)) + +### Miscellaneous Tasks + +- [**breaking**] Cleanup deprecated definitions ([#2594](https://github.com/CQCL/hugr/pull/2594)) + +### New Features + +- [**breaking**] DeadCodeElimPass reports error on non-existent entry_points ([#2566](https://github.com/CQCL/hugr/pull/2566)) +- Normalize CFGs ([#2591](https://github.com/CQCL/hugr/pull/2591)) + +### Refactor + +- [**breaking**] Replace lazy_static with std::sync::LazyLock ([#2567](https://github.com/CQCL/hugr/pull/2567)) + ## [0.22.4](https://github.com/CQCL/hugr/compare/hugr-passes-v0.22.3...hugr-passes-v0.22.4) - 2025-09-24 ### Bug Fixes diff --git a/hugr-passes/Cargo.toml b/hugr-passes/Cargo.toml index 8f541f1e12..d2cd73109e 100644 --- a/hugr-passes/Cargo.toml +++ b/hugr-passes/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hugr-passes" -version = "0.22.4" +version = "0.23.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.22.4" } +hugr-core = { path = "../hugr-core", version = "0.23.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 d92b09c462..0bfab942f4 100644 --- a/hugr-persistent/CHANGELOG.md +++ b/hugr-persistent/CHANGELOG.md @@ -1,6 +1,16 @@ # Changelog +## [0.3.0](https://github.com/CQCL/hugr/compare/hugr-persistent-v0.2.3...hugr-persistent-v0.3.0) - 2025-09-30 + +### Miscellaneous Tasks + +- [**breaking**] Cleanup deprecated definitions ([#2594](https://github.com/CQCL/hugr/pull/2594)) + +### Refactor + +- [**breaking**] Replace lazy_static with std::sync::LazyLock ([#2567](https://github.com/CQCL/hugr/pull/2567)) + ## [0.2.3](https://github.com/CQCL/hugr/compare/hugr-persistent-v0.2.2...hugr-persistent-v0.2.3) - 2025-09-11 ### Documentation diff --git a/hugr-persistent/Cargo.toml b/hugr-persistent/Cargo.toml index bd525311c0..957c3dfe63 100644 --- a/hugr-persistent/Cargo.toml +++ b/hugr-persistent/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hugr-persistent" -version = "0.2.3" +version = "0.3.0" 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.22.4" } +hugr-core = { path = "../hugr-core", version = "0.23.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 58ff340e6d..e1c0c48e8f 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.22.4", path = "../hugr-core", features = ["zstd"] } -hugr-model = { version = "0.22.4", path = "../hugr-model", features = ["pyo3"] } +hugr-core = { version = "0.23.0", path = "../hugr-core", features = ["zstd"] } +hugr-model = { version = "0.23.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 69d812c050..5cafe2ef13 100644 --- a/hugr/CHANGELOG.md +++ b/hugr/CHANGELOG.md @@ -1,5 +1,35 @@ # Changelog +## [0.23.0](https://github.com/CQCL/hugr/compare/hugr-v0.22.4...hugr-v0.23.0) - 2025-09-30 + +### Bug Fixes + +- DeadCodeElim keeps consumers of linear outputs ([#2560](https://github.com/CQCL/hugr/pull/2560)) +- [**breaking**] Appease `cargo-audit` by replacing unmaintained dependencies ([#2572](https://github.com/CQCL/hugr/pull/2572)) +- *(core)* check extension versions on model import ([#2580](https://github.com/CQCL/hugr/pull/2580)) +- [**breaking**] test extension version compatibility on ModelWithExts ([#2587](https://github.com/CQCL/hugr/pull/2587)) +- *(core)* check used extension versions against resolved extensions ([#2588](https://github.com/CQCL/hugr/pull/2588)) +- [**breaking**] model import loads Package extensions ([#2590](https://github.com/CQCL/hugr/pull/2590)) + +### Miscellaneous Tasks + +- [**breaking**] Cleanup deprecated definitions ([#2594](https://github.com/CQCL/hugr/pull/2594)) + +### New Features + +- [**breaking**] DeadCodeElimPass reports error on non-existent entry_points ([#2566](https://github.com/CQCL/hugr/pull/2566)) +- add trait+funcs for linking Hugrs explicitly by Node ([#2521](https://github.com/CQCL/hugr/pull/2521)) +- Documentation and error hints ([#2523](https://github.com/CQCL/hugr/pull/2523)) +- Allow creating DFG builders from existing hugrs ([#2562](https://github.com/CQCL/hugr/pull/2562)) +- add_input/output for arbitrary DFGBuilders ([#2564](https://github.com/CQCL/hugr/pull/2564)) +- [**breaking**] Return error instead of panicking in DFGWrapper::add_{in,out}put ([#2571](https://github.com/CQCL/hugr/pull/2571)) +- *(core)* inner acccesors for WithGenerator error ([#2583](https://github.com/CQCL/hugr/pull/2583)) +- Normalize CFGs ([#2591](https://github.com/CQCL/hugr/pull/2591)) + +### Refactor + +- [**breaking**] Replace lazy_static with std::sync::LazyLock ([#2567](https://github.com/CQCL/hugr/pull/2567)) + ## [0.22.4](https://github.com/CQCL/hugr/compare/hugr-v0.22.3...hugr-v0.22.4) - 2025-09-24 ### Bug Fixes diff --git a/hugr/Cargo.toml b/hugr/Cargo.toml index d29fa3a9fe..4c4b8d372a 100644 --- a/hugr/Cargo.toml +++ b/hugr/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hugr" -version = "0.22.4" +version = "0.23.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.22.4" } -hugr-core = { path = "../hugr-core", version = "0.22.4" } -hugr-passes = { path = "../hugr-passes", version = "0.22.4" } -hugr-llvm = { path = "../hugr-llvm", version = "0.22.4", optional = true } -hugr-persistent = { path = "../hugr-persistent", version = "0.2.3", optional = true } +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 } [dev-dependencies] serde_json = { workspace = true }