Skip to content

Commit 670a55e

Browse files
authored
Merge branch 'main' into codex/keyvault-jca-system-proxy
2 parents b137f64 + dc6bd87 commit 670a55e

452 files changed

Lines changed: 60280 additions & 19200 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

eng/lintingconfigs/revapi/track2/revapi.json

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1879,6 +1879,90 @@
18791879
"match": "method .* com\\.azure\\.search\\.documents\\.knowledgebases\\.models\\.KnowledgeSourceIngestionParameters::(get|set)AIServices\\(.*\\)"
18801880
},
18811881
"justification": "Intentional rename in knowledgebases preview: getAIServices()/setAIServices() renamed to getAiServices()/setAiServices() following AIServices to AiServices rename per archboard guidance."
1882+
},
1883+
{
1884+
"ignore": true,
1885+
"code" : "java.method.visibilityIncreased",
1886+
"old" : "method void com.azure.ai.agents.models.ChatSummaryMemoryItem::<init>(java.lang.String, java.time.OffsetDateTime, java.lang.String, java.lang.String)",
1887+
"justification": "Non-breaking change: constructor visibility increased on classes in ai agents beta operations."
1888+
},
1889+
{
1890+
"ignore": true,
1891+
"code": "java.method.numberOfParametersChanged",
1892+
"old": "method void com.azure.ai.agents.models.HostedAgentDefinition::<init>(java.util.List<com.azure.ai.agents.models.ProtocolVersionRecord>, java.lang.String, java.lang.String)",
1893+
"justification": "Breaking change in beta operation: HostedAgentDefinition constructor parameters changed as containerProtocolVersions was removed from the model."
1894+
},
1895+
{
1896+
"ignore": true,
1897+
"code": "java.method.removed",
1898+
"old": "method java.util.List<com.azure.ai.agents.models.ProtocolVersionRecord> com.azure.ai.agents.models.HostedAgentDefinition::getContainerProtocolVersions()",
1899+
"justification": "Breaking change in beta operation: containerProtocolVersions property removed from HostedAgentDefinition."
1900+
},
1901+
{
1902+
"ignore": true,
1903+
"code": "java.method.removed",
1904+
"old": "method java.lang.String com.azure.ai.agents.models.HostedAgentDefinition::getImage()",
1905+
"justification": "Breaking change in beta operation: image property removed from HostedAgentDefinition."
1906+
},
1907+
{
1908+
"ignore": true,
1909+
"code": "java.method.removed",
1910+
"old": "method com.azure.ai.agents.models.HostedAgentDefinition com.azure.ai.agents.models.HostedAgentDefinition::setImage(java.lang.String)",
1911+
"justification": "Breaking change in beta operation: image property removed from HostedAgentDefinition."
1912+
},
1913+
{
1914+
"ignore": true,
1915+
"code": "java.method.visibilityIncreased",
1916+
"old": "method void com.azure.ai.agents.models.MemoryItem::<init>(java.lang.String, java.time.OffsetDateTime, java.lang.String, java.lang.String)",
1917+
"justification": "Non-breaking change: constructor visibility increased on classes in ai agents beta operations."
1918+
},
1919+
{
1920+
"ignore": true,
1921+
"code": "java.method.visibilityIncreased",
1922+
"old": "method void com.azure.ai.agents.models.UserProfileMemoryItem::<init>(java.lang.String, java.time.OffsetDateTime, java.lang.String, java.lang.String)",
1923+
"justification": "Non-breaking change: constructor visibility increased on classes in ai agents beta operations."
1924+
},
1925+
{
1926+
"ignore": true,
1927+
"code": "java.method.parameterTypeChanged",
1928+
"old": "parameter void com.azure.ai.projects.models.EvaluationScheduleTask::<init>(java.lang.String, ===com.azure.ai.projects.models.EvaluationScheduleTaskEvalRun===)",
1929+
"justification": "Breaking change in beta operation: EvaluationScheduleTask constructor parameter type changed from EvaluationScheduleTaskEvalRun to Map."
1930+
},
1931+
{
1932+
"ignore": true,
1933+
"code": "java.method.returnTypeChanged",
1934+
"old": "method com.azure.ai.projects.models.EvaluationScheduleTaskEvalRun com.azure.ai.projects.models.EvaluationScheduleTask::getEvalRun()",
1935+
"justification": "Breaking change in beta operation: getEvalRun() return type changed from EvaluationScheduleTaskEvalRun to Map."
1936+
},
1937+
{
1938+
"ignore": true,
1939+
"code": "java.class.removed",
1940+
"old": "class com.azure.ai.projects.models.EvaluationScheduleTaskEvalRun",
1941+
"justification": "Breaking change in beta operation: EvaluationScheduleTaskEvalRun class removed, replaced by Map<String, BinaryData>."
1942+
},
1943+
{
1944+
"ignore": true,
1945+
"code": "java.method.returnTypeChanged",
1946+
"old": "method int com.azure.ai.projects.models.ModelSamplingParams::getMaxCompletionTokens()",
1947+
"justification": "Breaking change in beta operation: return type changed from primitive int to boxed Integer to support optional values."
1948+
},
1949+
{
1950+
"ignore": true,
1951+
"code": "java.method.returnTypeChanged",
1952+
"old": "method int com.azure.ai.projects.models.ModelSamplingParams::getSeed()",
1953+
"justification": "Breaking change in beta operation: return type changed from primitive int to boxed Integer to support optional values."
1954+
},
1955+
{
1956+
"ignore": true,
1957+
"code": "java.method.returnTypeChanged",
1958+
"old": "method double com.azure.ai.projects.models.ModelSamplingParams::getTemperature()",
1959+
"justification": "Breaking change in beta operation: return type changed from primitive double to boxed Double to support optional values."
1960+
},
1961+
{
1962+
"ignore": true,
1963+
"code": "java.method.returnTypeChanged",
1964+
"old": "method double com.azure.ai.projects.models.ModelSamplingParams::getTopP()",
1965+
"justification": "Breaking change in beta operation: return type changed from primitive double to boxed Double to support optional values."
18821966
}
18831967
]
18841968
}

eng/versioning/version_client.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ com.azure:azure-data-sdk-parent;1.3.0;1.3.0
3737
com.azure:azure-sdk-parent;1.6.0;1.6.0
3838
com.azure:azure-client-sdk-parent;1.7.0;1.7.0
3939
com.azure:azure-ai-agents-persistent;1.0.0-beta.2;1.0.0-beta.3
40-
com.azure:azure-ai-agents;2.0.1;2.1.0-beta.2
40+
com.azure:azure-ai-agents;2.0.1;2.1.0
4141
com.azure:azure-ai-anomalydetector;3.0.0-beta.5;3.0.0-beta.6
4242
com.azure:azure-ai-contentsafety;1.0.18;1.1.0-beta.1
4343
com.azure:azure-ai-contentunderstanding;1.0.0;1.1.0-beta.2
@@ -53,7 +53,7 @@ com.azure:azure-ai-openai-assistants;1.0.0-beta.5;1.0.0-beta.6
5353
com.azure:azure-ai-openai-realtime;1.0.0-beta.1;1.0.0-beta.1
5454
com.azure:azure-ai-openai-stainless;1.0.0-beta.1;1.0.0-beta.1
5555
com.azure:azure-ai-personalizer;1.0.0-beta.1;1.0.0-beta.2
56-
com.azure:azure-ai-projects;2.0.1;2.1.0-beta.2
56+
com.azure:azure-ai-projects;2.0.1;2.1.0
5757
com.azure:azure-ai-speech-transcription;1.0.0;1.1.0-beta.1
5858
com.azure:azure-ai-textanalytics;5.5.13;5.6.0-beta.1
5959
com.azure:azure-ai-textanalytics-perf;1.0.0-beta.1;1.0.0-beta.1

sdk/ai/azure-ai-agents/CHANGELOG.md

Lines changed: 24 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,46 @@
11
# Release History
22

3-
## 2.1.0-beta.2 (Unreleased)
3+
## 2.1.0 (2026-06-01)
44

55
### Features Added
66

