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.5.0 #617

Merged
merged 1 commit into from
Oct 1, 2024
Merged

chore: release v0.5.0 #617

merged 1 commit into from
Oct 1, 2024

Conversation

hugrbot
Copy link
Collaborator

@hugrbot hugrbot commented Sep 23, 2024

🤖 New release

  • tket2: 0.4.0 -> 0.5.0 (⚠️ API breaking changes)
  • tket2-hseries: 0.4.0 -> 0.5.0 (⚠️ API breaking changes)

⚠️ tket2 breaking changes

--- failure enum_marked_non_exhaustive: enum marked #[non_exhaustive] ---

Description:
A public enum has been marked #[non_exhaustive]. Pattern-matching on it outside of its crate must now include a wildcard pattern like `_`, or it will fail to compile.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#attr-adding-non-exhaustive
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.35.0/src/lints/enum_marked_non_exhaustive.ron

Failed in:
  enum InvalidPatternMatch in /tmp/.tmp7zsbCi/tket2/tket2/src/portmatching/matcher.rs:376
  enum MatcherSerialisationError in /tmp/.tmp7zsbCi/tket2/tket2/src/portmatching/matcher.rs:401
  enum CircuitError in /tmp/.tmp7zsbCi/tket2/tket2/src/circuit.rs:458
  enum CircuitError in /tmp/.tmp7zsbCi/tket2/tket2/src/circuit.rs:458
  enum RewriterSerialisationError in /tmp/.tmp7zsbCi/tket2/tket2/src/rewrite/ecc_rewriter.rs:209
  enum PullForwardError in /tmp/.tmp7zsbCi/tket2/tket2/src/passes/commutation.rs:187
  enum CircuitLoadError in /tmp/.tmp7zsbCi/tket2/tket2/src/serialize/guppy.rs:114
  enum CircuitLoadError in /tmp/.tmp7zsbCi/tket2/tket2/src/serialize/guppy.rs:114
  enum CircuitMutError in /tmp/.tmp7zsbCi/tket2/tket2/src/circuit.rs:495
  enum CircuitMutError in /tmp/.tmp7zsbCi/tket2/tket2/src/circuit.rs:495

--- failure enum_tuple_variant_changed_kind: An enum tuple variant changed kind ---

Description:
A public enum's exhaustive tuple variant has changed to a different kind of enum variant, breaking possible instantiations and patterns.
        ref: https://doc.rust-lang.org/reference/items/enumerations.html
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.35.0/src/lints/enum_tuple_variant_changed_kind.ron

Failed in:
  variant PullForwardError::NoQbInCommand in /tmp/.tmp7zsbCi/tket2/tket2/src/passes/commutation.rs:194
  variant PullForwardError::NoCommandForQb in /tmp/.tmp7zsbCi/tket2/tket2/src/passes/commutation.rs:200
  variant CircuitMutError::DeleteNonEmptyWire in /tmp/.tmp7zsbCi/tket2/tket2/src/circuit.rs:504
  variant CircuitMutError::InvalidPortOffset in /tmp/.tmp7zsbCi/tket2/tket2/src/circuit.rs:512
  variant CircuitMutError::DeleteNonEmptyWire in /tmp/.tmp7zsbCi/tket2/tket2/src/circuit.rs:504
  variant CircuitMutError::InvalidPortOffset in /tmp/.tmp7zsbCi/tket2/tket2/src/circuit.rs:512

⚠️ tket2-hseries breaking changes

--- failure enum_marked_non_exhaustive: enum marked #[non_exhaustive] ---

Description:
A public enum has been marked #[non_exhaustive]. Pattern-matching on it outside of its crate must now include a wildcard pattern like `_`, or it will fail to compile.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#attr-adding-non-exhaustive
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.35.0/src/lints/enum_marked_non_exhaustive.ron

Failed in:
  enum HSeriesPassError in /tmp/.tmp7zsbCi/tket2/tket2-hseries/src/lib.rs:38
  enum LazifyMeasurePassError in /tmp/.tmp7zsbCi/tket2/tket2-hseries/src/lazify_measure.rs:45
  enum LowerTk2Error in /tmp/.tmp7zsbCi/tket2/tket2-hseries/src/extension/hseries/lower.rs:41

--- failure enum_tuple_variant_changed_kind: An enum tuple variant changed kind ---

Description:
A public enum's exhaustive tuple variant has changed to a different kind of enum variant, breaking possible instantiations and patterns.
        ref: https://doc.rust-lang.org/reference/items/enumerations.html
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.35.0/src/lints/enum_tuple_variant_changed_kind.ron

Failed in:
  variant LowerTk2Error::Unlowered in /tmp/.tmp7zsbCi/tket2/tket2-hseries/src/extension/hseries/lower.rs:57
Changelog

tket2

0.5.0 - 2024-09-30

Bug Fixes

  • Support hugr packages, fix the notebooks (#622)

New Features

  • Add an explicit struct for the tket2 sympy op (#616)
  • Support encoding float and sympy ops (#618)

tket2-hseries

0.4.0 - 2024-09-16

New Features

  • [breaking] HSeriesPass lowers Tk2Ops into HSeriesOps (#602)
  • [breaking] simplify angle extension in to a half turns rotation type (#611)


This PR was generated with release-plz.

Copy link

codecov bot commented Sep 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 82.06%. Comparing base (2250ce7) to head (aa039ac).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #617   +/-   ##
=======================================
  Coverage   82.06%   82.06%           
=======================================
  Files          48       48           
  Lines        6572     6572           
  Branches     6572     6572           
=======================================
  Hits         5393     5393           
  Misses        820      820           
  Partials      359      359           
Flag Coverage Δ
rust 82.06% <ø> (ø)

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-plz-2024-09-23T13-05-15Z branch 2 times, most recently from 2fdbeb9 to 66a62bf Compare September 30, 2024 10:16
@hugrbot hugrbot changed the title chore: release v0.4.1 chore: release Sep 30, 2024
@hugrbot hugrbot force-pushed the release-plz-2024-09-23T13-05-15Z branch from 66a62bf to bb09cb3 Compare September 30, 2024 10:27
@hugrbot hugrbot changed the title chore: release chore: release v0.5.0 Sep 30, 2024
@hugrbot hugrbot force-pushed the release-plz-2024-09-23T13-05-15Z branch from bb09cb3 to aa039ac Compare September 30, 2024 14:49
@doug-q doug-q marked this pull request as ready for review October 1, 2024 08:53
@doug-q doug-q requested review from aborgna-q, cqc-alec, ss2165 and a team as code owners October 1, 2024 08:53
Copy link
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.

:shipit:

@doug-q doug-q added this pull request to the merge queue Oct 1, 2024
Merged via the queue into main with commit 295b0df Oct 1, 2024
17 checks passed
@doug-q doug-q deleted the release-plz-2024-09-23T13-05-15Z branch October 1, 2024 12:12
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.

4 participants