2.0.0 (2026-03-27)
Features Added
- Added
getDefaultConnection(ConnectionType, boolean)toConnectionsClientandConnectionsAsyncClientfor retrieving the default connection of a given type. - Added
connectionNameparameter overloads tocreateDatasetWithFileandcreateDatasetWithFolderinDatasetsClientandDatasetsAsyncClient, allowing users to specify which Azure Storage Account connection to use for uploads.
Breaking Changes
- Methods across sub-clients were renamed to include the resource name for disambiguation (continuing the pattern from
2.0.0-beta.1):DatasetsClient:listLatestVersion()→listLatestDatasetVersions(),listVersions()→listDatasetVersions(),deleteVersion()→deleteDatasetVersion(),createOrUpdateVersion()→createOrUpdateDatasetVersion()IndexesClient:listLatest()→listLatestIndexVersions(),listVersions()→listIndexVersions(),getVersion()→getIndexVersion(),createOrUpdateVersion()→createOrUpdateIndexVersion(),deleteVersion()→deleteIndexVersion()EvaluatorsClient:createVersion()→createEvaluatorVersion(),getVersion()→getEvaluatorVersion(),updateVersion()→updateEvaluatorVersion(),deleteVersion()→deleteEvaluatorVersion(),listVersions()→listEvaluatorVersions(),listLatestVersions()→listLatestEvaluatorVersions()- Same renames apply to the corresponding async clients.
Connection.getCredentials()renamed toConnection.getCredential()(singular).ConnectionType.REMOTE_TOOLrenamed toConnectionType.REMOTE_TOOL_PREVIEW.EvaluatorMetric.setIsPrimary()renamed toEvaluatorMetric.setPrimary().BlobReferenceSasCredential.getType()now returnsCredentialTypeinstead ofString.DatasetVersion.getDataUri()/setDataUri()renamed togetDataUrl()/setDataUrl()(also onFileDatasetVersionandFolderDatasetVersion).DatasetsClient.createDatasetWithFolder()no longer throws checkedIOException; it now throwsUncheckedIOExceptioninstead.
Bugs Fixed
- Fixed
createDatasetWithFolderproducing an invaliddataUrithat caused a 400 error when registering the dataset. - Fixed
createDatasetWithFileusing the dataset name as the blob name instead of the actual file name.
Other Changes
- Regenerated from updated API spec.