Skip to content

Commit 32fb841

Browse files
github-actions[bot]Copilotedburns
authored
Add changelog for v1.0.5 (#1869)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: Ed Burns <edburns@microsoft.com>
1 parent 35707ec commit 32fb841

1 file changed

Lines changed: 58 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,64 @@ SessionConfig config = new SessionConfig()
2323
- @coleflennikenmsft made their first contribution in [#1854](https://github.com/github/copilot-sdk/pull/1854)
2424
- @szabta89 made their first contribution in [#1856](https://github.com/github/copilot-sdk/pull/1856)
2525

26+
## [v1.0.5](https://github.com/github/copilot-sdk/releases/tag/v1.0.5) (2026-07-01)
27+
28+
### Feature: MCP OAuth host token handlers
29+
30+
SDK applications can now handle OAuth challenges from MCP servers that require host-provided authentication. Register an `onMcpAuthRequest` callback on the session config and the SDK will invoke it whenever an MCP server responds with a `401 WWW-Authenticate` challenge; return an access token (or cancel the request). Supports initial auth, refresh, reauth, and upscope flows across all SDKs. ([#1669](https://github.com/github/copilot-sdk/pull/1669))
31+
32+
```ts
33+
const session = await client.createSession({
34+
onMcpAuthRequest: async (request) => ({
35+
accessToken: await myIdentityProvider.getToken(request.serverUrl),
36+
}),
37+
});
38+
```
39+
40+
```cs
41+
var session = await client.CreateSessionAsync(new SessionConfig
42+
{
43+
OnMcpAuthRequest = async ctx =>
44+
McpAuthResult.FromToken(new McpAuthToken
45+
{
46+
AccessToken = await myIdentityProvider.GetTokenAsync(ctx.ServerUrl)
47+
}),
48+
});
49+
```
50+
51+
### Feature: session options for citations, excluded agents, and spending limits
52+
53+
Three additional session configuration options are now available across all SDKs. ([#1865](https://github.com/github/copilot-sdk/pull/1865))
54+
55+
```ts
56+
const session = await client.createSession({
57+
enableCitations: true,
58+
excludedBuiltinAgents: ["github-search"],
59+
sessionLimits: { maxAiCredits: 10 },
60+
});
61+
```
62+
63+
```cs
64+
var session = await client.CreateSessionAsync(new SessionConfig
65+
{
66+
EnableCitations = true,
67+
ExcludedBuiltInAgents = ["github-search"],
68+
SessionLimits = new SessionLimitsConfig { MaxAiCredits = 10 },
69+
});
70+
```
71+
72+
### Other changes
73+
74+
- improvement: **[All SDKs]** rename BYOK callback field `getBearerToken``bearerTokenProvider`; add `sessionId` to `ProviderTokenArgs` for per-session token scoping ([#1796](https://github.com/github/copilot-sdk/pull/1796))
75+
- bugfix: **[Node]** fix MCP OAuth `registerInterest` sent before `session.resume`, causing "Session not found" errors when resuming a session with `onMcpAuthRequest` ([#1861](https://github.com/github/copilot-sdk/pull/1861))
76+
- feature: **[Java]** `@CopilotTool` and `@CopilotToolParam` annotations with compile-time annotation processor for ergonomic tool registration via `ToolDefinition.fromObject()` ([#1792](https://github.com/github/copilot-sdk/pull/1792), [#1838](https://github.com/github/copilot-sdk/pull/1838))
77+
- feature: **[Java]** `ToolInvocation` parameter injection in `@CopilotTool` methods for accessing session context without exposing it to the LLM schema ([#1832](https://github.com/github/copilot-sdk/pull/1832))
78+
- feature: **[Rust]** add 9 GitHub-anchored variants to `Attachment` enum (`GitHubCommit`, `GitHubRelease`, `GitHubActionsJob`, `GitHubRepository`, `GitHubFileDiff`, `GitHubTreeComparison`, `GitHubUrl`, `GitHubFile`, `GitHubSnippet`) ([#1823](https://github.com/github/copilot-sdk/pull/1823))
79+
80+
### New contributors
81+
82+
- @pallaviraiturkar0 made their first contribution in [#1823](https://github.com/github/copilot-sdk/pull/1823)
83+
- @roji made their first contribution in [#1827](https://github.com/github/copilot-sdk/pull/1827)
2684
## [java/v1.0.4](https://github.com/github/copilot-sdk/releases/tag/java/v1.0.4) (2026-06-25)
2785

2886
### Feature: HTTP request callback support

0 commit comments

Comments
 (0)