Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down