From 1c44950484371d727449a3a6ce02552d8f1798c2 Mon Sep 17 00:00:00 2001 From: Tanmay Rustagi <88379306+tanmay-db@users.noreply.github.com> Date: Thu, 26 Sep 2024 17:47:16 +0200 Subject: [PATCH] [Release] Release v0.32.0 (#347) ### Bug Fixes * Fix listAccountMetastoreAssignments Integration test ([#350](https://github.com/databricks/databricks-sdk-java/pull/350)) * Fix parsing issue in ErrorDetail ([#328](https://github.com/databricks/databricks-sdk-java/pull/328)) ### Internal Changes * Update SDK to OpenAPI spec ([#346](https://github.com/databricks/databricks-sdk-java/pull/346)). * Add DCO guidelines ([#351](https://github.com/databricks/databricks-sdk-java/pull/351)) ### API Changes: * Added `workspaceClient.disableLegacyAccess()` service and `accountClient.disableLegacyFeatures()` service. * Added `workspaceClient.temporaryTableCredentials()` service. * Added `putAiGateway()` method for `workspaceClient.servingEndpoints()` service. * Added `com.databricks.sdk.service.apps.ApplicationState`, `com.databricks.sdk.service.apps.ApplicationStatus`, `com.databricks.sdk.service.apps.ComputeState` and `com.databricks.sdk.service.apps.ComputeStatus` classes. * Added `com.databricks.sdk.service.catalog.AwsCredentials`, `com.databricks.sdk.service.catalog.AzureUserDelegationSas`, `com.databricks.sdk.service.catalog.GcpOauthToken`, `com.databricks.sdk.service.catalog.GenerateTemporaryTableCredentialRequest`, `com.databricks.sdk.service.catalog.GenerateTemporaryTableCredentialResponse`, `com.databricks.sdk.service.catalog.R2Credentials` and `com.databricks.sdk.service.catalog.TableOperation` classes. * Added `com.databricks.sdk.service.serving.AiGatewayConfig`, `com.databricks.sdk.service.serving.AiGatewayGuardrailParameters`, `com.databricks.sdk.service.serving.AiGatewayGuardrailPiiBehavior`, `com.databricks.sdk.service.serving.AiGatewayGuardrailPiiBehaviorBehavior`, `com.databricks.sdk.service.serving.AiGatewayGuardrails`, `com.databricks.sdk.service.serving.AiGatewayInferenceTableConfig`, `com.databricks.sdk.service.serving.AiGatewayRateLimit`, `com.databricks.sdk.service.serving.AiGatewayRateLimitKey`, `com.databricks.sdk.service.serving.AiGatewayRateLimitRenewalPeriod`, `com.databricks.sdk.service.serving.AiGatewayUsageTrackingConfig`, `com.databricks.sdk.service.serving.PutAiGatewayRequest` and `com.databricks.sdk.service.serving.PutAiGatewayResponse` classes. * Added `com.databricks.sdk.service.settings.BooleanMessage`, `com.databricks.sdk.service.settings.DeleteDisableLegacyAccessRequest`, `com.databricks.sdk.service.settings.DeleteDisableLegacyAccessResponse`, `com.databricks.sdk.service.settings.DeleteDisableLegacyFeaturesRequest`, `com.databricks.sdk.service.settings.DeleteDisableLegacyFeaturesResponse`, `com.databricks.sdk.service.settings.DisableLegacyAccess`, `com.databricks.sdk.service.settings.DisableLegacyFeatures`, `com.databricks.sdk.service.settings.GetDisableLegacyAccessRequest`, `com.databricks.sdk.service.settings.GetDisableLegacyFeaturesRequest`, `com.databricks.sdk.service.settings.UpdateDisableLegacyAccessRequest` and `com.databricks.sdk.service.settings.UpdateDisableLegacyFeaturesRequest` classes. * Added `appStatus` and `computeStatus` fields for `com.databricks.sdk.service.apps.App`. * Added `deploymentId` field for `com.databricks.sdk.service.apps.CreateAppDeploymentRequest`. * Added `externalAccessEnabled` field for `com.databricks.sdk.service.catalog.GetMetastoreSummaryResponse`. * Added `includeManifestCapabilities` field for `com.databricks.sdk.service.catalog.GetTableRequest`. * Added `includeManifestCapabilities` field for `com.databricks.sdk.service.catalog.ListSummariesRequest`. * Added `includeManifestCapabilities` field for `com.databricks.sdk.service.catalog.ListTablesRequest`. * Added `externalAccessEnabled` field for `com.databricks.sdk.service.catalog.MetastoreInfo`. * Added `budgetPolicyId` field for `com.databricks.sdk.service.pipelines.CreatePipeline`. * Added `budgetPolicyId` field for `com.databricks.sdk.service.pipelines.EditPipeline`. * Added `effectiveBudgetPolicyId` field for `com.databricks.sdk.service.pipelines.GetPipelineResponse`. * Added `budgetPolicyId` field for `com.databricks.sdk.service.pipelines.PipelineSpec`. * Added `aiGateway` field for `com.databricks.sdk.service.serving.CreateServingEndpoint`. * Added `aiGateway` field for `com.databricks.sdk.service.serving.ServingEndpoint`. * Added `aiGateway` field for `com.databricks.sdk.service.serving.ServingEndpointDetailed`. * Added `workspaceId` field for `com.databricks.sdk.service.settings.TokenInfo`. * Changed `delete()`, `start()` and `stop()` methods for `workspaceClient.apps()` service to return `com.databricks.sdk.service.apps.App` class. * Changed `deploy()` method for `workspaceClient.apps()` service with new required argument order. * Changed `sourceCodePath` field for `com.databricks.sdk.service.apps.AppDeployment` to no longer be required. * Changed `sourceCodePath` field for `com.databricks.sdk.service.apps.CreateAppDeploymentRequest` to no longer be required. * Changed `returnParams` and `routineDependencies` fields for `com.databricks.sdk.service.catalog.CreateFunction` to no longer be required. * Removed `com.databricks.sdk.service.apps.AppState`, `com.databricks.sdk.service.apps.AppStatus`, `Object` and `Object` classes. * Removed `com.databricks.sdk.service.sql.ClientCallContext`, `com.databricks.sdk.service.sql.EncodedText`, `com.databricks.sdk.service.sql.EncodedTextEncoding`, `com.databricks.sdk.service.sql.QuerySource`, `com.databricks.sdk.service.sql.QuerySourceDriverInfo`, `com.databricks.sdk.service.sql.QuerySourceEntryPoint`, `com.databricks.sdk.service.sql.QuerySourceJobManager`, `com.databricks.sdk.service.sql.QuerySourceTrigger` and `com.databricks.sdk.service.sql.ServerlessChannelInfo` classes. * Removed `status` field for `com.databricks.sdk.service.apps.App`. * Removed `querySource` field for `com.databricks.sdk.service.sql.QueryInfo`. OpenAPI SHA: 6f6b1371e640f2dfeba72d365ac566368656f6b6, Date: 2024-09-19 --- CHANGELOG.md | 50 +++++++++++++++++++ databricks-sdk-java/pom.xml | 2 +- .../com/databricks/sdk/core/UserAgent.java | 2 +- examples/docs/pom.xml | 2 +- examples/spring-boot-oauth-u2m-demo/pom.xml | 2 +- pom.xml | 2 +- shaded/pom.xml | 2 +- 7 files changed, 56 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a69fe0b3..032c9775 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,55 @@ # Version changelog +## [Release] Release v0.32.0 + +### Bug Fixes + + * Fix listAccountMetastoreAssignments Integration test ([#350](https://github.com/databricks/databricks-sdk-java/pull/350)) + * Fix parsing issue in ErrorDetail ([#328](https://github.com/databricks/databricks-sdk-java/pull/328)) + +### Internal Changes + + * Update SDK to OpenAPI spec ([#346](https://github.com/databricks/databricks-sdk-java/pull/346)). + * Add DCO guidelines ([#351](https://github.com/databricks/databricks-sdk-java/pull/351)) + + +### API Changes: + + * Added `workspaceClient.disableLegacyAccess()` service and `accountClient.disableLegacyFeatures()` service. + * Added `workspaceClient.temporaryTableCredentials()` service. + * Added `putAiGateway()` method for `workspaceClient.servingEndpoints()` service. + * Added `com.databricks.sdk.service.apps.ApplicationState`, `com.databricks.sdk.service.apps.ApplicationStatus`, `com.databricks.sdk.service.apps.ComputeState` and `com.databricks.sdk.service.apps.ComputeStatus` classes. + * Added `com.databricks.sdk.service.catalog.AwsCredentials`, `com.databricks.sdk.service.catalog.AzureUserDelegationSas`, `com.databricks.sdk.service.catalog.GcpOauthToken`, `com.databricks.sdk.service.catalog.GenerateTemporaryTableCredentialRequest`, `com.databricks.sdk.service.catalog.GenerateTemporaryTableCredentialResponse`, `com.databricks.sdk.service.catalog.R2Credentials` and `com.databricks.sdk.service.catalog.TableOperation` classes. + * Added `com.databricks.sdk.service.serving.AiGatewayConfig`, `com.databricks.sdk.service.serving.AiGatewayGuardrailParameters`, `com.databricks.sdk.service.serving.AiGatewayGuardrailPiiBehavior`, `com.databricks.sdk.service.serving.AiGatewayGuardrailPiiBehaviorBehavior`, `com.databricks.sdk.service.serving.AiGatewayGuardrails`, `com.databricks.sdk.service.serving.AiGatewayInferenceTableConfig`, `com.databricks.sdk.service.serving.AiGatewayRateLimit`, `com.databricks.sdk.service.serving.AiGatewayRateLimitKey`, `com.databricks.sdk.service.serving.AiGatewayRateLimitRenewalPeriod`, `com.databricks.sdk.service.serving.AiGatewayUsageTrackingConfig`, `com.databricks.sdk.service.serving.PutAiGatewayRequest` and `com.databricks.sdk.service.serving.PutAiGatewayResponse` classes. + * Added `com.databricks.sdk.service.settings.BooleanMessage`, `com.databricks.sdk.service.settings.DeleteDisableLegacyAccessRequest`, `com.databricks.sdk.service.settings.DeleteDisableLegacyAccessResponse`, `com.databricks.sdk.service.settings.DeleteDisableLegacyFeaturesRequest`, `com.databricks.sdk.service.settings.DeleteDisableLegacyFeaturesResponse`, `com.databricks.sdk.service.settings.DisableLegacyAccess`, `com.databricks.sdk.service.settings.DisableLegacyFeatures`, `com.databricks.sdk.service.settings.GetDisableLegacyAccessRequest`, `com.databricks.sdk.service.settings.GetDisableLegacyFeaturesRequest`, `com.databricks.sdk.service.settings.UpdateDisableLegacyAccessRequest` and `com.databricks.sdk.service.settings.UpdateDisableLegacyFeaturesRequest` classes. + * Added `appStatus` and `computeStatus` fields for `com.databricks.sdk.service.apps.App`. + * Added `deploymentId` field for `com.databricks.sdk.service.apps.CreateAppDeploymentRequest`. + * Added `externalAccessEnabled` field for `com.databricks.sdk.service.catalog.GetMetastoreSummaryResponse`. + * Added `includeManifestCapabilities` field for `com.databricks.sdk.service.catalog.GetTableRequest`. + * Added `includeManifestCapabilities` field for `com.databricks.sdk.service.catalog.ListSummariesRequest`. + * Added `includeManifestCapabilities` field for `com.databricks.sdk.service.catalog.ListTablesRequest`. + * Added `externalAccessEnabled` field for `com.databricks.sdk.service.catalog.MetastoreInfo`. + * Added `budgetPolicyId` field for `com.databricks.sdk.service.pipelines.CreatePipeline`. + * Added `budgetPolicyId` field for `com.databricks.sdk.service.pipelines.EditPipeline`. + * Added `effectiveBudgetPolicyId` field for `com.databricks.sdk.service.pipelines.GetPipelineResponse`. + * Added `budgetPolicyId` field for `com.databricks.sdk.service.pipelines.PipelineSpec`. + * Added `aiGateway` field for `com.databricks.sdk.service.serving.CreateServingEndpoint`. + * Added `aiGateway` field for `com.databricks.sdk.service.serving.ServingEndpoint`. + * Added `aiGateway` field for `com.databricks.sdk.service.serving.ServingEndpointDetailed`. + * Added `workspaceId` field for `com.databricks.sdk.service.settings.TokenInfo`. + * Changed `delete()`, `start()` and `stop()` methods for `workspaceClient.apps()` service to return `com.databricks.sdk.service.apps.App` class. + * Changed `deploy()` method for `workspaceClient.apps()` service with new required argument order. + * Changed `sourceCodePath` field for `com.databricks.sdk.service.apps.AppDeployment` to no longer be required. + * Changed `sourceCodePath` field for `com.databricks.sdk.service.apps.CreateAppDeploymentRequest` to no longer be required. + * Changed `returnParams` and `routineDependencies` fields for `com.databricks.sdk.service.catalog.CreateFunction` to no longer be required. + * Removed `com.databricks.sdk.service.apps.AppState`, `com.databricks.sdk.service.apps.AppStatus`, `Object` and `Object` classes. + * Removed `com.databricks.sdk.service.sql.ClientCallContext`, `com.databricks.sdk.service.sql.EncodedText`, `com.databricks.sdk.service.sql.EncodedTextEncoding`, `com.databricks.sdk.service.sql.QuerySource`, `com.databricks.sdk.service.sql.QuerySourceDriverInfo`, `com.databricks.sdk.service.sql.QuerySourceEntryPoint`, `com.databricks.sdk.service.sql.QuerySourceJobManager`, `com.databricks.sdk.service.sql.QuerySourceTrigger` and `com.databricks.sdk.service.sql.ServerlessChannelInfo` classes. + * Removed `status` field for `com.databricks.sdk.service.apps.App`. + * Removed `querySource` field for `com.databricks.sdk.service.sql.QueryInfo`. + +OpenAPI SHA: 6f6b1371e640f2dfeba72d365ac566368656f6b6, Date: 2024-09-19 + + ## [Release] Release v0.31.1 ### New Features and Improvements diff --git a/databricks-sdk-java/pom.xml b/databricks-sdk-java/pom.xml index 28173b7e..d1e556e8 100644 --- a/databricks-sdk-java/pom.xml +++ b/databricks-sdk-java/pom.xml @@ -5,7 +5,7 @@ com.databricks databricks-sdk-parent - 0.31.1 + 0.32.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 91d32c7b..6ba23c9e 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 @@ -32,7 +32,7 @@ public String getValue() { // 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.31.1"; + private static final String version = "0.32.0"; public static void withProduct(String product, String productVersion) { UserAgent.product = product; diff --git a/examples/docs/pom.xml b/examples/docs/pom.xml index 76091341..f4a26642 100644 --- a/examples/docs/pom.xml +++ b/examples/docs/pom.xml @@ -24,7 +24,7 @@ com.databricks databricks-sdk-java - 0.31.1 + 0.32.0 diff --git a/examples/spring-boot-oauth-u2m-demo/pom.xml b/examples/spring-boot-oauth-u2m-demo/pom.xml index 069fb2ce..ab2d1a9f 100644 --- a/examples/spring-boot-oauth-u2m-demo/pom.xml +++ b/examples/spring-boot-oauth-u2m-demo/pom.xml @@ -37,7 +37,7 @@ com.databricks databricks-sdk-java - 0.31.1 + 0.32.0 com.fasterxml.jackson.datatype diff --git a/pom.xml b/pom.xml index a7ab391b..5fbfdd01 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 com.databricks databricks-sdk-parent - 0.31.1 + 0.32.0 pom Databricks SDK for Java The Databricks SDK for Java includes functionality to accelerate development with Java for diff --git a/shaded/pom.xml b/shaded/pom.xml index aac04bf6..8d6765ac 100644 --- a/shaded/pom.xml +++ b/shaded/pom.xml @@ -4,7 +4,7 @@ 4.0.0 - 0.31.1 + 0.32.0 com.databricks