Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions hugr-cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,17 @@
# Changelog


## [0.26.0](https://github.com/Quantinuum/hugr/compare/hugr-cli-v0.25.7...hugr-cli-v0.26.0) - 2026-03-16

### Documentation

- Move `spec/schema` and `spec/std_extensions` to `resources/` ([#2897](https://github.com/Quantinuum/hugr/pull/2897))

### New Features

- [**breaking**] Rename ModelText envelope format to SExpression ([#2927](https://github.com/Quantinuum/hugr/pull/2927))
- [**breaking**] TypeRow: add impl From array of Type, remove From<Type> ([#2784](https://github.com/Quantinuum/hugr/pull/2784))

## [0.25.6](https://github.com/Quantinuum/hugr/compare/hugr-cli-v0.25.5...hugr-cli-v0.25.6) - 2026-02-20

### New Features
Expand Down
4 changes: 2 additions & 2 deletions hugr-cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "hugr-cli"
version = "0.25.7"
version = "0.26.0"
edition = { workspace = true }
rust-version = { workspace = true }
license = { workspace = true }
Expand All @@ -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.25.7" }
hugr = { path = "../hugr", version = "0.26.0" }
serde_json.workspace = true
serde = { workspace = true, features = ["derive"] }
clio = { workspace = true, features = ["clap-parse"] }
Expand Down
31 changes: 31 additions & 0 deletions hugr-core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,37 @@
# Changelog


## [0.26.0](https://github.com/Quantinuum/hugr/compare/hugr-core-v0.25.7...hugr-core-v0.26.0) - 2026-03-16

### Bug Fixes

- Keep declared used_extensions in envelope description ([#2932](https://github.com/Quantinuum/hugr/pull/2932))

### Documentation

- Move `spec/schema` and `spec/std_extensions` to `resources/` ([#2897](https://github.com/Quantinuum/hugr/pull/2897))

### Miscellaneous Tasks

- [**breaking**] Fix new clippy warning on rust 1.94 ([#2912](https://github.com/Quantinuum/hugr/pull/2912))

### New Features

- [**breaking**] Rename ModelText envelope format to SExpression ([#2927](https://github.com/Quantinuum/hugr/pull/2927))
- [**breaking**] Fix lower_funcs with custom extensions failing to load ([#2925](https://github.com/Quantinuum/hugr/pull/2925))
- [**breaking**] TypeRow: add impl From array of Type, remove From<Type> ([#2784](https://github.com/Quantinuum/hugr/pull/2784))
- Deprecate HugrView::as_petgraph ([#2944](https://github.com/Quantinuum/hugr/pull/2944))

### Refactor

- [**breaking**] Remove deprecated Value::Function ([#2928](https://github.com/Quantinuum/hugr/pull/2928))
- [**breaking**] Remove deprecated definitions ([#2930](https://github.com/Quantinuum/hugr/pull/2930))

### Testing

- Fix type_row intos in doctests ([#2941](https://github.com/Quantinuum/hugr/pull/2941))
- Add missing width arg in model-call example ([#2945](https://github.com/Quantinuum/hugr/pull/2945))

## [0.25.7](https://github.com/Quantinuum/hugr/compare/hugr-core-v0.25.6...hugr-core-v0.25.7) - 2026-03-06

### Documentation
Expand Down
4 changes: 2 additions & 2 deletions hugr-core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "hugr-core"
version = "0.25.7"
version = "0.26.0"
edition = { workspace = true }
rust-version = { workspace = true }

Expand Down Expand Up @@ -28,7 +28,7 @@ bench = false
name = "model"

[dependencies]
hugr-model = { version = "0.25.7", path = "../hugr-model" }
hugr-model = { version = "0.26.0", path = "../hugr-model" }

cgmath = { workspace = true, features = ["serde"] }
delegate = { workspace = true }
Expand Down
13 changes: 13 additions & 0 deletions hugr-llvm/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,19 @@
# Changelog


## [0.26.0](https://github.com/Quantinuum/hugr/compare/hugr-llvm-v0.25.7...hugr-llvm-v0.26.0) - 2026-03-16

### New Features

- *(llvm)* [**breaking**] Upgrade to LLVM 21 ([#2901](https://github.com/Quantinuum/hugr/pull/2901))
- Include private HUGR functions in the local symbol table ([#2831](https://github.com/Quantinuum/hugr/pull/2831))
- [**breaking**] TypeRow: add impl From array of Type, remove From<Type> ([#2784](https://github.com/Quantinuum/hugr/pull/2784))

### Refactor

- [**breaking**] Remove deprecated Value::Function ([#2928](https://github.com/Quantinuum/hugr/pull/2928))
- [**breaking**] Remove deprecated stack_array codegen ([#2929](https://github.com/Quantinuum/hugr/pull/2929))

## [0.25.6](https://github.com/Quantinuum/hugr/compare/hugr-llvm-v0.25.5...hugr-llvm-v0.25.6) - 2026-02-20

### New Features
Expand Down
4 changes: 2 additions & 2 deletions hugr-llvm/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "hugr-llvm"
version = "0.25.7"
version = "0.26.0"
description = "A general and extensible crate for lowering HUGRs into LLVM IR"

edition.workspace = true
Expand All @@ -26,7 +26,7 @@ workspace = true

[dependencies]
inkwell = { version = ">=0.7.1, <0.9", default-features = false }
hugr-core = { path = "../hugr-core", version = "0.25.7" }
hugr-core = { path = "../hugr-core", version = "0.26.0" }
anyhow.workspace = true
itertools.workspace = true
delegate.workspace = true
Expand Down
7 changes: 7 additions & 0 deletions hugr-model/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
# Changelog


## [0.26.0](https://github.com/Quantinuum/hugr/compare/hugr-model-v0.25.7...hugr-model-v0.26.0) - 2026-03-16

### Testing

- Replace model text snapshots with roundtrip tests ([#2933](https://github.com/Quantinuum/hugr/pull/2933))
- Add missing width arg in model-call example ([#2945](https://github.com/Quantinuum/hugr/pull/2945))

## [0.25.6](https://github.com/Quantinuum/hugr/compare/hugr-model-v0.25.5...hugr-model-v0.25.6) - 2026-02-20

### New Features
Expand Down
2 changes: 1 addition & 1 deletion hugr-model/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "hugr-model"
version = "0.25.7"
version = "0.26.0"
readme = "README.md"
documentation = "https://docs.rs/hugr-model/"
description = "Data model for Quantinuum's HUGR intermediate representation"
Expand Down
16 changes: 16 additions & 0 deletions hugr-passes/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,22 @@
# Changelog


## [0.26.0](https://github.com/Quantinuum/hugr/compare/hugr-passes-v0.25.7...hugr-passes-v0.26.0) - 2026-03-16

### New Features

- [**breaking**] `hugr-passes` is no longer reexported from `hugr::algorithms` ([#2922](https://github.com/Quantinuum/hugr/pull/2922))
- *(llvm)* [**breaking**] Upgrade to LLVM 21 ([#2901](https://github.com/Quantinuum/hugr/pull/2901))
- [**breaking**] Update remainder of passes to use PassScope, drop default with_scope ([#2871](https://github.com/Quantinuum/hugr/pull/2871))
- [**breaking**] Make `WithScope` a supertrait of `ComposablePass` ([#2921](https://github.com/Quantinuum/hugr/pull/2921))
- [**breaking**] TypeRow: add impl From array of Type, remove From<Type> ([#2784](https://github.com/Quantinuum/hugr/pull/2784))
- Deprecate HugrView::as_petgraph ([#2944](https://github.com/Quantinuum/hugr/pull/2944))

### Refactor

- [**breaking**] Remove deprecated Value::Function ([#2928](https://github.com/Quantinuum/hugr/pull/2928))
- [**breaking**] Remove deprecated pass configuration ([#2938](https://github.com/Quantinuum/hugr/pull/2938))

## [0.25.7](https://github.com/Quantinuum/hugr/compare/hugr-passes-v0.25.6...hugr-passes-v0.25.7) - 2026-03-06

### Documentation
Expand Down
4 changes: 2 additions & 2 deletions hugr-passes/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "hugr-passes"
version = "0.25.7"
version = "0.26.0"
edition = { workspace = true }
rust-version = { workspace = true }
license = { workspace = true }
Expand All @@ -19,7 +19,7 @@ workspace = true
bench = false

[dependencies]
hugr-core = { path = "../hugr-core", version = "0.25.7" }
hugr-core = { path = "../hugr-core", version = "0.26.0" }
portgraph = { workspace = true }
ascent = { version = "0.8.0" }
derive_more = { workspace = true, features = [
Expand Down
7 changes: 7 additions & 0 deletions hugr-persistent/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
# Changelog


## [0.5.0](https://github.com/Quantinuum/hugr/compare/hugr-persistent-v0.4.7...hugr-persistent-v0.5.0) - 2026-03-16

### New Features

- *(llvm)* [**breaking**] Upgrade to LLVM 21 ([#2901](https://github.com/Quantinuum/hugr/pull/2901))
- [**breaking**] TypeRow: add impl From array of Type, remove From<Type> ([#2784](https://github.com/Quantinuum/hugr/pull/2784))

## [0.4.0](https://github.com/Quantinuum/hugr/compare/hugr-persistent-v0.3.4...hugr-persistent-v0.4.0) - 2025-12-22

### New Features
Expand Down
4 changes: 2 additions & 2 deletions hugr-persistent/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "hugr-persistent"
version = "0.4.7"
version = "0.5.0"
edition = { workspace = true }
rust-version = { workspace = true }
license = { workspace = true }
Expand All @@ -16,7 +16,7 @@ categories = ["compilers"]
name = "persistent_walker_example"

[dependencies]
hugr-core = { path = "../hugr-core", version = "0.25.7" }
hugr-core = { path = "../hugr-core", version = "0.26.0" }

derive_more = { workspace = true, features = [
"display",
Expand Down
6 changes: 3 additions & 3 deletions hugr-py/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ bench = false

[dependencies]
bumpalo = { workspace = true, features = ["collections"] }
hugr-core = { version = "0.25.7", path = "../hugr-core", default-features = false }
hugr-cli = { version = "0.25.7", path = "../hugr-cli", default-features = false }
hugr-model = { version = "0.25.7", path = "../hugr-model", default-features = false, features = [
hugr-core = { version = "0.26.0", path = "../hugr-core", default-features = false }
hugr-cli = { version = "0.26.0", path = "../hugr-cli", default-features = false }
hugr-model = { version = "0.26.0", path = "../hugr-model", default-features = false, features = [
"pyo3",
] }
pastey.workspace = true
Expand Down
50 changes: 50 additions & 0 deletions hugr/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,55 @@
# Changelog

## [0.26.0](https://github.com/Quantinuum/hugr/compare/hugr-v0.25.7...hugr-v0.26.0) - 2026-03-16

This release includes a restructuration of the optimisation pass API, a major
upgrade to LLVM 21, and bumps the MSRV to Rust 1.91.

Composable passes can now be configured with a scope to indicate which parts of the
Hugr they should be applied to, and which parts they are allowed to modify.
Implementations of the trait should adhere to this configuration.

The `hugr-passes` crate is no longer reexported from `hugr::algorithms`. It will
be integrated into `tket` in the future, but it should be used directly
as `hugr_passes` for now.

Building the crate with the `llvm` feature will now require LLVM 21.1 to be installed.
See the [DEVELOPMENT.md](https://github.com/Quantinuum/hugr/blob/main/DEVELOPMENT.md) file for updated instructions on setting up the development environment.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added a release overview to hugr's changelog


### New Features

- [**breaking**] Update remainder of passes to use PassScope, drop default with_scope ([#2871](https://github.com/Quantinuum/hugr/pull/2871))
- [**breaking**] Make `WithScope` a supertrait of `ComposablePass` ([#2921](https://github.com/Quantinuum/hugr/pull/2921))
- [**breaking**] Rename ModelText envelope format to SExpression ([#2927](https://github.com/Quantinuum/hugr/pull/2927))
- Deprecate HugrView::as_petgraph ([#2944](https://github.com/Quantinuum/hugr/pull/2944))
- [**breaking**] `hugr-passes` is no longer reexported from `hugr::algorithms` ([#2922](https://github.com/Quantinuum/hugr/pull/2922))
- *(llvm)* [**breaking**] Upgrade to LLVM 21 ([#2901](https://github.com/Quantinuum/hugr/pull/2901))
- [**breaking**] TypeRow: add impl From array of Type, remove From<Type> ([#2784](https://github.com/Quantinuum/hugr/pull/2784))

### Bug Fixes

- *(hugr-cli)* Keep declared used_extensions in envelope description ([#2932](https://github.com/Quantinuum/hugr/pull/2932))
- [**breaking**] Fix lower_funcs with custom extensions failing to load ([#2925](https://github.com/Quantinuum/hugr/pull/2925))

### Documentation

- Move `spec/schema` and `spec/std_extensions` to `resources/` ([#2897](https://github.com/Quantinuum/hugr/pull/2897))

### Miscellaneous Tasks

- [**breaking**] Fix new clippy warning on rust 1.94 ([#2912](https://github.com/Quantinuum/hugr/pull/2912))

### Refactor

- [**breaking**] Remove deprecated pass configuration ([#2938](https://github.com/Quantinuum/hugr/pull/2938))
- [**breaking**] Remove deprecated Value::Function ([#2928](https://github.com/Quantinuum/hugr/pull/2928))
- [**breaking**] Remove deprecated definitions ([#2930](https://github.com/Quantinuum/hugr/pull/2930))

### Testing

- Fix type_row intos in doctests ([#2941](https://github.com/Quantinuum/hugr/pull/2941))
- Add missing width arg in model-call example ([#2945](https://github.com/Quantinuum/hugr/pull/2945))

## [0.25.7](https://github.com/Quantinuum/hugr/compare/hugr-v0.25.6...hugr-v0.25.7) - 2026-03-06

### Documentation
Expand Down
10 changes: 5 additions & 5 deletions hugr/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "hugr"
version = "0.25.7"
version = "0.26.0"
edition = { workspace = true }
rust-version = { workspace = true }

Expand Down Expand Up @@ -31,10 +31,10 @@ zstd = ["hugr-core/zstd"]
persistent_unstable = ["hugr-persistent"]

[dependencies]
hugr-model = { path = "../hugr-model", version = "0.25.7" }
hugr-core = { path = "../hugr-core", version = "0.25.7" }
hugr-llvm = { path = "../hugr-llvm", version = "0.25.7", optional = true }
hugr-persistent = { path = "../hugr-persistent", version = "0.4.7", optional = true }
hugr-model = { path = "../hugr-model", version = "0.26.0" }
hugr-core = { path = "../hugr-core", version = "0.26.0" }
hugr-llvm = { path = "../hugr-llvm", version = "0.26.0", optional = true }
hugr-persistent = { path = "../hugr-persistent", version = "0.5.0", optional = true }

[dev-dependencies]
serde_json = { workspace = true }
Expand Down
Loading