Skip to content

Commit

Permalink
Release v0.20.0 (#246)
Browse files Browse the repository at this point in the history
## 0.20.0

### Features and Improvements
* Added basic support for HTTP proxies
([#241](#241)).
* Fixed getWorkspaceClient() for GCP
([#224](#224)).
* Note: Backwards incompatible changes - Settings are now nested, please
see the API changes below.

### Internal Changes
* Reading headers should be done in a case-insensitive manner
([#235](#235)).
* Added integration tests for the Files API
([#236](#236)).
* Supported subservices
([#237](#237)).
* Handled empty types in the Java SDK
([#239](#239)).
* Added tokei.rs lines of code badge
([#243](#243)).
* Updated SDK to latest OpenAPI spec
([#245](#245)).

### API Changes:
 * Added the following services: 
    - `workspaceClient.permissionMigration()`
    - `workspaceClient.automaticClusterUpdate()`
    - `workspaceClient.cspEnablement()`
    - `accountClient.cspEnablementAccount()`
    - `workspaceClient.defaultNamespace()`
    - `workspaceClient.esmEnablement()`
    - `accountClient.esmEnablementAccount()`
    - `accountClient.personalCompute()`
    - `workspaceClient.restrictWorkspaceAdmins()`
 * Added the following classes: 
    - `com.databricks.sdk.service.iam.PermissionMigrationRequest`
    - `com.databricks.sdk.service.iam.PermissionMigrationResponse`
- `com.databricks.sdk.service.settings.AutomaticClusterUpdateSetting`
    - `com.databricks.sdk.service.settings.ClusterAutoRestartMessage`
-
`com.databricks.sdk.service.settings.ClusterAutoRestartMessageEnablementDetails`
-
`com.databricks.sdk.service.settings.ClusterAutoRestartMessageMaintenanceWindow`
-
`com.databricks.sdk.service.settings.ClusterAutoRestartMessageMaintenanceWindowDayOfWeek`
-
`com.databricks.sdk.service.settings.ClusterAutoRestartMessageMaintenanceWindowWeekDayBasedSchedule`
-
`com.databricks.sdk.service.settings.ClusterAutoRestartMessageMaintenanceWindowWeekDayFrequency`
-
`com.databricks.sdk.service.settings.ClusterAutoRestartMessageMaintenanceWindowWindowStartTime`
    - `com.databricks.sdk.service.settings.ComplianceStandard`
    - `com.databricks.sdk.service.settings.CspEnablement`
    - `com.databricks.sdk.service.settings.CspEnablementAccount`
    - `com.databricks.sdk.service.settings.CspEnablementAccountSetting`
    - `com.databricks.sdk.service.settings.CspEnablementSetting`
- `com.databricks.sdk.service.settings.DeleteDefaultNamespaceRequest`
    - `com.databricks.sdk.service.settings.DeletePersonalComputeRequest`
-
`com.databricks.sdk.service.settings.DeleteRestrictWorkspaceAdminRequest`
    - `com.databricks.sdk.service.settings.EsmEnablement`
    - `com.databricks.sdk.service.settings.EsmEnablementAccount`
    - `com.databricks.sdk.service.settings.EsmEnablementAccountSetting`
    - `com.databricks.sdk.service.settings.EsmEnablementSetting`
- `com.databricks.sdk.service.settings.GetAutomaticClusterUpdateRequest`
- `com.databricks.sdk.service.settings.GetCspEnablementAccountRequest`
    - `com.databricks.sdk.service.settings.GetCspEnablementRequest`
    - `com.databricks.sdk.service.settings.GetDefaultNamespaceRequest`
- `com.databricks.sdk.service.settings.GetEsmEnablementAccountRequest`
    - `com.databricks.sdk.service.settings.GetEsmEnablementRequest`
    - `com.databricks.sdk.service.settings.GetPersonalComputeRequest`
- `com.databricks.sdk.service.settings.GetRestrictWorkspaceAdminRequest`
    - `com.databricks.sdk.service.settings.NccAwsStableIpRule`
-
`com.databricks.sdk.service.settings.UpdateAutomaticClusterUpdateSettingRequest`
-
`com.databricks.sdk.service.settings.UpdateCspEnablementAccountSettingRequest`
-
`com.databricks.sdk.service.settings.UpdateCspEnablementSettingRequest`
-
`com.databricks.sdk.service.settings.UpdateEsmEnablementAccountSettingRequest`
-
`com.databricks.sdk.service.settings.UpdateEsmEnablementSettingRequest`
 * Removed the follogin classes: 
-
`com.databricks.sdk.service.settings.DeleteDefaultNamespaceSettingRequest`
-
`com.databricks.sdk.service.settings.DeletePersonalComputeSettingRequest`
-
`com.databricks.sdk.service.settings.DeleteRestrictWorkspaceAdminsSettingRequest`
-
`com.databricks.sdk.service.settings.GetDefaultNamespaceSettingRequest`
- `com.databricks.sdk.service.settings.GetPersonalComputeSettingRequest`
-
`com.databricks.sdk.service.settings.GetRestrictWorkspaceAdminsSettingRequest`
* Changed `version` field for
`com.databricks.sdk.service.serving.AppManifest` to
`com.databricks.sdk.service.serving.AnyValue` class.
* Removed `deletePersonalComputeSetting()`,
`getPersonalComputeSetting()` and `updatePersonalComputeSetting()`
method for `accountClient.settings()` service.
* Removed `deleteDefaultNamespaceSetting()`,
`deleteRestrictWorkspaceAdminsSetting()`,
`getDefaultNamespaceSetting()`, `getRestrictWorkspaceAdminsSetting()`,
`updateDefaultNamespaceSetting()` and
`updateRestrictWorkspaceAdminsSetting()` method for
`workspaceClient.settings()` service.
* Added `awsStableIpRule` field for
`com.databricks.sdk.service.settings.NccEgressDefaultRules`.
* Added `indexName` field for
`com.databricks.sdk.service.vectorsearch.DeleteDataVectorIndexRequest`.
* Added `embeddingModelEndpointName` field for
`com.databricks.sdk.service.vectorsearch.EmbeddingSourceColumn`.
* Added `indexName` field for
`com.databricks.sdk.service.vectorsearch.UpsertDataVectorIndexRequest`.
* Added `deltaSyncIndexSpec` field for
`com.databricks.sdk.service.vectorsearch.VectorIndex`.
* Added `directAccessIndexSpec` field for
`com.databricks.sdk.service.vectorsearch.VectorIndex`.
* Changed `deleteEndpoint()`, `createIndex()`, `deleteDataVectorIndex()`
and `upsertDataVectorIndex()` method for
`workspaceClient.vectorSearchEndpoints()` service with new required
argument order.
* Changed `endpointName` field for
`com.databricks.sdk.service.vectorsearch.CreateVectorIndexRequest` to be
required.
* Removed `planningPhases` field for
`com.databricks.sdk.service.sql.QueryMetrics`.
* Removed `name` field for
`com.databricks.sdk.service.vectorsearch.DeleteDataVectorIndexRequest`.
* Removed `name` field for
`com.databricks.sdk.service.vectorsearch.DeleteEndpointRequest`.
* Removed `com.databricks.sdk.service.vectorsearch.EmbeddingConfig`
class.
* Removed `embeddingConfig` field for
`com.databricks.sdk.service.vectorsearch.EmbeddingSourceColumn`.
* Removed `name` field for
`com.databricks.sdk.service.vectorsearch.UpsertDataVectorIndexRequest`.
* Removed `deltaSyncVectorIndexSpec` field for
`com.databricks.sdk.service.vectorsearch.VectorIndex`.
* Removed `directAccessVectorIndexSpec` field for
`com.databricks.sdk.service.vectorsearch.VectorIndex`.

OpenAPI SHA: d855b30f25a06fe84f25214efa20e7f1fffcdf9e, Date: 2024-03-04
  • Loading branch information
tanmay-db authored Mar 4, 2024
1 parent ff16c11 commit bfc4c93
Show file tree
Hide file tree
Showing 6 changed files with 98 additions and 5 deletions.
93 changes: 93 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,98 @@
# Version changelog

## 0.20.0

### Features and Improvements
* Added basic support for HTTP proxies ([#241](https://github.com/databricks/databricks-sdk-java/pull/241)).
* Fixed getWorkspaceClient() for GCP ([#224](https://github.com/databricks/databricks-sdk-java/pull/224)).
* Note: Backwards incompatible changes - Settings are now nested, please see the API changes below.

### Internal Changes
* Reading headers should be done in a case-insensitive manner ([#235](https://github.com/databricks/databricks-sdk-java/pull/235)).
* Added integration tests for the Files API ([#236](https://github.com/databricks/databricks-sdk-java/pull/236)).
* Supported subservices ([#237](https://github.com/databricks/databricks-sdk-java/pull/237)).
* Handled empty types in the Java SDK ([#239](https://github.com/databricks/databricks-sdk-java/pull/239)).
* Added tokei.rs lines of code badge ([#243](https://github.com/databricks/databricks-sdk-java/pull/243)).
* Updated SDK to latest OpenAPI spec ([#245](https://github.com/databricks/databricks-sdk-java/pull/245)).

### API Changes:
* Added the following services:
- `workspaceClient.permissionMigration()`
- `workspaceClient.automaticClusterUpdate()`
- `workspaceClient.cspEnablement()`
- `accountClient.cspEnablementAccount()`
- `workspaceClient.defaultNamespace()`
- `workspaceClient.esmEnablement()`
- `accountClient.esmEnablementAccount()`
- `accountClient.personalCompute()`
- `workspaceClient.restrictWorkspaceAdmins()`
* Added the following classes:
- `com.databricks.sdk.service.iam.PermissionMigrationRequest`
- `com.databricks.sdk.service.iam.PermissionMigrationResponse`
- `com.databricks.sdk.service.settings.AutomaticClusterUpdateSetting`
- `com.databricks.sdk.service.settings.ClusterAutoRestartMessage`
- `com.databricks.sdk.service.settings.ClusterAutoRestartMessageEnablementDetails`
- `com.databricks.sdk.service.settings.ClusterAutoRestartMessageMaintenanceWindow`
- `com.databricks.sdk.service.settings.ClusterAutoRestartMessageMaintenanceWindowDayOfWeek`
- `com.databricks.sdk.service.settings.ClusterAutoRestartMessageMaintenanceWindowWeekDayBasedSchedule`
- `com.databricks.sdk.service.settings.ClusterAutoRestartMessageMaintenanceWindowWeekDayFrequency`
- `com.databricks.sdk.service.settings.ClusterAutoRestartMessageMaintenanceWindowWindowStartTime`
- `com.databricks.sdk.service.settings.ComplianceStandard`
- `com.databricks.sdk.service.settings.CspEnablement`
- `com.databricks.sdk.service.settings.CspEnablementAccount`
- `com.databricks.sdk.service.settings.CspEnablementAccountSetting`
- `com.databricks.sdk.service.settings.CspEnablementSetting`
- `com.databricks.sdk.service.settings.DeleteDefaultNamespaceRequest`
- `com.databricks.sdk.service.settings.DeletePersonalComputeRequest`
- `com.databricks.sdk.service.settings.DeleteRestrictWorkspaceAdminRequest`
- `com.databricks.sdk.service.settings.EsmEnablement`
- `com.databricks.sdk.service.settings.EsmEnablementAccount`
- `com.databricks.sdk.service.settings.EsmEnablementAccountSetting`
- `com.databricks.sdk.service.settings.EsmEnablementSetting`
- `com.databricks.sdk.service.settings.GetAutomaticClusterUpdateRequest`
- `com.databricks.sdk.service.settings.GetCspEnablementAccountRequest`
- `com.databricks.sdk.service.settings.GetCspEnablementRequest`
- `com.databricks.sdk.service.settings.GetDefaultNamespaceRequest`
- `com.databricks.sdk.service.settings.GetEsmEnablementAccountRequest`
- `com.databricks.sdk.service.settings.GetEsmEnablementRequest`
- `com.databricks.sdk.service.settings.GetPersonalComputeRequest`
- `com.databricks.sdk.service.settings.GetRestrictWorkspaceAdminRequest`
- `com.databricks.sdk.service.settings.NccAwsStableIpRule`
- `com.databricks.sdk.service.settings.UpdateAutomaticClusterUpdateSettingRequest`
- `com.databricks.sdk.service.settings.UpdateCspEnablementAccountSettingRequest`
- `com.databricks.sdk.service.settings.UpdateCspEnablementSettingRequest`
- `com.databricks.sdk.service.settings.UpdateEsmEnablementAccountSettingRequest`
- `com.databricks.sdk.service.settings.UpdateEsmEnablementSettingRequest`
* Removed the follogin classes:
- `com.databricks.sdk.service.settings.DeleteDefaultNamespaceSettingRequest`
- `com.databricks.sdk.service.settings.DeletePersonalComputeSettingRequest`
- `com.databricks.sdk.service.settings.DeleteRestrictWorkspaceAdminsSettingRequest`
- `com.databricks.sdk.service.settings.GetDefaultNamespaceSettingRequest`
- `com.databricks.sdk.service.settings.GetPersonalComputeSettingRequest`
- `com.databricks.sdk.service.settings.GetRestrictWorkspaceAdminsSettingRequest`
* Changed `version` field for `com.databricks.sdk.service.serving.AppManifest` to `com.databricks.sdk.service.serving.AnyValue` class.
* Removed `deletePersonalComputeSetting()`, `getPersonalComputeSetting()` and `updatePersonalComputeSetting()` method for `accountClient.settings()` service.
* Removed `deleteDefaultNamespaceSetting()`, `deleteRestrictWorkspaceAdminsSetting()`, `getDefaultNamespaceSetting()`, `getRestrictWorkspaceAdminsSetting()`, `updateDefaultNamespaceSetting()` and `updateRestrictWorkspaceAdminsSetting()` method for `workspaceClient.settings()` service.
* Added `awsStableIpRule` field for `com.databricks.sdk.service.settings.NccEgressDefaultRules`.
* Added `indexName` field for `com.databricks.sdk.service.vectorsearch.DeleteDataVectorIndexRequest`.
* Added `embeddingModelEndpointName` field for `com.databricks.sdk.service.vectorsearch.EmbeddingSourceColumn`.
* Added `indexName` field for `com.databricks.sdk.service.vectorsearch.UpsertDataVectorIndexRequest`.
* Added `deltaSyncIndexSpec` field for `com.databricks.sdk.service.vectorsearch.VectorIndex`.
* Added `directAccessIndexSpec` field for `com.databricks.sdk.service.vectorsearch.VectorIndex`.
* Changed `deleteEndpoint()`, `createIndex()`, `deleteDataVectorIndex()` and `upsertDataVectorIndex()` method for `workspaceClient.vectorSearchEndpoints()` service with new required argument order.
* Changed `endpointName` field for `com.databricks.sdk.service.vectorsearch.CreateVectorIndexRequest` to be required.
* Removed `planningPhases` field for `com.databricks.sdk.service.sql.QueryMetrics`.
* Removed `name` field for `com.databricks.sdk.service.vectorsearch.DeleteDataVectorIndexRequest`.
* Removed `name` field for `com.databricks.sdk.service.vectorsearch.DeleteEndpointRequest`.
* Removed `com.databricks.sdk.service.vectorsearch.EmbeddingConfig` class.
* Removed `embeddingConfig` field for `com.databricks.sdk.service.vectorsearch.EmbeddingSourceColumn`.
* Removed `name` field for `com.databricks.sdk.service.vectorsearch.UpsertDataVectorIndexRequest`.
* Removed `deltaSyncVectorIndexSpec` field for `com.databricks.sdk.service.vectorsearch.VectorIndex`.
* Removed `directAccessVectorIndexSpec` field for `com.databricks.sdk.service.vectorsearch.VectorIndex`.

OpenAPI SHA: d855b30f25a06fe84f25214efa20e7f1fffcdf9e, Date: 2024-03-04


## 0.19.0

Internal Changes:
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.19.0</version>
<version>0.20.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.19.0";
private static final String version = "0.20.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.19.0</version>
<version>0.20.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.19.0</version>
<version>0.20.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.19.0</version>
<version>0.20.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

0 comments on commit bfc4c93

Please sign in to comment.