From 783986ac8e2eeebb734b25cafe4890cff7359c95 Mon Sep 17 00:00:00 2001
From: hugrbot
Date: Mon, 20 Jan 2025 05:07:02 -0700
Subject: [PATCH] chore: release (#1868)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
## 🤖 New release
* `hugr`: 0.14.1 -> 0.14.2 (✓ API compatible changes)
* `hugr-core`: 0.14.1 -> 0.14.2 (✓ API compatible changes)
* `hugr-model`: 0.16.0 -> 0.17.0 (⚠️ API breaking changes)
* `hugr-llvm`: 0.14.1 -> 0.14.2 (✓ API compatible changes)
* `hugr-passes`: 0.14.1 -> 0.14.2 (✓ API compatible changes)
* `hugr-cli`: 0.14.1 -> 0.14.2 (✓ API compatible changes)
### ⚠️ `hugr-model` breaking changes
```
--- failure enum_variant_added: enum variant added on exhaustive enum ---
Description:
A publicly-visible enum without #[non_exhaustive] has a new variant.
ref: https://doc.rust-lang.org/cargo/reference/semver.html#enum-variant-new
impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.38.0/src/lints/enum_variant_added.ron
Failed in:
variant Term:Const in /tmp/.tmpszSQ4r/hugr/hugr-model/src/v0/mod.rs:591
variant Term:ConstFunc in /tmp/.tmpszSQ4r/hugr/hugr-model/src/v0/mod.rs:697
variant Term:ConstAdt in /tmp/.tmpszSQ4r/hugr/hugr-model/src/v0/mod.rs:703
variant Term:Bytes in /tmp/.tmpszSQ4r/hugr/hugr-model/src/v0/mod.rs:711
variant Term:BytesType in /tmp/.tmpszSQ4r/hugr/hugr-model/src/v0/mod.rs:717
variant Term:Meta in /tmp/.tmpszSQ4r/hugr/hugr-model/src/v0/mod.rs:720
variant Operation:Const in /tmp/.tmpszSQ4r/hugr/hugr-model/src/v0/mod.rs:409
--- failure enum_variant_missing: pub enum variant removed or renamed ---
Description:
A publicly-visible enum has at least one variant that is no longer available under its prior name. It may have been renamed or removed entirely.
ref: https://doc.rust-lang.org/cargo/reference/semver.html#item-remove
impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.38.0/src/lints/enum_variant_missing.ron
Failed in:
variant Term::Quote, previously in file /tmp/.tmp8fke0a/hugr-model/src/v0/mod.rs:565
--- failure struct_missing: pub struct removed or renamed ---
Description:
A publicly-visible struct cannot be imported by its prior path. A `pub use` may have been removed, or the struct itself may have been renamed or removed entirely.
ref: https://doc.rust-lang.org/cargo/reference/semver.html#item-remove
impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.38.0/src/lints/struct_missing.ron
Failed in:
struct hugr_model::v0::MetaItem, previously in file /tmp/.tmp8fke0a/hugr-model/src/v0/mod.rs:500
```
Changelog
## `hugr`
##
[0.14.2](https://github.com/CQCL/hugr/compare/hugr-v0.14.1...hugr-v0.14.2)
- 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)
## `hugr-core`
##
[0.14.2](https://github.com/CQCL/hugr/compare/hugr-core-v0.14.1...hugr-core-v0.14.2)
- 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)
## `hugr-model`
##
[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)
## `hugr-llvm`
##
[0.14.2](https://github.com/CQCL/hugr/compare/hugr-llvm-v0.14.1...hugr-llvm-v0.14.2)
- 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)
## `hugr-passes`
##
[0.14.2](https://github.com/CQCL/hugr/compare/hugr-passes-v0.14.1...hugr-passes-v0.14.2)
- 2025-01-20
### New Features
- Add CallGraph struct, and dead-function-removal pass (#1796)
## `hugr-cli`
##
[0.14.1](https://github.com/CQCL/hugr/compare/hugr-cli-v0.14.0...hugr-cli-v0.14.1)
- 2024-12-18
### New Features
- Print `hugr-cli`'s correct version when using '--version' (#1790)
---
This PR was generated with
[release-plz](https://github.com/release-plz/release-plz/).
---------
Co-authored-by: Agustín Borgna
---
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..4d13591d7 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.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.14.1" }
+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 f206888ee..93f31f71b 100644
--- a/hugr-core/CHANGELOG.md
+++ b/hugr-core/CHANGELOG.md
@@ -1,5 +1,27 @@
# Changelog
+## [0.14.2](https://github.com/CQCL/hugr/compare/hugr-core-v0.14.1...hugr-core-v0.14.2) - 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..81bc8abed 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.14.2"
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..3fd79e6b7 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.14.2](https://github.com/CQCL/hugr/compare/hugr-llvm-v0.14.1...hugr-llvm-v0.14.2) - 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..7b26ee27d 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.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.14.1" }
+hugr-core = { path = "../hugr-core", version = "0.14.2" }
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..d0a11e1eb 100644
--- a/hugr-passes/CHANGELOG.md
+++ b/hugr-passes/CHANGELOG.md
@@ -1,6 +1,12 @@
# Changelog
+## [0.14.2](https://github.com/CQCL/hugr/compare/hugr-passes-v0.14.1...hugr-passes-v0.14.2) - 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..53454d59e 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.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.14.1" }
+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 4697d76c0..65de2ec72 100644
--- a/hugr/CHANGELOG.md
+++ b/hugr/CHANGELOG.md
@@ -1,5 +1,28 @@
# Changelog
+## [0.14.2](https://github.com/CQCL/hugr/compare/hugr-v0.14.1...hugr-v0.14.2) - 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..3ed7fa859 100644
--- a/hugr/Cargo.toml
+++ b/hugr/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "hugr"
-version = "0.14.1"
+version = "0.14.2"
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.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 }