2.0.0 (2026-03-27)
Features Added
- Added
beginUpdateMemories(String name, String scope)required-params-only overload toMemoryStoresClientandMemoryStoresAsyncClient, for updating a memory store without specifying optional conversation items, previous update ID, or delay.
Breaking Changes
- The following types changed from standard Java
enumtoExpandableStringEnum-based classes, allowing unknown values to be handled without throwing exceptions. Thevalues()method now returns aCollectioninstead of an array, and instances should be compared using.equals()rather than==:ComputerEnvironmentContainerMemoryLimitGrammarSyntaxImageGenActionEnumImageGenToolBackgroundImageGenToolModerationImageGenToolOutputFormatImageGenToolQualityImageGenToolSizeInputFidelityMcpToolConnectorIdMemoryStoreUpdateStatusRankerVersionTypeSearchContextSizeWebSearchToolSearchContextSize
- Renamed
getObject()togetObjectType()inAgentDetails,AgentVersionDetails, andMemoryStoreDetails. The underlying field was renamed fromobjecttoobjectType. - Renamed
MCPToolConnectorIdenum toMcpToolConnectorIdfor consistent casing. TheMcpToolmethodsgetConnectorType()andsetConnectorType()now useMcpToolConnectorIdinstead ofMCPToolConnectorId. getContainerAsAutoCodeInterpreterToolParam()onCodeInterpreterToolrenamed togetContainerAsAutoCodeInterpreterToolParameter(), andsetContainer(AutoCodeInterpreterToolParam)now acceptsAutoCodeInterpreterToolParameterinstead.- Renamed remaining
*Parammodel classes to*Parameterfor naming consistency:AutoCodeInterpreterToolParam→AutoCodeInterpreterToolParameterContainerAutoParam→ContainerAutoParameterContainerNetworkPolicyParam→ContainerNetworkPolicyParameterContainerNetworkPolicyAllowlistParam→ContainerNetworkPolicyAllowlistParameterContainerNetworkPolicyDisabledParam→ContainerNetworkPolicyDisabledParameterContainerNetworkPolicyDomainSecretParam→ContainerNetworkPolicyDomainSecretParameterCustomTextFormatParam→CustomTextFormatParameterFunctionShellToolParamEnvironmentContainerReferenceParam→FunctionShellToolParameterEnvironmentContainerReferenceParameterFunctionShellToolParamEnvironmentLocalEnvironmentParam→FunctionShellToolParameterEnvironmentLocalEnvironmentParameterInlineSkillParam→InlineSkillParameterInlineSkillSourceParam→InlineSkillSourceParameterLocalSkillParam→LocalSkillParameterSkillReferenceParam→SkillReferenceParameter
deleteAgentWithResponseonAgentsClientnow returnsResponse<Void>instead ofResponse<BinaryData>. The corresponding async method onAgentsAsyncClientnow returnsMono<Response<Void>>instead ofMono<Response<BinaryData>>.deleteAgentVersionWithResponseonAgentsClientnow returnsResponse<Void>instead ofResponse<BinaryData>. The corresponding async method onAgentsAsyncClientnow returnsMono<Response<Void>>instead ofMono<Response<BinaryData>>.deleteMemoryStoreWithResponseonMemoryStoresClientnow returnsResponse<Void>instead ofResponse<BinaryData>. The corresponding async method onMemoryStoresAsyncClientnow returnsMono<Response<Void>>instead ofMono<Response<BinaryData>>.deleteScopeWithResponseonMemoryStoresClientnow returnsResponse<Void>instead ofResponse<BinaryData>. The corresponding async method onMemoryStoresAsyncClientnow returnsMono<Response<Void>>instead ofMono<Response<BinaryData>>.deleteMemoryStore(String)onMemoryStoresClientnow returnsvoidinstead ofDeleteMemoryStoreResult. The corresponding async method onMemoryStoresAsyncClientnow returnsMono<Void>instead ofMono<DeleteMemoryStoreResult>.deleteScope(String, String)onMemoryStoresClientnow returnsvoidinstead ofMemoryStoreDeleteScopeResponse. The corresponding async method onMemoryStoresAsyncClientnow returnsMono<Void>instead ofMono<MemoryStoreDeleteScopeResponse>.DeleteMemoryStoreResultandMemoryStoreDeleteScopeResponseremoved fromcom.azure.ai.agents.modelsand are no longer part of the public API.ResponsesUtilsclass has been removed. UseResponsesClient.getAzureFields(Response)instead ofResponsesUtils.getAzureFields(Response)to extract Azure-specific fields from a response.
Other Changes
- Regenerated client from updated TypeSpec specification.