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. 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>0.3.0-java.2</version>
</dependency>Gradle (Kotlin DSL)
implementation("com.github:copilot-sdk-java:0.3.0-java.2")Gradle (Groovy DSL)
implementation 'com.github:copilot-sdk-java:0.3.0-java.2'What's Changed
🔧 Maintenance
- Bump actions/deploy-pages from 4.0.5 to 5.0.0 by @dependabot[bot] in #98
- Bump actions/upload-pages-artifact from 4.0.0 to 5.0.0 by @dependabot[bot] in #95
- Bump actions/upload-artifact from 7.0.0 to 7.0.1 by @dependabot[bot] in #96
- Bump actions/configure-pages from 5.0.0 to 6.0.0 by @dependabot[bot] in #97
- Bump @github/copilot from 1.0.35 to 1.0.36 in /scripts/codegen by @dependabot[bot] in #105
- Bump peter-evans/create-pull-request from 7.0.8 to 8.1.1 by @dependabot[bot] in #114
- Bump the github-actions group with 2 updates by @dependabot[bot] in #118
- Bump the maven-deps group with 16 updates by @dependabot[bot] in #120
📦 Other Changes
- better-error-message-for-missing-snapshot-in-publish-maven-invocation by @edburns in #90
- Fix corrupted dependency versions caused by release workflow sed patterns by @Copilot in #92
- Configure Dependabot to monitor @github/copilot npm updates by @edburns in #94
- Add agentic fix workflow for codegen build failures by @edburns in #101
- Expand codegen agentic fix workflow to also fix java.ts by @edburns in #102
- Exclude gh-aw managed actions from Dependabot by @edburns in #104
- edburns/dd-2969317-dependabot-gh-aw-exclude by @edburns in #115
- On branch edburns/dd-2969317-introduce-groups by @edburns in #116
- On branch edburns/dd-2969317-dependabot-only-minor-bumps by @edburns in #119
- Reference implementation sync: 4 new commits (2026-04-25) by @Copilot in #122
New Contributors
- @dependabot[bot] made their first contribution in #98
Full Changelog: v0.3.0-java-preview.1...v0.3.0-java.2