Skip to content

Commit

Permalink
Release v0.13.0 (#194)
Browse files Browse the repository at this point in the history
Bug fixes:

* Fix databricks CLI authentication on Windows
([#192](#192)).
* Fix SCIM pagination
([#193](#193)).

Other changes:

* Add more detailed error message on default credentials not found error
([#180](#180)).
* Support custom scopes and redirectUrl for U2M OAuth flow
([#190](#190)).

API Changes:

* Removed `enableOptimization()` method for
`workspaceClient.metastores()` service.
* Added `pipelineId` field for
`com.databricks.sdk.service.catalog.TableInfo`.
* Added `enablePredictiveOptimization` field for
`com.databricks.sdk.service.catalog.UpdateCatalog` and
`com.databricks.sdk.service.catalog.UpdateSchema`.
* Removed
`com.databricks.sdk.service.catalog.UpdatePredictiveOptimization` and
`com.databricks.sdk.service.catalog.UpdatePredictiveOptimizationResponse`
class.
* Added `description` field for
`com.databricks.sdk.service.jobs.CreateJob` and
`com.databricks.sdk.service.jobs.JobSettings`.
* Added `listNetworkConnectivityConfigurations()` and
`listPrivateEndpointRules()` methods for
`accountClient.networkConnectivity()` service.
* Added
`com.databricks.sdk.service.settings.ListNccAzurePrivateEndpointRulesResponse`,
`com.databricks.sdk.service.settings.ListNetworkConnectivityConfigurationsRequest`,
`com.databricks.sdk.service.settings.ListNetworkConnectivityConfigurationsResponse`,
and
`com.databricks.sdk.service.settings.ListPrivateEndpointRulesRequest`
classes.
* Added `stringSharedAs` field for
`com.databricks.sdk.service.sharing.SharedDataObject`.

OpenAPI SHA: 22f09783eb8a84d52026f856be3b2068f9498db3, Date: 2023-11-23
  • Loading branch information
mgyucht authored Nov 29, 2023
1 parent 4bb8371 commit aa83a03
Show file tree
Hide file tree
Showing 12 changed files with 35 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .codegen/api.java.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ public class {{.PascalName}}API {
0
{{- end}}L);{{end -}}
{{if and .Pagination.Limit (contains .Path "/scim/v2/")}}
if (request.get{{.Pagination.Limit.PascalName}}() == 0L) {
if (request.get{{.Pagination.Limit.PascalName}}() == null) {
request.set{{.Pagination.Limit.PascalName}}(100L);
}{{end -}}
return new Paginator<>(request, impl::{{template "java-name" .}}, {{template "type" .Response}}::get{{.Pagination.Results.PascalName}}, response -> {
Expand Down
25 changes: 25 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,30 @@
# Version changelog

## 0.13.0

Bug fixes:

* Fix databricks CLI authentication on Windows ([#192](https://github.com/databricks/databricks-sdk-java/pull/192)).
* Fix SCIM pagination ([#193](https://github.com/databricks/databricks-sdk-java/pull/193)).

Other changes:

* Add more detailed error message on default credentials not found error ([#180](https://github.com/databricks/databricks-sdk-java/pull/180)).
* Support custom scopes and redirectUrl for U2M OAuth flow ([#190](https://github.com/databricks/databricks-sdk-java/pull/190)).

API Changes:

* Removed `enableOptimization()` method for `workspaceClient.metastores()` service.
* Added `pipelineId` field for `com.databricks.sdk.service.catalog.TableInfo`.
* Added `enablePredictiveOptimization` field for `com.databricks.sdk.service.catalog.UpdateCatalog` and `com.databricks.sdk.service.catalog.UpdateSchema`.
* Removed `com.databricks.sdk.service.catalog.UpdatePredictiveOptimization` and `com.databricks.sdk.service.catalog.UpdatePredictiveOptimizationResponse` class.
* Added `description` field for `com.databricks.sdk.service.jobs.CreateJob` and `com.databricks.sdk.service.jobs.JobSettings`.
* Added `listNetworkConnectivityConfigurations()` and `listPrivateEndpointRules()` methods for `accountClient.networkConnectivity()` service.
* Added `com.databricks.sdk.service.settings.ListNccAzurePrivateEndpointRulesResponse`, `com.databricks.sdk.service.settings.ListNetworkConnectivityConfigurationsRequest`, `com.databricks.sdk.service.settings.ListNetworkConnectivityConfigurationsResponse`, and `com.databricks.sdk.service.settings.ListPrivateEndpointRulesRequest` classes.
* Added `stringSharedAs` field for `com.databricks.sdk.service.sharing.SharedDataObject`.

OpenAPI SHA: 22f09783eb8a84d52026f856be3b2068f9498db3, Date: 2023-11-23

## 0.12.0

* Implemented notebook-native auth for the Java SDK ([#171](https://github.com/databricks/databricks-sdk-java/pull/171)).
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.12.0</version>
<version>0.13.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.12.0";
private static final String version = "0.13.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.

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.12.0</version>
<version>0.13.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 aa83a03

Please sign in to comment.