diff --git a/CHANGELOG.md b/CHANGELOG.md index 336dd374..ac5712aa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,26 @@ All notable changes to the Copilot SDK are documented in this file. This changelog is automatically generated by an AI agent when stable releases are published. See [GitHub Releases](https://github.com/github/copilot-sdk/releases) for the full list. +## [v0.1.32](https://github.com/github/copilot-sdk/releases/tag/v0.1.32) (2026-03-07) + +### Feature: backward compatibility with v2 CLI servers + +SDK applications written against the v3 API now also work when connected to a v2 CLI server, with no code changes required. The SDK detects the server's protocol version and automatically adapts v2 `tool.call` and `permission.request` messages into the same user-facing handlers used by v3. ([#706](https://github.com/github/copilot-sdk/pull/706)) + +```ts +const session = await client.createSession({ + tools: [myTool], // unchanged — works with v2 and v3 servers + onPermissionRequest: approveAll, +}); +``` + +```cs +var session = await client.CreateSessionAsync(new SessionConfig { + Tools = [myTool], // unchanged — works with v2 and v3 servers + OnPermissionRequest = approveAll, +}); +``` + ## [v0.1.31](https://github.com/github/copilot-sdk/releases/tag/v0.1.31) (2026-03-07) ### Feature: multi-client tool and permission broadcasts (protocol v3)