Skip to content

chore(release): prepare for publishing - #90

Merged
Vladyslav Nikonov (vnikonov-devolutions) merged 3 commits into
masterfrom
release-plz/2026-08-05T15-11-44Z
Aug 5, 2026
Merged

chore(release): prepare for publishing#90
Vladyslav Nikonov (vnikonov-devolutions) merged 3 commits into
masterfrom
release-plz/2026-08-05T15-11-44Z

Conversation

@devolutionsbot

@devolutionsbot devolutionsbot commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

🤖 New release

  • now-policy-api: 0.2.0 -> 0.3.0 (⚠ API breaking changes)
  • now-policy-server-template: 0.2.0 -> 0.3.0 (⚠ API breaking changes)

now-policy-api breaking changes

--- failure constructible_struct_adds_field: externally-constructible struct adds field ---

Description:
A pub struct constructible with a struct literal has a new pub field. Existing struct literals must be updated to include the new field.
        ref: https://doc.rust-lang.org/reference/expressions/struct-expr.html
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.47.0/src/lints/constructible_struct_adds_field.ron

Failed in:
  field OperationSubmission.event_channel in /tmp/.tmpx1HJLt/now-libraries/policies/rust/now-policy-api/src/execute.rs:76
  field OperationSubmission.event_channel in /tmp/.tmpx1HJLt/now-libraries/policies/rust/now-policy-api/src/execute.rs:76

--- failure enum_no_repr_variant_discriminant_changed: enum variant had its discriminant change value ---

Description:
The enum's variant had its discriminant value change. This breaks downstream code that used its value via a numeric cast like `as isize`.
        ref: https://doc.rust-lang.org/reference/items/enumerations.html#assigning-discriminant-values
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.47.0/src/lints/enum_no_repr_variant_discriminant_changed.ron

Failed in:
  variant OperationStatus::Completed 2 -> 3 in /tmp/.tmpx1HJLt/now-libraries/policies/rust/now-policy-api/src/enums.rs:91
  variant OperationStatus::Failed 3 -> 4 in /tmp/.tmpx1HJLt/now-libraries/policies/rust/now-policy-api/src/enums.rs:93
  variant OperationStatus::Completed 2 -> 3 in /tmp/.tmpx1HJLt/now-libraries/policies/rust/now-policy-api/src/enums.rs:91
  variant OperationStatus::Failed 3 -> 4 in /tmp/.tmpx1HJLt/now-libraries/policies/rust/now-policy-api/src/enums.rs:93

--- 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.47.0/src/lints/enum_variant_added.ron

Failed in:
  variant OperationStatus:Canceling in /tmp/.tmpx1HJLt/now-libraries/policies/rust/now-policy-api/src/enums.rs:89
  variant OperationStatus:Canceled in /tmp/.tmpx1HJLt/now-libraries/policies/rust/now-policy-api/src/enums.rs:95
  variant OperationStatus:Canceling in /tmp/.tmpx1HJLt/now-libraries/policies/rust/now-policy-api/src/enums.rs:89
  variant OperationStatus:Canceled in /tmp/.tmpx1HJLt/now-libraries/policies/rust/now-policy-api/src/enums.rs:95

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

Failed in:
  struct now_policy_api::Base64Utf8Data, previously in file /tmp/.tmpc6pF0q/now-policy-api/src/lib.rs:544

--- failure struct_pub_field_missing: pub struct's pub field removed or renamed ---

Description:
A publicly-visible struct has at least one public field 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.47.0/src/lints/struct_pub_field_missing.ron

Failed in:
  field stdout of struct StatusResponse, previously in file /tmp/.tmpc6pF0q/now-policy-api/src/status.rs:79
  field stdout of struct StatusResponse, previously in file /tmp/.tmpc6pF0q/now-policy-api/src/status.rs:79

now-policy-server-template breaking changes

--- failure trait_method_added: pub trait method added ---

Description:
A non-sealed public trait added a new method without a default implementation, 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.47.0/src/lints/trait_method_added.ron

Failed in:
  trait method now_policy_server_template::server::PackageBrokerServer::cancel in file /tmp/.tmpx1HJLt/now-libraries/policies/rust/now-policy-server-template/src/server.rs:32
  trait method now_policy_server_template::PackageBrokerServer::cancel in file /tmp/.tmpx1HJLt/now-libraries/policies/rust/now-policy-server-template/src/server.rs:32
Changelog

now-policy-api

[0.3.0] - 2026-08-05

Features

now-policy-server-template

[0.3.0] - 2026-08-05

Features


This PR was generated with release-plz.

Copilot AI balanced review requested due to automatic review settings August 5, 2026 15:11

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Prepares the policy API and server-template crates for their breaking 0.3.0 releases.

Changes:

  • Bumps both crate versions to 0.3.0.
  • Updates the server template’s API dependency to 0.3.
  • Adds release changelogs and refreshes the lockfile.

Reviewed changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated no comments.

Show a summary per file
File Description
Cargo.lock Updates crate and resolved dependency versions.
policies/rust/now-policy-api/Cargo.toml Bumps the API crate to 0.3.0.
policies/rust/now-policy-api/CHANGELOG.md Documents cancellation support.
policies/rust/now-policy-server-template/Cargo.toml Bumps the crate and API dependency versions.
policies/rust/now-policy-server-template/CHANGELOG.md Documents cancellation support.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@vnikonov-devolutions

Copy link
Copy Markdown
Contributor

NOTE: breaking changes are expected

@devolutionsbot
devolutionsbot force-pushed the release-plz/2026-08-05T15-11-44Z branch from 5902e1b to a65f539 Compare August 5, 2026 19:04
Updated CHANGELOG to reflect breaking changes and new features including package operation cancellation and per-operation event channel protocol.
Removed detailed summary and changes sections from CHANGELOG.md to streamline the document.
@vnikonov-devolutions
Vladyslav Nikonov (vnikonov-devolutions) merged commit 28e5a5a into master Aug 5, 2026
9 checks passed
@vnikonov-devolutions
Vladyslav Nikonov (vnikonov-devolutions) deleted the release-plz/2026-08-05T15-11-44Z branch August 5, 2026 19:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants