Skip to content

chore(release): prepare for publishing - #98

Open
devolutionsbot wants to merge 1 commit into
masterfrom
release-plz/2026-08-28T14-42-44Z
Open

chore(release): prepare for publishing#98
devolutionsbot wants to merge 1 commit into
masterfrom
release-plz/2026-08-28T14-42-44Z

Conversation

@devolutionsbot

Copy link
Copy Markdown
Contributor

🤖 New release

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

now-policy-api breaking changes

--- failure feature_missing: package feature removed or renamed ---

Description:
A feature has been removed from this package's Cargo.toml. This will break downstream crates which enable that feature.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#cargo-feature-remove
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.47.0/src/lints/feature_missing.ron

Failed in:
  feature policy-compat in the package's Cargo.toml

now-policy-server-template breaking changes

--- failure feature_missing: package feature removed or renamed ---

Description:
A feature has been removed from this package's Cargo.toml. This will break downstream crates which enable that feature.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#cargo-feature-remove
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.47.0/src/lints/feature_missing.ron

Failed in:
  feature policy-compat in the package's Cargo.toml

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

Failed in:
  mod now_policy_server_template::mock, previously in file /tmp/.tmpmYCixp/now-policy-server-template/src/mock.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.47.0/src/lints/struct_missing.ron

Failed in:
  struct now_policy_server_template::mock::MockPackageBrokerServer, previously in file /tmp/.tmpmYCixp/now-policy-server-template/src/mock.rs:17
  struct now_policy_server_template::MockPackageBrokerServer, previously in file /tmp/.tmpmYCixp/now-policy-server-template/src/mock.rs:17

--- 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::active_policy in file /tmp/.tmpx6c5eG/now-libraries/policies/rust/now-policy-server-template/src/server.rs:29
  trait method now_policy_server_template::PackageBrokerServer::active_policy in file /tmp/.tmpx6c5eG/now-libraries/policies/rust/now-policy-server-template/src/server.rs:29
Changelog

now-policy-api

[0.4.0] - 2026-08-28

Features

  • Add active package policy inspection contract (#93) (cd5a6e9f8e)

    • add canonical GET /v1/policy support across the Rust server
      contract, generated OpenAPI, C# DTOs, and
      BrokerClient.GetPolicy(CancellationToken)
    • return the existing canonical PolicyDocument inside a versioned
      PolicyResponse, with structured 404 NotFound behavior when no active
      policy is configured
    • make policy inspection unconditional: remove policy-compat and its
      cross-model conversion impls, and keep runtime mapping ownership in
      broker implementations
    • name the required Rust server accessor active_policy, leaving clear
      room for a future explicit replace_policy operation backed by a
      separate policy-store abstraction
    • harden C# successful-response validation for required/null fields,
      collection elements, unknown members, and canonical enum casing
    • preserve existing OpenAPI component names by namespacing colliding
      embedded policy components as PolicyModel…
    • run workspace Rust tests and Clippy with all features through the
      standard xtask commands

now-policy-server-template

[0.4.0] - 2026-08-28

Features

  • Add active package policy inspection contract (#93) (cd5a6e9f8e)

    • add canonical GET /v1/policy support across the Rust server
      contract, generated OpenAPI, C# DTOs, and
      BrokerClient.GetPolicy(CancellationToken)
    • return the existing canonical PolicyDocument inside a versioned
      PolicyResponse, with structured 404 NotFound behavior when no active
      policy is configured
    • make policy inspection unconditional: remove policy-compat and its
      cross-model conversion impls, and keep runtime mapping ownership in
      broker implementations
    • name the required Rust server accessor active_policy, leaving clear
      room for a future explicit replace_policy operation backed by a
      separate policy-store abstraction
    • harden C# successful-response validation for required/null fields,
      collection elements, unknown members, and canonical enum casing
    • preserve existing OpenAPI component names by namespacing colliding
      embedded policy components as PolicyModel…
    • run workspace Rust tests and Clippy with all features through the
      standard xtask commands


This PR was generated with release-plz.

Copilot AI balanced review requested due to automatic review settings August 28, 2026 14:42

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 Rust policy crates for their 0.4.0 releases.

Changes:

  • Bumps both crate versions and aligns their dependency constraints.
  • Adds changelog entries for policy inspection and mock API removal.
  • Refreshes locked transitive dependencies.

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 transitive dependency locks.
policies/rust/now-policy-api/Cargo.toml Bumps the API crate to 0.4.0.
policies/rust/now-policy-api/CHANGELOG.md Documents the API release.
policies/rust/now-policy-server-template/Cargo.toml Bumps the crate and API dependency versions.
policies/rust/now-policy-server-template/CHANGELOG.md Documents features and breaking changes.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

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.

2 participants