From 5b9255a7aa1986975f5eb64b97840ef9a149348c Mon Sep 17 00:00:00 2001 From: hugrbot Date: Mon, 20 Jan 2025 04:07:41 -0700 Subject: [PATCH 1/2] chore: release --- hugr-cli/Cargo.toml | 4 ++-- hugr-core/CHANGELOG.md | 22 ++++++++++++++++++++++ hugr-core/Cargo.toml | 4 ++-- hugr-llvm/CHANGELOG.md | 16 ++++++++++++++++ hugr-llvm/Cargo.toml | 4 ++-- hugr-model/CHANGELOG.md | 12 ++++++++++++ hugr-model/Cargo.toml | 2 +- hugr-passes/CHANGELOG.md | 6 ++++++ hugr-passes/Cargo.toml | 4 ++-- hugr/CHANGELOG.md | 23 +++++++++++++++++++++++ hugr/Cargo.toml | 10 +++++----- 11 files changed, 93 insertions(+), 14 deletions(-) diff --git a/hugr-cli/Cargo.toml b/hugr-cli/Cargo.toml index d00af6843..c5a3fcde1 100644 --- a/hugr-cli/Cargo.toml +++ b/hugr-cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hugr-cli" -version = "0.14.1" +version = "0.15.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.14.1" } +hugr = { path = "../hugr", version = "0.15.0" } serde_json.workspace = true clio = { workspace = true, features = ["clap-parse"] } diff --git a/hugr-core/CHANGELOG.md b/hugr-core/CHANGELOG.md index f206888ee..2b08b24b8 100644 --- a/hugr-core/CHANGELOG.md +++ b/hugr-core/CHANGELOG.md @@ -1,5 +1,27 @@ # Changelog +## [0.15.0](https://github.com/CQCL/hugr/compare/hugr-core-v0.14.1...hugr-core-v0.15.0) - 2025-01-20 + +### Bug Fixes + +- Three bugfixes in model import and export. (#1844) + +### Documentation + +- Fix typo in `DataflowParent` doc (#1865) + +### New Features + +- `Value::some`, `::none`, and `SumType::new_option` helpers (#1828) +- Constant values in `hugr-model` (#1838) +- *(hugr-llvm)* Emit ipow (#1839) +- Bytes literal in hugr-model. (#1845) +- Improved representation for metadata in `hugr-model` (#1849) + +### Testing + +- Add tests for constant value deserialization (#1822) + ## [0.14.1](https://github.com/CQCL/hugr/compare/hugr-core-v0.14.0...hugr-core-v0.14.1) - 2024-12-18 ### Bug Fixes diff --git a/hugr-core/Cargo.toml b/hugr-core/Cargo.toml index e7284ebca..7524f67bd 100644 --- a/hugr-core/Cargo.toml +++ b/hugr-core/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hugr-core" -version = "0.14.1" +version = "0.15.0" edition = { workspace = true } rust-version = { workspace = true } @@ -53,7 +53,7 @@ paste = { workspace = true } strum = { workspace = true } strum_macros = { workspace = true } semver = { version = "1.0.23", features = ["serde"] } -hugr-model = { version = "0.16.0", path = "../hugr-model", optional = true } +hugr-model = { version = "0.17.0", path = "../hugr-model", optional = true } indexmap.workspace = true fxhash.workspace = true bumpalo = { workspace = true, features = ["collections"] } diff --git a/hugr-llvm/CHANGELOG.md b/hugr-llvm/CHANGELOG.md index b5d7ae713..5048d679d 100644 --- a/hugr-llvm/CHANGELOG.md +++ b/hugr-llvm/CHANGELOG.md @@ -6,6 +6,22 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.15.0](https://github.com/CQCL/hugr/compare/hugr-llvm-v0.14.1...hugr-llvm-v0.15.0) - 2025-01-20 + +### New Features + +- *(hugr-llvm)* Emit more int ops (#1835) +- Constant values in `hugr-model` (#1838) +- *(hugr-llvm)* Emit ipow (#1839) + +### Refactor + +- *(hugr-llvm)* [**breaking**] Optimise the llvm types used to represent hugr sums. (#1855) + +### Testing + +- Fix failing inot test (#1841) + ## [0.14.1](https://github.com/CQCL/hugr/compare/hugr-llvm-v0.14.0...hugr-llvm-v0.14.1) - 2024-12-18 ### Bug Fixes diff --git a/hugr-llvm/Cargo.toml b/hugr-llvm/Cargo.toml index 3628ee241..bc21dd0b3 100644 --- a/hugr-llvm/Cargo.toml +++ b/hugr-llvm/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hugr-llvm" -version = "0.14.1" +version = "0.15.0" description = "A general and extensible crate for lowering HUGRs into LLVM IR" edition.workspace = true @@ -32,7 +32,7 @@ llvm14-0 = ["inkwell/llvm14-0"] [dependencies] inkwell = { version = "0.5.0", default-features = false } -hugr-core = { path = "../hugr-core", version = "0.14.1" } +hugr-core = { path = "../hugr-core", version = "0.15.0" } anyhow = "1.0.83" itertools.workspace = true delegate.workspace = true diff --git a/hugr-model/CHANGELOG.md b/hugr-model/CHANGELOG.md index 5c228c2b4..9e4a58fed 100644 --- a/hugr-model/CHANGELOG.md +++ b/hugr-model/CHANGELOG.md @@ -1,5 +1,17 @@ # Changelog +## [0.17.0](https://github.com/CQCL/hugr/compare/hugr-model-v0.16.0...hugr-model-v0.17.0) - 2025-01-20 + +### Bug Fixes + +- Three bugfixes in model import and export. (#1844) + +### New Features + +- Constant values in `hugr-model` (#1838) +- Bytes literal in hugr-model. (#1845) +- Improved representation for metadata in `hugr-model` (#1849) + ## [0.16.0](https://github.com/CQCL/hugr/compare/hugr-model-v0.15.0...hugr-model-v0.16.0) - 2024-12-18 ### New Features diff --git a/hugr-model/Cargo.toml b/hugr-model/Cargo.toml index d1e3636b9..ca333b7b1 100644 --- a/hugr-model/Cargo.toml +++ b/hugr-model/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hugr-model" -version = "0.16.0" +version = "0.17.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 ae5ee31b0..91929b449 100644 --- a/hugr-passes/CHANGELOG.md +++ b/hugr-passes/CHANGELOG.md @@ -1,6 +1,12 @@ # Changelog +## [0.15.0](https://github.com/CQCL/hugr/compare/hugr-passes-v0.14.1...hugr-passes-v0.15.0) - 2025-01-20 + +### New Features + +- Add CallGraph struct, and dead-function-removal pass (#1796) + ## [0.14.1](https://github.com/CQCL/hugr/compare/hugr-passes-v0.14.0...hugr-passes-v0.14.1) - 2024-12-18 ### Bug Fixes diff --git a/hugr-passes/Cargo.toml b/hugr-passes/Cargo.toml index b730b67fc..4e1dc6c1d 100644 --- a/hugr-passes/Cargo.toml +++ b/hugr-passes/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hugr-passes" -version = "0.14.1" +version = "0.15.0" edition = { workspace = true } rust-version = { workspace = true } license = { workspace = true } @@ -16,7 +16,7 @@ categories = ["compilers"] bench = false [dependencies] -hugr-core = { path = "../hugr-core", version = "0.14.1" } +hugr-core = { path = "../hugr-core", version = "0.15.0" } portgraph = { workspace = true } ascent = { version = "0.7.0" } itertools = { workspace = true } diff --git a/hugr/CHANGELOG.md b/hugr/CHANGELOG.md index 4697d76c0..59a1decc6 100644 --- a/hugr/CHANGELOG.md +++ b/hugr/CHANGELOG.md @@ -1,5 +1,28 @@ # Changelog +## [0.15.0](https://github.com/CQCL/hugr/compare/hugr-v0.14.1...hugr-v0.15.0) - 2025-01-20 + +### Bug Fixes + +- Three bugfixes in model import and export. (#1844) + +### Documentation + +- Fix typo in `DataflowParent` doc (#1865) + +### New Features + +- Add CallGraph struct, and dead-function-removal pass (#1796) +- `Value::some`, `::none`, and `SumType::new_option` helpers (#1828) +- Constant values in `hugr-model` (#1838) +- *(hugr-llvm)* Emit ipow (#1839) +- Bytes literal in hugr-model. (#1845) +- Improved representation for metadata in `hugr-model` (#1849) + +### Testing + +- Add tests for constant value deserialization (#1822) + ## [0.14.1](https://github.com/CQCL/hugr/compare/hugr-v0.14.0...hugr-v0.14.1) - 2024-12-18 ### Bug Fixes diff --git a/hugr/Cargo.toml b/hugr/Cargo.toml index 56aa70b46..0af1bb0a5 100644 --- a/hugr/Cargo.toml +++ b/hugr/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hugr" -version = "0.14.1" +version = "0.15.0" edition = { workspace = true } rust-version = { workspace = true } @@ -29,10 +29,10 @@ llvm = ["hugr-llvm/llvm14-0"] llvm-test = ["hugr-llvm/llvm14-0", "hugr-llvm/test-utils"] [dependencies] -hugr-model = { path = "../hugr-model", optional = true, version = "0.16.0" } -hugr-core = { path = "../hugr-core", version = "0.14.1" } -hugr-passes = { path = "../hugr-passes", version = "0.14.1" } -hugr-llvm = {path = "../hugr-llvm", version = "0.14.1", optional = true} +hugr-model = { path = "../hugr-model", optional = true, version = "0.17.0" } +hugr-core = { path = "../hugr-core", version = "0.15.0" } +hugr-passes = { path = "../hugr-passes", version = "0.15.0" } +hugr-llvm = {path = "../hugr-llvm", version = "0.15.0", optional = true} [dev-dependencies] rstest = { workspace = true } From a7c728fbe3eb514e359fa8c184dff26a61624cdb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Agust=C3=ADn=20Borgna?= Date: Mon, 20 Jan 2025 11:56:59 +0000 Subject: [PATCH 2/2] make the release non-breaking --- hugr-cli/Cargo.toml | 4 ++-- hugr-core/CHANGELOG.md | 2 +- hugr-core/Cargo.toml | 2 +- hugr-llvm/CHANGELOG.md | 2 +- hugr-llvm/Cargo.toml | 4 ++-- hugr-passes/CHANGELOG.md | 2 +- hugr-passes/Cargo.toml | 4 ++-- hugr/CHANGELOG.md | 2 +- hugr/Cargo.toml | 8 ++++---- 9 files changed, 15 insertions(+), 15 deletions(-) diff --git a/hugr-cli/Cargo.toml b/hugr-cli/Cargo.toml index c5a3fcde1..4d13591d7 100644 --- a/hugr-cli/Cargo.toml +++ b/hugr-cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hugr-cli" -version = "0.15.0" +version = "0.14.2" 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.15.0" } +hugr = { path = "../hugr", version = "0.14.2" } serde_json.workspace = true clio = { workspace = true, features = ["clap-parse"] } diff --git a/hugr-core/CHANGELOG.md b/hugr-core/CHANGELOG.md index 2b08b24b8..93f31f71b 100644 --- a/hugr-core/CHANGELOG.md +++ b/hugr-core/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog -## [0.15.0](https://github.com/CQCL/hugr/compare/hugr-core-v0.14.1...hugr-core-v0.15.0) - 2025-01-20 +## [0.14.2](https://github.com/CQCL/hugr/compare/hugr-core-v0.14.1...hugr-core-v0.14.2) - 2025-01-20 ### Bug Fixes diff --git a/hugr-core/Cargo.toml b/hugr-core/Cargo.toml index 7524f67bd..81bc8abed 100644 --- a/hugr-core/Cargo.toml +++ b/hugr-core/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hugr-core" -version = "0.15.0" +version = "0.14.2" edition = { workspace = true } rust-version = { workspace = true } diff --git a/hugr-llvm/CHANGELOG.md b/hugr-llvm/CHANGELOG.md index 5048d679d..3fd79e6b7 100644 --- a/hugr-llvm/CHANGELOG.md +++ b/hugr-llvm/CHANGELOG.md @@ -6,7 +6,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -## [0.15.0](https://github.com/CQCL/hugr/compare/hugr-llvm-v0.14.1...hugr-llvm-v0.15.0) - 2025-01-20 +## [0.14.2](https://github.com/CQCL/hugr/compare/hugr-llvm-v0.14.1...hugr-llvm-v0.14.2) - 2025-01-20 ### New Features diff --git a/hugr-llvm/Cargo.toml b/hugr-llvm/Cargo.toml index bc21dd0b3..7b26ee27d 100644 --- a/hugr-llvm/Cargo.toml +++ b/hugr-llvm/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hugr-llvm" -version = "0.15.0" +version = "0.14.2" description = "A general and extensible crate for lowering HUGRs into LLVM IR" edition.workspace = true @@ -32,7 +32,7 @@ llvm14-0 = ["inkwell/llvm14-0"] [dependencies] inkwell = { version = "0.5.0", default-features = false } -hugr-core = { path = "../hugr-core", version = "0.15.0" } +hugr-core = { path = "../hugr-core", version = "0.14.2" } anyhow = "1.0.83" itertools.workspace = true delegate.workspace = true diff --git a/hugr-passes/CHANGELOG.md b/hugr-passes/CHANGELOG.md index 91929b449..d0a11e1eb 100644 --- a/hugr-passes/CHANGELOG.md +++ b/hugr-passes/CHANGELOG.md @@ -1,7 +1,7 @@ # Changelog -## [0.15.0](https://github.com/CQCL/hugr/compare/hugr-passes-v0.14.1...hugr-passes-v0.15.0) - 2025-01-20 +## [0.14.2](https://github.com/CQCL/hugr/compare/hugr-passes-v0.14.1...hugr-passes-v0.14.2) - 2025-01-20 ### New Features diff --git a/hugr-passes/Cargo.toml b/hugr-passes/Cargo.toml index 4e1dc6c1d..53454d59e 100644 --- a/hugr-passes/Cargo.toml +++ b/hugr-passes/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hugr-passes" -version = "0.15.0" +version = "0.14.2" edition = { workspace = true } rust-version = { workspace = true } license = { workspace = true } @@ -16,7 +16,7 @@ categories = ["compilers"] bench = false [dependencies] -hugr-core = { path = "../hugr-core", version = "0.15.0" } +hugr-core = { path = "../hugr-core", version = "0.14.2" } portgraph = { workspace = true } ascent = { version = "0.7.0" } itertools = { workspace = true } diff --git a/hugr/CHANGELOG.md b/hugr/CHANGELOG.md index 59a1decc6..65de2ec72 100644 --- a/hugr/CHANGELOG.md +++ b/hugr/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog -## [0.15.0](https://github.com/CQCL/hugr/compare/hugr-v0.14.1...hugr-v0.15.0) - 2025-01-20 +## [0.14.2](https://github.com/CQCL/hugr/compare/hugr-v0.14.1...hugr-v0.14.2) - 2025-01-20 ### Bug Fixes diff --git a/hugr/Cargo.toml b/hugr/Cargo.toml index 0af1bb0a5..3ed7fa859 100644 --- a/hugr/Cargo.toml +++ b/hugr/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hugr" -version = "0.15.0" +version = "0.14.2" edition = { workspace = true } rust-version = { workspace = true } @@ -30,9 +30,9 @@ llvm-test = ["hugr-llvm/llvm14-0", "hugr-llvm/test-utils"] [dependencies] hugr-model = { path = "../hugr-model", optional = true, version = "0.17.0" } -hugr-core = { path = "../hugr-core", version = "0.15.0" } -hugr-passes = { path = "../hugr-passes", version = "0.15.0" } -hugr-llvm = {path = "../hugr-llvm", version = "0.15.0", optional = true} +hugr-core = { path = "../hugr-core", version = "0.14.2" } +hugr-passes = { path = "../hugr-passes", version = "0.14.2" } +hugr-llvm = { path = "../hugr-llvm", version = "0.14.2", optional = true } [dev-dependencies] rstest = { workspace = true }