# Changelog


## [0.7.0](https://github.com/Quantinuum/hugr/compare/hugr-persistent-v0.6.1...hugr-persistent-v0.7.0) - 2026-06-05

### New Features

- [**breaking**] do not require an Order edge for each nonlocal `Ext` edge; compute on demand in scheduling_graph() ([#2951](https://github.com/Quantinuum/hugr/pull/2951))
- *(hugr-llvm)* [**breaking**] Add support for emitting debug locations ([#3026](https://github.com/Quantinuum/hugr/pull/3026))
- [**breaking**] Add extension versions to hugr-model elements ([#3080](https://github.com/Quantinuum/hugr/pull/3080))

## [0.6.1](https://github.com/Quantinuum/hugr/compare/hugr-persistent-v0.6.0...hugr-persistent-v0.6.1) - 2026-05-05

### Refactor

- add HugrView::scheduling_graph, deprecate region_portgraph ([#3015](https://github.com/Quantinuum/hugr/pull/3015))

## [0.6.0](https://github.com/Quantinuum/hugr/compare/hugr-persistent-v0.5.1...hugr-persistent-v0.6.0) - 2026-03-31

### New Features

- [**breaking**] Deprecate JSON serialization format ([#2991](https://github.com/Quantinuum/hugr/pull/2991))

## [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

- [**breaking**] Remove `RootCheckable` ([#2704](https://github.com/Quantinuum/hugr/pull/2704))
- [**breaking**] Bump MSRV to Rust 1.89 ([#2747](https://github.com/Quantinuum/hugr/pull/2747))
- [**breaking**] Type-safe access for node metadata ([#2755](https://github.com/Quantinuum/hugr/pull/2755))

### Refactor

- [**breaking**] Remove multiple deprecated definitions ([#2751](https://github.com/Quantinuum/hugr/pull/2751))

## [0.3.2](https://github.com/CQCL/hugr/compare/hugr-persistent-v0.3.1...hugr-persistent-v0.3.2) - 2025-11-03

### New Features

- *(persistent)* More efficient HugrView iterators for PersistentHugr ([#2595](https://github.com/CQCL/hugr/pull/2595))

## [0.3.1](https://github.com/CQCL/hugr/compare/hugr-persistent-v0.3.0...hugr-persistent-v0.3.1) - 2025-10-13

### Bug Fixes

- *(test)* No extension serialisation in persistent-hugr testing ([#2612](https://github.com/CQCL/hugr/pull/2612))

### New Features

- *(persistent)* Redesign CommitStateSpace, bound Commit lifetime ([#2534](https://github.com/CQCL/hugr/pull/2534))

## [0.3.0](https://github.com/CQCL/hugr/compare/hugr-persistent-v0.2.3...hugr-persistent-v0.3.0) - 2025-09-30

### Miscellaneous Tasks

- [**breaking**] Cleanup deprecated definitions ([#2594](https://github.com/CQCL/hugr/pull/2594))

### Refactor

- [**breaking**] Replace lazy_static with std::sync::LazyLock ([#2567](https://github.com/CQCL/hugr/pull/2567))

## [0.2.3](https://github.com/CQCL/hugr/compare/hugr-persistent-v0.2.2...hugr-persistent-v0.2.3) - 2025-09-11

### Documentation

- Clarify docs for SiblingSubgraph::{inputs, outputs} ([#2508](https://github.com/CQCL/hugr/pull/2508))

### New Features

- SiblingSubgraph supports function calls ([#2528](https://github.com/CQCL/hugr/pull/2528))

## [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))
## 0.1.0 (2025-07-10)

Initial release.
