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
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Copy link

Copilot AI Apr 4, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changelog now lists 0.2.1.0 above 0.2.1.1-SNAPSHOT, but semver implies 0.2.1.1-SNAPSHOT is newer than 0.2.1.0. This ordering (and the fact that the repo was previously on 0.2.1.1-SNAPSHOT but is now being released as 0.2.1.0) is likely to confuse consumers and makes it unclear which section contains the full release notes for 0.2.1.0. Consider either (a) renaming/moving the existing 0.2.1.1-SNAPSHOT section into the 0.2.1.0 release notes, or (b) bumping the release version to match the snapshot line if that section represents the actual released content.

This issue also appears on line 393 of the same file.

Suggested change
## [0.2.1.0] - 2026-04-04
## [0.2.1.1-SNAPSHOT]

Copilot uses AI. Check for mistakes.
### 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).
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"}
```
Comment on lines 28 to 35
Copy link

Copilot AI Apr 4, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This release updates the dependency version and git SHA here, but there are still docs in the repo referencing the previous 0.2.1.1-SNAPSHOT version (e.g. doc/getting-started.md). For a release PR, it would be better to update those references as well so users don’t end up copy/pasting a snapshot coordinate after 0.2.1.0 is published.

Copilot uses AI. Check for mistakes.

> **Note:** The Clojars artifact `net.clojars.krukow/copilot-sdk` is deprecated.
Expand Down
2 changes: 1 addition & 1 deletion build.clj
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading