Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v0.25.0 #288

Merged
merged 2 commits into from
May 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
91 changes: 91 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)).
Expand Down
2 changes: 1 addition & 1 deletion databricks-sdk-java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.databricks</groupId>
<artifactId>databricks-sdk-parent</artifactId>
<version>0.24.1</version>
<version>0.25.0</version>
</parent>
<artifactId>databricks-sdk-java</artifactId>
<properties>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion examples/docs/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<dependency>
<groupId>com.databricks</groupId>
<artifactId>databricks-sdk-java</artifactId>
<version>0.24.1</version>
<version>0.25.0</version>
</dependency>
</dependencies>
</project>
2 changes: 1 addition & 1 deletion examples/spring-boot-oauth-u2m-demo/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
<dependency>
<groupId>com.databricks</groupId>
<artifactId>databricks-sdk-java</artifactId>
<version>0.24.1</version>
<version>0.25.0</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.datatype</groupId>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.databricks</groupId>
<artifactId>databricks-sdk-parent</artifactId>
<version>0.24.1</version>
<version>0.25.0</version>
<packaging>pom</packaging>
<name>Databricks SDK for Java</name>
<description>The Databricks SDK for Java includes functionality to accelerate development with Java for
Expand Down
2 changes: 1 addition & 1 deletion shaded/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>

<properties>
<sdk.version>0.24.1</sdk.version>
<sdk.version>0.25.0</sdk.version>
</properties>

<groupId>com.databricks</groupId>
Expand Down
Loading