Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
76 changes: 38 additions & 38 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions policies/rust/now-policy-api/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## Unreleased

## [[0.5.0](https://github.com/Devolutions/now-libraries/compare/now-policy-api-v0.4.0...now-policy-api-v0.5.0)] - 2026-09-15

### <!-- 1 -->Features

- [**breaking**] Replace `ResponsePolicyInfo::policy_version` with `policy_format_version: now_policy::PolicyFormatVersion`, serialized as `PolicyFormatVersion` ([#106](https://github.com/Devolutions/now-libraries/issues/106)) ([cc841bf6e5](https://github.com/Devolutions/now-libraries/commit/cc841bf6e59547ddefbb6287f7a0ef8466aedb10))
- [**breaking**] Update embedded `PolicyDocument` and `PolicyDraftDocument` payloads to omit `$schema` and use `PolicyFormatVersion` instead of `PolicyVersion` ([#106](https://github.com/Devolutions/now-libraries/issues/106)) ([cc841bf6e5](https://github.com/Devolutions/now-libraries/commit/cc841bf6e59547ddefbb6287f7a0ef8466aedb10))
- [**breaking**] Replace `PolicyFindingCode::UnsupportedPolicyVersion` with `UnsupportedPolicyFormatVersion` and remove `UnsupportedSchema` ([#106](https://github.com/Devolutions/now-libraries/issues/106)) ([cc841bf6e5](https://github.com/Devolutions/now-libraries/commit/cc841bf6e59547ddefbb6287f7a0ef8466aedb10))

## [[0.4.0](https://github.com/Devolutions/now-libraries/compare/now-policy-api-v0.3.1...now-policy-api-v0.4.0)] - 2026-09-03

### <!-- 1 -->Features
Expand Down
4 changes: 2 additions & 2 deletions policies/rust/now-policy-api/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "now-policy-api"
version = "0.4.0"
version = "0.5.0"
edition = "2024"
license.workspace = true
homepage.workspace = true
Expand All @@ -16,7 +16,7 @@ workspace = true
[dependencies]
chrono = { version = "0.4", features = ["serde"] }
derive_more = { version = "2", features = ["as_ref", "deref", "display", "from"] }
now-policy = { version = "0.3", path = "../now-policy" }
now-policy = { version = "0.4", path = "../now-policy" }
schemars = { version = "0.9", features = ["chrono04"] }
semver = "1"
serde = { version = "1", features = ["derive"] }
Expand Down
7 changes: 7 additions & 0 deletions policies/rust/now-policy-server-template/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## Unreleased

## [[0.5.0](https://github.com/Devolutions/now-libraries/compare/now-policy-server-template-v0.4.0...now-policy-server-template-v0.5.0)] - 2026-09-15

### <!-- 1 -->Features

- [**breaking**] Update policy endpoint payloads and generated OpenAPI schemas to omit `$schema` and use `PolicyFormatVersion` instead of `PolicyVersion` ([#106](https://github.com/Devolutions/now-libraries/issues/106)) ([cc841bf6e5](https://github.com/Devolutions/now-libraries/commit/cc841bf6e59547ddefbb6287f7a0ef8466aedb10))
- [**breaking**] Update the re-exported `PolicyFindingCode` to replace `UnsupportedPolicyVersion` with `UnsupportedPolicyFormatVersion` and remove `UnsupportedSchema` ([#106](https://github.com/Devolutions/now-libraries/issues/106)) ([cc841bf6e5](https://github.com/Devolutions/now-libraries/commit/cc841bf6e59547ddefbb6287f7a0ef8466aedb10))
Comment on lines +14 to +15

## [[0.4.0](https://github.com/Devolutions/now-libraries/compare/now-policy-server-template-v0.3.0...now-policy-server-template-v0.4.0)] - 2026-09-03

### <!-- 1 -->Features
Expand Down
6 changes: 3 additions & 3 deletions policies/rust/now-policy-server-template/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "now-policy-server-template"
version = "0.4.0"
version = "0.5.0"
edition = "2024"
license.workspace = true
homepage.workspace = true
Expand All @@ -17,8 +17,8 @@ workspace = true
aide = { version = "0.15", features = ["axum", "axum-json"] }
async-trait = "0.1"
axum = { version = "0.8", default-features = false, features = ["json"] }
now-policy-api = { version = "0.4", path = "../now-policy-api" }
now-policy = { version = "0.3", path = "../now-policy" }
now-policy-api = { version = "0.5", path = "../now-policy-api" }
now-policy = { version = "0.4", path = "../now-policy" }
schemars = "0.9"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
Expand Down
9 changes: 9 additions & 0 deletions policies/rust/now-policy/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## Unreleased

## [[0.4.0](https://github.com/Devolutions/now-libraries/compare/now-policy-v0.3.0...now-policy-v0.4.0)] - 2026-09-15

### <!-- 1 -->Features

- Add `PolicyFormatVersion` and `CURRENT_POLICY_FORMAT_VERSION` for software-managed document-format compatibility; new documents use `1.0.0`, while readers accept canonical three-component numeric 1.x versions whose components fit in `u64` ([#106](https://github.com/Devolutions/now-libraries/issues/106)) ([cc841bf6e5](https://github.com/Devolutions/now-libraries/commit/cc841bf6e59547ddefbb6287f7a0ef8466aedb10))
- [**breaking**] Replace `PolicyDocument::policy_version` and `PolicyDraftDocument::policy_version` with `policy_format_version: PolicyFormatVersion`, serialized as `PolicyFormatVersion` ([#106](https://github.com/Devolutions/now-libraries/issues/106)) ([cc841bf6e5](https://github.com/Devolutions/now-libraries/commit/cc841bf6e59547ddefbb6287f7a0ef8466aedb10))
- [**breaking**] Remove the `_schema` field and serialized `$schema` member from `PolicyDocument` and `PolicyDraftDocument`; strict deserialization now rejects documents that still contain `$schema` ([#106](https://github.com/Devolutions/now-libraries/issues/106)) ([cc841bf6e5](https://github.com/Devolutions/now-libraries/commit/cc841bf6e59547ddefbb6287f7a0ef8466aedb10))
- [**breaking**] Remove `PolicySchemaUri`, `PolicyDraftSchemaUri`, `POLICY_SCHEMA_URI`, and `POLICY_DRAFT_SCHEMA_URI` ([#106](https://github.com/Devolutions/now-libraries/issues/106)) ([cc841bf6e5](https://github.com/Devolutions/now-libraries/commit/cc841bf6e59547ddefbb6287f7a0ef8466aedb10))

## [[0.3.0](https://github.com/Devolutions/now-libraries/compare/now-policy-v0.2.0...now-policy-v0.3.0)] - 2026-09-03

### <!-- 1 -->Features
Expand Down
2 changes: 1 addition & 1 deletion policies/rust/now-policy/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "now-policy"
version = "0.3.0"
version = "0.4.0"
edition = "2024"
license.workspace = true
homepage.workspace = true
Expand Down