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.7.0 #143

Merged
merged 1 commit into from
Aug 29, 2023
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
2 changes: 1 addition & 1 deletion .codegen/_openapi_sha
Original file line number Diff line number Diff line change
@@ -1 +1 @@
be3d4a799362f0d5ddbfeb0a0acdfb91f8736a3b
5d0ccbb790d341eae8e85321a685a9e9e2d5bf24
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,7 @@ databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/Privilege.j
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/PrivilegeAssignment.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/PropertiesKvPairs.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ProvisioningInfo.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ProvisioningInfoState.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ReadVolumeRequest.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/RegisteredModelAlias.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/RegisteredModelInfo.java linguist-generated=true
Expand Down Expand Up @@ -468,6 +469,7 @@ databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/Termination
databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/TerminationReasonType.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/UninstallLibraries.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/UnpinCluster.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/VolumesStorageInfo.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/WorkloadType.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/WorkspaceStorageInfo.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/files/AddBlock.java linguist-generated=true
Expand Down
73 changes: 73 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,78 @@
# Version changelog

## 0.7.0

* Added support for propagating Request Headers through API Client ([#135](https://github.com/databricks/databricks-sdk-java/pull/135)).
* Added support for InputStream for streaming request and response bodies ([#138](https://github.com/databricks/databricks-sdk-java/pull/138)).
* Fixed query param serialization for requests with enums ([#140](https://github.com/databricks/databricks-sdk-java/pull/140)).

Breaking API Changes:
* Changed `list()` method for `accountClient.storageCredentials()` service to return `com.databricks.sdk.service.catalog.StorageCredentialInfoList` class.
* Removed `workspaceClient.securableTags()` service and all related classes.
* Removed `workspaceClient.subentityTags()` service and all related classes.
* Renamed `provisioningState` field for `com.databricks.sdk.service.catalog.ConnectionInfo` to `provisioningInfo`.
* Removed `instancePoolFleetAttributes` field for `com.databricks.sdk.service.compute.CreateInstancePool`.
* Removed `instancePoolFleetAttributes` field for `com.databricks.sdk.service.compute.EditInstancePool`.
* Removed `com.databricks.sdk.service.compute.FleetLaunchTemplateOverride` class.
* Removed `com.databricks.sdk.service.compute.FleetOnDemandOption` class.
* Removed `com.databricks.sdk.service.compute.FleetOnDemandOptionAllocationStrategy` class.
* Removed `com.databricks.sdk.service.compute.FleetSpotOption` class.
* Removed `com.databricks.sdk.service.compute.FleetSpotOptionAllocationStrategy` class.
* Removed `instancePoolFleetAttributes` field for `com.databricks.sdk.service.compute.GetInstancePool`.
* Removed `instancePoolFleetAttributes` field for `com.databricks.sdk.service.compute.InstancePoolAndStats`.
* Removed `com.databricks.sdk.service.compute.InstancePoolFleetAttributes` class.
* Changed `getByName()` method for `workspaceClient.experiments()` service to return `com.databricks.sdk.service.ml.GetExperimentResponse` class.
* Changed `getExperiment()` method for `workspaceClient.experiments()` service to return `com.databricks.sdk.service.ml.GetExperimentResponse` class.
* Renamed `com.databricks.sdk.service.ml.GetExperimentByNameResponse` class to `com.databricks.sdk.service.ml.GetExperimentResponse`.

API Changes:

* Added `workspaceClient.modelVersions()` service.
* Added `workspaceClient.registeredModels()` service.
* Added `browseOnly` field for `com.databricks.sdk.service.catalog.CatalogInfo`.
* Added `fullName` field for `com.databricks.sdk.service.catalog.CatalogInfo`.
* Added `provisioningInfo` field for `com.databricks.sdk.service.catalog.CatalogInfo`.
* Added `securableKind` field for `com.databricks.sdk.service.catalog.CatalogInfo`.
* Added `securableType` field for `com.databricks.sdk.service.catalog.CatalogInfo`.
* Added `options` field for `com.databricks.sdk.service.catalog.CreateCatalog`.
* Added `options` field for `com.databricks.sdk.service.catalog.UpdateCatalog`.
* Added `com.databricks.sdk.service.catalog.CatalogInfoSecurableKind` class.
* Added `com.databricks.sdk.service.catalog.CreateRegisteredModelRequest` class.
* Added `com.databricks.sdk.service.catalog.DeleteAliasRequest` class.
* Added `com.databricks.sdk.service.catalog.DeleteModelVersionRequest` class.
* Added `com.databricks.sdk.service.catalog.DeleteRegisteredModelRequest` class.
* Added `com.databricks.sdk.service.catalog.GetByAliasRequest` class.
* Added `com.databricks.sdk.service.catalog.GetModelVersionRequest` class.
* Added `com.databricks.sdk.service.catalog.GetRegisteredModelRequest` class.
* Added `com.databricks.sdk.service.catalog.ListModelVersionsRequest` class.
* Added `com.databricks.sdk.service.catalog.ListModelVersionsResponse` class.
* Added `com.databricks.sdk.service.catalog.ListRegisteredModelsRequest` class.
* Added `com.databricks.sdk.service.catalog.ListRegisteredModelsResponse` class.
* Added `com.databricks.sdk.service.catalog.ModelVersionInfo` class.
* Added `com.databricks.sdk.service.catalog.ModelVersionInfoStatus` class.
* Added `com.databricks.sdk.service.catalog.ProvisioningInfo` class.
* Added `com.databricks.sdk.service.catalog.ProvisioningInfoState` class.
* Added `com.databricks.sdk.service.catalog.RegisteredModelAlias` class.
* Added `com.databricks.sdk.service.catalog.RegisteredModelInfo` class.
* Added `com.databricks.sdk.service.catalog.SetRegisteredModelAliasRequest` class.
* Added `com.databricks.sdk.service.catalog.UpdateModelVersionRequest` class.
* Added `com.databricks.sdk.service.catalog.UpdateRegisteredModelRequest` class.
* Added `volumes` field for `com.databricks.sdk.service.compute.InitScriptInfo`.
* Added `com.databricks.sdk.service.compute.VolumesStorageInfo` class.
* Added `workspaceClient.files()` service.
* Added `com.databricks.sdk.service.files.DeleteFileRequest` class.
* Added `com.databricks.sdk.service.files.DownloadRequest` class.
* Added `com.databricks.sdk.service.files.DownloadResponse` class.
* Added `com.databricks.sdk.service.files.UploadRequest` class.
* Added `customTags` field for `com.databricks.sdk.service.provisioning.CreateWorkspaceRequest`.
* Added `customTags` field for `com.databricks.sdk.service.provisioning.UpdateWorkspaceRequest`.
* Added `customTags` field for `com.databricks.sdk.service.provisioning.Workspace`.
* Added `com.databricks.sdk.service.provisioning.CustomTags` class.
* Added `parameters` field for `com.databricks.sdk.service.sql.ExecuteStatementRequest`.
* Added `rowLimit` field for `com.databricks.sdk.service.sql.ExecuteStatementRequest`.
* Added `com.databricks.sdk.service.sql.StatementParameterListItem` class.

OpenAPI SHA: 5d0ccbb790d341eae8e85321a685a9e9e2d5bf24, Date: 2023-08-29
## 0.6.0

* Added support for `dbutils.secrets` ([#132](https://github.com/databricks/databricks-sdk-java/pull/132)).
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.6.0</version>
<version>0.7.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.6.0";
private static final String version = "0.7.0";

public static void withProduct(String product, String productVersion) {
UserAgent.product = product;
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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.6.0</version>
<version>0.7.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
Loading