From 63b483f3935d0bd3a934d978cb3d984f02b934d4 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sat, 7 Mar 2026 15:32:30 +0000 Subject: [PATCH] Add changelog for v0.1.32 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- CHANGELOG.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5abbfefc..f960143a 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.30](https://github.com/github/copilot-sdk/releases/tag/v0.1.30) (2026-03-03) ### Feature: support overriding built-in tools