Skip to content

Commit

Permalink
Release v0.12.0 (#182)
Browse files Browse the repository at this point in the history
* Implemented notebook-native auth for the Java SDK
([#171](#171)).
* Addeded regression question to github issue template
([#176](#176)).
* Marked Java SDK as Beta
([#177](#177)).
* Updated SDK to latest OpenAPI Spec
([#181](#181)).

API Changes:

* Changed `create()` method for `workspaceClient.functions()` and
`workspaceClient.metastores()` service.
 * Changed the following fields:
* `inputParams` field for
`com.databricks.sdk.service.catalog.CreateFunction` to
`com.databricks.sdk.service.catalog.FunctionParameterInfos` class.
* `properties` field for
`com.databricks.sdk.service.catalog.CreateFunction` to `String` class.
* `returnParams` field for
`com.databricks.sdk.service.catalog.CreateFunction` to
`com.databricks.sdk.service.catalog.FunctionParameterInfos` class.
* `storageRoot` field for
`com.databricks.sdk.service.catalog.CreateMetastore` to no longer be
required.
* `inputParams` field for
`com.databricks.sdk.service.catalog.FunctionInfo` to
`com.databricks.sdk.service.catalog.FunctionParameterInfos` class.
* `properties` field for
`com.databricks.sdk.service.catalog.FunctionInfo` to `String` class.
* `returnParams` field for
`com.databricks.sdk.service.catalog.FunctionInfo` to
`com.databricks.sdk.service.catalog.FunctionParameterInfos` class.
 * Added the following fields:
* `skipValidation` field for
`com.databricks.sdk.service.catalog.UpdateExternalLocation`.
* `libraries` field for
`com.databricks.sdk.service.compute.CreatePolicy`,
`com.databricks.sdk.service.compute.EditPolicy` and
`com.databricks.sdk.service.compute.Policy`.
* `initScripts` field for
`com.databricks.sdk.service.compute.EventDetails`.
* `file` field for `com.databricks.sdk.service.compute.InitScriptInfo`.
* `zoneId` field for
`com.databricks.sdk.service.compute.InstancePoolGcpAttributes`.
* `editMode` field for `com.databricks.sdk.service.jobs.CreateJob` and
`com.databricks.sdk.service.jobs.JobSettings`.
* `includeResolvedValues` field for
`com.databricks.sdk.service.jobs.GetRunRequest`.
* `networkConnectivityConfigId` field for
`com.databricks.sdk.service.provisioning.UpdateWorkspaceRequest`.
* `containerLogs` and `extraInfo` field for
`com.databricks.sdk.service.serving.DeploymentStatus`.
* Added `deleteApp()`, `getApp()`, `getAppDeploymentStatus()`,
`getApps()` and `getEvents()` method for `workspaceClient.apps()`
service.
 * Added `accountClient.networkConnectivity()` service. 
 * Added the following classses: 
* `com.databricks.sdk.service.compute`: `LocalFileInfo`,
`InitScriptInfoAndExecutionDetails`, `InitScriptEventDetails`,
`InitScriptExecutionDetails` and `InitScriptExecutionDetailsStatus`.
* `com.databricks.sdk.service.jobs`: `JobSettingsEditMode` and
`CreateJobEditMode`.
* `com.databricks.sdk.service.catalog`: `CreateFunctionRequest`,
`DependencyList` and `FunctionParameterInfos`.
* `com.databricks.sdk.service.serving`: `AppEvents`, `AppServiceStatus`,
`DeleteAppResponse`, `GetAppDeploymentStatusRequest`, `GetAppResponse`,
`GetEventsRequest`, `ListAppEventsResponse` and `ListAppsResponse`.
* `com.databricks.sdk.service.settings`:
`CreateNetworkConnectivityConfigRequest`,
`CreatePrivateEndpointRuleRequest`,
`CreatePrivateEndpointRuleRequestGroupId`,
`DeleteNetworkConnectivityConfigurationRequest`,
`DeletePrivateEndpointRuleRequest`,
`GetNetworkConnectivityConfigurationRequest`,
`GetPrivateEndpointRuleRequest`, `NccAzurePrivateEndpointRule`,
`NccAzurePrivateEndpointRuleConnectionState`,
`NccAzurePrivateEndpointRuleGroupId`, `NccAzureServiceEndpointRule`,
`NccEgressConfig`, `NccEgressDefaultRules`, `NccEgressTargetRules` and
`NetworkConnectivityConfiguration`.
 * Removed the following fields:
   * `uiState` field for `com.databricks.sdk.service.jobs.CreateJob`.
   * `uiState` field for `com.databricks.sdk.service.jobs.JobSettings`.
* Removed `delete()` and `get()` method for `workspaceClient.apps()`
service.
 * Removed `accountClient.oAuthEnrollment()` service.
* Removed the following classes:
`com.databricks.sdk.service.jobs.CreateJobUiState`,
`com.databricks.sdk.service.jobs.JobSettingsUiState`,
`com.databricks.sdk.service.oauth2.CreateOAuthEnrollment` and
`com.databricks.sdk.service.oauth2.OAuthEnrollmentStatus`.

OpenAPI SHA: e7b127cb07af8dd4d8c61c7cc045c8910cdbb02a, Date: 2023-11-08
  • Loading branch information
tanmay-db authored Nov 10, 2023
1 parent ddc05ee commit fba8c36
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 3 deletions.
46 changes: 46 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,51 @@
# Version changelog

## 0.12.0

* Implemented notebook-native auth for the Java SDK ([#171](https://github.com/databricks/databricks-sdk-java/pull/171)).
* Addeded regression question to github issue template ([#176](https://github.com/databricks/databricks-sdk-java/pull/176)).
* Marked Java SDK as Beta ([#177](https://github.com/databricks/databricks-sdk-java/pull/177)).
* Updated SDK to latest OpenAPI Spec ([#181](https://github.com/databricks/databricks-sdk-java/pull/181)).

API Changes:

* Changed `create()` method for `workspaceClient.functions()` and `workspaceClient.metastores()` service.
* Changed the following fields:
* `inputParams` field for `com.databricks.sdk.service.catalog.CreateFunction` to `com.databricks.sdk.service.catalog.FunctionParameterInfos` class.
* `properties` field for `com.databricks.sdk.service.catalog.CreateFunction` to `String` class.
* `returnParams` field for `com.databricks.sdk.service.catalog.CreateFunction` to `com.databricks.sdk.service.catalog.FunctionParameterInfos` class.
* `storageRoot` field for `com.databricks.sdk.service.catalog.CreateMetastore` to no longer be required.
* `inputParams` field for `com.databricks.sdk.service.catalog.FunctionInfo` to `com.databricks.sdk.service.catalog.FunctionParameterInfos` class.
* `properties` field for `com.databricks.sdk.service.catalog.FunctionInfo` to `String` class.
* `returnParams` field for `com.databricks.sdk.service.catalog.FunctionInfo` to `com.databricks.sdk.service.catalog.FunctionParameterInfos` class.
* Added the following fields:
* `skipValidation` field for `com.databricks.sdk.service.catalog.UpdateExternalLocation`.
* `libraries` field for `com.databricks.sdk.service.compute.CreatePolicy`, `com.databricks.sdk.service.compute.EditPolicy` and `com.databricks.sdk.service.compute.Policy`.
* `initScripts` field for `com.databricks.sdk.service.compute.EventDetails`.
* `file` field for `com.databricks.sdk.service.compute.InitScriptInfo`.
* `zoneId` field for `com.databricks.sdk.service.compute.InstancePoolGcpAttributes`.
* `editMode` field for `com.databricks.sdk.service.jobs.CreateJob` and `com.databricks.sdk.service.jobs.JobSettings`.
* `includeResolvedValues` field for `com.databricks.sdk.service.jobs.GetRunRequest`.
* `networkConnectivityConfigId` field for `com.databricks.sdk.service.provisioning.UpdateWorkspaceRequest`.
* `containerLogs` and `extraInfo` field for `com.databricks.sdk.service.serving.DeploymentStatus`.
* Added `deleteApp()`, `getApp()`, `getAppDeploymentStatus()`, `getApps()` and `getEvents()` method for `workspaceClient.apps()` service.
* Added `accountClient.networkConnectivity()` service.
* Added the following classses:
* `com.databricks.sdk.service.compute`: `LocalFileInfo`, `InitScriptInfoAndExecutionDetails`, `InitScriptEventDetails`, `InitScriptExecutionDetails` and `InitScriptExecutionDetailsStatus`.
* `com.databricks.sdk.service.jobs`: `JobSettingsEditMode` and `CreateJobEditMode`.
* `com.databricks.sdk.service.catalog`: `CreateFunctionRequest`, `DependencyList` and `FunctionParameterInfos`.
* `com.databricks.sdk.service.serving`: `AppEvents`, `AppServiceStatus`, `DeleteAppResponse`, `GetAppDeploymentStatusRequest`, `GetAppResponse`, `GetEventsRequest`, `ListAppEventsResponse` and `ListAppsResponse`.
* `com.databricks.sdk.service.settings`: `CreateNetworkConnectivityConfigRequest`, `CreatePrivateEndpointRuleRequest`, `CreatePrivateEndpointRuleRequestGroupId`, `DeleteNetworkConnectivityConfigurationRequest`, `DeletePrivateEndpointRuleRequest`, `GetNetworkConnectivityConfigurationRequest`, `GetPrivateEndpointRuleRequest`, `NccAzurePrivateEndpointRule`, `NccAzurePrivateEndpointRuleConnectionState`, `NccAzurePrivateEndpointRuleGroupId`, `NccAzureServiceEndpointRule`, `NccEgressConfig`, `NccEgressDefaultRules`, `NccEgressTargetRules` and `NetworkConnectivityConfiguration`.
* Removed the following fields:
* `uiState` field for `com.databricks.sdk.service.jobs.CreateJob`.
* `uiState` field for `com.databricks.sdk.service.jobs.JobSettings`.
* Removed `delete()` and `get()` method for `workspaceClient.apps()` service.
* Removed `accountClient.oAuthEnrollment()` service.
* Removed the following classes: `com.databricks.sdk.service.jobs.CreateJobUiState`, `com.databricks.sdk.service.jobs.JobSettingsUiState`, `com.databricks.sdk.service.oauth2.CreateOAuthEnrollment` and `com.databricks.sdk.service.oauth2.OAuthEnrollmentStatus`.

OpenAPI SHA: e7b127cb07af8dd4d8c61c7cc045c8910cdbb02a, Date: 2023-11-08


## 0.11.0

* Adjust token expiry window to 40 seconds because of Azure ([#170](https://github.com/databricks/databricks-sdk-java/pull/170)).
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.11.0</version>
<version>0.12.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.11.0";
private static final String version = "0.12.0";

public static void withProduct(String product, String productVersion) {
UserAgent.product = product;
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.11.0</version>
<version>0.12.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 fba8c36

Please sign in to comment.