diff --git a/Cargo.lock b/Cargo.lock index 3a643ffd39..5993011561 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1201,7 +1201,7 @@ checksum = "6dbf3de79e51f3d586ab4cb9d5c3e2c14aa28ed23d180cf89b4df0454a69cc87" [[package]] name = "hugr" -version = "0.21.0" +version = "0.22.0" dependencies = [ "bumpalo", "criterion", @@ -1216,7 +1216,7 @@ dependencies = [ [[package]] name = "hugr-cli" -version = "0.21.0" +version = "0.22.0" dependencies = [ "anyhow", "assert_cmd", @@ -1237,7 +1237,7 @@ dependencies = [ [[package]] name = "hugr-core" -version = "0.21.0" +version = "0.22.0" dependencies = [ "anyhow", "base64", @@ -1282,7 +1282,7 @@ dependencies = [ [[package]] name = "hugr-llvm" -version = "0.21.0" +version = "0.22.0" dependencies = [ "anyhow", "delegate", @@ -1301,7 +1301,7 @@ dependencies = [ [[package]] name = "hugr-model" -version = "0.21.0" +version = "0.22.0" dependencies = [ "base64", "bumpalo", @@ -1325,7 +1325,7 @@ dependencies = [ [[package]] name = "hugr-passes" -version = "0.21.0" +version = "0.22.0" dependencies = [ "ascent", "derive_more 1.0.0", @@ -1344,7 +1344,7 @@ dependencies = [ [[package]] name = "hugr-persistent" -version = "0.1.0" +version = "0.2.0" dependencies = [ "delegate", "derive_more 1.0.0", diff --git a/hugr-cli/CHANGELOG.md b/hugr-cli/CHANGELOG.md index 5c498a199f..7b68a2e9f1 100644 --- a/hugr-cli/CHANGELOG.md +++ b/hugr-cli/CHANGELOG.md @@ -1,5 +1,19 @@ # Changelog +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [Unreleased] + +## [0.22.0](https://github.com/CQCL/hugr/compare/hugr-cli-v0.21.0...hugr-cli-v0.22.0) - 2025-07-24 + +### New Features + +- include generator metatada in model import and cli validate errors ([#2452](https://github.com/CQCL/hugr/pull/2452)) +# Changelog + ## [0.21.0](https://github.com/CQCL/hugr/compare/hugr-cli-v0.20.2...hugr-cli-v0.21.0) - 2025-07-09 diff --git a/hugr-cli/Cargo.toml b/hugr-cli/Cargo.toml index 964967ca79..96a10ed23a 100644 --- a/hugr-cli/Cargo.toml +++ b/hugr-cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hugr-cli" -version = "0.21.0" +version = "0.22.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.21.0" } +hugr = { path = "../hugr", version = "0.22.0" } serde_json.workspace = true clio = { workspace = true, features = ["clap-parse"] } anyhow.workspace = true diff --git a/hugr-core/CHANGELOG.md b/hugr-core/CHANGELOG.md index 28aee65198..7b66ff2b0f 100644 --- a/hugr-core/CHANGELOG.md +++ b/hugr-core/CHANGELOG.md @@ -1,5 +1,30 @@ # Changelog +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [Unreleased] + +## [0.22.0](https://github.com/CQCL/hugr/compare/hugr-core-v0.21.0...hugr-core-v0.22.0) - 2025-07-24 + +### Bug Fixes + +- Ensure SumTypes have the same json encoding in -rs and -py ([#2465](https://github.com/CQCL/hugr/pull/2465)) + +### New Features + +- Export entrypoint metadata in Python and fix bug in import ([#2434](https://github.com/CQCL/hugr/pull/2434)) +- Names of private functions become `core.title` metadata. ([#2448](https://github.com/CQCL/hugr/pull/2448)) +- [**breaking**] Use binary envelopes for operation lower_func encoding ([#2447](https://github.com/CQCL/hugr/pull/2447)) +- [**breaking**] Update portgraph dependency to 0.15 ([#2455](https://github.com/CQCL/hugr/pull/2455)) +- Detect and fail on unrecognised envelope flags ([#2453](https://github.com/CQCL/hugr/pull/2453)) +- include generator metatada in model import and cli validate errors ([#2452](https://github.com/CQCL/hugr/pull/2452)) +- [**breaking**] Add `insert_region` to HugrMut ([#2463](https://github.com/CQCL/hugr/pull/2463)) +- Non-region entrypoints in `hugr-model`. ([#2467](https://github.com/CQCL/hugr/pull/2467)) +# Changelog + ## [0.21.0](https://github.com/CQCL/hugr/compare/hugr-core-v0.20.2...hugr-core-v0.21.0) - 2025-07-09 ### Bug Fixes diff --git a/hugr-core/Cargo.toml b/hugr-core/Cargo.toml index 4ee6baf4a4..47e58f49b3 100644 --- a/hugr-core/Cargo.toml +++ b/hugr-core/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hugr-core" -version = "0.21.0" +version = "0.22.0" edition = { workspace = true } rust-version = { workspace = true } @@ -28,7 +28,7 @@ bench = false name = "model" [dependencies] -hugr-model = { version = "0.21.0", path = "../hugr-model" } +hugr-model = { version = "0.22.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 936fa57f03..0f4614c75b 100644 --- a/hugr-llvm/CHANGELOG.md +++ b/hugr-llvm/CHANGELOG.md @@ -1,4 +1,12 @@ # Changelog + +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [Unreleased] +# Changelog All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), diff --git a/hugr-llvm/Cargo.toml b/hugr-llvm/Cargo.toml index dee032ede0..92fc9d9c31 100644 --- a/hugr-llvm/Cargo.toml +++ b/hugr-llvm/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hugr-llvm" -version = "0.21.0" +version = "0.22.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.6.0", default-features = false } -hugr-core = { path = "../hugr-core", version = "0.21.0" } +hugr-core = { path = "../hugr-core", version = "0.22.0" } anyhow.workspace = true itertools.workspace = true delegate.workspace = true diff --git a/hugr-model/CHANGELOG.md b/hugr-model/CHANGELOG.md index fbfb9a2593..c5b9353421 100644 --- a/hugr-model/CHANGELOG.md +++ b/hugr-model/CHANGELOG.md @@ -1,5 +1,21 @@ # Changelog +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [Unreleased] + +## [0.22.0](https://github.com/CQCL/hugr/compare/hugr-model-v0.21.0...hugr-model-v0.22.0) - 2025-07-24 + +### New Features + +- Names of private functions become `core.title` metadata. ([#2448](https://github.com/CQCL/hugr/pull/2448)) +- include generator metatada in model import and cli validate errors ([#2452](https://github.com/CQCL/hugr/pull/2452)) +- Version number in hugr binary format. ([#2468](https://github.com/CQCL/hugr/pull/2468)) +# Changelog + ## [0.21.0](https://github.com/CQCL/hugr/compare/hugr-model-v0.20.2...hugr-model-v0.21.0) - 2025-07-09 ### Bug Fixes diff --git a/hugr-model/Cargo.toml b/hugr-model/Cargo.toml index aca5528904..0b6cb5fc0b 100644 --- a/hugr-model/Cargo.toml +++ b/hugr-model/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hugr-model" -version = "0.21.0" +version = "0.22.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 08698b8cf4..9b3f2b1e36 100644 --- a/hugr-passes/CHANGELOG.md +++ b/hugr-passes/CHANGELOG.md @@ -1,5 +1,20 @@ # Changelog +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [Unreleased] + +## [0.22.0](https://github.com/CQCL/hugr/compare/hugr-passes-v0.21.0...hugr-passes-v0.22.0) - 2025-07-24 + +### New Features + +- ReplaceTypes allows linearizing inside Op replacements ([#2435](https://github.com/CQCL/hugr/pull/2435)) +- Add pass for DFG inlining ([#2460](https://github.com/CQCL/hugr/pull/2460)) +# Changelog + ## [0.21.0](https://github.com/CQCL/hugr/compare/hugr-passes-v0.20.2...hugr-passes-v0.21.0) - 2025-07-09 diff --git a/hugr-passes/Cargo.toml b/hugr-passes/Cargo.toml index bd37426d75..16ab101b44 100644 --- a/hugr-passes/Cargo.toml +++ b/hugr-passes/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hugr-passes" -version = "0.21.0" +version = "0.22.0" edition = { workspace = true } rust-version = { workspace = true } license = { workspace = true } @@ -19,7 +19,7 @@ workspace = true bench = false [dependencies] -hugr-core = { path = "../hugr-core", version = "0.21.0" } +hugr-core = { path = "../hugr-core", version = "0.22.0" } portgraph = { workspace = true } ascent = { version = "0.8.0" } derive_more = { workspace = true, features = ["display", "error", "from"] } diff --git a/hugr-persistent/CHANGELOG.md b/hugr-persistent/CHANGELOG.md index de98d92c89..fb74ca785b 100644 --- a/hugr-persistent/CHANGELOG.md +++ b/hugr-persistent/CHANGELOG.md @@ -1,5 +1,19 @@ # Changelog +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [Unreleased] + +## [0.2.0](https://github.com/CQCL/hugr/compare/hugr-persistent-v0.1.0...hugr-persistent-v0.2.0) - 2025-07-24 + +### New Features + +- [**breaking**] Update portgraph dependency to 0.15 ([#2455](https://github.com/CQCL/hugr/pull/2455)) +# Changelog + ## 0.1.0 (2025-07-10) Initial release. diff --git a/hugr-persistent/Cargo.toml b/hugr-persistent/Cargo.toml index ff22d43efd..446e4cde5e 100644 --- a/hugr-persistent/Cargo.toml +++ b/hugr-persistent/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hugr-persistent" -version = "0.1.0" +version = "0.2.0" edition = { workspace = true } rust-version = { workspace = true } license = { workspace = true } @@ -16,7 +16,7 @@ categories = ["compilers"] name = "persistent_walker_example" [dependencies] -hugr-core = { path = "../hugr-core", version = "0.21.0" } +hugr-core = { path = "../hugr-core", version = "0.22.0" } derive_more = { workspace = true, features = ["display", "error", "from"] } delegate.workspace = true diff --git a/hugr-py/Cargo.toml b/hugr-py/Cargo.toml index 4a4c6f11a4..aeb06c1b59 100644 --- a/hugr-py/Cargo.toml +++ b/hugr-py/Cargo.toml @@ -21,6 +21,6 @@ bench = false [dependencies] bumpalo = { workspace = true, features = ["collections"] } -hugr-model = { version = "0.21.0", path = "../hugr-model", features = ["pyo3"] } +hugr-model = { version = "0.22.0", path = "../hugr-model", features = ["pyo3"] } paste.workspace = true pyo3 = { workspace = true, features = ["extension-module", "abi3-py310"] } diff --git a/hugr/CHANGELOG.md b/hugr/CHANGELOG.md index 71f1549c8e..a61eb2cf49 100644 --- a/hugr/CHANGELOG.md +++ b/hugr/CHANGELOG.md @@ -1,5 +1,32 @@ # Changelog +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [Unreleased] + +## [0.22.0](https://github.com/CQCL/hugr/compare/hugr-v0.21.0...hugr-v0.22.0) - 2025-07-24 + +### Bug Fixes + +- Ensure SumTypes have the same json encoding in -rs and -py ([#2465](https://github.com/CQCL/hugr/pull/2465)) + +### New Features + +- ReplaceTypes allows linearizing inside Op replacements ([#2435](https://github.com/CQCL/hugr/pull/2435)) +- Add pass for DFG inlining ([#2460](https://github.com/CQCL/hugr/pull/2460)) +- Export entrypoint metadata in Python and fix bug in import ([#2434](https://github.com/CQCL/hugr/pull/2434)) +- Names of private functions become `core.title` metadata. ([#2448](https://github.com/CQCL/hugr/pull/2448)) +- [**breaking**] Use binary envelopes for operation lower_func encoding ([#2447](https://github.com/CQCL/hugr/pull/2447)) +- [**breaking**] Update portgraph dependency to 0.15 ([#2455](https://github.com/CQCL/hugr/pull/2455)) +- Detect and fail on unrecognised envelope flags ([#2453](https://github.com/CQCL/hugr/pull/2453)) +- include generator metatada in model import and cli validate errors ([#2452](https://github.com/CQCL/hugr/pull/2452)) +- [**breaking**] Add `insert_region` to HugrMut ([#2463](https://github.com/CQCL/hugr/pull/2463)) +- Non-region entrypoints in `hugr-model`. ([#2467](https://github.com/CQCL/hugr/pull/2467)) +# Changelog + ## [0.21.0](https://github.com/CQCL/hugr/compare/hugr-v0.20.2...hugr-v0.21.0) - 2025-07-09 diff --git a/hugr/Cargo.toml b/hugr/Cargo.toml index 80c285a6c0..445e768d8e 100644 --- a/hugr/Cargo.toml +++ b/hugr/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hugr" -version = "0.21.0" +version = "0.22.0" edition = { workspace = true } rust-version = { workspace = true } @@ -31,11 +31,11 @@ zstd = ["hugr-core/zstd"] persistent_unstable = ["hugr-persistent"] [dependencies] -hugr-model = { path = "../hugr-model", version = "0.21.0" } -hugr-core = { path = "../hugr-core", version = "0.21.0" } -hugr-passes = { path = "../hugr-passes", version = "0.21.0" } -hugr-llvm = { path = "../hugr-llvm", version = "0.21.0", optional = true } -hugr-persistent = { path = "../hugr-persistent", version = "0.1.0", optional = true } +hugr-model = { path = "../hugr-model", version = "0.22.0" } +hugr-core = { path = "../hugr-core", version = "0.22.0" } +hugr-passes = { path = "../hugr-passes", version = "0.22.0" } +hugr-llvm = { path = "../hugr-llvm", version = "0.22.0", optional = true } +hugr-persistent = { path = "../hugr-persistent", version = "0.2.0", optional = true } [dev-dependencies] lazy_static = { workspace = true }