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: release v0.4.0 #1031

Closed
wants to merge 2 commits into from
Closed

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented May 13, 2024

🤖 New release

  • hugr: 0.4.0-alpha.1 -> 0.4.0 (⚠️ API breaking changes)

⚠️ hugr breaking changes

--- failure inherent_method_const_removed: pub method is no longer const ---

Description:
A publicly-visible method or associated fn is no longer `const` and can no longer be used in a `const` context.
        ref: https://doc.rust-lang.org/reference/const_eval.html
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.31.0/src/lints/inherent_method_const_removed.ron

Failed in:
  ConstF64::new in /tmp/.tmpZ2umbc/hugr/hugr/src/std_extensions/arithmetic/float_types.rs:43

--- failure struct_missing: pub struct removed or renamed ---

Description:
A publicly-visible struct cannot be imported by its prior path. A `pub use` may have been removed, or the struct itself may have been renamed or removed entirely.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#item-remove
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.31.0/src/lints/struct_missing.ron

Failed in:
  struct hugr::ops::constant::ExtensionValue, previously in file /tmp/.tmpr3bjhk/hugr/src/ops/constant.rs:184
Changelog

0.4.0 (2024-05-20)

Bug Fixes

  • Disallow non-finite values for ConstF64 (#1075)

Features

  • Add verification to constant folding (#1030)
  • Add Const::get_custom_value (#1037)
  • Add serialization schema for metadata (#1038)

Refactor

  • [breaking] Rename crate::ops::constant::ExtensionValue => OpaqueValue (#1036)

Testing

  • Reorg OutlineCfg/nest_cfgs tests so hugr doesn't depend on algorithm (#1007)
  • Ignore tests which depend on typetag when cfg(miri) (#1051)
  • Really ignore tests which depend on typetag when cfg(miri) (#1058)
  • Proptests for round trip serialisation of Types and Ops. (#981)


This PR was generated with release-plz.

@github-actions github-actions bot force-pushed the release-plz-2024-05-13T12-01-23Z branch 19 times, most recently from e9598f9 to 4dba950 Compare May 17, 2024 13:53
@github-actions github-actions bot force-pushed the release-plz-2024-05-13T12-01-23Z branch from 6632bf6 to 51a253a Compare May 17, 2024 14:39
@doug-q doug-q force-pushed the release-plz-2024-05-13T12-01-23Z branch from bf9417b to e0ef0a1 Compare May 20, 2024 12:26
@doug-q doug-q changed the title chore: release v0.4.0-alpha.2 chore: release v0.4.0 May 20, 2024
Copy link

codecov bot commented May 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.56%. Comparing base (51a253a) to head (e0ef0a1).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1031      +/-   ##
==========================================
- Coverage   86.60%   86.56%   -0.04%     
==========================================
  Files          83       83              
  Lines       17586    17586              
  Branches    17586    17586              
==========================================
- Hits        15230    15223       -7     
- Misses       1536     1543       +7     
  Partials      820      820              
Flag Coverage Δ
rust 86.56% <ø> (-0.04%) ⬇️

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.

@doug-q doug-q marked this pull request as ready for review May 20, 2024 12:29
@doug-q doug-q requested review from aborgna-q, ss2165 and a team as code owners May 20, 2024 12:29
Comment on lines +26 to 27

## 0.4.0-alpha.1 (2024-05-13)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should we merge the pre-release notes with the final ones?

@github-actions github-actions bot closed this May 20, 2024
@aborgna-q
Copy link
Collaborator

I merged an unrelated PR to check what happened with this one.

release-plz notes that you made changes, so it recreated a new PR and closed this one to avoid conflicts.

I think the behaviour is OK, as we don't normally have that many PRs getting merged during a release.

@aborgna-q aborgna-q deleted the release-plz-2024-05-13T12-01-23Z branch June 6, 2024 14:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants