Skip to content

chore(release): prepare for publishing - #96

Closed
devolutionsbot wants to merge 2 commits into
masterfrom
release-plz/2026-08-28T13-19-52Z
Closed

chore(release): prepare for publishing#96
devolutionsbot wants to merge 2 commits into
masterfrom
release-plz/2026-08-28T13-19-52Z

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

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 coordinated 0.4.0 release of the Rust policy API and server template.

Changes:

  • Bumps both crate versions and aligns their dependency.
  • Adds release changelogs documenting breaking API changes.
  • Refreshes the workspace 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 versions and resolved dependencies.
policies/rust/now-policy-api/Cargo.toml Bumps the API crate to 0.4.0.
policies/rust/now-policy-api/CHANGELOG.md Documents the 0.4.0 release.
policies/rust/now-policy-server-template/Cargo.toml Bumps the server template and API dependency.
policies/rust/now-policy-server-template/CHANGELOG.md Documents the 0.4.0 release.

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

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
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