From 1e994befa71863230f70869f0316a825e64bc831 Mon Sep 17 00:00:00 2001 From: hugrbot Date: Fri, 28 Jun 2024 09:51:06 +0100 Subject: [PATCH 1/2] chore: release --- hugr-cli/CHANGELOG.md | 1 + hugr-cli/Cargo.toml | 4 ++-- hugr-core/CHANGELOG.md | 26 ++++++++++++++++++++++++++ hugr-core/Cargo.toml | 2 +- hugr-passes/CHANGELOG.md | 16 ++++++++++++++++ hugr-passes/Cargo.toml | 4 ++-- hugr/CHANGELOG.md | 26 ++++++++++++++++++++++++++ hugr/Cargo.toml | 6 +++--- 8 files changed, 77 insertions(+), 8 deletions(-) diff --git a/hugr-cli/CHANGELOG.md b/hugr-cli/CHANGELOG.md index 018e58f46..b1390be3c 100644 --- a/hugr-cli/CHANGELOG.md +++ b/hugr-cli/CHANGELOG.md @@ -1,5 +1,6 @@ # Changelog + ## 0.1.1 (2024-06-07) ### Features diff --git a/hugr-cli/Cargo.toml b/hugr-cli/Cargo.toml index 0d6d01264..27fd2d13f 100644 --- a/hugr-cli/Cargo.toml +++ b/hugr-cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hugr-cli" -version = "0.1.1" +version = "0.1.2" edition = { workspace = true } rust-version = { workspace = true } license = { workspace = true } @@ -17,7 +17,7 @@ categories = ["compilers"] clap = {workspace = true, features = ["derive"]} clap-stdin.workspace = true clap-verbosity-flag.workspace = true -hugr-core = { path = "../hugr-core", version = "0.2.0" } +hugr-core = { path = "../hugr-core", version = "0.3.0" } serde_json.workspace = true thiserror.workspace = true diff --git a/hugr-core/CHANGELOG.md b/hugr-core/CHANGELOG.md index bc0079bfa..494df5a50 100644 --- a/hugr-core/CHANGELOG.md +++ b/hugr-core/CHANGELOG.md @@ -1,5 +1,31 @@ # Changelog +## 0.3.0 (2024-06-28) + +### Bug Fixes + +- SimpleReplacement panic on multiports ([#1191](https://github.com/CQCL/hugr/pull/1191)) +- Add some validation for const nodes ([#1222](https://github.com/CQCL/hugr/pull/1222)) +- Cfg not validating entry/exit types ([#1229](https://github.com/CQCL/hugr/pull/1229)) + +### Documentation + +- Fix documentation of `ValidationError::ConstTypeError` ([#1227](https://github.com/CQCL/hugr/pull/1227)) + +### Features + +- CircuitBuilder::add_constant ([#1168](https://github.com/CQCL/hugr/pull/1168)) +- [**breaking**] Make the rewrite errors more useful ([#1174](https://github.com/CQCL/hugr/pull/1174)) +- [**breaking**] Validate Extensions using hierarchy, ignore input_extensions, RIP inference ([#1142](https://github.com/CQCL/hugr/pull/1142)) +- [**breaking**] Infer extension deltas for Case, Cfg, Conditional, DataflowBlock, Dfg, TailLoop ([#1195](https://github.com/CQCL/hugr/pull/1195)) +- Helper functions for requesting inference, use with builder in tests ([#1219](https://github.com/CQCL/hugr/pull/1219)) + +### Refactor + +- [**breaking**] Remove NodeType and input_extensions ([#1183](https://github.com/CQCL/hugr/pull/1183)) +- [**breaking**] FunctionBuilder takes impl Into ([#1220](https://github.com/CQCL/hugr/pull/1220)) + + ## 0.2.0 (2024-06-07) ### Bug Fixes diff --git a/hugr-core/Cargo.toml b/hugr-core/Cargo.toml index 21c52a5ec..2be3268df 100644 --- a/hugr-core/Cargo.toml +++ b/hugr-core/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hugr-core" -version = "0.2.0" +version = "0.3.0" edition = { workspace = true } rust-version = { workspace = true } diff --git a/hugr-passes/CHANGELOG.md b/hugr-passes/CHANGELOG.md index dee4ec6c3..2df1eed22 100644 --- a/hugr-passes/CHANGELOG.md +++ b/hugr-passes/CHANGELOG.md @@ -1,5 +1,21 @@ # Changelog +## 0.3.0 (2024-06-28) + +### Bug Fixes + +- Add some validation for const nodes ([#1222](https://github.com/CQCL/hugr/pull/1222)) + +### Features + +- [**breaking**] Validate Extensions using hierarchy, ignore input_extensions, RIP inference ([#1142](https://github.com/CQCL/hugr/pull/1142)) +- Helper functions for requesting inference, use with builder in tests ([#1219](https://github.com/CQCL/hugr/pull/1219)) + +### Refactor + +- [**breaking**] Remove NodeType and input_extensions ([#1183](https://github.com/CQCL/hugr/pull/1183)) + + ## 0.2.0 (2024-06-07) ### Features diff --git a/hugr-passes/Cargo.toml b/hugr-passes/Cargo.toml index 231b04d05..a714d39e6 100644 --- a/hugr-passes/Cargo.toml +++ b/hugr-passes/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hugr-passes" -version = "0.2.0" +version = "0.3.0" edition = { workspace = true } rust-version = { workspace = true } license = { workspace = true } @@ -13,7 +13,7 @@ keywords = ["Quantum", "Quantinuum"] categories = ["compilers"] [dependencies] -hugr-core = { path = "../hugr-core", version = "0.2.0" } +hugr-core = { path = "../hugr-core", version = "0.3.0" } itertools = { workspace = true } lazy_static = { workspace = true } paste = { workspace = true } diff --git a/hugr/CHANGELOG.md b/hugr/CHANGELOG.md index 3bddd8307..0c7f7b982 100644 --- a/hugr/CHANGELOG.md +++ b/hugr/CHANGELOG.md @@ -1,5 +1,31 @@ # Changelog +## 0.6.0 (2024-06-28) + +### Bug Fixes + +- SimpleReplacement panic on multiports ([#1191](https://github.com/CQCL/hugr/pull/1191)) +- Add some validation for const nodes ([#1222](https://github.com/CQCL/hugr/pull/1222)) +- Cfg not validating entry/exit types ([#1229](https://github.com/CQCL/hugr/pull/1229)) + +### Documentation + +- Fix documentation of `ValidationError::ConstTypeError` ([#1227](https://github.com/CQCL/hugr/pull/1227)) + +### Features + +- CircuitBuilder::add_constant ([#1168](https://github.com/CQCL/hugr/pull/1168)) +- [**breaking**] Make the rewrite errors more useful ([#1174](https://github.com/CQCL/hugr/pull/1174)) +- [**breaking**] Validate Extensions using hierarchy, ignore input_extensions, RIP inference ([#1142](https://github.com/CQCL/hugr/pull/1142)) +- [**breaking**] Infer extension deltas for Case, Cfg, Conditional, DataflowBlock, Dfg, TailLoop ([#1195](https://github.com/CQCL/hugr/pull/1195)) +- Helper functions for requesting inference, use with builder in tests ([#1219](https://github.com/CQCL/hugr/pull/1219)) + +### Refactor + +- [**breaking**] FunctionBuilder takes impl Into ([#1220](https://github.com/CQCL/hugr/pull/1220)) +- [**breaking**] Remove NodeType and input_extensions ([#1183](https://github.com/CQCL/hugr/pull/1183)) + + ## 0.5.1 (2024-06-07) ### Bug Fixes diff --git a/hugr/Cargo.toml b/hugr/Cargo.toml index dff1dd10b..87c685c85 100644 --- a/hugr/Cargo.toml +++ b/hugr/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hugr" -version = "0.5.1" +version = "0.6.0" edition = { workspace = true } rust-version = { workspace = true } @@ -25,8 +25,8 @@ path = "src/lib.rs" extension_inference = [] [dependencies] -hugr-core = { path = "../hugr-core", version = "0.2.0" } -hugr-passes = { path = "../hugr-passes", version = "0.2.0" } +hugr-core = { path = "../hugr-core", version = "0.3.0" } +hugr-passes = { path = "../hugr-passes", version = "0.3.0" } [dev-dependencies] rstest = { workspace = true } From 9f8a5983d8695ae49275fe7a4447c412725bb1fa Mon Sep 17 00:00:00 2001 From: Douglas Wilson Date: Fri, 28 Jun 2024 11:03:44 +0100 Subject: [PATCH 2/2] adjust CHANGELOG --- hugr-passes/CHANGELOG.md | 9 --------- 1 file changed, 9 deletions(-) diff --git a/hugr-passes/CHANGELOG.md b/hugr-passes/CHANGELOG.md index 2df1eed22..b995c0d6e 100644 --- a/hugr-passes/CHANGELOG.md +++ b/hugr-passes/CHANGELOG.md @@ -2,18 +2,9 @@ ## 0.3.0 (2024-06-28) -### Bug Fixes - -- Add some validation for const nodes ([#1222](https://github.com/CQCL/hugr/pull/1222)) - ### Features - [**breaking**] Validate Extensions using hierarchy, ignore input_extensions, RIP inference ([#1142](https://github.com/CQCL/hugr/pull/1142)) -- Helper functions for requesting inference, use with builder in tests ([#1219](https://github.com/CQCL/hugr/pull/1219)) - -### Refactor - -- [**breaking**] Remove NodeType and input_extensions ([#1183](https://github.com/CQCL/hugr/pull/1183)) ## 0.2.0 (2024-06-07)