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
54 changes: 27 additions & 27 deletions Cargo.lock

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

10 changes: 10 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,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## Unreleased

## [[0.6.0](https://github.com/Devolutions/now-libraries/compare/now-policy-api-v0.5.0...now-policy-api-v0.6.0)] - 2026-09-17

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

- [**breaking**] Update policy-bearing API models and OpenAPI schemas to the `now-policy` 0.5 policy document contract ([#109](https://github.com/Devolutions/now-libraries/issues/109)) ([3ab49ad765](https://github.com/Devolutions/now-libraries/commit/3ab49ad76590c325293f50ac4129230ec2b2191a))
- [**breaking**] Remove `PolicyFindingCode::IneffectiveBooleanMatch` and `PolicyFindingCode::UnsupportedPolicyType` ([#109](https://github.com/Devolutions/now-libraries/issues/109)) ([3ab49ad765](https://github.com/Devolutions/now-libraries/commit/3ab49ad76590c325293f50ac4129230ec2b2191a))
- Represent nullable values in the published OpenAPI schema with OpenAPI 3.1 type unions instead of the legacy `nullable` keyword ([#109](https://github.com/Devolutions/now-libraries/issues/109)) ([3ab49ad765](https://github.com/Devolutions/now-libraries/commit/3ab49ad76590c325293f50ac4129230ec2b2191a))



## [[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
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.5.0"
version = "0.6.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.4", path = "../now-policy" }
now-policy = { version = "0.5", path = "../now-policy" }
schemars = { version = "0.9", features = ["chrono04"] }
semver = "1"
serde = { version = "1", features = ["derive"] }
Expand Down
9 changes: 9 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,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## Unreleased

## [[0.6.0](https://github.com/Devolutions/now-libraries/compare/now-policy-server-template-v0.5.0...now-policy-server-template-v0.6.0)] - 2026-09-17

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

- [**breaking**] Update the re-exported policy API models to the `now-policy-api` 0.6 and `now-policy` 0.5 policy document contract ([#109](https://github.com/Devolutions/now-libraries/issues/109)) ([3ab49ad765](https://github.com/Devolutions/now-libraries/commit/3ab49ad76590c325293f50ac4129230ec2b2191a))
- Generate OpenAPI documents with OpenAPI 3.1 type unions for nullable values instead of the legacy `nullable` keyword ([#109](https://github.com/Devolutions/now-libraries/issues/109)) ([3ab49ad765](https://github.com/Devolutions/now-libraries/commit/3ab49ad76590c325293f50ac4129230ec2b2191a))



## [[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
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.5.0"
version = "0.6.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.5", path = "../now-policy-api" }
now-policy = { version = "0.4", path = "../now-policy" }
now-policy-api = { version = "0.6", path = "../now-policy-api" }
now-policy = { version = "0.5", path = "../now-policy" }
schemars = "0.9"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
Expand Down
16 changes: 16 additions & 0 deletions policies/rust/now-policy/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,22 @@ 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-v0.4.0...now-policy-v0.5.0)] - 2026-09-17

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

- [**breaking**] Remove `PolicyDocument::policy_type`, `PolicyDraftDocument::policy_type`, and `PolicyEnforcement::rule_precedence`; rule precedence is now fixed by priority, deny ties, and document order ([#109](https://github.com/Devolutions/now-libraries/issues/109)) ([3ab49ad765](https://github.com/Devolutions/now-libraries/commit/3ab49ad76590c325293f50ac4129230ec2b2191a))
- [**breaking**] Replace `PolicyMatch::package_identifiers` with `Option<PackageIdentifierCondition>` using exactly one `Exact` or `Patterns` mode, and remove `PolicyMatch::package_names` ([#109](https://github.com/Devolutions/now-libraries/issues/109)) ([3ab49ad765](https://github.com/Devolutions/now-libraries/commit/3ab49ad76590c325293f50ac4129230ec2b2191a))
- [**breaking**] Replace `PolicyMatch::versions` and `version_range` with `version: Option<VersionCondition>`; range bounds now use `SemanticVersion` ([#109](https://github.com/Devolutions/now-libraries/issues/109)) ([3ab49ad765](https://github.com/Devolutions/now-libraries/commit/3ab49ad76590c325293f50ac4129230ec2b2191a))
- [**breaking**] Rename `PolicyMatch::sources` to `source_names`, which uses exact `SourceName` values and requires exactly one manager when nonempty ([#109](https://github.com/Devolutions/now-libraries/issues/109)) ([3ab49ad765](https://github.com/Devolutions/now-libraries/commit/3ab49ad76590c325293f50ac4129230ec2b2191a))
- [**breaking**] Rename `PolicyMatch::elevation` to `execution_elevation`, which matches effective execution privilege ([#109](https://github.com/Devolutions/now-libraries/issues/109)) ([3ab49ad765](https://github.com/Devolutions/now-libraries/commit/3ab49ad76590c325293f50ac4129230ec2b2191a))
- [**breaking**] Change the boolean `PolicyMatch` filters from `BTreeSet<bool>` to optional scalar booleans ([#109](https://github.com/Devolutions/now-libraries/issues/109)) ([3ab49ad765](https://github.com/Devolutions/now-libraries/commit/3ab49ad76590c325293f50ac4129230ec2b2191a))
- Reject duplicate values in collection match filters and omit empty filters from serialized policies ([#109](https://github.com/Devolutions/now-libraries/issues/109)) ([3ab49ad765](https://github.com/Devolutions/now-libraries/commit/3ab49ad76590c325293f50ac4129230ec2b2191a))
- Reject policy metadata whose `ValidFrom` is not earlier than `ValidUntil` ([#109](https://github.com/Devolutions/now-libraries/issues/109)) ([3ab49ad765](https://github.com/Devolutions/now-libraries/commit/3ab49ad76590c325293f50ac4129230ec2b2191a))
- Reject `PolicyRule::constraints` on deny rules ([#109](https://github.com/Devolutions/now-libraries/issues/109)) ([3ab49ad765](https://github.com/Devolutions/now-libraries/commit/3ab49ad76590c325293f50ac4129230ec2b2191a))



## [[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
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.4.0"
version = "0.5.0"
edition = "2024"
license.workspace = true
homepage.workspace = true
Expand Down