diff --git a/Cargo.lock b/Cargo.lock index cfac9fb7b..af96de938 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1206,7 +1206,7 @@ checksum = "6dbf3de79e51f3d586ab4cb9d5c3e2c14aa28ed23d180cf89b4df0454a69cc87" [[package]] name = "hugr" -version = "0.20.0" +version = "0.20.1" dependencies = [ "bumpalo", "criterion", @@ -1220,7 +1220,7 @@ dependencies = [ [[package]] name = "hugr-cli" -version = "0.20.0" +version = "0.20.1" dependencies = [ "assert_cmd", "assert_fs", @@ -1237,7 +1237,7 @@ dependencies = [ [[package]] name = "hugr-core" -version = "0.20.0" +version = "0.20.1" dependencies = [ "cgmath", "cool_asserts", @@ -1277,7 +1277,7 @@ dependencies = [ [[package]] name = "hugr-llvm" -version = "0.20.0" +version = "0.20.1" dependencies = [ "anyhow", "delegate", @@ -1296,7 +1296,7 @@ dependencies = [ [[package]] name = "hugr-model" -version = "0.20.0" +version = "0.20.1" dependencies = [ "base64", "bumpalo", @@ -1320,7 +1320,7 @@ dependencies = [ [[package]] name = "hugr-passes" -version = "0.20.0" +version = "0.20.1" dependencies = [ "ascent", "derive_more 1.0.0", diff --git a/hugr-cli/CHANGELOG.md b/hugr-cli/CHANGELOG.md index 357d24fd2..141b60f73 100644 --- a/hugr-cli/CHANGELOG.md +++ b/hugr-cli/CHANGELOG.md @@ -1,6 +1,12 @@ # Changelog +## [0.20.1](https://github.com/CQCL/hugr/compare/hugr-cli-v0.20.0...hugr-cli-v0.20.1) - 2025-06-03 + +### New Features + +- support external subcommands via PATH ([#1343](https://github.com/CQCL/hugr/pull/1343)) ([#2278](https://github.com/CQCL/hugr/pull/2278)) + ## [0.20.0](https://github.com/CQCL/hugr/compare/hugr-cli-v0.15.4...hugr-cli-v0.20.0) - 2025-05-14 ### New Features diff --git a/hugr-cli/Cargo.toml b/hugr-cli/Cargo.toml index 7f54a7970..faa64c220 100644 --- a/hugr-cli/Cargo.toml +++ b/hugr-cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hugr-cli" -version = "0.20.0" +version = "0.20.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.20.0" } +hugr = { path = "../hugr", version = "0.20.1" } serde_json.workspace = true clio = { workspace = true, features = ["clap-parse"] } diff --git a/hugr-core/CHANGELOG.md b/hugr-core/CHANGELOG.md index 04c5d3d0c..f712d1663 100644 --- a/hugr-core/CHANGELOG.md +++ b/hugr-core/CHANGELOG.md @@ -1,5 +1,33 @@ # Changelog +## [0.20.1](https://github.com/CQCL/hugr/compare/hugr-core-v0.20.0...hugr-core-v0.20.1) - 2025-06-03 + +### Bug Fixes + +- check well-definedness of DFG wires in validate ([#2221](https://github.com/CQCL/hugr/pull/2221)) +- Check for order edges in SiblingSubgraph::from_node ([#2223](https://github.com/CQCL/hugr/pull/2223)) +- Make SumType::Unit(N) equal to SumType::General([(); N]) ([#2250](https://github.com/CQCL/hugr/pull/2250)) +- canonicalize_nodes sometimes mangles the entrypoint ([#2263](https://github.com/CQCL/hugr/pull/2263)) + +### New Features + +- Add PersistentHugr ([#2080](https://github.com/CQCL/hugr/pull/2080)) +- Add `Type::used_extensions` ([#2224](https://github.com/CQCL/hugr/pull/2224)) +- Add boundary edge traversal in SimpleReplacement ([#2231](https://github.com/CQCL/hugr/pull/2231)) +- Add signature map function for DFGs ([#2239](https://github.com/CQCL/hugr/pull/2239)) +- PersistentHugr implements HugrView ([#2202](https://github.com/CQCL/hugr/pull/2202)) +- PersistentHugr Walker API ([#2168](https://github.com/CQCL/hugr/pull/2168)) +- Hugr::store_with_exts and auto-include in serde_as ([#2280](https://github.com/CQCL/hugr/pull/2280)) + +### Refactor + +- tidies/readability improvements to PersistentHugr ([#2251](https://github.com/CQCL/hugr/pull/2251)) +- Deprecate ValidationError::ExtensionError ([#2281](https://github.com/CQCL/hugr/pull/2281)) + +### Testing + +- Ignore miri errors in tests involving `assert_snapshot` ([#2261](https://github.com/CQCL/hugr/pull/2261)) + ## [0.20.0](https://github.com/CQCL/hugr/compare/hugr-core-v0.15.4...hugr-core-v0.20.0) - 2025-05-14 ### Bug Fixes diff --git a/hugr-core/Cargo.toml b/hugr-core/Cargo.toml index 50306b0f8..c78e1d9dd 100644 --- a/hugr-core/Cargo.toml +++ b/hugr-core/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hugr-core" -version = "0.20.0" +version = "0.20.1" edition = { workspace = true } rust-version = { workspace = true } @@ -30,7 +30,7 @@ name = "model" name = "persistent_walker_example" [dependencies] -hugr-model = { version = "0.20.0", path = "../hugr-model" } +hugr-model = { version = "0.20.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 ad75b6c6c..4584d7246 100644 --- a/hugr-llvm/CHANGELOG.md +++ b/hugr-llvm/CHANGELOG.md @@ -5,6 +5,16 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.20.1](https://github.com/CQCL/hugr/compare/hugr-llvm-v0.20.0...hugr-llvm-v0.20.1) - 2025-06-03 + +### Bug Fixes + +- Make SumType::Unit(N) equal to SumType::General([(); N]) ([#2250](https://github.com/CQCL/hugr/pull/2250)) + +### Testing + +- Add exec tests for widen op ([#2043](https://github.com/CQCL/hugr/pull/2043)) + ## [0.20.0](https://github.com/CQCL/hugr/compare/hugr-llvm-v0.15.4...hugr-llvm-v0.20.0) - 2025-05-14 ### Bug Fixes diff --git a/hugr-llvm/Cargo.toml b/hugr-llvm/Cargo.toml index 5a96450f4..ac8dcbd95 100644 --- a/hugr-llvm/Cargo.toml +++ b/hugr-llvm/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hugr-llvm" -version = "0.20.0" +version = "0.20.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.20.0" } +hugr-core = { path = "../hugr-core", version = "0.20.1" } anyhow = "1.0.98" itertools.workspace = true delegate.workspace = true diff --git a/hugr-model/Cargo.toml b/hugr-model/Cargo.toml index cc11a2320..9f9b046b5 100644 --- a/hugr-model/Cargo.toml +++ b/hugr-model/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hugr-model" -version = "0.20.0" +version = "0.20.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 0526b83c6..44af68ad2 100644 --- a/hugr-passes/CHANGELOG.md +++ b/hugr-passes/CHANGELOG.md @@ -1,6 +1,16 @@ # Changelog +## [0.20.1](https://github.com/CQCL/hugr/compare/hugr-passes-v0.20.0...hugr-passes-v0.20.1) - 2025-06-03 + +### Bug Fixes + +- Dataflow analysis produces unsound results on Hugrs with entrypoint ([#2255](https://github.com/CQCL/hugr/pull/2255)) + +### New Features + +- LocalizeEdges pass ([#2237](https://github.com/CQCL/hugr/pull/2237)) + ## [0.20.0](https://github.com/CQCL/hugr/compare/hugr-passes-v0.15.4...hugr-passes-v0.20.0) - 2025-05-14 ### New Features diff --git a/hugr-passes/Cargo.toml b/hugr-passes/Cargo.toml index 4a6a00645..d751d82d5 100644 --- a/hugr-passes/Cargo.toml +++ b/hugr-passes/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hugr-passes" -version = "0.20.0" +version = "0.20.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.20.0" } +hugr-core = { path = "../hugr-core", version = "0.20.1" } portgraph = { workspace = true } ascent = { version = "0.8.0" } derive_more = { workspace = true, features = ["display", "error", "from"] } diff --git a/hugr-py/Cargo.toml b/hugr-py/Cargo.toml index 44ec5a365..b47f05464 100644 --- a/hugr-py/Cargo.toml +++ b/hugr-py/Cargo.toml @@ -21,6 +21,6 @@ bench = false [dependencies] bumpalo = { workspace = true, features = ["collections"] } -hugr-model = { version = "0.20.0", path = "../hugr-model", features = ["pyo3"] } +hugr-model = { version = "0.20.1", path = "../hugr-model", features = ["pyo3"] } paste.workspace = true pyo3 = { workspace = true, features = ["extension-module", "abi3-py310"] } diff --git a/hugr/CHANGELOG.md b/hugr/CHANGELOG.md index 2fc92e165..412a04cf7 100644 --- a/hugr/CHANGELOG.md +++ b/hugr/CHANGELOG.md @@ -1,5 +1,35 @@ # Changelog +## [0.20.1](https://github.com/CQCL/hugr/compare/hugr-v0.20.0...hugr-v0.20.1) - 2025-06-03 + +### Bug Fixes + +- Dataflow analysis produces unsound results on Hugrs with entrypoint ([#2255](https://github.com/CQCL/hugr/pull/2255)) +- check well-definedness of DFG wires in validate ([#2221](https://github.com/CQCL/hugr/pull/2221)) +- Check for order edges in SiblingSubgraph::from_node ([#2223](https://github.com/CQCL/hugr/pull/2223)) +- Make SumType::Unit(N) equal to SumType::General([(); N]) ([#2250](https://github.com/CQCL/hugr/pull/2250)) +- canonicalize_nodes sometimes mangles the entrypoint ([#2263](https://github.com/CQCL/hugr/pull/2263)) + +### New Features + +- LocalizeEdges pass ([#2237](https://github.com/CQCL/hugr/pull/2237)) +- Add PersistentHugr ([#2080](https://github.com/CQCL/hugr/pull/2080)) +- Add `Type::used_extensions` ([#2224](https://github.com/CQCL/hugr/pull/2224)) +- Add boundary edge traversal in SimpleReplacement ([#2231](https://github.com/CQCL/hugr/pull/2231)) +- Add signature map function for DFGs ([#2239](https://github.com/CQCL/hugr/pull/2239)) +- PersistentHugr implements HugrView ([#2202](https://github.com/CQCL/hugr/pull/2202)) +- PersistentHugr Walker API ([#2168](https://github.com/CQCL/hugr/pull/2168)) +- Hugr::store_with_exts and auto-include in serde_as ([#2280](https://github.com/CQCL/hugr/pull/2280)) + +### Refactor + +- tidies/readability improvements to PersistentHugr ([#2251](https://github.com/CQCL/hugr/pull/2251)) +- Deprecate ValidationError::ExtensionError ([#2281](https://github.com/CQCL/hugr/pull/2281)) + +### Testing + +- Ignore miri errors in tests involving `assert_snapshot` ([#2261](https://github.com/CQCL/hugr/pull/2261)) + ## [0.20.0](https://github.com/CQCL/hugr/compare/hugr-v0.15.4...hugr-v0.20.0) - 2025-05-14 This release contains a big list of changes reworking multiple core definitions of HUGR. diff --git a/hugr/Cargo.toml b/hugr/Cargo.toml index c6c1cab5e..5cd388586 100644 --- a/hugr/Cargo.toml +++ b/hugr/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hugr" -version = "0.20.0" +version = "0.20.1" edition = { workspace = true } rust-version = { workspace = true } @@ -30,10 +30,10 @@ llvm-test = ["hugr-llvm/llvm14-0", "hugr-llvm/test-utils"] zstd = ["hugr-core/zstd"] [dependencies] -hugr-model = { path = "../hugr-model", version = "0.20.0" } -hugr-core = { path = "../hugr-core", version = "0.20.0" } -hugr-passes = { path = "../hugr-passes", version = "0.20.0" } -hugr-llvm = { path = "../hugr-llvm", version = "0.20.0", optional = true } +hugr-model = { path = "../hugr-model", version = "0.20.1" } +hugr-core = { path = "../hugr-core", version = "0.20.1" } +hugr-passes = { path = "../hugr-passes", version = "0.20.1" } +hugr-llvm = { path = "../hugr-llvm", version = "0.20.1", optional = true } [dev-dependencies] lazy_static = { workspace = true }