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 (7bf5249) to head (4c1fc0d).
Report is 3 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2470   +/-   ##
=======================================
  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% <ø> (ø)

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.

@hugrbot hugrbot force-pushed the release-plz-2025-07-24T13-19-14Z branch from 8ed974e to ce0bd8c Compare July 24, 2025 14:01
@hugrbot hugrbot force-pushed the release-plz-2025-07-24T13-19-14Z branch from ce0bd8c to d096610 Compare July 24, 2025 14:10
@aborgna-q aborgna-q marked this pull request as ready for review July 24, 2025 14:15
@aborgna-q aborgna-q requested review from aborgna-q, cqc-alec, ss2165, doug-q and a team as code owners July 24, 2025 14:15
@aborgna-q
Copy link
Collaborator

Uhm, it seems git-cliff got updated and now adds a preamble to the CHANGELOG.
I'll see if we can remove the [unreleased] section.

Copy link
Collaborator

@cqc-alec cqc-alec left a comment

Choose a reason for hiding this comment

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

YOLO

@aborgna-q
Copy link
Collaborator

aborgna-q commented Jul 24, 2025

@hugrbot hugrbot closed this Jul 24, 2025
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.

3 participants