|
1 | 1 | # Changelog
|
2 | 2 |
|
| 3 | +## [0.21.0](https://github.com/CQCL/hugr/compare/hugr-core-v0.20.2...hugr-core-v0.21.0) - 2025-07-09 |
| 4 | + |
| 5 | +### Bug Fixes |
| 6 | + |
| 7 | +- Fixed two bugs in import/export of function operations ([#2324](https://github.com/CQCL/hugr/pull/2324)) |
| 8 | +- Model import should perform extension resolution ([#2326](https://github.com/CQCL/hugr/pull/2326)) |
| 9 | +- [**breaking**] Fixed bugs in model CFG handling and improved CFG signatures ([#2334](https://github.com/CQCL/hugr/pull/2334)) |
| 10 | +- Use List instead of Tuple in conversions for TypeArg/TypeRow ([#2378](https://github.com/CQCL/hugr/pull/2378)) |
| 11 | +- Do extension resolution on loaded extensions from the model format ([#2389](https://github.com/CQCL/hugr/pull/2389)) |
| 12 | +- Make JSON Schema checks actually work again ([#2412](https://github.com/CQCL/hugr/pull/2412)) |
| 13 | + |
| 14 | +### New Features |
| 15 | + |
| 16 | +- [**breaking**] No nested FuncDefns (or AliasDefns) ([#2256](https://github.com/CQCL/hugr/pull/2256)) |
| 17 | +- Add serial data types for SimpleReplacement and PersistentHugr ([#2300](https://github.com/CQCL/hugr/pull/2300)) |
| 18 | +- [**breaking**] Split `TypeArg::Sequence` into tuples and lists. ([#2140](https://github.com/CQCL/hugr/pull/2140)) |
| 19 | +- [**breaking**] Added float and bytes literal to core and python bindings. ([#2289](https://github.com/CQCL/hugr/pull/2289)) |
| 20 | +- [**breaking**] More helpful error messages in model import ([#2272](https://github.com/CQCL/hugr/pull/2272)) |
| 21 | +- Add MermaidFormatter to replace RenderConfig ([#2275](https://github.com/CQCL/hugr/pull/2275)) |
| 22 | +- [**breaking**] Better error reporting in `hugr-cli`. ([#2318](https://github.com/CQCL/hugr/pull/2318)) |
| 23 | +- *(core)* builder pattern for EnvelopeConfig ([#2330](https://github.com/CQCL/hugr/pull/2330)) |
| 24 | +- *(core, llvm)* add array unpack operations ([#2339](https://github.com/CQCL/hugr/pull/2339)) |
| 25 | +- [**breaking**] Merge `TypeParam` and `TypeArg` into one `Term` type in Rust ([#2309](https://github.com/CQCL/hugr/pull/2309)) |
| 26 | +- *(persistent)* Add serialisation for CommitStateSpace ([#2344](https://github.com/CQCL/hugr/pull/2344)) |
| 27 | +- Deprecate invalidation_set, add invalidated_nodes and SimpleReplacement::invalidation_set ([#2358](https://github.com/CQCL/hugr/pull/2358)) |
| 28 | +- Rewrite for peeling a TailLoop ([#2290](https://github.com/CQCL/hugr/pull/2290)) |
| 29 | +- Create Module/FunctionBuilders from existing Hugrs ([#2359](https://github.com/CQCL/hugr/pull/2359)) |
| 30 | +- add TryFrom impls for TypeArg/TypeRow ([#2366](https://github.com/CQCL/hugr/pull/2366)) |
| 31 | +- better errors using metadata from generator ([#2368](https://github.com/CQCL/hugr/pull/2368)) |
| 32 | +- use `core.` prefixes for generator metadata keys ([#2371](https://github.com/CQCL/hugr/pull/2371)) |
| 33 | +- Add `MakeError` op ([#2377](https://github.com/CQCL/hugr/pull/2377)) |
| 34 | +- Open lists and tuples in `Term` ([#2360](https://github.com/CQCL/hugr/pull/2360)) |
| 35 | +- Call `FunctionBuilder::add_{in,out}put` for any AsMut<Hugr> ([#2376](https://github.com/CQCL/hugr/pull/2376)) |
| 36 | +- Add Root checked methods to DataflowParentID ([#2382](https://github.com/CQCL/hugr/pull/2382)) |
| 37 | +- Add PersistentWire type ([#2361](https://github.com/CQCL/hugr/pull/2361)) |
| 38 | +- Add `BorrowArray` extension ([#2395](https://github.com/CQCL/hugr/pull/2395)) |
| 39 | +- [**breaking**] Rename 'Any' type bound to 'Linear' ([#2421](https://github.com/CQCL/hugr/pull/2421)) |
| 40 | +- [**breaking**] Add Visibility to FuncDefn/FuncDecl. ([#2143](https://github.com/CQCL/hugr/pull/2143)) |
| 41 | +- *(per)* [**breaking**] Support empty wires in commits ([#2349](https://github.com/CQCL/hugr/pull/2349)) |
| 42 | + |
| 43 | +### Refactor |
| 44 | + |
| 45 | +- [**breaking**] move PersistentHugr into separate crate ([#2277](https://github.com/CQCL/hugr/pull/2277)) |
| 46 | +- *(types.rs)* rm incorrect comment and unnecessary allow-unused ([#2340](https://github.com/CQCL/hugr/pull/2340)) |
| 47 | +- [**breaking**] remove deprecated runtime extension errors ([#2369](https://github.com/CQCL/hugr/pull/2369)) |
| 48 | +- [**breaking**] Reduce error type sizes ([#2420](https://github.com/CQCL/hugr/pull/2420)) |
| 49 | + |
| 50 | +### Testing |
| 51 | + |
| 52 | +- Check hugr json serializations against the schema (again) ([#2216](https://github.com/CQCL/hugr/pull/2216)) |
| 53 | + |
3 | 54 | ## [0.20.2](https://github.com/CQCL/hugr/compare/hugr-core-v0.20.1...hugr-core-v0.20.2) - 2025-06-25
|
4 | 55 |
|
5 | 56 | ### Documentation
|
|
0 commit comments