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.6.0 #1379

Merged
merged 1 commit into from
Aug 12, 2024

Conversation

hugrbot
Copy link
Collaborator

@hugrbot hugrbot commented Jul 30, 2024

🤖 I have created a release beep boop

0.6.0 (2024-08-12)

⚠ BREAKING CHANGES

  • hugr-py: Moved hugr.get_serialization_version to hugr.serialization.serial_hugr.serialization_version
  • hugr-cli: Cli validate command no longer has a mermaid option, use mermaid sub-command instead.
  • TypeDefBound uses struct-variants for serialization. SignatureFunc now has variants for missing binary functions, and serializes in to a new format that indicates expected binaries.

Features

  • Package pydantic model for modules + extensions (#1387) (68cfac5), closes #1358
  • Define Const inline by default, and add a parameter to change the parent (#1404) (3609736)
  • hugr-cli: move mermaid to own sub-command (#1390) (77795b9)
  • hugr-py: add type_bound method to Type (#1410) (bd5ba47), closes #1365
  • hugr-py: Allow defining functions, consts, and aliases inside DFGs (#1394) (d554072)
  • hugr-py: Reexport commonly used classes from the package root (#1393) (69925d0)
  • py: Hugr.to_json and .load_json helpers (#1403) (e7f9f4c)
  • py: Allow pre-declaring a Function's output types (#1417) (fa0f5a4)
  • py: implement iter on ToNode (#1399) (e88910b)
  • py: Parametric int type helper, and arbitrary width int constants (#1406) (abd70c9)
  • Serialised extensions (#1371) (31be204)

Bug Fixes

  • py: Hugr.__iter__ returning NodeData | None instead of Nodes (#1401) (c134584)
  • py: Set output cont for Conditionals (#1415) (67bb8a0)

Documentation


This PR was generated with Release Please. See documentation.

Copy link

codecov bot commented Jul 30, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 87.66%. Comparing base (abd70c9) to head (e610261).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1379   +/-   ##
=======================================
  Coverage   87.66%   87.66%           
=======================================
  Files         118      118           
  Lines       20445    20445           
  Branches    18049    18049           
=======================================
  Hits        17924    17924           
  Misses       1729     1729           
  Partials      792      792           
Flag Coverage Δ
python 91.86% <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 9e42f15 to d79d3cc Compare August 6, 2024 08:32
@hugrbot hugrbot force-pushed the release-please--branches--main--components--hugr-py branch 8 times, most recently from 3ecec00 to fbfdbf0 Compare August 12, 2024 12:06
@croyzor croyzor marked this pull request as ready for review August 12, 2024 15:11
@croyzor croyzor requested review from aborgna-q, cqc-alec, ss2165 and a team as code owners August 12, 2024 15:11
@croyzor croyzor force-pushed the release-please--branches--main--components--hugr-py branch from fbfdbf0 to b9c02ae Compare August 12, 2024 15:13
@croyzor croyzor marked this pull request as draft August 12, 2024 15:28
@croyzor croyzor marked this pull request as ready for review August 12, 2024 15:35
@aborgna-q
Copy link
Collaborator

I'm about to merge #1417 and #1406. Can we wait for those?

@hugrbot hugrbot force-pushed the release-please--branches--main--components--hugr-py branch from 87c595a to 710489d Compare August 12, 2024 15:59
@hugrbot hugrbot force-pushed the release-please--branches--main--components--hugr-py branch from 710489d to e610261 Compare August 12, 2024 16:11
@croyzor croyzor added this pull request to the merge queue Aug 12, 2024
Merged via the queue into main with commit 937883d Aug 12, 2024
22 checks passed
@croyzor croyzor deleted the release-please--branches--main--components--hugr-py branch August 12, 2024 16:34
@hugrbot
Copy link
Collaborator Author

hugrbot commented Aug 12, 2024

🤖 Created releases:

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

Successfully merging this pull request may close these issues.

test(hugr-py): add test for TypeBound.join() Define schema for "package" (HUGRS + extensions)
3 participants