Download Latest Version GitHub Copilot SDK for Java 1.0.1 source code.tar.gz (3.2 MB)
Email in envelope

Get an email when there's a new version of GitHub Copilot SDK

Home / v1.0.1
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2026-06-10 2.0 kB
v1.0.1 source code.tar.gz 2026-06-10 3.2 MB
v1.0.1 source code.zip 2026-06-10 4.6 MB
Totals: 3 Items   7.8 MB 0

Feature: @CopilotExperimental compile-time gate for Java SDK

The Java SDK now ships a @CopilotExperimental annotation and a JSR 269 annotation processor that causes compilation to fail when experimental SDK APIs are referenced without opting in. Annotate a class or method with @AllowCopilotExperimental, or pass -Acopilot.experimental.allowed=true to the compiler to acknowledge the experimental status. (#1601)

:::java
// Opt in at the declaration level
`@AllowCopilotExperimental`
public class MyApp {
    // experimental SDK types and methods may be used here
}

:::xml
<!-- Or opt in for the entire compilation unit via Maven -->
<compilerArgs>
    <arg>-Acopilot.experimental.allowed=true</arg>
</compilerArgs>

Other changes

  • bugfix: [Node, Python, Go, .NET, Rust] open_canvases snapshot now correctly shrinks when session.canvas.closed is emitted — previously closed canvases were never removed (#1604)
  • bugfix: [Go] generator no longer produces discriminator accessor names that collide with struct field names (#1596)
  • bugfix: [Rust] generator now scopes RPC methods that reference internal schemas as pub(crate) instead of pub (#1596)
  • improvement: [Java] generated types now propagate schema stability and deprecation metadata — experimental items gain @apiNote Javadoc and deprecated items gain @Deprecated (#1591)

Generated by Release Changelog Generator · sonnet46 1.9M

Source: README.md, updated 2026-06-10