Bump GitHub.Copilot.SDK from 1.0.0-beta.4 to 1.0.5 - #51
Conversation
--- updated-dependencies: - dependency-name: GitHub.Copilot.SDK dependency-version: 1.0.5 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
LabelsThe following labels could not be found: Please fix the above issues or remove invalid values from |
|
Superseded by #54, which performs this |
|
OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting If you change your mind, just re-open this PR and I'll resolve any conflicts on it. |
…ol Priority (#54) * Upgrade GitHub.Copilot.SDK to 1.0.5 (+ API migration) [skip ci] Migrate from GitHub.Copilot.SDK 1.0.0-beta.4 to 1.0.5. API changes: namespace GitHub.Copilot.SDK -> GitHub.Copilot; CopilotClientOptions.CopilotHome -> BaseDirectory; OnPermissionRequest -> PermissionHandler.ApproveAll (replaces PermissionRequestResult); CopilotSession.GetMessagesAsync -> GetEventsAsync; SessionListFilter.Cwd -> WorkingDirectory; SessionMetadata.Context.Cwd -> WorkingDirectory; SessionConfig.Tools is now ICollection<AIFunctionDeclaration> so tool-list types widened from List<AIFunction> to List<AIFunctionDeclaration>. Behavior-preserving. Verified: dotnet build Release GREEN (0/0). Supersedes #51. [skip ci] to avoid an unattended test-slot deploy; CI runs on merge to main. * docs(changelog): note GitHub.Copilot.SDK 1.0.5 upgrade [skip ci] * perf: configurable reasoning effort (default high), exclude task sub-agent, gpt-5.6-sol + Priority processing, dep bumps Slowness fixes from App Insights investigation (12.7-min chat turns): (1) ReasoningEffort now read from AzureOpenAI:ReasoningEffort, default 'high' — hardcoded 'xhigh' produced 8+ min single LLM round-trips; (2) Copilot CLI 'task' sub-agent excluded via SessionConfig.ExcludedTools — one call looped 8 min in prod; (3) default model gpt-5.6-sol 2026-07-09 with serviceTier Priority (new Bicep param, default Priority) for faster TTFT; (4) NuGet bumps: IdentityModel 8.19.1 x2 (#41 #42), OpenTelemetry 1.16.0 x2 (#44). Verified: dotnet build Release green; bicep build clean.
Updated GitHub.Copilot.SDK from 1.0.0-beta.4 to 1.0.5.
Release notes
Sourced from GitHub.Copilot.SDK's releases.
1.0.5
Installation
vMaj.Min.Micro. For example v0.1.32. The corresponding maven version for the release will beMaj.Min.Micro-java.N, whereMaj,MinandMicroare the corresponding numbers for the reference implementation release, andNis a monotonically increasing sequence number starting with 0 for each release. See the corresponding architectural decision record for more information in thedocs/adrdirectory of the source code.📦 [View on Maven Central]((central.sonatype.com/redacted)
📖 [Documentation]((github.github.io/redacted) · [Javadoc]((github.github.io/redacted)
Maven
Gradle (Kotlin DSL)
implementation("com.github:copilot-sdk-java:1.0.5")Gradle (Groovy DSL)
implementation 'com.github:copilot-sdk-java:1.0.5'Feature: annotation-based tool API (
@CopilotTool)The Java SDK now includes a high-level, annotation-driven tool API. Annotate methods with
@CopilotTooland parameters with@CopilotToolParamto define tools — a JSR-269 annotation processor generates metadata at compile time with no runtime reflection. UseToolDefinition.fromObject()to register tools with minimal boilerplate. (#1792)Feature:
ToolInvocationinjection in@CopilotToolmethods... (truncated)
1.0.5-preview.1
What's Changed
ToolInvocationinjection in@CopilotToolmethods by @edburns with @Copilot in [Java] Support hiddenToolInvocationinjection in@CopilotToolmethods github/copilot-sdk#1832Paramannotation toCopilotToolParamin Java SDK by @edburns with @Copilot in RenameParamannotation toCopilotToolParamin Java SDK github/copilot-sdk#1838New Contributors
Full Changelog: github/copilot-sdk@rust/v1.0.5-preview.0...rust/v1.0.5-preview.1
1.0.5-preview.0
What's Changed
@CopilotToolergonomics by @edburns in Java: Implement@CopilotToolergonomics github/copilot-sdk#1792New Contributors
Full Changelog: github/copilot-sdk@rust/v1.0.4...rust/v1.0.5-preview.0
1.0.4
Installation
vMaj.Min.Micro. For example v0.1.32. The corresponding maven version for the release will beMaj.Min.Micro-java.N, whereMaj,MinandMicroare the corresponding numbers for the reference implementation release, andNis a monotonically increasing sequence number starting with 0 for each release. See the corresponding architectural decision record for more information in thedocs/adrdirectory of the source code.📦 [View on Maven Central]((central.sonatype.com/redacted)
📖 [Documentation]((github.github.io/redacted) · [Javadoc]((github.github.io/redacted)
Maven
Gradle (Kotlin DSL)
implementation("com.github:copilot-sdk-java:1.0.4")Gradle (Groovy DSL)
implementation 'com.github:copilot-sdk-java:1.0.4'Feature: HTTP request callback support
Register a
CopilotRequestHandleron the client to intercept every outbound LLM inference HTTP or WebSocket request — for both BYOK and CAPI — and mutate, replace, or fully forward it. Useful for logging, header injection, model substitution, or custom routing. (#1689, #1775, #1784)Feature:
getBearerTokencallback for BYOK providers (Managed Identity)... (truncated)
1.0.2
What's Changed
deferparameter to tool definition by @almaleksia in Adddeferparameter to tool definition github/copilot-sdk#1632shouldUseReplacedIdentitySectionInResponseE2E test to dotnet, go, nodejs, python, and rust by @Copilot in PortshouldUseReplacedIdentitySectionInResponseE2E test to dotnet, go, nodejs, python, and rust github/copilot-sdk#1691New Contributors
deferparameter to tool definition github/copilot-sdk#1632Full Changelog: github/copilot-sdk@rust/v1.0.1...rust/v1.0.2
1.0.1
Installation
vMaj.Min.Micro. For example v0.1.32. The corresponding maven version for the release will beMaj.Min.Micro-java.N, whereMaj,MinandMicroare the corresponding numbers for the reference implementation release, andNis a monotonically increasing sequence number starting with 0 for each release. See the corresponding architectural decision record for more information in thedocs/adrdirectory of the source code.📦 [View on Maven Central]((central.sonatype.com/redacted)
📖 [Documentation]((github.github.io/redacted) · [Javadoc]((github.github.io/redacted)
Maven
Gradle (Kotlin DSL)
implementation("com.github:copilot-sdk-java:1.0.1")Gradle (Groovy DSL)
implementation 'com.github:copilot-sdk-java:1.0.1'Feature:
@CopilotExperimentalcompile-time gate for experimental APIsExperimental SDK APIs are now guarded by the
@CopilotExperimentalannotation. Using them causes a compile error by default; opt in by annotating the consuming class or method with@AllowCopilotExperimental, or pass-Acopilot.experimental.allowed=trueto the Java compiler. (#1601)Feature: open-canvases snapshot on
CopilotSessionCopilotSession.getOpenCanvases()now returns the live set of canvas instances open for the session, bringing the Java SDK to parity with the other SDK languages. The snapshot is seeded from the session create/resume response and kept current viasession.canvas.openedandsession.canvas.closedevents. (#1606)Other changes
... (truncated)
1.0.0
Installation
vMaj.Min.Micro. For example v0.1.32. The corresponding maven version for the release will beMaj.Min.Micro-java.N, whereMaj,MinandMicroare the corresponding numbers for the reference implementation release, andNis a monotonically increasing sequence number starting with 0 for each release. See the corresponding architectural decision record for more information in thedocs/adrdirectory of the source code.📦 View on Maven Central
📖 Documentation · Javadoc
Maven
Gradle (Kotlin DSL)
implementation("com.github:copilot-sdk-java:1.0.0")Gradle (Groovy DSL)
implementation 'com.github:copilot-sdk-java:1.0.0'What's Changed
Full Changelog: github/copilot-sdk@java/v1.0.0-beta-12-java.1...java/v1.0.0
1.0.0-beta-12-java.1
Installation
vMaj.Min.Micro. For example v0.1.32. The corresponding maven version for the release will beMaj.Min.Micro-java.N, whereMaj,MinandMicroare the corresponding numbers for the reference implementation release, andNis a monotonically increasing sequence number starting with 0 for each release. See the corresponding architectural decision record for more information in thedocs/adrdirectory of the source code.📦 [View on Maven Central]((central.sonatype.com/redacted)
📖 [Documentation]((github.github.io/redacted) · [Javadoc]((github.github.io/redacted)
Maven
Gradle (Kotlin DSL)
implementation("com.github:copilot-sdk-java:1.0.0-beta-12-java.1")Gradle (Groovy DSL)
implementation 'com.github:copilot-sdk-java:1.0.0-beta-12-java.1'Feature: slash command responses accessible via RPC
Applications can now retrieve responses from slash commands. Previously the ability to invoke slash commands existed, but responses were not surfaced through the RPC layer. (#1520)
Feature:
session.mcp.apps.callToolreturnsJsonNodesession.mcp.apps.callTool()previously returnedCompletableFuture<Void>due to a codegen gap; it now correctly returnsCompletableFuture<JsonNode>, making the tool result accessible. (#1523)1.0.0-beta-10-java.5
Installation
vMaj.Min.Micro. For example v0.1.32. The corresponding maven version for the release will beMaj.Min.Micro-java.N, whereMaj,MinandMicroare the corresponding numbers for the reference implementation release, andNis a monotonically increasing sequence number starting with 0 for each release. See the corresponding architectural decision record for more information in thedocs/adrdirectory of the source code.📦 [View on Maven Central]((central.sonatype.com/redacted)
Maven
Gradle (Kotlin DSL)
implementation("com.github:copilot-sdk-java:1.0.0-beta-10-java.5")Gradle (Groovy DSL)
implementation 'com.github:copilot-sdk-java:1.0.0-beta-10-java.5'Changes since java/v1.0.0-beta-10-java.4
New contributors
@examonmade their first contribution in #1323Full Changelog: github/copilot-sdk@java/v1.0.0-beta-10-java.4...java/v1.0.0-beta-10-java.5
1.0.0-beta-10-java.4
Installation
i️ Public Preview: This is the official Java SDK for GitHub Copilot. This repository treats the official .NET and Node.js SDKs for GitHub Copilot as reference implementations. These SDKs are all officially supported as GitHub open source projects. The Java implementation follows the backward compatibility guarantees offered by the reference implementations.
vMaj.Min.Micro. For example v0.1.32. The corresponding maven version for the release will beMaj.Min.Micro-java.N, whereMaj,MinandMicroare the corresponding numbers for the reference implementation release, andNis a monotonically increasing sequence number starting with 0 for each release. See the corresponding architectural decision record for more information in thedocs/adrdirectory of the source code.📦 View on Maven Central
Maven
Gradle (Kotlin DSL)
implementation("com.github:copilot-sdk-java:1.0.0-beta-10-java.4")Gradle (Groovy DSL)
implementation 'com.github:copilot-sdk-java:1.0.0-beta-10-java.4'Changes since java/v1.0.0-beta-10-java.3
Full Changelog: github/copilot-sdk@java/v1.0.0-beta-10-java.3...java/v1.0.0-beta-10-java.4
1.0.0-beta-10-java.3
Installation
ℹ️ Public Preview: This is the official Java SDK for GitHub Copilot. This repository treats the official .NET and Node.js SDKs for GitHub Copilot as reference implementations. These SDKs are all officially supported as GitHub open source projects. The Java implementation follows the backward compatibility guarantees offered by the reference implementations.
vMaj.Min.Micro. For example v0.1.32. The corresponding maven version for the release will beMaj.Min.Micro-java.N, whereMaj,MinandMicroare the corresponding numbers for the reference implementation release, andNis a monotonically increasing sequence number starting with 0 for each release. See the corresponding architectural decision record for more information in thedocs/adrdirectory of the source code.📦 View on Maven Central
Maven
Gradle (Kotlin DSL)
implementation("com.github:copilot-sdk-java:1.0.0-beta-10-java.3")Gradle (Groovy DSL)
implementation 'com.github:copilot-sdk-java:1.0.0-beta-10-java.3'Full Changelog: github/copilot-sdk@java/v1.0.0-beta-10-java.1...java/v1.0.0-beta-10-java.3
1.0.0-beta.12
What's Changed
session.mcp.apps.callToolresult toJsonNodeand hardenmvn cleanby @edburns in Mapsession.mcp.apps.callToolresult toJsonNodeand hardenmvn cleangithub/copilot-sdk#1523New Contributors
Full Changelog: github/copilot-sdk@rust/v1.0.0-beta.10...rust/v1.0.0-beta.12
1.0.0-beta.10
What's Changed
New Contributors
Full Changelog: github/copilot-sdk@rust/v1.0.0-beta.9...rust/v1.0.0-beta.10
1.0.0-beta.9
What's Changed
kind()method by @heaths in Refactor Rust SDK errors to use structs with akind()method github/copilot-sdk#1400New Contributors
kind()method github/copilot-sdk#1400Full Changelog: github/copilot-sdk@rust/v1.0.0-beta.8...rust/v1.0.0-beta.9
1.0.0-beta.8
What's Changed
Full Changelog: github/copilot-sdk@rust/v1.0.0-beta.7...rust/v1.0.0-beta.8
1.0.0-beta.7
What's Changed
^1.0.52-1, addpreMcpToolCallhook, fixPingResponsetimestamp type by @edburns in Java SDK: sync reference implementation to^1.0.52-1, addpreMcpToolCallhook, fixPingResponsetimestamp type github/copilot-sdk#1389Full Changelog: github/copilot-sdk@rust/v1.0.0-beta.6...rust/v1.0.0-beta.7
1.0.0-beta.6
What's Changed
... (truncated)
Commits viewable in compare view.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)