From 95b0009857922207dd13542fa0a2e80cd4cd0339 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 16 Jul 2026 15:27:45 +0000 Subject: [PATCH] Add changelog for java/v1.0.7 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- CHANGELOG.md | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index e2368ec96d..bd17f2eaee 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,35 @@ 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. +## [java/v1.0.7](https://github.com/github/copilot-sdk/releases/tag/java/v1.0.7) (2026-07-16) + +### Feature: opaque metadata passthrough for tool definitions + +Hosts can now attach namespaced, opaque metadata to tool definitions and have it forwarded verbatim over the `session.create`/`resumeSession` wire call. Use `ToolDefinition.createWithMetadata(...)` or the fluent `.metadata(Map)` builder, or express shallow flag maps via `@CopilotTool.MetadataEntry` annotations. ([#1864](https://github.com/github/copilot-sdk/pull/1864)) + +```java +ToolDefinition tool = ToolDefinition.create("search", "Search files", schema, handler) + .metadata(Map.of("com.example:featureFlags", Map.of("streamResults", true))); +``` + +### Feature: tool search configuration support + +`SessionConfig` and `ResumeSessionConfig` now accept a `ToolSearchConfig` that enables server-side tool search and controls the deferral threshold. Tool results can also carry back `toolReferences` indicating which tools were consulted during search. ([#1933](https://github.com/github/copilot-sdk/pull/1933)) + +```java +SessionConfig config = new SessionConfig() + .setToolSearch(new ToolSearchConfig().setEnabled(true).setDeferThreshold(5)); +``` + +### Other changes + +- feature: **[Java]** forward `enableManagedSettings` on `SessionConfig`/`ResumeSessionConfig` to opt into enterprise managed-settings enforcement at session bootstrap ([#1925](https://github.com/github/copilot-sdk/pull/1925)) +- feature: **[Java]** expose `agentId()`, `parentAgentId()`, and `interactionType()` on `CopilotRequestContext` in request-handler callbacks ([#1949](https://github.com/github/copilot-sdk/pull/1949)) + +### New contributors + +- @belaltaher8 made their first contribution in [#1864](https://github.com/github/copilot-sdk/pull/1864) + ## [java/v1.0.6](https://github.com/github/copilot-sdk/releases/tag/java/v1.0.6) (2026-07-08) ### Feature: inline lambda tool definitions