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.3.0-alpha.2 #898

Merged
merged 2 commits into from
Apr 15, 2024
Merged

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Mar 26, 2024

🤖 New release

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

⚠️ hugr breaking changes

--- failure enum_missing: pub enum removed or renamed ---

Description:
A publicly-visible enum cannot be imported by its prior path. A `pub use` may have been removed, or the enum 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.30.0/src/lints/enum_missing.ron

Failed in:
  enum hugr::ops::custom::ExternalOp, previously in file /tmp/.tmpZslYkR/hugr/src/ops/custom.rs:20
  enum hugr::ops::leaf::LeafOp, previously in file /tmp/.tmpZslYkR/hugr/src/ops/leaf.rs:21
  enum hugr::ops::LeafOp, previously in file /tmp/.tmpZslYkR/hugr/src/ops/leaf.rs:21

--- failure enum_variant_added: enum variant added on exhaustive enum ---

Description:
A publicly-visible enum without #[non_exhaustive] has a new variant.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#enum-variant-new
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.30.0/src/lints/enum_variant_added.ron

Failed in:
  variant ConstTypeError:NotMonomorphicFunction in /tmp/.tmpoZAGEw/hugr/hugr/src/ops/constant.rs:98
  variant ConstTypeError:NotMonomorphicFunction in /tmp/.tmpoZAGEw/hugr/hugr/src/ops/constant.rs:98
  variant SignatureError:CallIncorrectlyAppliesType in /tmp/.tmpoZAGEw/hugr/hugr/src/extension.rs:172

--- failure enum_variant_missing: pub enum variant removed or renamed ---

Description:
A publicly-visible enum has at least one variant that is no longer available under its prior name. It 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.30.0/src/lints/enum_variant_missing.ron

Failed in:
  variant InterGraphEdgeError::InvalidConstSrc, previously in file /tmp/.tmpZslYkR/hugr/src/hugr/validate.rs:774
  variant OpType::LeafOp, previously in file /tmp/.tmpZslYkR/hugr/src/ops.rs:30
  variant SignatureError::TypeApplyIncorrectCache, previously in file /tmp/.tmpZslYkR/hugr/src/extension.rs:171
  variant EdgeKind::Static, previously in file /tmp/.tmpZslYkR/hugr/src/types.rs:44
  variant ConstTypeError::FunctionTypeMissing, previously in file /tmp/.tmpZslYkR/hugr/src/ops/constant.rs:99
  variant ConstTypeError::FunctionTypeMissing, previously in file /tmp/.tmpZslYkR/hugr/src/ops/constant.rs:99

--- failure inherent_method_missing: pub method removed or renamed ---

Description:
A publicly-visible method or associated fn is no longer available under its prior name. It 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.30.0/src/lints/inherent_method_missing.ron

Failed in:
  OpType::as_leaf_op, previously in file /tmp/.tmpZslYkR/hugr/src/ops.rs:103
  OpType::is_leaf_op, previously in file /tmp/.tmpZslYkR/hugr/src/ops.rs:103

--- failure method_parameter_count_changed: pub method parameter count changed ---

Description:
A publicly-visible method now takes a different number of parameters.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#fn-change-arity
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.30.0/src/lints/method_parameter_count_changed.ron

Failed in:
  hugr::types::PolyFuncType::validate now takes 2 parameters instead of 3, in /tmp/.tmpoZAGEw/hugr/hugr/src/types/poly_func.rs:76

--- 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.30.0/src/lints/struct_missing.ron

Failed in:
  struct hugr::ops::leaf::TypeApplication, previously in file /tmp/.tmpZslYkR/hugr/src/ops/leaf.rs:82
Changelog

0.3.0-alpha.2 (2024-04-15)

Documentation

  • Specify direct children in HugrView::children (#921)
  • Add logo svg to readme and spec (#925)

Features

  • [breaking] No polymorphic closures (#906)
  • [breaking] Flatten LeafOp (#922)

Refactor

  • Combine ExtensionSolutions (no separate closure) (#884)
  • [breaking] Merge CustomOp and ExternalOp. (#923)


This PR was generated with release-plz.

@github-actions github-actions bot force-pushed the release-plz-2024-03-26T10-12-50Z branch from 686ec26 to 8da5b4e Compare March 26, 2024 10:55
@github-actions github-actions bot force-pushed the release-plz-2024-03-26T10-12-50Z branch 5 times, most recently from 0a5786f to 9adc223 Compare April 3, 2024 17:19
github-merge-queue bot pushed a commit that referenced this pull request Apr 4, 2024
With the rename of the crate from `hugr_quantinuum` to `hugr` (#914) we
broke `release-plz`' automatic changelog generation (since it cannot
find the crate anymore), and all links to crate-related urls.

This alpha release should fix those issues, in addition to letting us
claim the new crate name.

I added the partial changelog bits from #898, #893, and #840 since they
won't be included in the new package's PRs.

drive-by: Move CHANGELOG and README from the root to the `hugr` dir to
be more consistent with other packages in the workspace, and symlink
them instead.
@github-actions github-actions bot changed the title chore: release v0.3.0 chore: release v0.3.0-alpha.1 Apr 4, 2024
@github-actions github-actions bot force-pushed the release-plz-2024-03-26T10-12-50Z branch from 9adc223 to cdebdaa Compare April 4, 2024 09:48
@github-actions github-actions bot changed the title chore: release v0.3.0-alpha.1 chore: release v0.3.0-alpha.2 Apr 9, 2024
@github-actions github-actions bot force-pushed the release-plz-2024-03-26T10-12-50Z branch 6 times, most recently from 75c23d6 to 2401d57 Compare April 12, 2024 14:56
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@github-actions github-actions bot force-pushed the release-plz-2024-03-26T10-12-50Z branch from 2401d57 to a52f52c Compare April 15, 2024 10:06
@aborgna-q aborgna-q added this pull request to the merge queue Apr 15, 2024
Copy link

codecov bot commented Apr 15, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 85.47%. Comparing base (0bab478) to head (2cfa7b3).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #898      +/-   ##
==========================================
- Coverage   85.54%   85.47%   -0.08%     
==========================================
  Files          78       78              
  Lines       14257    14257              
  Branches    14257    14257              
==========================================
- Hits        12196    12186      -10     
- Misses       1427     1436       +9     
- Partials      634      635       +1     
Flag Coverage Δ
rust 85.47% <ø> (-0.08%) ⬇️

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.

Merged via the queue into main with commit e71489a Apr 15, 2024
17 checks passed
@aborgna-q aborgna-q deleted the release-plz-2024-03-26T10-12-50Z branch April 15, 2024 10:43
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.

1 participant