Skip to content

Conversation

@hugrbot
Copy link
Collaborator

@hugrbot hugrbot commented Sep 16, 2025

πŸ€– New release

  • hugr-model: 0.22.4 -> 0.23.0 (βœ“ API compatible changes)
  • hugr-core: 0.22.4 -> 0.23.0 (⚠ API breaking changes)
  • hugr-llvm: 0.22.4 -> 0.23.0 (βœ“ API compatible changes)
  • hugr-passes: 0.22.4 -> 0.23.0 (⚠ API breaking changes)
  • hugr-persistent: 0.2.3 -> 0.3.0 (βœ“ API compatible changes)
  • hugr: 0.22.4 -> 0.23.0 (βœ“ API compatible changes)
  • hugr-cli: 0.22.4 -> 0.23.0 (βœ“ API compatible changes)

⚠ hugr-core breaking changes

--- 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.43.0/src/lints/enum_variant_missing.ron

Failed in:
  variant PackageEncodingError::ExtensionVersion, previously in file /tmp/.tmp8eoQo1/hugr-core/src/envelope/package_json.rs:89

--- failure function_parameter_count_changed: pub fn parameter count changed ---

Description:
A publicly-visible function 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.43.0/src/lints/function_parameter_count_changed.ron

Failed in:
  hugr_core::import::import_package now takes 3 parameters instead of 2, in /tmp/.tmpBTXSed/hugr/hugr-core/src/import.rs:187

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

Failed in:
  struct hugr_core::extension::prelude::PRELUDE_REGISTRY, previously in file /tmp/.tmp8eoQo1/hugr-core/src/extension/prelude.rs:43
  struct hugr_core::extension::PRELUDE_REGISTRY, previously in file /tmp/.tmp8eoQo1/hugr-core/src/extension/prelude.rs:43
  struct hugr_core::std_extensions::logic::EXTENSION, previously in file /tmp/.tmp8eoQo1/hugr-core/src/std_extensions/logic.rs:134
  struct hugr_core::extension::prelude::PRELUDE, previously in file /tmp/.tmp8eoQo1/hugr-core/src/extension/prelude.rs:43
  struct hugr_core::extension::PRELUDE, previously in file /tmp/.tmp8eoQo1/hugr-core/src/extension/prelude.rs:43
  struct hugr_core::std_extensions::ptr::EXTENSION, previously in file /tmp/.tmp8eoQo1/hugr-core/src/std_extensions/ptr.rs:112
  struct hugr_core::std_extensions::arithmetic::int_types::EXTENSION, previously in file /tmp/.tmp8eoQo1/hugr-core/src/std_extensions/arithmetic/int_types.rs:209
  struct hugr_core::std_extensions::arithmetic::conversions::EXTENSION, previously in file /tmp/.tmp8eoQo1/hugr-core/src/std_extensions/arithmetic/conversions.rs:174
  struct hugr_core::std_extensions::collections::array::EXTENSION, previously in file /tmp/.tmp8eoQo1/hugr-core/src/std_extensions/collections/array.rs:93
  struct hugr_core::std_extensions::arithmetic::int_types::INT_TYPES, previously in file /tmp/.tmp8eoQo1/hugr-core/src/std_extensions/arithmetic/int_types.rs:49
  struct hugr_core::std_extensions::arithmetic::float_types::EXTENSION, previously in file /tmp/.tmp8eoQo1/hugr-core/src/std_extensions/arithmetic/float_types.rs:104
  struct hugr_core::std_extensions::collections::static_array::EXTENSION, previously in file /tmp/.tmp8eoQo1/hugr-core/src/std_extensions/collections/static_array.rs:142
  struct hugr_core::std_extensions::collections::list::EXTENSION, previously in file /tmp/.tmp8eoQo1/hugr-core/src/std_extensions/collections/list.rs:289
  struct hugr_core::std_extensions::STD_REG, previously in file /tmp/.tmp8eoQo1/hugr-core/src/std_extensions.rs:35
  struct hugr_core::std_extensions::collections::value_array::EXTENSION, previously in file /tmp/.tmp8eoQo1/hugr-core/src/std_extensions/collections/value_array.rs:99
  struct hugr_core::std_extensions::collections::borrow_array::EXTENSION, previously in file /tmp/.tmp8eoQo1/hugr-core/src/std_extensions/collections/borrow_array.rs:290
  struct hugr_core::std_extensions::arithmetic::float_ops::EXTENSION, previously in file /tmp/.tmp8eoQo1/hugr-core/src/std_extensions/arithmetic/float_ops.rs:115
  struct hugr_core::std_extensions::arithmetic::int_ops::EXTENSION, previously in file /tmp/.tmp8eoQo1/hugr-core/src/std_extensions/arithmetic/int_ops.rs:254

