diff --git a/.release-please-manifest.json b/.release-please-manifest.json index c05df9b..2be9c43 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.1.3" + ".": "0.2.0" } diff --git a/CHANGELOG.md b/CHANGELOG.md index 2fed71c..7474536 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,21 @@ # Changelog +## [0.2.0](https://github.com/godaddy/cli-engine/compare/cli-engine-v0.1.3...cli-engine-v0.2.0) (2026-06-09) + + +### ⚠ BREAKING CHANGES + +* `CommandSpec.no_auth` (bool) is replaced by `CommandSpec.auth` (`AuthRequirement`), and `MiddlewareRequest.no_auth` by `MiddlewareRequest.auth`. `CommandContext.credential` is now a `CredentialResolver` instead of `Option`; `RuntimeCommandSpec::new` and `new_typed` handler closures receive a `CredentialResolver`; and `Authorizer::authorize` receives `&CredentialResolver` instead of `Option<&Credential>`. The `no_auth(true)` builder still works and maps to `AuthRequirement::None`; `auth_optional()` and `auth(AuthRequirement)` select the other policies. + +### Features + +* fail-closed authentication via AuthRequirement; populate PKCE identity ([#17](https://github.com/godaddy/cli-engine/issues/17)) ([34313bf](https://github.com/godaddy/cli-engine/commit/34313bf28b63270a151cd19de5d1f3b4665177e5)) + + +### Bug Fixes + +* render help for ` help` subcommand form ([#15](https://github.com/godaddy/cli-engine/issues/15)) ([c21db13](https://github.com/godaddy/cli-engine/commit/c21db1359a48d36caa0dd9f324cbc2a45ec84df7)) + ## [0.1.3](https://github.com/godaddy/cli-engine/compare/cli-engine-v0.1.2...cli-engine-v0.1.3) (2026-06-05) diff --git a/Cargo.lock b/Cargo.lock index f6a0c8e..df46397 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -397,7 +397,7 @@ checksum = "c8d4a3bb8b1e0c1050499d1815f5ab16d04f0959b233085fb31653fbfc9d98f9" [[package]] name = "cli-engine" -version = "0.1.3" +version = "0.2.0" dependencies = [ "async-trait", "base64", diff --git a/Cargo.toml b/Cargo.toml index 80b7337..25cdc22 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cli-engine" -version = "0.1.3" +version = "0.2.0" edition = "2024" description = "Rust CLI framework for consistent command modules" repository = "https://github.com/godaddy/cli-engine"