|
1 | 1 | # Release History |
2 | 2 |
|
3 | | -## 2.6.0-beta.1 (Unreleased) |
| 3 | +## 2.6.0 (2026-09-22) |
4 | 4 |
|
5 | 5 | ### Features Added |
6 | 6 |
|
7 | | -- Added `VersionSelector.setVersionSelectionRule` as a convenience for configuring a single version selection rule. |
8 | | -- Added public `StreamingResponseUtils` in the `com.azure.ai.agents.util` package for converting OpenAI streaming |
9 | | - responses to Azure SDK `IterableStream` and Reactor `Flux` types. |
10 | | -- Added raw JSON WebSocket sends, complete unknown-event payloads, UTF-8 binary JSON reception, configurable receive |
11 | | - limits and overflow policies, and opt-in recovery from malformed events. |
12 | | -- Added custom WebSocket close codes and reasons, and per-event synchronous receive timeouts. |
13 | | -- Added realtime session options for session IDs, structured inputs, persistence, and agent version selection. |
14 | | - |
15 | | -- Added preview `BetaVoiceAgentsTelephonyClient` and `BetaVoiceAgentsTelephonyAsyncClient` for outbound call jobs and campaign management, including recipient import, validation, publishing, pausing, resuming, and cancellation. |
16 | | -- Added preview `BetaVoiceAgentsConversationsClient` and `BetaVoiceAgentsConversationsAsyncClient` for managing |
17 | | - persisted voice-agent conversations and their responses, items, and audio content. |
| 7 | +- Added preview voice-agent lifecycle support through `VoiceAgentDefinition`, `AgentKind.VOICE`, and |
| 8 | + `AgentEndpointProtocol.VOICE`. With `AgentsClientBuilder.allowPreview(true)`, voice agents can be created and versioned |
| 9 | + with `AgentsClient` and `AgentsAsyncClient`, with configuration for speech models, instructions, structured inputs, |
| 10 | + audio and transcription, turn detection, greetings and interim responses, function/MCP/toolbox/system tools, |
| 11 | + subagents, persistence, avatars, and animation. |
| 12 | +- Added `createAgentFromPrompt` and `createAgentFromPromptWithResponse` to `BetaAgentsClient` and |
| 13 | + `BetaAgentsAsyncClient` for generating and creating agents from kind-specific high-level inputs. |
18 | 14 | - Added preview `BetaVoiceAgentWebSocketClient`, `BetaVoiceAgentWebSocketAsyncClient`, |
19 | | - `BetaVoiceAgentWebSocketSessionClient`, and `BetaVoiceAgentWebSocketSessionAsyncClient` with typed realtime events, |
20 | | - text and PCM16 audio input, response cancellation, function-call output, persisted-conversation options, and |
21 | | - authenticated `wss://` transport. |
22 | | -- Added synchronous and asynchronous live text conversation samples, an asynchronous Java Sound microphone/speaker sample with barge-in, and a live client-executed function-tool sample. |
23 | | - |
24 | | -### Breaking Changes |
25 | | - |
26 | | -- Voice-agent WebSocket connections now require secure endpoints, including localhost. Synchronous sessions now |
27 | | - enforce a 32 MiB default message limit. |
28 | | -- Replaced `generateAgent` and `generateAgentWithResponse` on `AgentsClient` and `AgentsAsyncClient` with |
29 | | - `createAgentFromPrompt` and `createAgentFromPromptWithResponse` on `BetaAgentsClient` and `BetaAgentsAsyncClient`. |
30 | | -- Moved `getId()` and `getConversationId()` from `VoiceResponseBase` to `VoiceResponse`. |
| 15 | + `BetaVoiceAgentWebSocketSessionClient`, and `BetaVoiceAgentWebSocketSessionAsyncClient` for authenticated realtime |
| 16 | + `wss://` sessions. The clients support typed and raw events, text and audio input, response cancellation, |
| 17 | + client-executed function results, persisted conversations, agent-version overrides, and the related realtime session, |
| 18 | + conversation-item, response, transcription, MCP, audio, avatar, and RTC event models. |
| 19 | +- Added `VoiceAgentWebSocketConnectionOptions` for session IDs, structured inputs, persistence, version selection, |
| 20 | + handshake and close timeouts, receive-buffer and message-size limits (32 MiB by default), overflow policies, and |
| 21 | + opt-in recovery from malformed events. Sessions also support raw JSON sends, complete unknown-event payloads, |
| 22 | + UTF-8 binary JSON, per-event synchronous receive timeouts, and custom close codes and reasons. |
| 23 | +- Added type-safe constructors and accessors for union-valued voice and realtime properties, including session |
| 24 | + configurations, tool choices, token limits, tracing, truncation, voices, MCP options, and transcription usage. |
| 25 | +- Added preview `BetaVoiceAgentsConversationsClient` and `BetaVoiceAgentsConversationsAsyncClient` for listing, |
| 26 | + retrieving, and deleting persisted voice-agent conversations; reading responses and conversation items; and retrieving |
| 27 | + or downloading input, generated, and full-conversation audio. |
| 28 | +- Added preview `BetaVoiceAgentsTelephonyClient` and `BetaVoiceAgentsTelephonyAsyncClient` for Teams Phone Extension and |
| 29 | + Twilio bindings, call listing and inspection, call transfer and termination, transfer-target management, and scheduled |
| 30 | + outbound call jobs with retry and cancellation support. All voice beta clients are built through |
| 31 | + `AgentsClientBuilder.beta()` and automatically add the `VoiceAgents=V1Preview` feature opt-in. |
| 32 | +- Added preview GitHub Copilot harness and built-in toolset support for prompt agents through |
| 33 | + `PromptAgentDefinition.setHarness(...)`, `GitHubCopilotHarness`, `GitHubCopilotToolsetPreview`, and related types. |
| 34 | + Prompt agents can also reference versioned Foundry skills through `PromptAgentDefinition.setSkills(...)` and |
| 35 | + `SkillReference`. |
| 36 | +- Added preview Model Router session affinity. `AzureCreateResponseOptions.setRoutingConfig(...)` configures affinity |
| 37 | + mode and session ID, while `ModelRouterDetails.getSessionAffinity()` exposes the effective mode, source, and routing |
| 38 | + decision. |
| 39 | +- Added invocation-protocol content moderation through `RaiConfig.setInvocationsModeration(...)`, with JSON/text input |
| 40 | + and output selectors plus SSE event selectors for streaming responses. |
| 41 | +- Added `invokeLatestToolboxMcp` and `invokeLatestToolboxMcpWithResponse` to `ToolboxesClient` and |
| 42 | + `ToolboxesAsyncClient`. `ToolboxDetails` now exposes its last-updated time and latest-version details through |
| 43 | + `getUpdatedAt()` and `getVersions()`. |
| 44 | +- Added `AgentDetails.getConfigurationState()` to expose an agent's administrative enablement state and |
| 45 | + `AgentSessionResource.getStoppedAt()` to expose when a hosted-agent session last stopped or became idle. |
| 46 | +- Added `ToolType.GITHUB_COPILOT_TOOLSET_PREVIEW` and `ToolType.BROWSER_AUTOMATION` discriminator values, along with |
| 47 | + typed MCP list-tools models for voice-agent realtime sessions. |
| 48 | +- Added `VersionSelector.setVersionSelectionRule(...)` as a convenience for configuring one version-selection rule. |
| 49 | +- Added public `StreamingResponseUtils` in `com.azure.ai.agents.util` for converting OpenAI streaming responses to Azure |
| 50 | + SDK `IterableStream` and Reactor `Flux` types. |
| 51 | +- Added voice-agent samples covering lifecycle and version management, guided generation, audio and tool configuration, |
| 52 | + persisted conversations and audio, synchronous and asynchronous live text, asynchronous Java Sound audio with |
| 53 | + barge-in, and client-executed function tools. |
31 | 54 |
|
32 | 55 | ### Bugs Fixed |
33 | 56 |
|
34 | | -- Reject insecure voice-agent WebSocket URLs before token acquisition to prevent sending credentials over plaintext. |
35 | | -- Reject HTTP client, pipeline, policy, and retry builder settings that native WebSocket transports cannot honor. |
36 | | -- Enforce the single-iterator contract of synchronous voice-agent event streams. |
37 | | -- Made synchronous voice-agent receive-buffer overflow signaling atomic across concurrent callbacks. |
38 | | -- Fixed polling for telephony operations that return the `cancelled` status spelling. |
| 57 | +- Fixed serialization of openai-java `Reasoning` values in `PromptAgentDefinition` so retrieved definitions can be |
| 58 | + reused to create new agent versions without emitting unsupported request properties. |
| 59 | +- Fixed polling for agent-optimization jobs that return the `cancelled` status spelling. |
39 | 60 |
|
40 | 61 | ### Other Changes |
41 | 62 |
|
| 63 | +- Updated existing response, streaming, and tool samples to configure agent endpoints and route requests through |
| 64 | + `buildAgentScopedOpenAIClient(...)` or `buildAgentScopedOpenAIAsyncClient(...)`. |
| 65 | +- Added Reactor Netty, Netty, OkHttp, and Okio runtime dependencies for voice-agent WebSocket transport support. |
| 66 | +- Regenerated the client from the updated TypeSpec specification. |
| 67 | + |
42 | 68 | ## 2.5.0 (2026-09-09) |
43 | 69 |
|
44 | 70 | ### Features Added |
|
0 commit comments