From 78a8b0764d5d3178db9475925cd27f426df0aa75 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 10 Jun 2026 17:02:30 +0000 Subject: [PATCH] Add changelog for v1.0.1 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- CHANGELOG.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 369c599be..2d05d900b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,34 @@ All notable changes to the Copilot SDK are documented in this file. This changelog is automatically generated by an AI agent when stable releases are published. See [GitHub Releases](https://github.com/github/copilot-sdk/releases) for the full list. +## [v1.0.1](https://github.com/github/copilot-sdk/releases/tag/v1.0.1) (2026-06-10) + +### 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](https://github.com/github/copilot-sdk/pull/1601)) + +```java +// Opt in at the declaration level +@AllowCopilotExperimental +public class MyApp { + // experimental SDK types and methods may be used here +} +``` + +```xml + + + -Acopilot.experimental.allowed=true + +``` + +### 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](https://github.com/github/copilot-sdk/pull/1604)) +- bugfix: **[Go]** generator no longer produces discriminator accessor names that collide with struct field names ([#1596](https://github.com/github/copilot-sdk/pull/1596)) +- bugfix: **[Rust]** generator now scopes RPC methods that reference internal schemas as `pub(crate)` instead of `pub` ([#1596](https://github.com/github/copilot-sdk/pull/1596)) +- improvement: **[Java]** generated types now propagate schema stability and deprecation metadata — experimental items gain `@apiNote` Javadoc and deprecated items gain `@Deprecated` ([#1591](https://github.com/github/copilot-sdk/pull/1591)) + ## [v0.2.2](https://github.com/github/copilot-sdk/releases/tag/v0.2.2) (2026-04-10) ### Feature: `enableConfigDiscovery` for automatic MCP and skill config loading