diff --git a/Cargo.lock b/Cargo.lock index bf072bfb8..70ce3c0c6 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", @@ -1236,7 +1236,7 @@ dependencies = [ [[package]] name = "hugr-core" -version = "0.20.0" +version = "0.20.1" dependencies = [ "cgmath", "cool_asserts", @@ -1276,7 +1276,7 @@ dependencies = [ [[package]] name = "hugr-llvm" -version = "0.20.0" +version = "0.20.1" dependencies = [ "anyhow", "delegate", @@ -1295,7 +1295,7 @@ dependencies = [ [[package]] name = "hugr-model" -version = "0.20.0" +version = "0.20.1" dependencies = [ "base64", "bumpalo", @@ -1319,7 +1319,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/Cargo.toml b/hugr-cli/Cargo.toml index cd7d1fb26..917a01a80 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..a80c14ed7 100644 --- a/hugr-core/CHANGELOG.md +++ b/hugr-core/CHANGELOG.md @@ -1,5 +1,29 @@ # Changelog +## [0.20.1](https://github.com/CQCL/hugr/compare/hugr-core-v0.20.0...hugr-core-v0.20.1) - 2025-05-28 + +### 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)) + +### 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)) + +### Refactor + +- tidies/readability improvements to PersistentHugr ([#2251](https://github.com/CQCL/hugr/pull/2251)) + +### 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 e15c1c037..4815f097b 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 } @@ -27,7 +27,7 @@ bench = false name = "model" [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..9fad1a7c0 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-05-28 + +### 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/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..6dbd8836b 100644 --- a/hugr/CHANGELOG.md +++ b/hugr/CHANGELOG.md @@ -1,5 +1,29 @@ # Changelog +## [0.20.1](https://github.com/CQCL/hugr/compare/hugr-v0.20.0...hugr-v0.20.1) - 2025-05-28 + +### 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)) + +### 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)) + +### Refactor + +- tidies/readability improvements to PersistentHugr ([#2251](https://github.com/CQCL/hugr/pull/2251)) + +### 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 }