diff --git a/CHANGELOG.md b/CHANGELOG.md index 2bc1f1639..56363bd96 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,96 @@ # Version changelog +## 0.25.0 + +### New Features and Improvements +* Fix OIDC Endpoint Fetching in DatabricksConfig for Workspace Clients ([#277](https://github.com/databricks/databricks-sdk-java/pull/277)). +* Fix NullPointerException when reading error response body ([#276](https://github.com/databricks/databricks-sdk-java/pull/276)). +* Incorporate host in request after `authenticate()` call ([#282](https://github.com/databricks/databricks-sdk-java/pull/282)). +* Fix NPE in string function on DatabricksConfig ([#285](https://github.com/databricks/databricks-sdk-java/pull/285)). + +### Documentation Changes +* Add instructions for building a shaded JAR ([#284](https://github.com/databricks/databricks-sdk-java/pull/284)). + +### API Changes: + * Added `ingestionDefinition` field for `com.databricks.sdk.service.pipelines.CreatePipeline`, `com.databricks.sdk.service.pipelines.EditPipeline` and `com.databricks.sdk.service.pipelines.PipelineSpec` + * Changed `create()` method for `workspaceClient.apps()` service . New request type is `com.databricks.sdk.service.serving.CreateAppRequest` class. + * Changed `create()` method for `workspaceClient.apps()` service to return `com.databricks.sdk.service.serving.App` class. + * Removed `deleteApp()`, `getApp()`, `getApps()` and `getEvents()` method for `workspaceClient.apps()` service. +* Added `createDeployment()`, `delete()`, `get()`, `getDeployment()`, `getEnvironment()`, `list()`, `listDeployments()`, `stop()`, and `update()` methods for `workspaceClient.apps()` service. + * Added `getOpenApi()` method for `workspaceClient.servingEndpoints()` service. + * Changed `apps` field for `com.databricks.sdk.service.serving.ListAppsResponse` to `com.databricks.sdk.service.serving.AppList` class. + * Added `routeOptimized` field for `com.databricks.sdk.service.serving.CreateServingEndpoint`. + * Added `endpointUrl` field for `com.databricks.sdk.service.serving.ServingEndpointDetailed`. + * Added `routeOptimized` field for `com.databricks.sdk.service.serving.ServingEndpointDetailed`. + * Added `tags` field for `com.databricks.sdk.service.sql.DashboardEditContent`. `com.databricks.sdk.service.sql.QueryEditContent` and `com.databricks.sdk.service.sql.QueryPostContent`. + * Added `catalog` field for `com.databricks.sdk.service.sql.QueryOptions`. + * Added `schema` field for `com.databricks.sdk.service.sql.QueryOptions`. + * Added `query` field for `com.databricks.sdk.service.sql.Visualization`. + * Added `com.databricks.sdk.service.pipelines.IngestionConfig` class. + * Added `com.databricks.sdk.service.pipelines.ManagedIngestionPipelineDefinition` class. + * Added `com.databricks.sdk.service.pipelines.SchemaSpec` class. + * Added `com.databricks.sdk.service.pipelines.TableSpec` class. + * Added `com.databricks.sdk.service.serving.App` class. + * Added `com.databricks.sdk.service.serving.AppDeployment` class. + * Added `com.databricks.sdk.service.serving.AppDeploymentState` class. + * Added `com.databricks.sdk.service.serving.AppDeploymentStatus` class. + * Added `com.databricks.sdk.service.serving.AppEnvironment` class. + * Added `com.databricks.sdk.service.serving.AppState` class. + * Added `com.databricks.sdk.service.serving.AppStatus` class. + * Added `com.databricks.sdk.service.serving.CreateAppDeploymentRequest` class. + * Added `com.databricks.sdk.service.serving.CreateAppRequest` class. + * Added `com.databricks.sdk.service.serving.EnvVariable` class. + * Added `com.databricks.sdk.service.serving.GetAppDeploymentRequest` class. + * Added `com.databricks.sdk.service.serving.GetAppEnvironmentRequest` class. + * Added `com.databricks.sdk.service.serving.GetOpenApiRequest` class. + * Added `Object` class. + * Added `com.databricks.sdk.service.serving.ListAppDeploymentsRequest` class. + * Added `com.databricks.sdk.service.serving.ListAppDeploymentsResponse` class. + * Added `com.databricks.sdk.service.serving.ListAppsRequest` class. + * Added `com.databricks.sdk.service.serving.StopAppRequest` class. + * Added `Object` class. + * Added `com.databricks.sdk.service.serving.UpdateAppRequest` class. + * Added `com.databricks.sdk.service.settings.ComplianceSecurityProfile` class. + * Added `com.databricks.sdk.service.settings.ComplianceSecurityProfileSetting` class. + * Added `com.databricks.sdk.service.settings.EnhancedSecurityMonitoring` class. + * Added `com.databricks.sdk.service.settings.EnhancedSecurityMonitoringSetting` class. + * Added `com.databricks.sdk.service.settings.GetComplianceSecurityProfileSettingRequest` class. + * Added `com.databricks.sdk.service.settings.GetEnhancedSecurityMonitoringSettingRequest` class. + * Added `com.databricks.sdk.service.settings.UpdateComplianceSecurityProfileSettingRequest` class. + * Added `com.databricks.sdk.service.settings.UpdateEnhancedSecurityMonitoringSettingRequest` class. + * Added `workspaceClient.complianceSecurityProfile()` service. + * Added `workspaceClient.enhancedSecurityMonitoring()` service. + * Removed `workspaceClient.cspEnablement()` service. + * Removed `workspaceClient.esmEnablement()` service. + * Removed `com.databricks.sdk.service.serving.AppEvents` class. + * Removed `com.databricks.sdk.service.serving.AppManifest` class. + * Removed `com.databricks.sdk.service.serving.AppServiceStatus` class. + * Removed `com.databricks.sdk.service.serving.DeleteAppResponse` class. + * Removed `com.databricks.sdk.service.serving.DeployAppRequest` class. + * Removed `com.databricks.sdk.service.serving.DeploymentStatus` class. + * Removed `com.databricks.sdk.service.serving.DeploymentStatusState` class. + * Removed `com.databricks.sdk.service.serving.GetAppDeploymentStatusRequest` class. + * Removed `com.databricks.sdk.service.serving.GetAppResponse` class. + * Removed `com.databricks.sdk.service.serving.GetEventsRequest` class. + * Removed `com.databricks.sdk.service.serving.ListAppEventsResponse` class. + * Removed `com.databricks.sdk.service.settings.CspEnablement` class. + * Removed `com.databricks.sdk.service.settings.CspEnablementSetting` class. + * Removed `com.databricks.sdk.service.settings.EsmEnablement` class. + * Removed `com.databricks.sdk.service.settings.EsmEnablementSetting` class. + * Removed `com.databricks.sdk.service.settings.GetCspEnablementSettingRequest` class. + * Removed `com.databricks.sdk.service.settings.GetEsmEnablementSettingRequest` class. + * Removed `com.databricks.sdk.service.settings.UpdateCspEnablementSettingRequest` class. + * Removed `com.databricks.sdk.service.settings.UpdateEsmEnablementSettingRequest` class. + +OpenAPI SHA: 84f9315bc9cdcf3917f764cf608255a74271ab2c, Date: 2024-05-06 + +### Internal Changes +* Update SDK to OpenAPI spec ([#280](https://github.com/databricks/databricks-sdk-java/pull/280)). +* Remove unused script from repository root ([#281](https://github.com/databricks/databricks-sdk-java/pull/281)). +* Add missing return ([#283](https://github.com/databricks/databricks-sdk-java/pull/283)). +* Fix test that was picking up configuration from the environment ([#287](https://github.com/databricks/databricks-sdk-java/pull/287)). + + ## 0.24.1 * Fixed interrupt handling ([#272](https://github.com/databricks/databricks-sdk-java/pull/272)). diff --git a/databricks-sdk-java/pom.xml b/databricks-sdk-java/pom.xml index a08f546da..ab1c4b55b 100644 --- a/databricks-sdk-java/pom.xml +++ b/databricks-sdk-java/pom.xml @@ -5,7 +5,7 @@ com.databricks databricks-sdk-parent - 0.24.1 + 0.25.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 86a8a07d8..faf3067bd 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.24.1"; + private static final String version = "0.25.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 eb4fe876c..61bf9d182 100644 --- a/examples/docs/pom.xml +++ b/examples/docs/pom.xml @@ -24,7 +24,7 @@ com.databricks databricks-sdk-java - 0.24.1 + 0.25.0 diff --git a/examples/spring-boot-oauth-u2m-demo/pom.xml b/examples/spring-boot-oauth-u2m-demo/pom.xml index 4a0f46959..bdbe9e24a 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.24.1 + 0.25.0 com.fasterxml.jackson.datatype diff --git a/pom.xml b/pom.xml index 8129da996..613483413 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 com.databricks databricks-sdk-parent - 0.24.1 + 0.25.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 d994dacac..f60dd5a09 100644 --- a/shaded/pom.xml +++ b/shaded/pom.xml @@ -4,7 +4,7 @@ 4.0.0 - 0.24.1 + 0.25.0 com.databricks