From e620d741f3ebbed4365c744498a69c353fe1baf9 Mon Sep 17 00:00:00 2001 From: Pieter Noordhuis Date: Thu, 12 Oct 2023 15:35:04 +0200 Subject: [PATCH] Release v0.10.0 (#166) * Don't fail codegen if the tree was already removed ([#164](https://github.com/databricks/databricks-sdk-java/pull/164)). * Update OpenAPI spec to 12 Oct 2023 ([#165](https://github.com/databricks/databricks-sdk-java/pull/165)). API Changes: * Changed `download()` method for `accountClient.billableUsage()` service to start returning `com.databricks.sdk.service.billing.DownloadResponse` class. * Added `com.databricks.sdk.service.billing.DownloadResponse` class. * Changed `delete()` method for `accountClient.storageCredentials()` service with new required argument order. * Changed `get()` method for `accountClient.storageCredentials()` service with new required argument order. * Changed `update()` method for `accountClient.storageCredentials()` service with new required argument order. * Added `getBindings()` method for `workspaceClient.workspaceBindings()` service. * Added `updateBindings()` method for `workspaceClient.workspaceBindings()` service. * Removed `name` field for `com.databricks.sdk.service.catalog.AccountsUpdateStorageCredential`. * Added `storageCredentialName` field for `com.databricks.sdk.service.catalog.AccountsUpdateStorageCredential`. * Removed `name` field for `com.databricks.sdk.service.catalog.DeleteAccountStorageCredentialRequest`. * Added `storageCredentialName` field for `com.databricks.sdk.service.catalog.DeleteAccountStorageCredentialRequest`. * Removed `name` field for `com.databricks.sdk.service.catalog.GetAccountStorageCredentialRequest`. * Added `storageCredentialName` field for `com.databricks.sdk.service.catalog.GetAccountStorageCredentialRequest`. * Added `owner` field for `com.databricks.sdk.service.catalog.UpdateConnection`. * Added `com.databricks.sdk.service.catalog.GetBindingsRequest` class. * Added `com.databricks.sdk.service.catalog.UpdateWorkspaceBindingsParameters` class. * Added `com.databricks.sdk.service.catalog.WorkspaceBinding` class. * Added `com.databricks.sdk.service.catalog.WorkspaceBindingBindingType` class. * Added `com.databricks.sdk.service.catalog.WorkspaceBindingsResponse` class. * Added `spec` field for `com.databricks.sdk.service.compute.ClusterDetails`. * Added `applyPolicyDefaultValues` field for `com.databricks.sdk.service.compute.ClusterSpec`. * Removed `awsAttributes` field for `com.databricks.sdk.service.compute.EditInstancePool`. * Removed `azureAttributes` field for `com.databricks.sdk.service.compute.EditInstancePool`. * Removed `diskSpec` field for `com.databricks.sdk.service.compute.EditInstancePool`. * Removed `enableElasticDisk` field for `com.databricks.sdk.service.compute.EditInstancePool`. * Removed `gcpAttributes` field for `com.databricks.sdk.service.compute.EditInstancePool`. * Removed `preloadedDockerImages` field for `com.databricks.sdk.service.compute.EditInstancePool`. * Removed `preloadedSparkVersions` field for `com.databricks.sdk.service.compute.EditInstancePool`. * Added `deployment` field for `com.databricks.sdk.service.jobs.CreateJob`. * Added `uiState` field for `com.databricks.sdk.service.jobs.CreateJob`. * Added `deployment` field for `com.databricks.sdk.service.jobs.JobSettings`. * Added `uiState` field for `com.databricks.sdk.service.jobs.JobSettings`. * Removed `conditionTask` field for `com.databricks.sdk.service.jobs.RunOutput`. * Added `webhookNotifications` field for `com.databricks.sdk.service.jobs.Task`. * Added `com.databricks.sdk.service.jobs.CreateJobUiState` class. * Added `com.databricks.sdk.service.jobs.JobDeployment` class. * Added `com.databricks.sdk.service.jobs.JobDeploymentKind` class. * Added `com.databricks.sdk.service.jobs.JobSettingsUiState` class. * Added `workloadType` field for `com.databricks.sdk.service.serving.ServedModelInput`. * Added `workloadType` field for `com.databricks.sdk.service.serving.ServedModelOutput`. * Removed `accountClient.networkPolicy()` service. * Changed `list()` method for `workspaceClient.ipAccessLists()` service to return `com.databricks.sdk.service.settings.ListIpAccessListResponse` class. * Removed `com.databricks.sdk.service.settings.AccountNetworkPolicyMessage` class. * Removed `com.databricks.sdk.service.settings.DeleteAccountNetworkPolicyRequest` class. * Removed `com.databricks.sdk.service.settings.DeleteAccountNetworkPolicyResponse` class. * Removed `ipAccessLists` field for `com.databricks.sdk.service.settings.GetIpAccessListResponse`. * Added `ipAccessList` field for `com.databricks.sdk.service.settings.GetIpAccessListResponse`. * Removed `com.databricks.sdk.service.settings.ReadAccountNetworkPolicyRequest` class. * Removed `com.databricks.sdk.service.settings.UpdateAccountNetworkPolicyRequest` class. * Added `com.databricks.sdk.service.settings.ListIpAccessListResponse` class. OpenAPI SHA: 493a76554afd3afdd15dc858773d01643f80352a, Date: 2023-10-12 --- CHANGELOG.md | 61 +++++++++++++++++++ databricks-sdk-java/pom.xml | 2 +- .../com/databricks/sdk/core/UserAgent.java | 2 +- pom.xml | 2 +- 4 files changed, 64 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index dfb446cf7..83d1da2e7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,66 @@ # Version changelog +## 0.10.0 + +* Don't fail codegen if the tree was already removed ([#164](https://github.com/databricks/databricks-sdk-java/pull/164)). +* Update OpenAPI spec to 12 Oct 2023 ([#165](https://github.com/databricks/databricks-sdk-java/pull/165)). + +API Changes: + + * Changed `download()` method for `accountClient.billableUsage()` service to start returning `com.databricks.sdk.service.billing.DownloadResponse` class. + * Added `com.databricks.sdk.service.billing.DownloadResponse` class. + * Changed `delete()` method for `accountClient.storageCredentials()` service with new required argument order. + * Changed `get()` method for `accountClient.storageCredentials()` service with new required argument order. + * Changed `update()` method for `accountClient.storageCredentials()` service with new required argument order. + * Added `getBindings()` method for `workspaceClient.workspaceBindings()` service. + * Added `updateBindings()` method for `workspaceClient.workspaceBindings()` service. + * Removed `name` field for `com.databricks.sdk.service.catalog.AccountsUpdateStorageCredential`. + * Added `storageCredentialName` field for `com.databricks.sdk.service.catalog.AccountsUpdateStorageCredential`. + * Removed `name` field for `com.databricks.sdk.service.catalog.DeleteAccountStorageCredentialRequest`. + * Added `storageCredentialName` field for `com.databricks.sdk.service.catalog.DeleteAccountStorageCredentialRequest`. + * Removed `name` field for `com.databricks.sdk.service.catalog.GetAccountStorageCredentialRequest`. + * Added `storageCredentialName` field for `com.databricks.sdk.service.catalog.GetAccountStorageCredentialRequest`. + * Added `owner` field for `com.databricks.sdk.service.catalog.UpdateConnection`. + * Added `com.databricks.sdk.service.catalog.GetBindingsRequest` class. + * Added `com.databricks.sdk.service.catalog.UpdateWorkspaceBindingsParameters` class. + * Added `com.databricks.sdk.service.catalog.WorkspaceBinding` class. + * Added `com.databricks.sdk.service.catalog.WorkspaceBindingBindingType` class. + * Added `com.databricks.sdk.service.catalog.WorkspaceBindingsResponse` class. + * Added `spec` field for `com.databricks.sdk.service.compute.ClusterDetails`. + * Added `applyPolicyDefaultValues` field for `com.databricks.sdk.service.compute.ClusterSpec`. + * Removed `awsAttributes` field for `com.databricks.sdk.service.compute.EditInstancePool`. + * Removed `azureAttributes` field for `com.databricks.sdk.service.compute.EditInstancePool`. + * Removed `diskSpec` field for `com.databricks.sdk.service.compute.EditInstancePool`. + * Removed `enableElasticDisk` field for `com.databricks.sdk.service.compute.EditInstancePool`. + * Removed `gcpAttributes` field for `com.databricks.sdk.service.compute.EditInstancePool`. + * Removed `preloadedDockerImages` field for `com.databricks.sdk.service.compute.EditInstancePool`. + * Removed `preloadedSparkVersions` field for `com.databricks.sdk.service.compute.EditInstancePool`. + * Added `deployment` field for `com.databricks.sdk.service.jobs.CreateJob`. + * Added `uiState` field for `com.databricks.sdk.service.jobs.CreateJob`. + * Added `deployment` field for `com.databricks.sdk.service.jobs.JobSettings`. + * Added `uiState` field for `com.databricks.sdk.service.jobs.JobSettings`. + * Removed `conditionTask` field for `com.databricks.sdk.service.jobs.RunOutput`. + * Added `webhookNotifications` field for `com.databricks.sdk.service.jobs.Task`. + * Added `com.databricks.sdk.service.jobs.CreateJobUiState` class. + * Added `com.databricks.sdk.service.jobs.JobDeployment` class. + * Added `com.databricks.sdk.service.jobs.JobDeploymentKind` class. + * Added `com.databricks.sdk.service.jobs.JobSettingsUiState` class. + * Added `workloadType` field for `com.databricks.sdk.service.serving.ServedModelInput`. + * Added `workloadType` field for `com.databricks.sdk.service.serving.ServedModelOutput`. + * Removed `accountClient.networkPolicy()` service. + * Changed `list()` method for `workspaceClient.ipAccessLists()` service to return `com.databricks.sdk.service.settings.ListIpAccessListResponse` class. + * Removed `com.databricks.sdk.service.settings.AccountNetworkPolicyMessage` class. + * Removed `com.databricks.sdk.service.settings.DeleteAccountNetworkPolicyRequest` class. + * Removed `com.databricks.sdk.service.settings.DeleteAccountNetworkPolicyResponse` class. + * Removed `ipAccessLists` field for `com.databricks.sdk.service.settings.GetIpAccessListResponse`. + * Added `ipAccessList` field for `com.databricks.sdk.service.settings.GetIpAccessListResponse`. + * Removed `com.databricks.sdk.service.settings.ReadAccountNetworkPolicyRequest` class. + * Removed `com.databricks.sdk.service.settings.UpdateAccountNetworkPolicyRequest` class. + * Added `com.databricks.sdk.service.settings.ListIpAccessListResponse` class. + +OpenAPI SHA: 493a76554afd3afdd15dc858773d01643f80352a, Date: 2023-10-12 + + ## 0.9.0 * Add additional error metadata to API errors ([#153](https://github.com/databricks/databricks-sdk-java/pull/153)). diff --git a/databricks-sdk-java/pom.xml b/databricks-sdk-java/pom.xml index b6ee329be..652910f82 100644 --- a/databricks-sdk-java/pom.xml +++ b/databricks-sdk-java/pom.xml @@ -5,7 +5,7 @@ com.databricks databricks-sdk-parent - 0.9.0 + 0.10.0 databricks-sdk-java diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/core/UserAgent.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/core/UserAgent.java index 8117e904a..a66591b34 100644 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/core/UserAgent.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/core/UserAgent.java @@ -13,7 +13,7 @@ public class UserAgent { // TODO: check if reading from // /META-INF/maven/com.databricks/databrics-sdk-java/pom.properties // or getClass().getPackage().getImplementationVersion() is enough. - private static final String version = "0.9.0"; + private static final String version = "0.10.0"; public static void withProduct(String product, String productVersion) { UserAgent.product = product; diff --git a/pom.xml b/pom.xml index 356a4c0bf..abe34afe1 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 com.databricks databricks-sdk-parent - 0.9.0 + 0.10.0 pom Databricks SDK for Java The Databricks SDK for Java includes functionality to accelerate development with Java for