GitHub Copilot SDK for Java 0.3.0-java-preview.1
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>0.3.0-java-preview.1</version>
</dependency>Gradle (Kotlin DSL)
implementation("com.github:copilot-sdk-java:0.3.0-java-preview.1")Gradle (Groovy DSL)
implementation 'com.github:copilot-sdk-java:0.3.0-java-preview.1'What's Changed
📦 Other Changes
- Fix jbang-example.java to use actual version instead of Maven placeholder by @brunoborges in #63
- Fix stale snapshot version in README and automate updates by @brunoborges in #62
- Update disclaimer from pre-GA to public preview by @brunoborges in #61
- Fix cross-platform process creation in tests: use
cmd /c moreon Windows by @Copilot in #67 - Fix Windows test compatibility for ProcessBuilder usage by @edburns in #66
- Replace ambiguous upstream terminology with reference implementation wording by @edburns in #77
- Recompile agentic workflow lock file from updated .md source by @edburns in #78
- Add classical code generation workflow for typed event and RPC classes by @edburns in #81
- Fix incompatible
(int)cast on boxedDoublein Quick Start code by @Copilot in #82 - Add automated tests for generated RPC code to restore JaCoCo coverage ≥85% by @Copilot in #85
- Reference implementation sync: 41 new commits (2026-04-20) by @Copilot in #87
Full Changelog: v0.2.2-java.1...v0.3.0-java-preview.1