hugr
hugr copied to clipboard
chore: release v0.20.1
🤖 New release
hugr-model: 0.20.0 -> 0.20.1hugr-core: 0.20.0 -> 0.20.1 (✓ API compatible changes)hugr-llvm: 0.20.0 -> 0.20.1 (✓ API compatible changes)hugr-passes: 0.20.0 -> 0.20.1hugr: 0.20.0 -> 0.20.1 (✓ API compatible changes)hugr-cli: 0.20.0 -> 0.20.1
Changelog
hugr-model
0.20.0 - 2025-05-14
New Features
- [breaking] Mark all Error enums as non_exhaustive (#2056)
- [breaking] Bump MSRV to 1.85 (#2136)
- Export and import entrypoints via metadata in
hugr-model. (#2172)- Define text-model envelope formats (#2188)
- Import CFG regions without adding an entry block. (#2200)
- Symbol applications can leave out prefixes of wildcards. (#2201)
hugr-core
0.20.1 - 2025-05-29
Bug Fixes
- check well-definedness of DFG wires in validate (#2221)
- Check for order edges in SiblingSubgraph::from_node (#2223)
- Make SumType::Unit(N) equal to SumType::General([(); N]) (#2250)
New Features
- Add PersistentHugr (#2080)
- Add
Type::used_extensions(#2224)- Add boundary edge traversal in SimpleReplacement (#2231)
- Add signature map function for DFGs (#2239)
- PersistentHugr implements HugrView (#2202)
- PersistentHugr Walker API (#2168)
Refactor
- tidies/readability improvements to PersistentHugr (#2251)
Testing
- Ignore miri errors in tests involving
assert_snapshot(#2261)
hugr-llvm
0.20.1 - 2025-05-29
Bug Fixes
- Make SumType::Unit(N) equal to SumType::General([(); N]) (#2250)
Testing
- Add exec tests for widen op (#2043)
hugr-passes
0.20.0 - 2025-05-14
New Features
- [breaking] Mark all Error enums as non_exhaustive (#2056)
- [breaking] Handle CallIndirect in Dataflow Analysis (#2059)
- [breaking] ComposablePass trait allowing sequencing and validation (#1895)
- [breaking] ReplaceTypes: allow lowering ops into a Call to a function already in the Hugr (#2094)
- [breaking] Hugrmut on generic nodes (#2111)
- [breaking] Remove
RootTaggedfrom the hugr view trait hierarchy (#2122)- [breaking] Split Rewrite trait into VerifyPatch and ApplyPatch (#2070)
- [breaking] Bump MSRV to 1.85 (#2136)
- [breaking] Cleanup core trait definitions (#2126)
- [breaking] Removed runtime extension sets. (#2145)
- [breaking] Improved array lowering (#2109)
- export mangle name function (#2152)
- [breaking] Make
NamedOpprivate. AddMakeExtensionOp::nameandMakeOpDef::opdef_name(#2138)- [breaking] Add Hugr entrypoints (#2147)
- [breaking] Return a node mapping in HugrInternals::region_portgraph (#2164)
- [breaking] Validate any HugrView, make errors generic (#2155)
- [breaking] Explicit hugr type param to ComposablePass (#2179)
- [breaking] Hide FuncDefn/cl fields, add accessors and ::new(...) (#2213)
Refactor
- [breaking] Removed global portgraph-related methods from
HugrInternals(#2180)
hugr
0.20.1 - 2025-05-29
Bug Fixes
- check well-definedness of DFG wires in validate (#2221)
- Check for order edges in SiblingSubgraph::from_node (#2223)
- Make SumType::Unit(N) equal to SumType::General([(); N]) (#2250)
New Features
- Add PersistentHugr (#2080)
- Add
Type::used_extensions(#2224)- Add boundary edge traversal in SimpleReplacement (#2231)
- Add signature map function for DFGs (#2239)
- PersistentHugr implements HugrView (#2202)
- PersistentHugr Walker API (#2168)
Refactor
- tidies/readability improvements to PersistentHugr (#2251)
Testing
- Ignore miri errors in tests involving
assert_snapshot(#2261)
hugr-cli
0.20.0 - 2025-05-14
New Features
This PR was generated with release-plz.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 82.33%. Comparing base (
f8b6d25) to head (a4b86b9). Report is 1 commits behind head on main.
Additional details and impacted files
@@ Coverage Diff @@
## main #2273 +/- ##
=======================================
Coverage 82.33% 82.33%
=======================================
Files 240 240
Lines 43577 43577
Branches 39488 39488
=======================================
Hits 35881 35881
Misses 5701 5701
Partials 1995 1995
| Flag | Coverage Δ | |
|---|---|---|
| python | 85.39% <ø> (ø) |
|
| rust | 82.02% <ø> (ø) |
Flags with carried forward coverage won't be shown. Click here to find out more.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
:rocket: New features to boost your workflow:
- :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.