⚠ hugr-passes 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.43.0/src/lints/enum_missing.ron

Failed in:
  enum hugr_passes::non_local::NonLocalEdgesError, previously in file /tmp/.tmp8eoQo1/hugr-passes/src/non_local.rs:57
Changelog

hugr-model

0.23.0 - 2025-09-30

Bug Fixes

  • [breaking] Appease cargo-audit by replacing unmaintained dependencies (#2572)

New Features

  • Documentation and error hints (#2523)

hugr-core

0.23.0 - 2025-09-30

Bug Fixes

  • [breaking] Appease cargo-audit by replacing unmaintained dependencies (#2572)
  • (core) check extension versions on model import (#2580)
  • [breaking] test extension version compatibility on ModelWithExts (#2587)
  • (core) check used extension versions against resolved extensions (#2588)
  • [breaking] model import loads Package extensions (#2590)

Miscellaneous Tasks

  • [breaking] Cleanup deprecated definitions (#2594)

New Features

  • add trait+funcs for linking Hugrs explicitly by Node (#2521)
  • Documentation and error hints (#2523)
  • Allow creating DFG builders from existing hugrs (#2562)
  • add_input/output for arbitrary DFGBuilders (#2564)
  • [breaking] Return error instead of panicking in DFGWrapper::add_{in,out}put (#2571)
  • (core) inner acccesors for WithGenerator error (#2583)
  • Normalize CFGs (#2591)

Refactor

  • [breaking] Replace lazy_static with std::sync::LazyLock (#2567)

hugr-llvm

0.23.0 - 2025-09-30

Miscellaneous Tasks

  • [breaking] Cleanup deprecated definitions (#2594)

Refactor

  • [breaking] Replace lazy_static with std::sync::LazyLock (#2567)

Testing

  • Add framework for LLVM execution tests involving panics (#2568)

hugr-passes

0.23.0 - 2025-09-30

Bug Fixes

  • DeadCodeElim keeps consumers of linear outputs (#2560)
  • [breaking] Appease cargo-audit by replacing unmaintained dependencies (#2572)

Miscellaneous Tasks

  • [breaking] Cleanup deprecated definitions (#2594)

New Features

  • [breaking] DeadCodeElimPass reports error on non-existent entry_points (#2566)
  • Normalize CFGs (#2591)

Refactor

  • [breaking] Replace lazy_static with std::sync::LazyLock (#2567)

hugr-persistent

0.3.0 - 2025-09-30

Miscellaneous Tasks

  • [breaking] Cleanup deprecated definitions (#2594)

Refactor

  • [breaking] Replace lazy_static with std::sync::LazyLock (#2567)

hugr

0.23.0 - 2025-09-30

Bug Fixes

  • DeadCodeElim keeps consumers of linear outputs (#2560)
  • [breaking] Appease cargo-audit by replacing unmaintained dependencies (#2572)
  • (core) check extension versions on model import (#2580)
  • [breaking] test extension version compatibility on ModelWithExts (#2587)
  • (core) check used extension versions against resolved extensions (#2588)
  • [breaking] model import loads Package extensions (#2590)

Miscellaneous Tasks

  • [breaking] Cleanup deprecated definitions (#2594)

New Features

  • [breaking] DeadCodeElimPass reports error on non-existent entry_points (#2566)
  • add trait+funcs for linking Hugrs explicitly by Node (#2521)
  • Documentation and error hints (#2523)
  • Allow creating DFG builders from existing hugrs (#2562)
  • add_input/output for arbitrary DFGBuilders (#2564)
  • [breaking] Return error instead of panicking in DFGWrapper::add_{in,out}put (#2571)
  • (core) inner acccesors for WithGenerator error (#2583)
  • Normalize CFGs (#2591)

Refactor

  • [breaking] Replace lazy_static with std::sync::LazyLock (#2567)

hugr-cli

0.22.3 - 2025-09-11

New Features

  • (hugr-cli) CliError::validate helper (#2507)


This PR was generated with release-plz.

@hugrbot hugrbot added the release Release PR label Sep 16, 2025
@codecov
Copy link

codecov bot commented Sep 16, 2025

Codecov Report

βœ… All modified and coverable lines are covered by tests.
βœ… Project coverage is 83.07%. Comparing base (3e21fbf) to head (aa807c6).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2554   +/-   ##
=======================================
  Coverage   83.07%   83.07%           
=======================================
  Files         255      255           
  Lines       48422    48422           
  Branches    43932    43932           
=======================================
  Hits        40225    40225           
  Misses       6103     6103           
  Partials     2094     2094           
Flag Coverage Ξ”
python 91.60% <ΓΈ> (ΓΈ)
rust 82.19% <ΓΈ> (ΓΈ)

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.

πŸš€ New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@hugrbot hugrbot force-pushed the release-plz-2025-09-16T09-25-06Z branch 11 times, most recently from 6ba0cbc to 43726d7 Compare September 23, 2025 07:29
@hugrbot hugrbot force-pushed the release-plz-2025-09-16T09-25-06Z branch 10 times, most recently from 733f121 to 1907246 Compare September 30, 2025 08:01
@ss2165 ss2165 marked this pull request as ready for review September 30, 2025 08:22
@ss2165 ss2165 requested review from a team, aborgna-q, cqc-alec, doug-q and ss2165 as code owners September 30, 2025 08:22
@hugrbot hugrbot force-pushed the release-plz-2025-09-16T09-25-06Z branch from 1907246 to 6283dbe Compare September 30, 2025 09:15
@ss2165
Copy link
Member

ss2165 commented Sep 30, 2025

Waiting to merge #2591

@hugrbot hugrbot force-pushed the release-plz-2025-09-16T09-25-06Z branch 2 times, most recently from e25a6eb to 01e68f3 Compare September 30, 2025 11:23
@hugrbot hugrbot force-pushed the release-plz-2025-09-16T09-25-06Z branch from 01e68f3 to aa807c6 Compare September 30, 2025 13:45
@hugrbot
Copy link
Collaborator Author

hugrbot commented Sep 30, 2025

This PR contains breaking changes to the public Rust API.
Please deprecate the old API instead (if possible), or mark the PR with a ! to indicate a breaking change.

cargo-semver-checks summary

--- failure derive_trait_impl_removed: built-in derived trait no longer implemented ---

Description:
A public type has stopped deriving one or more traits. This can break downstream code that depends on those types implementing those traits.
      ref: https://doc.rust-lang.org/reference/attributes/derive.html#derive
     impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.44.0/src/lints/derive_trait_impl_removed.ron

Failed in:
type OpTag no longer derives Hash, in /home/runner/work/hugr/hugr/PR_BRANCH/hugr-core/src/ops/tag.rs:14
type OpTag no longer derives Hash, in /home/runner/work/hugr/hugr/PR_BRANCH/hugr-core/src/ops/tag.rs:14

--- failure type_allows_fewer_generic_type_params: type now allows fewer generic type parameters ---

Description:
A type now allows fewer generic type parameters than it used to. Uses of this type that supplied all previously-supported generic types will be broken.
      ref: https://doc.rust-lang.org/cargo/reference/semver.html#trait-new-parameter-no-default
     impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.44.0/src/lints/type_allows_fewer_generic_type_params.ron

Failed in:
Struct InlineDFG allows 1 -> 0 generic types in /home/runner/work/hugr/hugr/PR_BRANCH/hugr-core/src/hugr/patch/inline_dfg.rs:10
Enum InlineDFGError allows 1 -> 0 generic types in /home/runner/work/hugr/hugr/PR_BRANCH/hugr-core/src/hugr/patch/inline_dfg.rs:15

--- 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.44.0/src/lints/enum_missing.ron

Failed in:
enum hugr_passes::normalize_cfgs::NormalizeCFGResult, previously in file /home/runner/work/hugr/hugr/BASELINE_BRANCH/hugr-passes/src/normalize_cfgs.rs:79
enum hugr_passes::normalize_cfgs::NormalizeCFGError, previously in file /home/runner/work/hugr/hugr/BASELINE_BRANCH/hugr-passes/src/normalize_cfgs.rs:69

--- failure function_missing: pub fn removed or renamed ---

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

Failed in:
function hugr_passes::normalize_cfgs::merge_basic_blocks, previously in file /home/runner/work/hugr/hugr/BASELINE_BRANCH/hugr-passes/src/normalize_cfgs.rs:34
function hugr_passes::normalize_cfgs::normalize_cfg, previously in file /home/runner/work/hugr/hugr/BASELINE_BRANCH/hugr-passes/src/normalize_cfgs.rs:160

--- failure module_missing: pub module removed or renamed ---

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

Failed in:
mod hugr_passes::normalize_cfgs, previously in file /home/runner/work/hugr/hugr/BASELINE_BRANCH/hugr-passes/src/normalize_cfgs.rs:1

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

Failed in:
struct hugr_passes::normalize_cfgs::NormalizeCFGPass, previously in file /home/runner/work/hugr/hugr/BASELINE_BRANCH/hugr-passes/src/normalize_cfgs.rs:99

@ss2165 ss2165 added this pull request to the merge queue Sep 30, 2025
Merged via the queue into main with commit 1fc4017 Sep 30, 2025
26 of 27 checks passed
@ss2165 ss2165 deleted the release-plz-2025-09-16T09-25-06Z branch September 30, 2025 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release Release PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants