Skip to content

chore(deps): Bump github.com/github/copilot-sdk/go from 1.0.2 to 1.0.4#373

Merged
spboyer merged 1 commit into
mainfrom
dependabot/go_modules/github.com/github/copilot-sdk/go-1.0.4
Jul 1, 2026
Merged

chore(deps): Bump github.com/github/copilot-sdk/go from 1.0.2 to 1.0.4#373
spboyer merged 1 commit into
mainfrom
dependabot/go_modules/github.com/github/copilot-sdk/go-1.0.4

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 27, 2026

Copy link
Copy Markdown
Contributor

Bumps github.com/github/copilot-sdk/go from 1.0.2 to 1.0.4.

Release notes

Sourced from github.com/github/copilot-sdk/go's releases.

GitHub Copilot SDK for Java 1.0.4

Installation

⚠️ Artifact versioning plan: Releases of this implementation track releases of the reference implementation. For each release of the reference implementation, there may follow a corresponding release of this implementation with the same number as the reference implementation. Release identifiers of the reference implementation are in the form vMaj.Min.Micro. For example v0.1.32. The corresponding maven version for the release will be Maj.Min.Micro-java.N, where Maj, Min and Micro are the corresponding numbers for the reference implementation release, and N is a monotonically increasing sequence number starting with 0 for each release. See the corresponding architectural decision record for more information in the docs/adr directory of the source code.

📦 [View on Maven Central](https://github.com/github/copilot-sdk/blob/HEAD/(central.sonatype.com/redacted)

📖 [Documentation](https://github.com/github/copilot-sdk/blob/HEAD/(github.github.io/redacted) · [Javadoc](https://github.com/github/copilot-sdk/blob/HEAD/(github.github.io/redacted)

Maven

<dependency>
    <groupId>com.github</groupId>
    <artifactId>copilot-sdk-java</artifactId>
    <version>1.0.4</version>
</dependency>

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 CopilotRequestHandler on 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)

final class MyHandler extends CopilotRequestHandler {
    `@Override`
    protected HttpResponse<InputStream> sendRequest(HttpRequest request, CopilotRequestContext ctx) throws Exception {
        HttpRequest mutated = HttpRequest.newBuilder(request, (n, v) -> true)
                .header("X-Debug-Session", ctx.sessionId() == null ? "none" : ctx.sessionId())
                .build();
        return super.sendRequest(mutated, ctx);
    }
}
CopilotClient client = new CopilotClient(
new CopilotClientOptions().setRequestHandler(new MyHandler()));

... (truncated)

Changelog

Sourced from github.com/github/copilot-sdk/go's changelog.

java/v1.0.4 (2026-06-25)

Feature: HTTP request callback support

Register a CopilotRequestHandler on 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)

final class MyHandler extends CopilotRequestHandler {
    @Override
    protected HttpResponse<InputStream> sendRequest(HttpRequest request, CopilotRequestContext ctx) throws Exception {
        HttpRequest mutated = HttpRequest.newBuilder(request, (n, v) -> true)
                .header("X-Debug-Session", ctx.sessionId() == null ? "none" : ctx.sessionId())
                .build();
        return super.sendRequest(mutated, ctx);
    }
}
CopilotClient client = new CopilotClient(
new CopilotClientOptions().setRequestHandler(new MyHandler()));

Feature: getBearerToken callback for BYOK providers (Managed Identity)

BYOK provider configs now accept a getBearerToken callback so the SDK consumer can resolve bearer tokens (e.g. Azure Managed Identity) on demand. The SDK takes zero Azure SDK dependency — the consumer supplies the callback using any identity library. (#1748)

var provider = new ProviderConfig()
    .setType("openai")
    .setBaseUrl(baseUrl)
    .setGetBearerToken(args -> cred.getToken(ctx).map(AccessToken::getToken).toFuture());

Feature: experimental multi-provider BYOK registry

Register multiple named providers and models on a single session via NamedProviderConfig and ProviderModelConfig. Custom agents can reference provider-qualified model IDs such as "alpha/sonnet". This feature is experimental. (#1718)

Feature: preamble system message section and preserve action

Two new customization options for system message sections. SystemMessageSections.PREAMBLE targets only the identity preamble without affecting its sibling sub-sections (identity and tool_instructions are now documented as section groups). The new preserve action protects an individually-addressable section from a group-level remove. (#1713)

Other changes

  • feature: add optional memory configuration (MemoryConfiguration) to session create and resume (#1617)
  • feature: defer parameter on tool definitions controls eager vs. lazy tool loading ("auto" or "never") (#1632)
  • feature: otlpProtocol telemetry option for configuring OTLP export transport ("http/json" or "http/protobuf") (#1648)
  • feature: ModelBilling.tokenPrices surfaced on public SDK types, exposing per-tier pricing and context window limits (#1633)
  • feature: CapiSessionOptions.enableWebSocketResponses and ProviderConfig.transport for WebSocket transport control on session create/resume (#1711)
  • improvement: call runtime.shutdown during client stop for deterministic OTEL telemetry flush before process cleanup (#1667)
  • improvement: rename SystemPromptSectionsSystemMessageSections for cross-SDK consistency; old class deprecated with forRemoval=true (#1683)

... (truncated)

Commits
  • e7d2bd3 Add getBearerToken callback for BYOK providers (Managed Identity) (#1748)
  • 4d13613 Update @​github/copilot to 1.0.65 (#1793)
  • 23d9a45 Expose exp_assignments injection on session create/resume across all SDKs (#1...
  • 079c558 normalize-sharing-prompts-during-iteration (#1729)
  • 7aa67e5 Add embeddedcli.Path() accessor for the resolved CLI path (#1677)
  • 481ccac docs: add system message customization section to Python README (#1066)
  • 460b48a fix(nodejs): handle stdio stdin errors (#1584)
  • 59168f0 Add preamble section and preserve action to SDKs (#1713)
  • b82f552 Document Java memory section and add Copilot Memory links across SDK READMEs ...
  • a8255cb Clean up HTTP passthrough API (#1784)
  • Additional commits viewable in compare view

@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Jun 27, 2026
Copilot AI review requested due to automatic review settings June 27, 2026 09:52
@dependabot dependabot Bot requested a review from spboyer as a code owner June 27, 2026 09:52
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Jun 27, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot can't review bot-authored pull requests automatically. A user with Copilot access can request a review manually.

Bumps [github.com/github/copilot-sdk/go](https://github.com/github/copilot-sdk) from 1.0.2 to 1.0.4.
- [Release notes](https://github.com/github/copilot-sdk/releases)
- [Changelog](https://github.com/github/copilot-sdk/blob/main/CHANGELOG.md)
- [Commits](github/copilot-sdk@v1.0.2...v1.0.4)

---
updated-dependencies:
- dependency-name: github.com/github/copilot-sdk/go
  dependency-version: 1.0.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/go_modules/github.com/github/copilot-sdk/go-1.0.4 branch from bb9576a to 6dbbf67 Compare June 30, 2026 14:15
@spboyer spboyer merged commit 29e2f77 into main Jul 1, 2026
9 checks passed
@spboyer spboyer deleted the dependabot/go_modules/github.com/github/copilot-sdk/go-1.0.4 branch July 1, 2026 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants