Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(main): release hugr-py 0.8.0 #1430

Merged
merged 3 commits into from
Aug 30, 2024

Conversation

hugrbot
Copy link
Collaborator

@hugrbot hugrbot commented Aug 14, 2024

🤖 I have created a release beep boop

0.8.0 (2024-08-30)

⚠ BREAKING CHANGES

  • Moved itobool/ifrombool/itostring_{u,s} to the conversions extension.
  • Binary sums representing fallible values now use tag 1 for the successful variant
  • hugr-py: rename Custom.name to Custom.op_name and Func(Defn/Decl).name to f_name to allow for new name method
  • ListOp::pop now returns an option.
  • Moved all builder definitions into the hugr.build module. Moved node_port and render into the hugr.hugr module.
  • Move Lift, MakeTuple, UnpackTuple and Lift from core operations to prelude. Rename ops::leaf module to ops::sum.
  • hugr-py: hugr.serialization module and to_serial methods are now internal only.
  • Renamed _DfBase to DfBase and _DefinitionBuilder to DefinitionBuilder
  • idivmod_checked, idivmod, idiv, idiv_checked, imod, ishl, ishr, irotl, irotr operations now only have one width argument for all inputs and outputs rather than two.
  • HUGRs containing opaque operations that don't point to an extension in the registry will fail to validate. Use Package to pack extensions with HUGRs for serialisation.
  • CustomOp removed, OpType now contains ExtensionOp and OpaqueOp directly. CustomOpError renamed toOpaqueOpError.

Features

Bug Fixes

Code Refactoring


This PR was generated with Release Please. See documentation.

Copy link

codecov bot commented Aug 14, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 87.29%. Comparing base (d43cbb2) to head (1cd936e).
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1430   +/-   ##
=======================================
  Coverage   87.29%   87.29%           
=======================================
  Files         126      126           
  Lines       21633    21633           
  Branches    18662    18662           
=======================================
  Hits        18884    18884           
  Misses       1979     1979           
  Partials      770      770           
Flag Coverage Δ
python 92.72% <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.

@hugrbot hugrbot force-pushed the release-please--branches--main--components--hugr-py branch 7 times, most recently from ca446d4 to b2e35a8 Compare August 21, 2024 16:36
@hugrbot hugrbot force-pushed the release-please--branches--main--components--hugr-py branch 6 times, most recently from 64f66cc to 978499c Compare August 29, 2024 10:38
@hugrbot hugrbot force-pushed the release-please--branches--main--components--hugr-py branch 8 times, most recently from 64038ad to 1a2a1a4 Compare August 30, 2024 15:01
@aborgna-q aborgna-q marked this pull request as ready for review August 30, 2024 15:04
@aborgna-q aborgna-q self-assigned this Aug 30, 2024
@hugrbot hugrbot force-pushed the release-please--branches--main--components--hugr-py branch from 153e1c0 to bddba71 Compare August 30, 2024 15:31
@aborgna-q aborgna-q added this pull request to the merge queue Aug 30, 2024
Merged via the queue into main with commit a38e58c Aug 30, 2024
20 checks passed
@aborgna-q aborgna-q deleted the release-please--branches--main--components--hugr-py branch August 30, 2024 15:59
@hugrbot
Copy link
Collaborator Author

hugrbot commented Aug 30, 2024

🤖 Created releases:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants