Skip to content

Commit 7958c0e

Browse files
author
hugrbot
authored
chore: release (#1794)
## 🤖 New release * `hugr`: 0.14.0 -> 0.14.1 (✓ API compatible changes) * `hugr-core`: 0.14.0 -> 0.14.1 (✓ API compatible changes) * `hugr-model`: 0.15.0 -> 0.16.0 (⚠️ API breaking changes) * `hugr-llvm`: 0.14.0 -> 0.14.1 (✓ API compatible changes) * `hugr-passes`: 0.14.0 -> 0.14.1 (✓ API compatible changes) * `hugr-cli`: 0.14.0 -> 0.14.1 (✓ API compatible changes) ### ⚠️ `hugr-model` breaking changes ``` --- failure constructible_struct_adds_field: externally-constructible struct adds field --- Description: A pub struct constructible with a struct literal has a new pub field. Existing struct literals must be updated to include the new field. ref: https://doc.rust-lang.org/reference/expressions/struct-expr.html impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.37.0/src/lints/constructible_struct_adds_field.ron Failed in: field Region.scope in /tmp/.tmpN5f4vM/hugr/hugr-model/src/v0/mod.rs:414 field LinkId.1 in /tmp/.tmpN5f4vM/hugr/hugr-model/src/v0/mod.rs:162 --- failure enum_missing: pub enum removed or renamed --- Description: A publicly-visible enum cannot be imported by its prior path. A `pub use` may have been removed, or the enum 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.37.0/src/lints/enum_missing.ron Failed in: enum hugr_model::v0::GlobalRef, previously in file /tmp/.tmp2gotdW/hugr-model/src/v0/mod.rs:456 enum hugr_model::v0::LocalRef, previously in file /tmp/.tmp2gotdW/hugr-model/src/v0/mod.rs:476 enum hugr_model::v0::LinkRef, previously in file /tmp/.tmp2gotdW/hugr-model/src/v0/mod.rs:494 --- failure enum_struct_variant_field_added: pub enum struct variant field added --- Description: An enum's exhaustive struct variant has a new field, which has to be included when constructing or matching on this variant. ref: https://doc.rust-lang.org/reference/attributes/type_system.html#the-non_exhaustive-attribute impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.37.0/src/lints/enum_struct_variant_field_added.ron Failed in: field symbol of variant Term::Apply in /tmp/.tmpN5f4vM/hugr/hugr-model/src/v0/mod.rs:544 field symbol of variant Term::ApplyFull in /tmp/.tmpN5f4vM/hugr/hugr-model/src/v0/mod.rs:557 --- failure enum_struct_variant_field_missing: pub enum struct variant's field removed or renamed --- Description: A publicly-visible enum has a struct variant whose field 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.37.0/src/lints/enum_struct_variant_field_missing.ron Failed in: field global of variant Term::Apply, previously in file /tmp/.tmp2gotdW/hugr-model/src/v0/mod.rs:544 field global of variant Term::ApplyFull, previously in file /tmp/.tmp2gotdW/hugr-model/src/v0/mod.rs:557 --- 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.37.0/src/lints/enum_variant_added.ron Failed in: variant ModelError:InvalidVar in /tmp/.tmpN5f4vM/hugr/hugr-model/src/v0/mod.rs:723 variant ModelError:InvalidSymbol in /tmp/.tmpN5f4vM/hugr/hugr-model/src/v0/mod.rs:726 variant Operation:Import in /tmp/.tmpN5f4vM/hugr/hugr-model/src/v0/mod.rs:374 --- 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.37.0/src/lints/enum_variant_missing.ron Failed in: variant ModelError::InvalidLocal, previously in file /tmp/.tmp2gotdW/hugr-model/src/v0/mod.rs:723 variant ModelError::InvalidGlobal, previously in file /tmp/.tmp2gotdW/hugr-model/src/v0/mod.rs:727 --- failure inherent_method_missing: pub method removed or renamed --- Description: A publicly-visible method or associated fn 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.37.0/src/lints/inherent_method_missing.ron Failed in: LinkId::new, previously in file /tmp/.tmp2gotdW/hugr-model/src/v0/mod.rs:140 LinkId::index, previously in file /tmp/.tmp2gotdW/hugr-model/src/v0/mod.rs:140 LinkId::unwrap_slice, previously in file /tmp/.tmp2gotdW/hugr-model/src/v0/mod.rs:140 LinkId::wrap_slice, previously in file /tmp/.tmp2gotdW/hugr-model/src/v0/mod.rs:140 --- failure struct_repr_transparent_removed: struct repr(transparent) removed --- Description: repr(transparent) was removed from a struct whose layout was part of the public ABI. This can cause its memory layout to change, breaking FFI use cases. ref: https://doc.rust-lang.org/cargo/reference/semver.html#repr-transparent-remove impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.37.0/src/lints/struct_repr_transparent_removed.ron Failed in: struct LinkId in /tmp/.tmpN5f4vM/hugr/hugr-model/src/v0/mod.rs:162 ``` <details><summary><i><b>Changelog</b></i></summary><p> ## `hugr` <blockquote> ## [0.14.1](hugr-v0.14.0...hugr-v0.14.1) - 2024-12-18 ### Bug Fixes - Constant folding now tolerates root nodes without input/output nodes (#1799) - `Call` ops not tracking their parameter extensions (#1805) ### New Features - add MonomorphizePass and deprecate monomorphize (#1809) - Lower LoadNat to LLVM (#1801) - Cleanup `Display` of types and arguments (#1802) - add ArrayValue to python, rust and lowering (#1773) - Scoping rules and utilities for symbols, links and variables (#1754) </blockquote> ## `hugr-core` <blockquote> ## [0.14.1](hugr-core-v0.14.0...hugr-core-v0.14.1) - 2024-12-18 ### Bug Fixes - `Call` ops not tracking their parameter extensions (#1805) ### New Features - Lower LoadNat to LLVM (#1801) - Cleanup `Display` of types and arguments (#1802) - add ArrayValue to python, rust and lowering (#1773) - Scoping rules and utilities for symbols, links and variables (#1754) </blockquote> ## `hugr-model` <blockquote> ## [0.16.0](hugr-model-v0.15.0...hugr-model-v0.16.0) - 2024-12-18 ### New Features - Scoping rules and utilities for symbols, links and variables (#1754) </blockquote> ## `hugr-llvm` <blockquote> ## [0.14.1](hugr-llvm-v0.14.0...hugr-llvm-v0.14.1) - 2024-12-18 ### Bug Fixes - Add LLVM lowering for `logic.Not` (#1812) ### New Features - Lower LoadNat to LLVM (#1801) - add ArrayValue to python, rust and lowering (#1773) </blockquote> ## `hugr-passes` <blockquote> ## [0.14.1](hugr-passes-v0.14.0...hugr-passes-v0.14.1) - 2024-12-18 ### Bug Fixes - Constant folding now tolerates root nodes without input/output nodes (#1799) ### New Features - Cleanup `Display` of types and arguments (#1802) - add MonomorphizePass and deprecate monomorphize (#1809) </blockquote> ## `hugr-cli` <blockquote> ## [0.14.1](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) </blockquote> </p></details> --- This PR was generated with [release-plz](https://github.com/release-plz/release-plz/).
1 parent f0385a0 commit 7958c0e

File tree

12 files changed

+76
-14
lines changed

12 files changed

+76
-14
lines changed

hugr-cli/CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
# Changelog
22

33

4+
## [0.14.1](https://github.com/CQCL/hugr/compare/hugr-cli-v0.14.0...hugr-cli-v0.14.1) - 2024-12-18
5+
6+
### New Features
7+
8+
- Print `hugr-cli`'s correct version when using '--version' (#1790)
9+
410
## [0.14.0](https://github.com/CQCL/hugr/compare/hugr-cli-v0.13.3...hugr-cli-v0.14.0) - 2024-12-16
511

612
### ⚠ BREAKING CHANGES

hugr-cli/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "hugr-cli"
3-
version = "0.14.0"
3+
version = "0.14.1"
44
edition = { workspace = true }
55
rust-version = { workspace = true }
66
license = { workspace = true }
@@ -19,7 +19,7 @@ bench = false
1919
clap = { workspace = true, features = ["derive", "cargo"] }
2020
clap-verbosity-flag.workspace = true
2121
derive_more = { workspace = true, features = ["display", "error", "from"] }
22-
hugr = { path = "../hugr", version = "0.14.0" }
22+
hugr = { path = "../hugr", version = "0.14.1" }
2323
serde_json.workspace = true
2424
clio = { workspace = true, features = ["clap-parse"] }
2525

hugr-core/CHANGELOG.md

+13
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
# Changelog
22

3+
## [0.14.1](https://github.com/CQCL/hugr/compare/hugr-core-v0.14.0...hugr-core-v0.14.1) - 2024-12-18
4+
5+
### Bug Fixes
6+
7+
- `Call` ops not tracking their parameter extensions (#1805)
8+
9+
### New Features
10+
11+
- Lower LoadNat to LLVM (#1801)
12+
- Cleanup `Display` of types and arguments (#1802)
13+
- add ArrayValue to python, rust and lowering (#1773)
14+
- Scoping rules and utilities for symbols, links and variables (#1754)
15+
316
## [0.14.0](https://github.com/CQCL/hugr/compare/hugr-core-v0.13.3...hugr-core-v0.14.0) - 2024-12-16
417

518
This release includes a long list of breaking changes that simplify the API, specially around

hugr-core/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "hugr-core"
3-
version = "0.14.0"
3+
version = "0.14.1"
44
edition = { workspace = true }
55
rust-version = { workspace = true }
66

@@ -53,7 +53,7 @@ paste = { workspace = true }
5353
strum = { workspace = true }
5454
strum_macros = { workspace = true }
5555
semver = { version = "1.0.23", features = ["serde"] }
56-
hugr-model = { version = "0.15.0", path = "../hugr-model", optional = true }
56+
hugr-model = { version = "0.16.0", path = "../hugr-model", optional = true }
5757
indexmap.workspace = true
5858
fxhash.workspace = true
5959
bumpalo = { workspace = true, features = ["collections"] }

hugr-llvm/CHANGELOG.md

+11
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,17 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

77
## [Unreleased]
8+
9+
## [0.14.1](https://github.com/CQCL/hugr/compare/hugr-llvm-v0.14.0...hugr-llvm-v0.14.1) - 2024-12-18
10+
11+
### Bug Fixes
12+
13+
- Add LLVM lowering for `logic.Not` (#1812)
14+
15+
### New Features
16+
17+
- Lower LoadNat to LLVM (#1801)
18+
- add ArrayValue to python, rust and lowering (#1773)
819
## [0.13.3](https://github.com/CQCL/hugr-llvm/compare/v0.6.0...v0.6.1) - 2024-11-25
920
No changes - version bump to catch up with other hugr crates in repository move.
1021

hugr-llvm/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "hugr-llvm"
3-
version = "0.14.0"
3+
version = "0.14.1"
44
description = "A general and extensible crate for lowering HUGRs into LLVM IR"
55

66
edition.workspace = true
@@ -32,7 +32,7 @@ llvm14-0 = ["inkwell/llvm14-0"]
3232

3333
[dependencies]
3434
inkwell = { version = "0.5.0", default-features = false }
35-
hugr-core = { path = "../hugr-core", version = "0.14.0" }
35+
hugr-core = { path = "../hugr-core", version = "0.14.1" }
3636
anyhow = "1.0.83"
3737
itertools.workspace = true
3838
delegate.workspace = true

hugr-model/CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
## [0.16.0](https://github.com/CQCL/hugr/compare/hugr-model-v0.15.0...hugr-model-v0.16.0) - 2024-12-18
4+
5+
### New Features
6+
7+
- Scoping rules and utilities for symbols, links and variables (#1754)
8+
39
## [0.15.0](https://github.com/CQCL/hugr/compare/hugr-model-v0.14.0...hugr-model-v0.15.0) - 2024-12-16
410

511
### Bug Fixes

hugr-model/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "hugr-model"
3-
version = "0.15.0"
3+
version = "0.16.0"
44
readme = "README.md"
55
documentation = "https://docs.rs/hugr-model/"
66
description = "Data model for Quantinuum's HUGR intermediate representation"

hugr-passes/CHANGELOG.md

+11
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,17 @@
11
# Changelog
22

33

4+
## [0.14.1](https://github.com/CQCL/hugr/compare/hugr-passes-v0.14.0...hugr-passes-v0.14.1) - 2024-12-18
5+
6+
### Bug Fixes
7+
8+
- Constant folding now tolerates root nodes without input/output nodes (#1799)
9+
10+
### New Features
11+
12+
- Cleanup `Display` of types and arguments (#1802)
13+
- add MonomorphizePass and deprecate monomorphize (#1809)
14+
415
## [0.14.0](https://github.com/CQCL/hugr/compare/hugr-passes-v0.13.3...hugr-passes-v0.14.0) - 2024-12-16
516

617
### ⚠ BREAKING CHANGES

hugr-passes/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "hugr-passes"
3-
version = "0.14.0"
3+
version = "0.14.1"
44
edition = { workspace = true }
55
rust-version = { workspace = true }
66
license = { workspace = true }
@@ -16,7 +16,7 @@ categories = ["compilers"]
1616
bench = false
1717

1818
[dependencies]
19-
hugr-core = { path = "../hugr-core", version = "0.14.0" }
19+
hugr-core = { path = "../hugr-core", version = "0.14.1" }
2020
portgraph = { workspace = true }
2121
ascent = { version = "0.7.0" }
2222
itertools = { workspace = true }

hugr/CHANGELOG.md

+15
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
11
# Changelog
22

3+
## [0.14.1](https://github.com/CQCL/hugr/compare/hugr-v0.14.0...hugr-v0.14.1) - 2024-12-18
4+
5+
### Bug Fixes
6+
7+
- Constant folding now tolerates root nodes without input/output nodes (#1799)
8+
- `Call` ops not tracking their parameter extensions (#1805)
9+
10+
### New Features
11+
12+
- add MonomorphizePass and deprecate monomorphize (#1809)
13+
- Lower LoadNat to LLVM (#1801)
14+
- Cleanup `Display` of types and arguments (#1802)
15+
- add ArrayValue to python, rust and lowering (#1773)
16+
- Scoping rules and utilities for symbols, links and variables (#1754)
17+
318
## [0.14.0](https://github.com/CQCL/hugr/compare/hugr-v0.13.3...hugr-v0.14.0) - 2024-12-16
419

520
This release includes a long list of breaking changes that simplify the API, specially around

hugr/Cargo.toml

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "hugr"
3-
version = "0.14.0"
3+
version = "0.14.1"
44
edition = { workspace = true }
55
rust-version = { workspace = true }
66

@@ -29,10 +29,10 @@ llvm = ["hugr-llvm/llvm14-0"]
2929
llvm-test = ["hugr-llvm/llvm14-0", "hugr-llvm/test-utils"]
3030

3131
[dependencies]
32-
hugr-model = { path = "../hugr-model", optional = true, version = "0.15.0" }
33-
hugr-core = { path = "../hugr-core", version = "0.14.0" }
34-
hugr-passes = { path = "../hugr-passes", version = "0.14.0" }
35-
hugr-llvm = {path = "../hugr-llvm", version = "0.14.0", optional = true}
32+
hugr-model = { path = "../hugr-model", optional = true, version = "0.16.0" }
33+
hugr-core = { path = "../hugr-core", version = "0.14.1" }
34+
hugr-passes = { path = "../hugr-passes", version = "0.14.1" }
35+
hugr-llvm = {path = "../hugr-llvm", version = "0.14.1", optional = true}
3636

3737
[dev-dependencies]
3838
rstest = { workspace = true }

0 commit comments

Comments
 (0)