Skip to content

Conversation

hugrbot
Copy link
Collaborator

@hugrbot hugrbot commented Jul 24, 2025

This release fixes multiple inconsistencies between the serialization formats
and improves the error messages when loading unsupported envelopes.

We now also support nodes with up to 2^32 connections to the same port (up from 2^16).


🤖 New release

  • hugr-model: 0.21.0 -> 0.22.0 (✓ API compatible changes)
  • hugr-core: 0.21.0 -> 0.22.0 (✓ API compatible changes)
  • hugr-llvm: 0.21.0 -> 0.22.0 (✓ API compatible changes)
  • hugr-passes: 0.21.0 -> 0.22.0 (✓ API compatible changes)
  • hugr-persistent: 0.1.0 -> 0.2.0 (✓ API compatible changes)
  • hugr: 0.21.0 -> 0.22.0 (✓ API compatible changes)
  • hugr-cli: 0.21.0 -> 0.22.0 (✓ API compatible changes)
Changelog

hugr-model

0.22.0 - 2025-07-24

New Features

  • Names of private functions become core.title metadata. (#2448)
  • include generator metatada in model import and cli validate errors (#2452)
  • Version number in hugr binary format. (#2468)
  • Use semver crate for -model version, and include in docs (#2471)

hugr-core

0.22.0 - 2025-07-24

Bug Fixes

  • Ensure SumTypes have the same json encoding in -rs and -py (#2465)

New Features

  • Export entrypoint metadata in Python and fix bug in import (#2434)
  • Names of private functions become core.title metadata. (#2448)
  • [breaking] Use binary envelopes for operation lower_func encoding (#2447)
  • [breaking] Update portgraph dependency to 0.15 (#2455)
  • Detect and fail on unrecognised envelope flags (#2453)
  • include generator metatada in model import and cli validate errors (#2452)
  • [breaking] Add insert_region to HugrMut (#2463)
  • Non-region entrypoints in hugr-model. (#2467)

hugr-llvm

0.21.0 - 2025-07-09

New Features

  • [breaking] No nested FuncDefns (or AliasDefns) (#2256)
  • [breaking] Split TypeArg::Sequence into tuples and lists. (#2140)
  • [breaking] More helpful error messages in model import (#2272)
  • [breaking] Merge TypeParam and TypeArg into one Term type in Rust (#2309)
  • Add MakeError op (#2377)

hugr-passes

0.22.0 - 2025-07-24

New Features

  • ReplaceTypes allows linearizing inside Op replacements (#2435)
  • Add pass for DFG inlining (#2460)

hugr-persistent

0.2.0 - 2025-07-24

New Features

  • [breaking] Update portgraph dependency to 0.15 (#2455)

hugr

0.22.0 - 2025-07-24

Bug Fixes

  • Ensure SumTypes have the same json encoding in -rs and -py (#2465)

New Features

  • ReplaceTypes allows linearizing inside Op replacements (#2435)
  • Add pass for DFG inlining (#2460)
  • Export entrypoint metadata in Python and fix bug in import (#2434)
  • Names of private functions become core.title metadata. (#2448)
  • [breaking] Use binary envelopes for operation lower_func encoding (#2447)
  • [breaking] Update portgraph dependency to 0.15 (#2455)
  • Detect and fail on unrecognised envelope flags (#2453)
  • include generator metatada in model import and cli validate errors (#2452)
  • [breaking] Add insert_region to HugrMut (#2463)
  • Non-region entrypoints in hugr-model. (#2467)

hugr-cli

0.22.0 - 2025-07-24

New Features

  • include generator metatada in model import and cli validate errors (#2452)


This PR was generated with release-plz.

@hugrbot hugrbot added the release Release PR label Jul 24, 2025
Copy link

codecov bot commented Jul 24, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 82.62%. Comparing base (6da7643) to head (5ee5bbb).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2476   +/-   ##
=======================================
  Coverage   82.62%   82.62%           
=======================================
  Files         250      250           
  Lines       46471    46471           
  Branches    42040    42040           
=======================================
  Hits        38397    38397           
  Misses       6025     6025           
  Partials     2049     2049           
Flag Coverage Δ
python 91.31% <ø> (ø)
rust 81.71% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@aborgna-q aborgna-q marked this pull request as ready for review July 24, 2025 15:19
@aborgna-q aborgna-q requested review from aborgna-q, cqc-alec, ss2165, doug-q and a team as code owners July 24, 2025 15:19
@aborgna-q aborgna-q enabled auto-merge July 24, 2025 15:20
@aborgna-q aborgna-q added this pull request to the merge queue Jul 24, 2025
Merged via the queue into main with commit 9025bd0 Jul 24, 2025
27 checks passed
@aborgna-q aborgna-q deleted the release-plz-2025-07-24T15-10-23Z branch July 24, 2025 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release Release PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants