Skip to content

chore: release v0.16.0#272

Merged
aborgna-q merged 1 commit intomainfrom
release-plz-2025-12-29T13-13-02Z
Mar 30, 2026
Merged

chore: release v0.16.0#272
aborgna-q merged 1 commit intomainfrom
release-plz-2025-12-29T13-13-02Z

Conversation

@hugrbot
Copy link
Copy Markdown
Collaborator

@hugrbot hugrbot commented Dec 29, 2025

🤖 New release

  • portgraph: 0.15.3 -> 0.16.0 (⚠ API breaking changes)

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

Failed in:
  variant NodeStyle::Box, previously in file /tmp/.tmp7sGcr1/portgraph/src/render.rs:70

--- failure function_requires_different_generic_type_params: function now requires a different number of generic type parameters ---

Description:
A function now requires a different number of generic type parameters than it used to. Uses of this function that supplied the previous number of generic types (e.g. via turbofish syntax) will be broken.
        ref: https://doc.rust-lang.org/reference/items/generics.html
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.46.0/src/lints/function_requires_different_generic_type_params.ron

Failed in:
  function postorder (0 -> 3 generic types) in /tmp/.tmpP8lCNU/portgraph/src/algorithms/post_order.rs:54
  function dominators_filtered (1 -> 4 generic types) in /tmp/.tmpP8lCNU/portgraph/src/algorithms/dominators.rs:110
  function dominators (1 -> 4 generic types) in /tmp/.tmpP8lCNU/portgraph/src/algorithms/dominators.rs:47
  function postorder_filtered (0 -> 3 generic types) in /tmp/.tmpP8lCNU/portgraph/src/algorithms/post_order.rs:124
  function lca (0 -> 1 generic types) in /tmp/.tmpP8lCNU/portgraph/src/algorithms/lca.rs:15

--- failure inherent_associated_pub_const_missing: inherent impl's associated pub const removed ---

Description:
An inherent impl's associated public constant is removed or renamed
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#item-remove
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.46.0/src/lints/inherent_associated_pub_const_missing.ron

Failed in:
  MaybeNodeIndex::NONE, previously at /tmp/.tmp7sGcr1/portgraph/src/index.rs:288

--- 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.46.0/src/lints/inherent_method_const_removed.ron

Failed in:
  Hierarchy::new in /tmp/.tmpP8lCNU/portgraph/src/hierarchy.rs:80
  Hierarchy::new in /tmp/.tmpP8lCNU/portgraph/src/hierarchy.rs:80

--- 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.46.0/src/lints/inherent_method_missing.ron

Failed in:
  FlatRegion::new, previously in file /tmp/.tmp7sGcr1/portgraph/src/view/flat_region.rs:39
  NodeStyle::new, previously in file /tmp/.tmp7sGcr1/portgraph/src/render.rs:84

--- failure trait_associated_type_added: non-sealed public trait added associated type without default value ---

Description:
A non-sealed trait has gained an associated type without a default value, which breaks downstream implementations of the trait
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#trait-new-item-no-default
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.46.0/src/lints/trait_associated_type_added.ron

Failed in:
  trait associated type portgraph::view::PortView::NodeIndexBase in file /tmp/.tmpP8lCNU/portgraph/src/view.rs:28
  trait associated type portgraph::view::PortView::PortIndexBase in file /tmp/.tmpP8lCNU/portgraph/src/view.rs:30
  trait associated type portgraph::PortView::NodeIndexBase in file /tmp/.tmpP8lCNU/portgraph/src/view.rs:28
  trait associated type portgraph::PortView::PortIndexBase in file /tmp/.tmpP8lCNU/portgraph/src/view.rs:30
  trait associated type portgraph::algorithms::convex::ConvexChecker::NodeIndexBase in file /tmp/.tmpP8lCNU/portgraph/src/algorithms/convex.rs:35
  trait associated type portgraph::algorithms::convex::ConvexChecker::PortIndexBase in file /tmp/.tmpP8lCNU/portgraph/src/algorithms/convex.rs:37
  trait associated type portgraph::algorithms::ConvexChecker::NodeIndexBase in file /tmp/.tmpP8lCNU/portgraph/src/algorithms/convex.rs:35
  trait associated type portgraph::algorithms::ConvexChecker::PortIndexBase in file /tmp/.tmpP8lCNU/portgraph/src/algorithms/convex.rs:37

--- failure trait_missing: pub trait removed or renamed ---

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

Failed in:
  trait portgraph::index::Unsigned, previously in file /tmp/.tmp7sGcr1/portgraph/src/index.rs:434

--- failure trait_requires_more_generic_type_params: trait now requires more generic type parameters ---

Description:
A trait now requires more generic type parameters than it used to. Uses of this trait that supplied the previously-required number of generic types will be broken. To fix this, consider supplying default values for newly-added generic types.
        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.46.0/src/lints/trait_requires_more_generic_type_params.ron

Failed in:
  trait NodeConnections (1 -> 3 required generic types) in /tmp/.tmpP8lCNU/portgraph/src/portgraph/iter.rs:514
  trait Nodes (0 -> 3 required generic types) in /tmp/.tmpP8lCNU/portgraph/src/portgraph/iter.rs:230
  trait NodeSubports (1 -> 3 required generic types) in /tmp/.tmpP8lCNU/portgraph/src/multiportgraph/iter.rs:147
  trait NodeLinks (1 -> 3 required generic types) in /tmp/.tmpP8lCNU/portgraph/src/multiportgraph/iter.rs:292
  trait NodeConnections (1 -> 3 required generic types) in /tmp/.tmpP8lCNU/portgraph/src/multiportgraph/iter.rs:345
  trait Neighbours (1 -> 3 required generic types) in /tmp/.tmpP8lCNU/portgraph/src/portgraph/iter.rs:466
  trait EdgeRef (1 -> 2 required generic types) in /tmp/.tmpP8lCNU/portgraph/src/view/petgraph.rs:334
  trait Neighbours (1 -> 3 required generic types) in /tmp/.tmpP8lCNU/portgraph/src/multiportgraph/iter.rs:212
  trait Descendants (0 -> 1 required generic types) in /tmp/.tmpP8lCNU/portgraph/src/hierarchy.rs:664
  trait PostOrder (0 -> 3 required generic types) in /tmp/.tmpP8lCNU/portgraph/src/algorithms/post_order.rs:144
  trait Ports (0 -> 2 required generic types) in /tmp/.tmpP8lCNU/portgraph/src/portgraph/iter.rs:288
  trait Nodes (1 -> 3 required generic types) in /tmp/.tmpP8lCNU/portgraph/src/multiportgraph/iter.rs:95
  trait NodePorts (0 -> 1 required generic types) in /tmp/.tmpP8lCNU/portgraph/src/portgraph/iter.rs:167
  trait Children (0 -> 1 required generic types) in /tmp/.tmpP8lCNU/portgraph/src/hierarchy.rs:600
  trait NodeLinks (0 -> 1 required generic types) in /tmp/.tmpP8lCNU/portgraph/src/portgraph/iter.rs:402
  trait Ports (1 -> 3 required generic types) in /tmp/.tmpP8lCNU/portgraph/src/multiportgraph/iter.rs:514
  trait PortLinks (1 -> 3 required generic types) in /tmp/.tmpP8lCNU/portgraph/src/multiportgraph/iter.rs:385

--- failure type_requires_more_generic_type_params: type now requires more generic type parameters ---

Description:
A type now requires more generic type parameters than it used to. Uses of this type that supplied the previously-required number of generic types will be broken. To fix this, consider supplying default values for newly-added generic types.
        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.46.0/src/lints/type_requires_more_generic_type_params.ron

