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.3.0 #1092

Merged
merged 3 commits into from
Jul 3, 2024

Conversation

aborgna-q
Copy link
Collaborator

@aborgna-q aborgna-q commented May 21, 2024

🤖 I have created a release beep boop

0.3.0 (2024-07-03)

⚠ BREAKING CHANGES

    • add_child_op(_with_parent), etc., gone; use add_child_node(_with_parent) with an (impl Into-)OpType.
      • get_nodetype gone - use get_optype.
      • NodeType gone - use OpType directly.
      • Various (Into<)Option params removed from builder
        methods especially {cfg_,dfg_}builder.
      • input_extensions removed from serialization schema.
  • the Signature class is gone, but it's not clear how or why you might have been using it...
  • TailLoop node and associated builder functions now require specifying an ExtensionSet; extension/validate.rs deleted; some changes to Hugrs validated/rejected when the extension_inference feature flag is turned on
  • Type::validate takes extra bool (allow_rowvars); renamed {FunctionType, PolyFuncType}::(validate=>validate_var_len).

Features

  • Allow "Row Variables" declared as List<Type> (#804) (3ea4834)
  • hugr-py: add builders for Conditional and TailLoop (#1210) (43569a4)
  • hugr-py: add CallIndirect, LoadFunction, Lift, Alias (#1218) (db09193), closes #1213
  • hugr-py: add values and constants (#1203) (f7ea178), closes #1202
  • hugr-py: automatically add state order edges for inter-graph edges (#1165) (5da06e1)
  • hugr-py: builder for function definition/declaration and call (#1212) (af062ea)
  • hugr-py: builder ops separate from serialised ops (#1140) (342eda3)
  • hugr-py: CFG builder (#1192) (c5ea47f), closes #1188
  • hugr-py: define type hierarchy separate from serialized (#1176) (10f4c42)
  • hugr-py: only require input type annotations when building (#1199) (2bb079f)
  • hugr-py: python hugr builder (#1098) (23408b5)
  • hugr-py: store children in node weight (#1160) (1cdaeed), closes #1159
  • hugr-py: ToNode interface to treat builders as nodes (#1193) (1da33e6)
  • Validate Extensions using hierarchy, ignore input_extensions, RIP inference (#1142) (8bec8e9)

Bug Fixes

  • Add some validation for const nodes (#1222) (c05edd3)
  • hugr-py: more ruff lints + fix some typos (#1246) (f158384)
  • py: get rid of pydantic config deprecation warnings (#1084) (52fcb9d)

Documentation

Code Refactoring


This PR was generated with Release Please. See documentation.

@aborgna-q aborgna-q requested a review from ss2165 as a code owner May 21, 2024 09:15
@aborgna-q aborgna-q requested a review from a team as a code owner May 21, 2024 09:15
Copy link

codecov bot commented May 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.98%. Comparing base (e596b39) to head (64946f2).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1092      +/-   ##
==========================================
- Coverage   87.15%   86.98%   -0.18%     
==========================================
  Files         102      102              
  Lines       19234    19087     -147     
  Branches    17138    16991     -147     
==========================================
- Hits        16764    16602     -162     
- Misses       1695     1709      +14     
- Partials      775      776       +1     
Flag Coverage Δ
python 91.17% <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.

aborgna-q added a commit that referenced this pull request May 21, 2024
This setting should make release-please create it's PRs as draft requests (to avoid annoying reviewers unnecessarily), but it doesn't seem to have worked
#1092

The config json schema seemed to validate this as a global option, but it seems the value is not picked from there :/

This change moves the "use a draft PR" option to the project-specific section.
github-merge-queue bot pushed a commit that referenced this pull request May 21, 2024
This setting should make release-please create it's PRs as draft
requests (to avoid annoying reviewers unnecessarily), but it doesn't
seem to have worked #1092

The config json schema seemed to validate this as a global option, but
it seems the value is not picked from there :/

This change moves the "use a draft PR" option to the project-specific
section.
@aborgna-q aborgna-q marked this pull request as draft May 21, 2024 11:35
@aborgna-q aborgna-q changed the title chore(main): release hugr-py 0.2.2 chore(main): release hugr-py 0.3.0 May 22, 2024
@aborgna-q aborgna-q force-pushed the release-please--branches--main--components--hugr-py branch 3 times, most recently from 90b25b4 to 95a6c70 Compare May 24, 2024 09:21
@hugrbot hugrbot force-pushed the release-please--branches--main--components--hugr-py branch 7 times, most recently from 4474722 to 83e9f5a Compare June 4, 2024 08:16
@hugrbot hugrbot force-pushed the release-please--branches--main--components--hugr-py branch 7 times, most recently from 81d1d3b to 0d74665 Compare June 11, 2024 07:43
@hugrbot hugrbot force-pushed the release-please--branches--main--components--hugr-py branch 4 times, most recently from 42780cd to ac25943 Compare June 14, 2024 07:54
@hugrbot hugrbot force-pushed the release-please--branches--main--components--hugr-py branch 7 times, most recently from 5e86dd6 to 4875bfa Compare June 24, 2024 09:14
@hugrbot hugrbot force-pushed the release-please--branches--main--components--hugr-py branch 8 times, most recently from f31ffb6 to 013d3f2 Compare July 2, 2024 07:53
@hugrbot hugrbot force-pushed the release-please--branches--main--components--hugr-py branch from 013d3f2 to 4ac8571 Compare July 3, 2024 08:52
@hugrbot hugrbot force-pushed the release-please--branches--main--components--hugr-py branch from 4ac8571 to c553675 Compare July 3, 2024 13:41
@ss2165 ss2165 marked this pull request as ready for review July 3, 2024 14:51
@ss2165 ss2165 requested a review from cqc-alec as a code owner July 3, 2024 14:51
@ss2165 ss2165 added this pull request to the merge queue Jul 3, 2024
Merged via the queue into main with commit 004b6c1 Jul 3, 2024
20 checks passed
@ss2165 ss2165 deleted the release-please--branches--main--components--hugr-py branch July 3, 2024 14:53
@hugrbot
Copy link
Collaborator

hugrbot commented Jul 3, 2024

🤖 Release is at https://github.com/CQCL/hugr/releases/tag/hugr-py-v0.3.0 🌻

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