Skip to content

chore(main): release hugr-py 0.16.0#2948

Merged
aborgna-q merged 3 commits intomainfrom
release-please--branches--main--components--hugr-py
Apr 1, 2026
Merged

chore(main): release hugr-py 0.16.0#2948
aborgna-q merged 3 commits intomainfrom
release-please--branches--main--components--hugr-py

Conversation

@hugrbot
Copy link
Copy Markdown
Collaborator

@hugrbot hugrbot commented Mar 16, 2026

🤖 I have created a release beep boop

0.16.0 (2026-04-01)

This release changes the default text serialization format from JSON to MODEL_WITH_EXTS (the JSON format is now deprecated).
It also adds the ability to link packages and modules from Python, renders operation type arguments in HUGR visualizations, introduces a new debug_info module for attaching source-level debug metadata to nodes,
and introduces multi-version support in ExtensionRegistry, allowing different versions of the same extension to coexist in the same registry.

⚠ BREAKING CHANGES

  • ExtensionRegistry may now contain multiple versions of the same extension. .extensions is now an iterator of the latest versions instead of a dictionary. .register_updated and .add_extension have been replaced with a singular .register.
  • Default EnvelopeConfig changed from EnvelopeFormat.JSON to EnvelopeFormat.MODEL_WITH_EXTS.
  • Substituted hugr-py/src/hugr/tys.py::_type_str with hugr-py/src/hugr/utils.py::name_w_args.

Features

  • Add debug info metadata specification in hugr-py (#2971) (a4da8ef)
  • Allow multiple versions of an extension in an ExtensionRegistry (#3005) (ee90cd1)
  • Deprecate JSON serialization format (#2991) (0f7a880)
  • Operation parameter rendering in HUGR visualizations (#2995) (d619148)
  • Allow linking packages and modules from Python (#2947) (329c243)
  • Make _composable_pass and _scope public modules (#2962) (1d6af9a), closes #2961
  • Allow missing ext versions ExtensionDesc metadata (#2979) (bc1c445)
  • Allow dfg conversion in to TrackedDfg (#2993) (3bd7a88)

Bug Fixes

  • Allow both _composable_pass and composable_pass imports (#2965) (0a5664d)
  • Allow both _scope and scope imports (#3003) (de0458c)
  • Always do extension resolution when loading packages and hugrs (#2953) (0086d2a)
  • Correct pyo3 module definitions and add missing exception class export (#2964) (3df73f4)
  • Include extensions during link serialization (#2992) (9236e89)
  • Prefix names with underscores during serialization (#2989) (8aab636)
  • Use valid identifiers when constructing AST model (#2973) (8750a6b)

This PR was generated with Release Please. See documentation.

@hugrbot hugrbot added autorelease: pending X-release Automated release PR labels Mar 16, 2026
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 16, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 81.30%. Comparing base (ee90cd1) to head (3179ee5).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2948   +/-   ##
=======================================
  Coverage   81.30%   81.30%           
=======================================
  Files         240      240           
  Lines       45392    45392           
  Branches    39160    39160           
=======================================
  Hits        36905    36905           
  Misses       6497     6497           
  Partials     1990     1990           
Flag Coverage Δ
python 88.89% <100.00%> (ø)

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 changed the title chore(main): release hugr-py 0.13.0 chore(main): release hugr-py 0.15.6 Mar 17, 2026
@hugrbot hugrbot force-pushed the release-please--branches--main--components--hugr-py branch 8 times, most recently from a83d75a to 03a8369 Compare March 24, 2026 11:24
@hugrbot hugrbot force-pushed the release-please--branches--main--components--hugr-py branch 7 times, most recently from 29f51bb to 921c996 Compare March 30, 2026 11:14
@hugrbot hugrbot changed the title chore(main): release hugr-py 0.15.6 chore(main): release hugr-py 0.16.0 Mar 30, 2026
@hugrbot hugrbot force-pushed the release-please--branches--main--components--hugr-py branch from 921c996 to 14b06ae Compare March 30, 2026 12:33
@hugrbot hugrbot changed the title chore(main): release hugr-py 0.16.0 chore(main): release hugr-py 0.13.0 Mar 30, 2026
@hugrbot hugrbot force-pushed the release-please--branches--main--components--hugr-py branch 6 times, most recently from 41328c7 to 9c06a7c Compare March 31, 2026 11:52
Copy link
Copy Markdown
Collaborator

@aborgna-q aborgna-q left a comment

Choose a reason for hiding this comment

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

This picked the wrong version for some reason. We should be releasing 0.16.0 instead.

Fix is here: #3006

@hugrbot hugrbot force-pushed the release-please--branches--main--components--hugr-py branch from 9c06a7c to 70c2985 Compare April 1, 2026 10:37
@hugrbot hugrbot changed the title chore(main): release hugr-py 0.13.0 chore(main): release hugr-py 0.16.0 Apr 1, 2026
@hugrbot hugrbot force-pushed the release-please--branches--main--components--hugr-py branch from 70c2985 to 777dc4f Compare April 1, 2026 12:21
@aborgna-q aborgna-q marked this pull request as ready for review April 1, 2026 12:37
@aborgna-q aborgna-q requested review from a team, cqc-alec, doug-q and ss2165 as code owners April 1, 2026 12:37
@aborgna-q aborgna-q added this pull request to the merge queue Apr 1, 2026
Merged via the queue into main with commit bf9337e Apr 1, 2026
30 checks passed
@aborgna-q aborgna-q deleted the release-please--branches--main--components--hugr-py branch April 1, 2026 12:49
@hugrbot
Copy link
Copy Markdown
Collaborator Author

hugrbot commented Apr 1, 2026

🤖 Created releases:

🌻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: Make _scope and _composable_pass modules public

3 participants