diff --git a/Cargo.lock b/Cargo.lock index 3c50e8b39b..052746ee7d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1048,7 +1048,7 @@ checksum = "c9356095b4b41197bba32173600e1582792cda618f65d12f68e2e77d273413c5" [[package]] name = "hugr" -version = "0.29.4" +version = "0.30.0" dependencies = [ "bumpalo", "criterion", @@ -1061,7 +1061,7 @@ dependencies = [ [[package]] name = "hugr-cli" -version = "0.29.4" +version = "0.30.0" dependencies = [ "anyhow", "assert_cmd", @@ -1086,7 +1086,7 @@ dependencies = [ [[package]] name = "hugr-core" -version = "0.29.4" +version = "0.30.0" dependencies = [ "anyhow", "base64 0.23.1", @@ -1131,7 +1131,7 @@ dependencies = [ [[package]] name = "hugr-llvm" -version = "0.29.4" +version = "0.30.0" dependencies = [ "anyhow", "cc", @@ -1152,7 +1152,7 @@ dependencies = [ [[package]] name = "hugr-model" -version = "0.29.4" +version = "0.30.0" dependencies = [ "anyhow", "base64 0.23.1", @@ -1178,7 +1178,7 @@ dependencies = [ [[package]] name = "hugr-persistent" -version = "0.7.8" +version = "0.7.9" dependencies = [ "delegate", "derive_more 2.1.1", diff --git a/hugr-cli/CHANGELOG.md b/hugr-cli/CHANGELOG.md index fda91decbc..f0c28518cc 100644 --- a/hugr-cli/CHANGELOG.md +++ b/hugr-cli/CHANGELOG.md @@ -1,6 +1,13 @@ # Changelog +## [0.30.0](https://github.com/Quantinuum/hugr/compare/hugr-cli-v0.29.4...hugr-cli-v0.30.0) - 2026-09-03 + +### New Features + +- *(cli)* Include edge counts in `describe` output ([#3209](https://github.com/Quantinuum/hugr/pull/3209)) +- [**breaking**] Read the extension version as optional in `ExtensionDesc` metadata ([#3231](https://github.com/Quantinuum/hugr/pull/3231)) + ## [0.28.1](https://github.com/Quantinuum/hugr/compare/hugr-cli-v0.28.0...hugr-cli-v0.28.1) - 2026-06-10 ### Bug Fixes diff --git a/hugr-cli/Cargo.toml b/hugr-cli/Cargo.toml index 4462a0128e..1c321ff9dc 100644 --- a/hugr-cli/Cargo.toml +++ b/hugr-cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hugr-cli" -version = "0.29.4" +version = "0.30.0" edition = { workspace = true } rust-version = { workspace = true } license = { workspace = true } @@ -23,7 +23,7 @@ tracing = ["dep:tracing", "dep:tracing-subscriber"] clap = { workspace = true, features = ["derive", "cargo"] } clap-verbosity-flag.workspace = true derive_more = { workspace = true, features = ["display", "error", "from"] } -hugr = { path = "../hugr", version = "0.29.4" } +hugr = { path = "../hugr", version = "0.30.0" } serde_json.workspace = true serde = { workspace = true, features = ["derive"] } clio = { workspace = true, features = ["clap-parse"] } diff --git a/hugr-core/CHANGELOG.md b/hugr-core/CHANGELOG.md index 42d14a8b32..28495870bb 100644 --- a/hugr-core/CHANGELOG.md +++ b/hugr-core/CHANGELOG.md @@ -1,6 +1,27 @@ # Changelog +## [0.30.0](https://github.com/Quantinuum/hugr/compare/hugr-core-v0.29.4...hugr-core-v0.30.0) - 2026-09-03 + +### New Features + +- *(cli)* Include edge counts in `describe` output ([#3209](https://github.com/Quantinuum/hugr/pull/3209)) +- *(hugr-model)* Allow parsing literals as constants ([#3230](https://github.com/Quantinuum/hugr/pull/3230)) +- [**breaking**] Read the extension version as optional in `ExtensionDesc` metadata ([#3231](https://github.com/Quantinuum/hugr/pull/3231)) + +### Performance + +- [**breaking**] Reuse shared `Type`s during HUGR import ([#3215](https://github.com/Quantinuum/hugr/pull/3215)) +- Avoid various intermediate clones during op resolution ([#3220](https://github.com/Quantinuum/hugr/pull/3220)) +- Cache serialized extensions to speed up encoding ([#3210](https://github.com/Quantinuum/hugr/pull/3210)) +- Pre-compute HUGR capacity when decoding a `hugr-model` ([#3219](https://github.com/Quantinuum/hugr/pull/3219)) +- Avoid cloning signatures for simple port checks ([#3149](https://github.com/Quantinuum/hugr/pull/3149)) + +### Refactor + +- Add a shared `TypeResolverContext` to avoid repeated resolution ([#3217](https://github.com/Quantinuum/hugr/pull/3217)) +- [**breaking**] Remove deprecated definitions ([#3232](https://github.com/Quantinuum/hugr/pull/3232)) + ## [0.29.4](https://github.com/Quantinuum/hugr/compare/hugr-core-v0.29.3...hugr-core-v0.29.4) - 2026-08-28 ### New Features diff --git a/hugr-core/Cargo.toml b/hugr-core/Cargo.toml index c9dbe337a8..12eb1111b9 100644 --- a/hugr-core/Cargo.toml +++ b/hugr-core/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hugr-core" -version = "0.29.4" +version = "0.30.0" edition = { workspace = true } rust-version = { workspace = true } @@ -28,7 +28,7 @@ bench = false name = "model" [dependencies] -hugr-model = { version = "0.29.4", path = "../hugr-model" } +hugr-model = { version = "0.30.0", path = "../hugr-model" } cgmath = { workspace = true, features = ["serde"] } delegate = { workspace = true } diff --git a/hugr-llvm/CHANGELOG.md b/hugr-llvm/CHANGELOG.md index cf521be115..d324cf99aa 100644 --- a/hugr-llvm/CHANGELOG.md +++ b/hugr-llvm/CHANGELOG.md @@ -1,6 +1,16 @@ # Changelog +## [0.30.0](https://github.com/Quantinuum/hugr/compare/hugr-llvm-v0.29.4...hugr-llvm-v0.30.0) - 2026-09-03 + +### Performance + +- [**breaking**] Reuse shared `Type`s during HUGR import ([#3215](https://github.com/Quantinuum/hugr/pull/3215)) + +### Refactor + +- [**breaking**] Remove deprecated definitions ([#3232](https://github.com/Quantinuum/hugr/pull/3232)) + ## [0.29.4](https://github.com/Quantinuum/hugr/compare/hugr-llvm-v0.29.3...hugr-llvm-v0.29.4) - 2026-08-28 ### Bug Fixes diff --git a/hugr-llvm/Cargo.toml b/hugr-llvm/Cargo.toml index 699702fc1d..07c68de3e5 100644 --- a/hugr-llvm/Cargo.toml +++ b/hugr-llvm/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hugr-llvm" -version = "0.29.4" +version = "0.30.0" 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.9.0, <0.11", default-features = false } -hugr-core = { path = "../hugr-core", version = "0.29.4" } +hugr-core = { path = "../hugr-core", version = "0.30.0" } anyhow.workspace = true itertools.workspace = true delegate.workspace = true diff --git a/hugr-model/CHANGELOG.md b/hugr-model/CHANGELOG.md index be8e6559de..30d6229f8e 100644 --- a/hugr-model/CHANGELOG.md +++ b/hugr-model/CHANGELOG.md @@ -1,6 +1,16 @@ # Changelog +## [0.30.0](https://github.com/Quantinuum/hugr/compare/hugr-model-v0.29.4...hugr-model-v0.30.0) - 2026-09-03 + +### New Features + +- *(hugr-model)* Allow parsing literals as constants ([#3230](https://github.com/Quantinuum/hugr/pull/3230)) + +### Performance + +- Improve `pest` AST parsing ([#3235](https://github.com/Quantinuum/hugr/pull/3235)) + ## [0.28.1](https://github.com/Quantinuum/hugr/compare/hugr-model-v0.28.0...hugr-model-v0.28.1) - 2026-06-10 ### Bug Fixes diff --git a/hugr-model/Cargo.toml b/hugr-model/Cargo.toml index b4ffb3a83c..4e51f1c9f8 100644 --- a/hugr-model/Cargo.toml +++ b/hugr-model/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hugr-model" -version = "0.29.4" +version = "0.30.0" readme = "README.md" documentation = "https://docs.rs/hugr-model/" description = "Data model for Quantinuum's HUGR intermediate representation" diff --git a/hugr-persistent/Cargo.toml b/hugr-persistent/Cargo.toml index 0be5c46fe0..41177fbc99 100644 --- a/hugr-persistent/Cargo.toml +++ b/hugr-persistent/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hugr-persistent" -version = "0.7.8" +version = "0.7.9" edition = { workspace = true } rust-version = { workspace = true } license = { workspace = true } @@ -16,7 +16,7 @@ categories = ["compilers", "science::quantum-computing"] name = "persistent_walker_example" [dependencies] -hugr-core = { path = "../hugr-core", version = "0.29.4" } +hugr-core = { path = "../hugr-core", version = "0.30.0" } derive_more = { workspace = true, features = [ "display", diff --git a/hugr-py/Cargo.toml b/hugr-py/Cargo.toml index c00b47a389..2f64997c59 100644 --- a/hugr-py/Cargo.toml +++ b/hugr-py/Cargo.toml @@ -21,9 +21,9 @@ bench = false [dependencies] bumpalo = { workspace = true, features = ["collections"] } -hugr-core = { version = "0.29.4", path = "../hugr-core", default-features = false } -hugr-cli = { version = "0.29.4", path = "../hugr-cli", default-features = false } -hugr-model = { version = "0.29.4", path = "../hugr-model", default-features = false, features = [ +hugr-core = { version = "0.30.0", path = "../hugr-core", default-features = false } +hugr-cli = { version = "0.30.0", path = "../hugr-cli", default-features = false } +hugr-model = { version = "0.30.0", path = "../hugr-model", default-features = false, features = [ "pyo3", ] } derive_more = { workspace = true } diff --git a/hugr/CHANGELOG.md b/hugr/CHANGELOG.md index 126547f783..1355d27cbd 100644 --- a/hugr/CHANGELOG.md +++ b/hugr/CHANGELOG.md @@ -1,6 +1,27 @@ # Changelog +## [0.30.0](https://github.com/Quantinuum/hugr/compare/hugr-v0.29.4...hugr-v0.30.0) - 2026-09-03 + +### New Features + +- *(cli)* Include edge counts in `describe` output ([#3209](https://github.com/Quantinuum/hugr/pull/3209)) +- *(hugr-model)* Allow parsing literals as constants ([#3230](https://github.com/Quantinuum/hugr/pull/3230)) +- [**breaking**] Read the extension version as optional in `ExtensionDesc` metadata ([#3231](https://github.com/Quantinuum/hugr/pull/3231)) + +### Performance + +- [**breaking**] Reuse shared `Type`s during HUGR import ([#3215](https://github.com/Quantinuum/hugr/pull/3215)) +- Avoid various intermediate clones during op resolution ([#3220](https://github.com/Quantinuum/hugr/pull/3220)) +- Cache serialized extensions to speed up encoding ([#3210](https://github.com/Quantinuum/hugr/pull/3210)) +- Pre-compute HUGR capacity when decoding a `hugr-model` ([#3219](https://github.com/Quantinuum/hugr/pull/3219)) +- Avoid cloning signatures for simple port checks ([#3149](https://github.com/Quantinuum/hugr/pull/3149)) + +### Refactor + +- Add a shared `TypeResolverContext` to avoid repeated resolution ([#3217](https://github.com/Quantinuum/hugr/pull/3217)) +- [**breaking**] Remove deprecated definitions ([#3232](https://github.com/Quantinuum/hugr/pull/3232)) + ## [0.29.4](https://github.com/Quantinuum/hugr/compare/hugr-v0.29.3...hugr-v0.29.4) - 2026-08-28 ### New Features diff --git a/hugr/Cargo.toml b/hugr/Cargo.toml index 907ba9d140..ac5f9f6700 100644 --- a/hugr/Cargo.toml +++ b/hugr/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hugr" -version = "0.29.4" +version = "0.30.0" edition = { workspace = true } rust-version = { workspace = true } @@ -31,10 +31,10 @@ zstd = ["hugr-core/zstd"] persistent_unstable = ["hugr-persistent"] [dependencies] -hugr-model = { path = "../hugr-model", version = "0.29.4" } -hugr-core = { path = "../hugr-core", version = "0.29.4" } -hugr-llvm = { path = "../hugr-llvm", version = "0.29.4", optional = true } -hugr-persistent = { path = "../hugr-persistent", version = "0.7.8", optional = true } +hugr-model = { path = "../hugr-model", version = "0.30.0" } +hugr-core = { path = "../hugr-core", version = "0.30.0" } +hugr-llvm = { path = "../hugr-llvm", version = "0.30.0", optional = true } +hugr-persistent = { path = "../hugr-persistent", version = "0.7.9", optional = true } [dev-dependencies] serde_json = { workspace = true }