77
- Added protocol-style methods on `ResponsesClient` and `ResponsesAsyncClient` that accept a raw JSON request body (`BinaryData`) and a `com.openai.core.RequestOptions`, and return the openai-java raw HTTP response. These mirror the existing `createAzureResponse` and `createStreamingAzureResponse` typed surface: `createResponseWithResponse` (returns `HttpResponseFor<Response>`) and `createResponseStreamWithResponse` (returns `HttpResponseFor<StreamResponse<ResponseStreamEvent>>`). They delegate to the underlying openai-java `ResponseService.withRawResponse()` surface and continue to flow through the Azure HTTP pipeline.
8-
9-
### Other Changes
10-
11-
- Enabled `ResponsesTests` and `ResponsesAsyncTests` (previously `@Disabled`) with create/retrieve/delete/input-items and background-cancel coverage for the typed (`ResponseService` / `ResponseServiceAsync`) surface, plus coverage for the new protocol-method surface. Recordings published to `Azure/azure-sdk-assets` and referenced from `assets.json`.
8+
- Added preview support for external agents via `ExternalAgentDefinition`, `AgentKind.EXTERNAL`, and `AgentDefinitionOptInKeys.EXTERNAL_AGENTS_V1_PREVIEW`.
9+
- Added preview code-based hosted agent operations on `AgentsClient` and `AgentsAsyncClient`, including `createAgentVersionFromCode`, `updateAgentFromCode`, and `downloadAgentCode`, plus related code package models such as `CreateAgentVersionFromCodeContent`, `CodeFileDetails`, and `CodeDependencyResolution`. `CodeConfiguration` now exposes the service-computed code package hash via `getContentSha256()`.
10+
- Added preview agent optimization job and candidate management operations on `AgentsClient` and `AgentsAsyncClient`, including creating, listing, retrieving, canceling, and deleting optimization jobs, listing and inspecting candidates, downloading candidate files, and promoting candidates.
11+
- Added `stopSession` and `stopSessionWithResponse` to stop hosted-agent sessions.
12+
- Added `force` query parameter support for hosted-agent `deleteAgentWithResponse` and `deleteAgentVersionWithResponse` requests through `RequestOptions`, allowing active sessions to be cascade-deleted.
13+
- Added individual memory item operations to `MemoryStoresClient` and `MemoryStoresAsyncClient`: `createMemory`, `updateMemory`, `listMemories`, `getMemory`, and `deleteMemory`, with new `ListMemoriesOptions`, `DeleteMemoryResponse`, and `MemoryItemKind.PROCEDURAL` support.
14+
- Added new preview tools `FabricIqPreviewTool` and `ToolboxSearchPreviewTool`, plus related tool call/output models for Azure tools.
15+
- Added optional per-tool configuration via `ToolConfig` and `toolConfigs` accessors on supported tool classes.
16+
- Added `getComparisonFilter()` and `getCompoundFilter()` convenience getters on `FileSearchTool` for retrieving OpenAI filter types.
17+
- Added new feature-flag values, including `AgentDefinitionOptInKeys.CODE_AGENTS_V1_PREVIEW`, `AgentDefinitionOptInKeys.EXTERNAL_AGENTS_V1_PREVIEW`, and `FoundryFeaturesOptInKeys.AGENTS_OPTIMIZATION_V1_PREVIEW`.
18+
- Added hosted-agent, Fabric IQ, Toolbox Search, and async toolbox samples.
1219

1320
### Breaking Changes
1421

15-
### Bugs Fixed
22+
- `AgentEndpoint` renamed to `AgentEndpointConfig`.
23+
- Session file listing methods on `AgentSessionFilesClient` and `AgentSessionFilesAsyncClient` were renamed from `getSessionFiles` to `listSessionFiles` and now return paged `SessionDirectoryEntry` results. `SessionDirectoryListResponse` was removed.
24+
- Hosted-agent session methods no longer take a required `isolationKey` argument. Use overloads that accept the optional `userIsolationKey` value, or set the `x-ms-user-isolation-key` header through `RequestOptions`.
25+
- `AgentDefinitionOptInKeys.CONTAINER_AGENTS_V1_PREVIEW` was removed. Use the applicable hosted-agent, code-agent, agent-endpoint, workflow-agent, or external-agent opt-in key instead.
26+
- `HostedAgentDefinition` no longer exposes top-level `image` or `containerProtocolVersions` accessors. Use `ContainerConfiguration` for container images and `protocolVersions` for ingress protocol configuration.
27+
- `CodeConfiguration` constructor now requires `CodeDependencyResolution` in addition to runtime and entry point.
28+
- `WorkIqPreviewTool` now takes the Work IQ project connection ID directly. `WorkIQPreviewToolParameters` was removed.
1629

1730
### Other Changes
1831

32+
- Enabled `ResponsesTests` and `ResponsesAsyncTests` (previously `@Disabled`) with create/retrieve/delete/input-items and background-cancel coverage for the typed (`ResponseService` / `ResponseServiceAsync`) surface, plus coverage for the new protocol-method surface. Recordings published to `Azure/azure-sdk-assets` and referenced from `assets.json`.
33+
- Re-enabled `SessionLogSyncTest` and `SessionLogAsyncTest`; both tests are recordable via `@RecordWithoutRequestBody` and run live against the configured Foundry project.
34+
- Regenerated client from the updated TypeSpec specification.
35+
1936
## 2.1.0-beta.1 (2026-05-12)
2037

2138
### Features Added
2239

2340
- Added new `ToolboxesClient` and `ToolboxesAsyncClient` sub-clients (preview, opt-in via `FoundryFeaturesOptInKeys.TOOLBOXES_V1_PREVIEW`) for managing toolboxes and toolbox versions, with operations including `createToolboxVersion`, `getToolbox`, `getToolboxVersion`, `listToolboxes`, `listToolboxVersions`, `updateToolbox`, `deleteToolbox`, and `deleteToolboxVersion`. New `buildToolboxesClient()` and `buildToolboxesAsyncClient()` methods on `AgentsClientBuilder`.
2441
- Added new `AgentSessionFilesClient` and `AgentSessionFilesAsyncClient` sub-clients for working with files in an agent session, with `uploadSessionFile`, `downloadSessionFile`, `getSessionFiles`, and `deleteSessionFile`. New `buildAgentSessionFilesClient()` and `buildAgentSessionFilesAsyncClient()` methods on `AgentsClientBuilder`.
2542
- Added `buildAgentScopedOpenAIClient(String agentName)` and `buildAgentScopedOpenAIAsyncClient(String agentName)` to `AgentsClientBuilder` for constructing OpenAI clients targeting a specific agent's endpoint (base URL `{endpoint}/agents/{agentName}/endpoint/protocols/openai`). The default `buildOpenAIClient()` / `buildOpenAIAsyncClient()` continue to target `{endpoint}/openai/v1`.
26-
- Added agent-session operations to `AgentsClient` and `AgentsAsyncClient`: `createSession`, `getSession`, `deleteSession`, `listSessions`, and `getSessionLogStreamWithResponse`. Added typed session log streaming convenience methods: `AgentsClient.getSessionLogStream(...)`, and `AgentsAsyncClient.getSessionLogStream(...)`, returning `SessionLogEvent`. New related models: `AgentSessionResource`, `AgentSessionStatus`, `SessionDirectoryEntry`, `SessionDirectoryListResponse`, `SessionFileWriteResponse`, `SessionLogEvent`, `SessionLogEventType`, `IsolationKeySource` (with `Kind`), `EntraIsolationKeySource`, and `HeaderIsolationKeySource`.
43+
- Added agent-session operations to `AgentsClient` and `AgentsAsyncClient`: `createSession`, `getSession`, `deleteSession`, `listSessions`, and `getSessionLogStreamWithResponse`. Added typed session log streaming convenience methods: `AgentsClient.getSessionLogStream(...)`, and `AgentsAsyncClient.getSessionLogStream(...)`, returning `SessionLogEvent`. New related models: `AgentSessionResource`, `AgentSessionStatus`, `SessionDirectoryEntry`, `SessionDirectoryListResponse`, `SessionFileWriteResult`, `SessionLogEvent`, `SessionLogEventType`, `IsolationKeySource` (with `Kind`), `EntraIsolationKeySource`, and `HeaderIsolationKeySource`.
2744
- Added `updateAgentDetails(String, UpdateAgentDetailsPatchRequest, ...)` and `updateAgentDetailsWithResponse` on `AgentsClient`/`AgentsAsyncClient` for patching agent details, plus new `UpdateAgentDetailsPatchRequest` model.
2845
- Added new agent-endpoint and identity model types for hosted agents: `AgentEndpoint`, `AgentEndpointProtocol`, `AgentEndpointAuthorizationScheme` (with `Type`), `EntraAuthorizationScheme`, `BotServiceAuthorizationScheme`, `BotServiceRbacAuthorizationScheme`, `AgentIdentity`, `AgentBlueprintReference` (with `Type`), `ManagedAgentIdentityBlueprintReference`, `AgentCard`, and `AgentCardSkill`. `AgentDetails` now exposes `getAgentEndpoint`, `getInstanceIdentity`, `getBlueprint`, `getBlueprintReference`, and `getAgentCard`. `AgentVersionDetails` now exposes `getInstanceIdentity`, `getBlueprint`, `getBlueprintReference`, and `getAgentGuid`.
2946
- Added agent-versioning model types: `VersionIndicator` (with `Type`), `VersionRefIndicator`, `VersionSelector` (with `Type`), `VersionSelectionRule`, `FixedRatioVersionSelectionRule`, and `CreateAgentVersionInput`.

0 commit comments

Comments
 (0)