GitHub Copilot SDK for Java 1.0.0-beta-8-java.0
Pre-releaseInstallation
ℹ️ 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. While in public preview, minor breaking changes may still occur between releases.
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 impementation release, and N is a monotonically increasing sequence number starting with 0 for each release. See the corrseponding architectural decision record for more information in the docs/adr directory of the source code.
📖 Documentation · Javadoc
Maven
<dependency>
<groupId>com.github</groupId>
<artifactId>copilot-sdk-java</artifactId>
<version>1.0.0-beta-8-java.0</version>
</dependency>Gradle (Kotlin DSL)
implementation("com.github:copilot-sdk-java:1.0.0-beta-8-java.0")Gradle (Groovy DSL)
implementation 'com.github:copilot-sdk-java:1.0.0-beta-8-java.0'What's Changed
🔧 Maintenance
- Bump the maven-deps group with 3 updates by @dependabot[bot] in #135
- Bump github/gh-aw from 0.68.3 to 0.71.1 in the github-actions group by @dependabot[bot] in #136
- Bump @github/copilot from 1.0.36 to 1.0.39 in /scripts/codegen by @dependabot[bot] in #134
- Bump github/gh-aw from 0.71.1 to 0.71.5 in the github-actions group by @dependabot[bot] in #167
- Bump github/gh-aw from 0.71.5 to 0.73.0 in the github-actions group by @dependabot[bot] in #196
- Merge reference implementation SDK changes (2026-05-18) by @Copilot in #212
- Bump org.apache.maven.plugins:maven-enforcer-plugin from 3.6.2 to 3.6.3 in the maven-deps group by @dependabot[bot] in #218
- Bump github/gh-aw from 0.73.0 to 0.74.8 in the github-actions group by @dependabot[bot] in #219
- Merge reference implementation SDK changes (2026-05-22) by @Copilot in #224
- Edburns/ghcp sp 115 java repackage by @edburns in #228
- Fix EMPTY mode validation, hook null-checks, and Javadoc accuracy by @Copilot in #232
📦 Other Changes
- Fix jbang-example.java shebang line and dependency version by @brunoborges in #127
- Fix codegen-agentic-fix workflow lock file out of sync by @Copilot in #130
- Update actions-lock.json with resolved action SHAs from gh aw compile by @edburns in #131
- Edburns/dd 2984436 make copilot cli versions consistent by @edburns in #137
- Fix push-to-pull-request-branch target for workflow_dispatch by @edburns in #138
- Unify @github/copilot version tracking and rename sync workflow by @edburns in #139
- Merge reference implementation SDK changes (2026-04-30) by @Copilot in #144
- Fix assignee mechanism. by @edburns in #145
- Add guardrails to prevent reference-impl-sync agent from skipping deterministic scripts by @edburns in #148
- Address review feedback: use generated RPC types, allow null copilotHome, strengthen test assertions by @Copilot in #151
- increase agentic timeout by @edburns in #155
- Merge reference implementation SDK changes (2026-05-05) and address review feedback by @Copilot in #157
- Fix flaky parallel tools test by removing non-deterministic synchronization by @Copilot in #161
- Merge reference implementation SDK changes (2026-05-06) by @Copilot in #166
- Edburns/resolve fake test time token failures by @edburns in #172
- Port enableSessionTelemetry option and SDK tracing diagnostics from reference implementation by @Copilot in #171
- Ensure reporting is aware of the two test executions. by @edburns in #176
- Close stale sync PRs in reference-impl-sync agentic workflow by @edburns in #186
- Fix codegen-agentic-fix: remove
dependencieslabel requirement for PR pushes by @Copilot in #174 - Port exit-plan-mode and auto-mode-switch handler APIs from reference implementation by @Copilot in #185
- refactor: use Optional return types instead of nullable boxed primitives in public API by @Copilot in #189
- Use Optional return types instead of nullable boxed primitives in public API by @edburns in #200
- Fix release version replacement appending old suffixes by @Copilot in #193
- Add explicit Java module descriptor by @Copilot in #204
- Merge reference implementation SDK changes (2026-05-15) by @Copilot in #202
- Fix: Ensure dependencies label on PRs before codegen-agentic-fix pushes by @edburns in #206
- Drift management policy by @edburns in #213
- fix: bound polling loop timeouts by remaining deadline time by @Copilot in #216
- Fix macOS-flaky tests: testShouldGetLastSessionId and testShouldGetSessionMetadataById by @edburns in #215
- Edburns/code coverage two badges by @edburns in #217
- Align
TestUtil.findCliPath()lookup order with review feedback by @Copilot in #221 - Add AgentMode enum and plumb agentMode through message send by @edburns in #230
- Add CreateSessionReKeyEntryTest for session-map re-key cleanup paths by @edburns in #233
- Update URL in package-info.java by @edburns in #234
Full Changelog: v0.3.0-java.2...v1.0.0-beta-8-java.0