github Azure/azure-sdk-for-java com.azure+azure-ai-projects_2.1.0-beta.1

pre-release7 hours ago

2.1.0-beta.1 (2026-05-12)

Features Added

  • Added new SkillsClient and SkillsAsyncClient sub-clients (preview, opt-in via FoundryFeaturesOptInKeys.SKILLS_V1_PREVIEW) with operations to createSkill, createSkillFromPackage, getSkill, downloadSkill, listSkills, updateSkill, and deleteSkill. New buildSkillsClient() and buildSkillsAsyncClient() methods on AIProjectClientBuilder. New SkillDetails model.
  • Added buildAgentScopedOpenAIClient(String agentName) and buildAgentScopedOpenAIAsyncClient(String agentName) to AIProjectClientBuilder 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.
  • Added threshold property (Double) to EvaluatorMetric with getThreshold() and setThreshold(Double).
  • Added entryPoint, imageTag, and blobUrl properties to CodeBasedEvaluatorDefinition with corresponding getters and setters; added a no-argument constructor and setCodeText(String) setter.
  • Added new feature-flag values to FoundryFeaturesOptInKeys: SKILLS_V1_PREVIEW (Skills=V1Preview) and TOOLBOXES_V1_PREVIEW (Toolboxes=V1Preview).
  • Added new samples SkillsSample and SkillsAsyncSample demonstrating end-to-end use of the Skills sub-client.

Other Changes

  • Regenerated client from the updated TypeSpec specification.
  • module-info.java now opens com.azure.ai.projects.implementation.models to com.azure.core to support serialization of new internal request types (e.g., CreateSkillRequest, UpdateSkillRequest).

Don't miss a new azure-sdk-for-java release

NewReleases is sending notifications on new releases.