diff --git a/CHANGELOG.md b/CHANGELOG.md index fbb929c..08314fb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ All notable changes to this project will be documented in this file. This change ## [Unreleased] +## [0.2.1.0] - 2026-04-04 ### Added (v0.2.1 sync) - **`resolvedByHook` guard on `permission.requested`** — when the runtime resolves a permission request via a `permissionRequest` hook, the broadcast event includes `resolvedByHook: true`. The SDK now skips the client's `:on-permission-request` handler and does not send the `handlePendingPermissionRequest` RPC, preventing duplicate responses. Event subscribers still observe the event (upstream PR #999, runtime 1.0.17). - **New permission result kinds** — `:denied-by-content-exclusion-policy` and `:denied-by-permission-request-hook` added to `::permission-result-kind` spec (upstream PR #999). @@ -389,7 +390,8 @@ All notable changes to this project will be documented in this file. This change - org.clojure/spec.alpha 0.5.238 - cheshire/cheshire 5.13.0 -[Unreleased]: https://github.com/copilot-community-sdk/copilot-sdk-clojure/compare/v0.2.1.1-SNAPSHOT...HEAD +[Unreleased]: https://github.com/copilot-community-sdk/copilot-sdk-clojure/compare/v0.2.1.0...HEAD +[0.2.1.0]: https://github.com/copilot-community-sdk/copilot-sdk-clojure/compare/v0.2.1.1-SNAPSHOT...v0.2.1.0 [0.2.1.1-SNAPSHOT]: https://github.com/copilot-community-sdk/copilot-sdk-clojure/compare/v0.2.0.0...v0.2.1.1-SNAPSHOT [0.2.0.0]: https://github.com/copilot-community-sdk/copilot-sdk-clojure/compare/v0.1.33.0-SNAPSHOT...v0.2.0.0 [0.1.33.0-SNAPSHOT]: https://github.com/copilot-community-sdk/copilot-sdk-clojure/compare/v0.1.32.0...v0.1.33.0-SNAPSHOT diff --git a/README.md b/README.md index 8f07c93..0983cb4 100644 --- a/README.md +++ b/README.md @@ -27,11 +27,11 @@ Add to your `deps.edn`: ```clojure ;; From Maven Central -io.github.copilot-community-sdk/copilot-sdk-clojure {:mvn/version "0.2.1.1-SNAPSHOT"} +io.github.copilot-community-sdk/copilot-sdk-clojure {:mvn/version "0.2.1.0"} ;; Or git dependency io.github.copilot-community-sdk/copilot-sdk-clojure {:git/url "https://github.com/copilot-community-sdk/copilot-sdk-clojure.git" - :git/sha "7a30402b9bd843494752c46a18ff7f2fec27a620"} + :git/sha "875da823caca2d0069e37013e4833d9395f00eff"} ``` > **Note:** The Clojars artifact `net.clojars.krukow/copilot-sdk` is deprecated. diff --git a/build.clj b/build.clj index a6a5f82..c1ffd85 100644 --- a/build.clj +++ b/build.clj @@ -7,7 +7,7 @@ (:import [java.io File])) (def lib 'io.github.copilot-community-sdk/copilot-sdk-clojure) -(def version "0.2.1.1-SNAPSHOT") +(def version "0.2.1.0") (def class-dir "target/classes") (defn- try-sh