Failed in:
  Struct NodeConnections (1 -> 3 required generic types) in /tmp/.tmpP8lCNU/portgraph/src/portgraph/iter.rs:514
  Struct Nodes (0 -> 3 required generic types) in /tmp/.tmpP8lCNU/portgraph/src/portgraph/iter.rs:230
  Struct NodeSubports (1 -> 3 required generic types) in /tmp/.tmpP8lCNU/portgraph/src/multiportgraph/iter.rs:147
  Struct NodeLinks (1 -> 3 required generic types) in /tmp/.tmpP8lCNU/portgraph/src/multiportgraph/iter.rs:292
  Struct NodeConnections (1 -> 3 required generic types) in /tmp/.tmpP8lCNU/portgraph/src/multiportgraph/iter.rs:345
  Struct Neighbours (1 -> 3 required generic types) in /tmp/.tmpP8lCNU/portgraph/src/portgraph/iter.rs:466
  Struct EdgeRef (1 -> 2 required generic types) in /tmp/.tmpP8lCNU/portgraph/src/view/petgraph.rs:334
  Struct Neighbours (1 -> 3 required generic types) in /tmp/.tmpP8lCNU/portgraph/src/multiportgraph/iter.rs:212
  Struct Descendants (0 -> 1 required generic types) in /tmp/.tmpP8lCNU/portgraph/src/hierarchy.rs:664
  Struct PostOrder (0 -> 3 required generic types) in /tmp/.tmpP8lCNU/portgraph/src/algorithms/post_order.rs:144
  Struct Ports (0 -> 2 required generic types) in /tmp/.tmpP8lCNU/portgraph/src/portgraph/iter.rs:288
  Struct Nodes (1 -> 3 required generic types) in /tmp/.tmpP8lCNU/portgraph/src/multiportgraph/iter.rs:95
  Struct NodePorts (0 -> 1 required generic types) in /tmp/.tmpP8lCNU/portgraph/src/portgraph/iter.rs:167
  Struct Children (0 -> 1 required generic types) in /tmp/.tmpP8lCNU/portgraph/src/hierarchy.rs:600
  Struct NodeLinks (0 -> 1 required generic types) in /tmp/.tmpP8lCNU/portgraph/src/portgraph/iter.rs:402
  Struct Ports (1 -> 3 required generic types) in /tmp/.tmpP8lCNU/portgraph/src/multiportgraph/iter.rs:514
  Enum PortLinks (1 -> 3 required generic types) in /tmp/.tmpP8lCNU/portgraph/src/multiportgraph/iter.rs:385
Changelog

0.16.0 - 2026-03-30

Bug Fixes

  • [breaking] NodeMeta and PortMeta should be generic (#283)

Documentation

  • document canonical order in toposort for nodes of the same rank (#280)

New Features

  • [breaking] Support parametric node and port types everywhere (#284)
  • [breaking] Remove deprecated definitions (#285)


This PR was generated with release-plz.

@hugrbot hugrbot force-pushed the release-plz-2025-12-29T13-13-02Z branch 2 times, most recently from 07b74c3 to 1cf8290 Compare December 29, 2025 14:51
@codecov
Copy link
Copy Markdown

codecov Bot commented Dec 29, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 83.06%. Comparing base (19d52d8) to head (080b2ef).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #272   +/-   ##
=======================================
  Coverage   83.06%   83.06%           
=======================================
  Files          30       30           
  Lines        7670     7670           
  Branches     7670     7670           
=======================================
  Hits         6371     6371           
  Misses       1199     1199           
  Partials      100      100           

☔ 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-12-29T13-13-02Z branch 3 times, most recently from 5d1cc46 to 0cad7ac Compare February 9, 2026 15:21
@hugrbot hugrbot force-pushed the release-plz-2025-12-29T13-13-02Z branch 2 times, most recently from 3eef0b9 to 214bfb3 Compare February 25, 2026 13:45
@hugrbot hugrbot changed the title chore: release v0.15.4 chore: release v0.16.0 Mar 26, 2026
@hugrbot hugrbot force-pushed the release-plz-2025-12-29T13-13-02Z branch 3 times, most recently from 567f463 to 284a1f6 Compare March 30, 2026 13:21
@hugrbot hugrbot force-pushed the release-plz-2025-12-29T13-13-02Z branch from 284a1f6 to 080b2ef Compare March 30, 2026 13:48
@aborgna-q aborgna-q marked this pull request as ready for review March 30, 2026 13:51
@aborgna-q aborgna-q added this pull request to the merge queue Mar 30, 2026
Merged via the queue into main with commit d3852e9 Mar 30, 2026
14 checks passed
@aborgna-q aborgna-q deleted the release-plz-2025-12-29T13-13-02Z branch March 30, 2026 13:52
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