Skip to content

Releases: databricks/databricks-sdk-java

v0.12.0

13 Nov 11:35
v0.12.0
fba8c36
Compare
Choose a tag to compare
  • Implemented notebook-native auth for the Java SDK (#171).
  • Addeded regression question to github issue template (#176).
  • Marked Java SDK as Beta (#177).
  • Updated SDK to latest OpenAPI Spec (#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

v0.11.0

25 Oct 10:24
c64abf5
Compare
Choose a tag to compare
  • Adjust token expiry window to 40 seconds because of Azure (#170).
  • Use same logic as Go SDK for DatabricksConfig.isAzure() (#174).

API Changes:

  • Added attributes, count, excludedAttributes, filter, sortBy, sortOrder, and startIndex fields for com.databricks.sdk.service.iam.GetAccountUserRequest and com.databricks.sdk.service.iam.GetUserRequest.
  • Added schemas field for com.databricks.sdk.service.iam.Group, com.databricks.sdk.service.iam.ListGroupsResponse, com.databricks.sdk.service.iam.ListServicePrincipalResponse, com.databricks.sdk.service.iam.ListUsersResponse, com.databricks.sdk.service.iam.ServicePrincipal, and com.databricks.sdk.service.iam.User.
  • Added com.databricks.sdk.service.iam.GetSortOrder, com.databricks.sdk.service.iam.GroupSchema, com.databricks.sdk.service.iam.ListResponseSchema, com.databricks.sdk.service.iam.ServicePrincipalSchema, and com.databricks.sdk.service.iam.UserSchema class.
  • Added webhookNotifications field for com.databricks.sdk.service.jobs.SubmitTask.
  • Added workspaceClient.apps() service and related classes.
  • Added accountClient.networkPolicy() service and related classes.

OpenAPI SHA: 5903bb39137fd76ac384b2044e425f9c56840e00, Date: 2023-10-23

Dependency updates:

  • Bump org.junit:junit-bom from 5.9.3 to 5.10.0 (#124).
  • Bump org.slf4j:slf4j-api from 2.0.7 to 2.0.9 (#146).
  • Bump org.slf4j:slf4j-reload4j from 2.0.7 to 2.0.9 (#147).
  • Bump org.apache.maven.plugins:maven-javadoc-plugin from 3.5.0 to 3.6.0 (#156).

v0.10.0

12 Oct 13:37
e620d74
Compare
Choose a tag to compare
  • Don't fail codegen if the tree was already removed (#164).
  • Update OpenAPI spec to 12 Oct 2023 (#165).

API Changes:

  • Changed download() method for accountClient.billableUsage() service to start returning com.databricks.sdk.service.billing.DownloadResponse class.
  • Added com.databricks.sdk.service.billing.DownloadResponse class.
  • Changed delete() method for accountClient.storageCredentials() service with new required argument order.
  • Changed get() method for accountClient.storageCredentials() service with new required argument order.
  • Changed update() method for accountClient.storageCredentials() service with new required argument order.
  • Added getBindings() method for workspaceClient.workspaceBindings() service.
  • Added updateBindings() method for workspaceClient.workspaceBindings() service.
  • Removed name field for com.databricks.sdk.service.catalog.AccountsUpdateStorageCredential.
  • Added storageCredentialName field for com.databricks.sdk.service.catalog.AccountsUpdateStorageCredential.
  • Removed name field for com.databricks.sdk.service.catalog.DeleteAccountStorageCredentialRequest.
  • Added storageCredentialName field for com.databricks.sdk.service.catalog.DeleteAccountStorageCredentialRequest.
  • Removed name field for com.databricks.sdk.service.catalog.GetAccountStorageCredentialRequest.
  • Added storageCredentialName field for com.databricks.sdk.service.catalog.GetAccountStorageCredentialRequest.
  • Added owner field for com.databricks.sdk.service.catalog.UpdateConnection.
  • Added com.databricks.sdk.service.catalog.GetBindingsRequest class.
  • Added com.databricks.sdk.service.catalog.UpdateWorkspaceBindingsParameters class.
  • Added com.databricks.sdk.service.catalog.WorkspaceBinding class.
  • Added com.databricks.sdk.service.catalog.WorkspaceBindingBindingType class.
  • Added com.databricks.sdk.service.catalog.WorkspaceBindingsResponse class.
  • Added spec field for com.databricks.sdk.service.compute.ClusterDetails.
  • Added applyPolicyDefaultValues field for com.databricks.sdk.service.compute.ClusterSpec.
  • Removed awsAttributes field for com.databricks.sdk.service.compute.EditInstancePool.
  • Removed azureAttributes field for com.databricks.sdk.service.compute.EditInstancePool.
  • Removed diskSpec field for com.databricks.sdk.service.compute.EditInstancePool.
  • Removed enableElasticDisk field for com.databricks.sdk.service.compute.EditInstancePool.
  • Removed gcpAttributes field for com.databricks.sdk.service.compute.EditInstancePool.
  • Removed preloadedDockerImages field for com.databricks.sdk.service.compute.EditInstancePool.
  • Removed preloadedSparkVersions field for com.databricks.sdk.service.compute.EditInstancePool.
  • Added deployment field for com.databricks.sdk.service.jobs.CreateJob.
  • Added uiState field for com.databricks.sdk.service.jobs.CreateJob.
  • Added deployment field for com.databricks.sdk.service.jobs.JobSettings.
  • Added uiState field for com.databricks.sdk.service.jobs.JobSettings.
  • Removed conditionTask field for com.databricks.sdk.service.jobs.RunOutput.
  • Added webhookNotifications field for com.databricks.sdk.service.jobs.Task.
  • Added com.databricks.sdk.service.jobs.CreateJobUiState class.
  • Added com.databricks.sdk.service.jobs.JobDeployment class.
  • Added com.databricks.sdk.service.jobs.JobDeploymentKind class.
  • Added com.databricks.sdk.service.jobs.JobSettingsUiState class.
  • Added workloadType field for com.databricks.sdk.service.serving.ServedModelInput.
  • Added workloadType field for com.databricks.sdk.service.serving.ServedModelOutput.
  • Removed accountClient.networkPolicy() service.
  • Changed list() method for workspaceClient.ipAccessLists() service to return com.databricks.sdk.service.settings.ListIpAccessListResponse class.
  • Removed com.databricks.sdk.service.settings.AccountNetworkPolicyMessage class.
  • Removed com.databricks.sdk.service.settings.DeleteAccountNetworkPolicyRequest class.
  • Removed com.databricks.sdk.service.settings.DeleteAccountNetworkPolicyResponse class.
  • Removed ipAccessLists field for com.databricks.sdk.service.settings.GetIpAccessListResponse.
  • Added ipAccessList field for com.databricks.sdk.service.settings.GetIpAccessListResponse.
  • Removed com.databricks.sdk.service.settings.ReadAccountNetworkPolicyRequest class.
  • Removed com.databricks.sdk.service.settings.UpdateAccountNetworkPolicyRequest class.
  • Added com.databricks.sdk.service.settings.ListIpAccessListResponse class.

OpenAPI SHA: 493a76554afd3afdd15dc858773d01643f80352a, Date: 2023-10-12

v0.9.0

03 Oct 09:31
17092b9
Compare
Choose a tag to compare
  • Add additional error metadata to API errors (#153).
  • Bugfix: Chunk streaming request bodies only (#157).
  • Relicense the Java SDK using the Apache 2.0 license (#158).

Breaking API Changes:

  • Changed list() method for accountClient.metastoreAssignments() service to return com.databricks.sdk.service.catalog.ListAccountMetastoreAssignmentsResponse class.
  • Changed artifactMatchers field for com.databricks.sdk.service.catalog.ArtifactAllowlistInfo to com.databricks.sdk.service.catalog.ArtifactMatcherList class.
  • Removed owner field for com.databricks.sdk.service.catalog.CreateConnection. Use instead the owner field of UpdateConnection.
  • Changed artifactMatchers field for com.databricks.sdk.service.catalog.SetArtifactAllowlist to com.databricks.sdk.service.catalog.ArtifactMatcherList class.
  • Removed options field for com.databricks.sdk.service.catalog.UpdateCatalog.
  • Changed cancelAllRuns() method for workspaceClient.jobs() service with new required argument order.
  • Changed jobId field for com.databricks.sdk.service.jobs.CancelAllRuns to no longer be required.
  • Changed jobParameters field for com.databricks.sdk.service.jobs.RunNow to com.databricks.sdk.service.jobs.ParamPairs class.
  • Changed query() method for workspaceClient.servingEndpoints() service. New request type is com.databricks.sdk.service.serving.QueryEndpointInput class.
  • Removed com.databricks.sdk.service.serving.QueryRequest class.
  • Changed list() method for workspaceClient.cleanRooms() service to require request of com.databricks.sdk.service.sharing.ListCleanRoomsRequest class.
  • Changed executeStatement() method for workspaceClient.statementExecution() service with new required argument order.
  • Renamed com.databricks.sdk.service.sql.ChunkInfo class to BaseChunkInfo.
  • Changed onWaitTimeout field for com.databricks.sdk.service.sql.ExecuteStatementRequest to com.databricks.sdk.service.sql.ExecuteStatementRequestOnWaitTimeout class.
  • Changed statement field for com.databricks.sdk.service.sql.ExecuteStatementRequest to be required.
  • Changed warehouseId field for com.databricks.sdk.service.sql.ExecuteStatementRequest to be required.
  • Changed chunks field for com.databricks.sdk.service.sql.ResultManifest to com.databricks.sdk.service.sql.BaseChunkInfoList class.
  • Renamed com.databricks.sdk.service.sql.TimeoutAction class to ExecuteStatementRequestOnWaitTimeout.

API Changes:

  • Added com.databricks.sdk.service.catalog.ListAccountMetastoreAssignmentsResponse class.
  • Added com.databricks.sdk.service.catalog.WorkspaceId class.
  • Added allQueuedRuns field for com.databricks.sdk.service.jobs.CancelAllRuns.
  • Added queue field for com.databricks.sdk.service.jobs.CreateJob.
  • Added queue field for com.databricks.sdk.service.jobs.JobSettings.
  • Added jobParameters field for com.databricks.sdk.service.jobs.RepairRun.
  • Added queue field for com.databricks.sdk.service.jobs.RunNow.
  • Added jobParameters field for com.databricks.sdk.service.jobs.RunParameters.
  • Added queueReason field for com.databricks.sdk.service.jobs.RunState.
  • Added queueDuration field for com.databricks.sdk.service.jobs.RunTask.
  • Added queue field for com.databricks.sdk.service.jobs.SubmitRun.
  • Added com.databricks.sdk.service.jobs.QueueSettings class.
  • Added accountClient.oAuthPublishedApps() service.
  • Added com.databricks.sdk.service.oauth2.GetPublishedAppsOutput class.
  • Added com.databricks.sdk.service.oauth2.ListOAuthPublishedAppsRequest class.
  • Added com.databricks.sdk.service.oauth2.PublishedAppOutput class.
  • Added notifications field for com.databricks.sdk.service.pipelines.CreatePipeline.
  • Added notifications field for com.databricks.sdk.service.pipelines.EditPipeline.
  • Added notifications field for com.databricks.sdk.service.pipelines.PipelineSpec.
  • Added com.databricks.sdk.service.pipelines.Notifications class.
  • Added patch() method for workspaceClient.servingEndpoints() service.
  • Added tags field for com.databricks.sdk.service.serving.CreateServingEndpoint.
  • Added tags field for com.databricks.sdk.service.serving.ServingEndpoint.
  • Added tags field for com.databricks.sdk.service.serving.ServingEndpointDetailed.
  • Added com.databricks.sdk.service.serving.DataframeSplitInput class.
  • Added com.databricks.sdk.service.serving.EndpointTag class.
  • Added com.databricks.sdk.service.serving.PatchServingEndpointTags class.
  • Added com.databricks.sdk.service.serving.QueryEndpointInput class.
  • Added workspaceClient.credentialsManager() service.
  • Added workspaceClient.settings() service.
  • Added com.databricks.sdk.service.settings.DefaultNamespaceSetting class.
  • Added com.databricks.sdk.service.settings.DeleteDefaultWorkspaceNamespaceRequest class.
  • Added com.databricks.sdk.service.settings.DeleteDefaultWorkspaceNamespaceResponse class.
  • Added com.databricks.sdk.service.settings.ExchangeToken class.
  • Added com.databricks.sdk.service.settings.ExchangeTokenRequest class.
  • Added com.databricks.sdk.service.settings.ExchangeTokenResponse class.
  • Added com.databricks.sdk.service.settings.PartitionId class.
  • Added com.databricks.sdk.service.settings.ReadDefaultWorkspaceNamespaceRequest class.
  • Added com.databricks.sdk.service.settings.StringMessage class.
  • Added com.databricks.sdk.service.settings.TokenType class.
  • Added com.databricks.sdk.service.settings.UpdateDefaultWorkspaceNamespaceRequest class.
  • Added nextPageToken field for com.databricks.sdk.service.sharing.ListCleanRoomsResponse.
  • Added com.databricks.sdk.service.sharing.ListCleanRoomsRequest class.
  • Added emptyResultState field for com.databricks.sdk.service.sql.AlertOptions.
  • Added truncated field for com.databricks.sdk.service.sql.ResultManifest.
  • Added com.databricks.sdk.service.sql.AlertOptionsEmptyResultState class.

OpenAPI SHA: bcbf6e851e3d82fd910940910dd31c10c059746c, Date: 2023-10-02

v0.8.1

11 Sep 15:45
0337b77
Compare
Choose a tag to compare
  • Fix Files API integration test (#150).
  • [DECO-2483] Handle Azure authentication when WorkspaceResourceID is provided (#145).

v0.8.0

04 Sep 14:47
6ee0ff7
Compare
Choose a tag to compare
  • Adding mock constructor method for WorkspaceClient to support mocked ApiClient (#144).

API Changes:

  • Renamed permissions APIs to no longer include the service name, for example:
    • getJobPermissionLevels -> getPermissionLevels
    • getJobPermissions -> getPermissions
    • setJobPermissions -> setPermissions
    • updateJobPermissions -> updatePermissions
  • Changed create() method for workspaceClient.volumes() service with new required argument order.
  • Added supportsElasticDisk field for com.databricks.sdk.service.compute.NodeType.
  • Changed create() method for workspaceClient.dashboards() service with new required argument order.
  • Added workspaceClient.dashboardWidgets() service.
  • Added workspaceClient.queryVisualizations() service.
  • Changed name field for com.databricks.sdk.service.sql.CreateDashboardRequest to be required.
  • Added dashboardFiltersEnabled field for com.databricks.sdk.service.sql.CreateDashboardRequest.
  • Added runAsRole field for com.databricks.sdk.service.sql.CreateDashboardRequest.
  • Added runAsRole field for com.databricks.sdk.service.sql.Query.
  • Added runAsRole field for com.databricks.sdk.service.sql.QueryPostContent.
  • Removed dashboardId field for com.databricks.sdk.service.sql.WidgetOptions.
  • Changed position field for com.databricks.sdk.service.sql.WidgetOptions to com.databricks.sdk.service.sql.WidgetPosition class.
  • Removed text field for com.databricks.sdk.service.sql.WidgetOptions.
  • Added description field for com.databricks.sdk.service.sql.WidgetOptions.
  • Added title field for com.databricks.sdk.service.sql.WidgetOptions.
  • Added com.databricks.sdk.service.sql.CreateQueryVisualizationRequest class.
  • Added com.databricks.sdk.service.sql.CreateWidget class.
  • Added com.databricks.sdk.service.sql.DeleteDashboardWidgetRequest class.
  • Added com.databricks.sdk.service.sql.DeleteQueryVisualizationRequest class.
  • Added com.databricks.sdk.service.sql.RunAsRole class.
  • Added com.databricks.sdk.service.sql.WidgetPosition class.

OpenAPI SHA: 09a7fa63d9ae243e5407941f200960ca14d48b07, Date: 2023-09-04

v0.7.0

30 Aug 09:33
v0.7.0
3a8494e
Compare
Choose a tag to compare
Release v0.7.0

v0.6.0

18 Aug 08:54
1d47a74
Compare
Choose a tag to compare
  • Added support for dbutils.secrets (#132).
  • Added retry in w.clusters().ensureClusterIsRunning(id) when cluster is simultaneously started by two different processes (#134).
  • Set necessary headers when authenticating via Azure CLI (#136).

New Services:

  • Added workspaceClient.artifactAllowlists() service.
  • Added workspaceClient.securableTags() service.
  • Added workspaceClient.subentityTags() service.
  • Added com.databricks.sdk.service.catalog.ArtifactAllowlistInfo class.
  • Added com.databricks.sdk.service.catalog.ArtifactMatcher class.
  • Added com.databricks.sdk.service.catalog.ArtifactType class.
  • Added com.databricks.sdk.service.catalog.GetArtifactAllowlistRequest class.
  • Added com.databricks.sdk.service.catalog.ListSecurableTagsRequest class.
  • Added com.databricks.sdk.service.catalog.ListSecurableType class.
  • Added com.databricks.sdk.service.catalog.ListSubentityTagsRequest class.
  • Added com.databricks.sdk.service.catalog.MatchType class.
  • Added com.databricks.sdk.service.catalog.SetArtifactAllowlist class.
  • Added com.databricks.sdk.service.catalog.TagChanges class.
  • Added com.databricks.sdk.service.catalog.TagKeyValuePair class.
  • Added com.databricks.sdk.service.catalog.TagSecurable class.
  • Added com.databricks.sdk.service.catalog.TagSecurableAssignment class.
  • Added com.databricks.sdk.service.catalog.TagSecurableAssignmentsList class.
  • Added com.databricks.sdk.service.catalog.TagSubentity class.
  • Added com.databricks.sdk.service.catalog.TagSubentityAssignmentsList class.
  • Added com.databricks.sdk.service.catalog.TagsSubentityAssignment class.
  • Added com.databricks.sdk.service.catalog.UpdateSecurableType class.
  • Added com.databricks.sdk.service.catalog.UpdateTags class.

New APIs:

  • Added deleteRuns() method for workspaceClient.experiments() service.
  • Added restoreRuns() method for workspaceClient.experiments() service.
  • Added com.databricks.sdk.service.ml.DeleteRuns class.
  • Added com.databricks.sdk.service.ml.DeleteRunsResponse class.
  • Added com.databricks.sdk.service.ml.RestoreRuns class.
  • Added com.databricks.sdk.service.ml.RestoreRunsResponse class.
  • Added getSecret() method for workspaceClient.secrets() service.
  • Added com.databricks.sdk.service.workspace.GetSecretRequest class.
  • Added com.databricks.sdk.service.workspace.GetSecretResponse class.

API Renames:

  • Renamed effectiveAutoMaintenanceFlag field to effectivePredictiveOptimizationFlag field for com.databricks.sdk.service.catalog.CatalogInfo.
  • Renamed enableAutoMaintenance field to enablePredictiveOptimization field for com.databricks.sdk.service.catalog.CatalogInfo.
  • Renamed com.databricks.sdk.service.catalog.EffectiveAutoMaintenanceFlag class to com.databricks.sdk.service.catalog.EffectivePredictiveOptimizationFlag class.
  • Renamed com.databricks.sdk.service.catalog.EffectiveAutoMaintenanceFlagInheritedFromType class to com.databricks.sdk.service.catalog.EffectivePredictiveOptimizationFlagInheritedFromType.
  • Renamed com.databricks.sdk.service.catalog.EnableAutoMaintenance class to com.databricks.sdk.service.catalog.EnablePredictiveOptimization.
  • Renamed effectiveAutoMaintenanceFlag field to effectivePredictiveOptimizationFlag field for com.databricks.sdk.service.catalog.SchemaInfo.
  • Renamed enableAutoMaintenance field to enablePredictiveOptimization field for com.databricks.sdk.service.catalog.SchemaInfo.
  • Renamed effectiveAutoMaintenanceFlag field to effectivePredictiveOptimizationFlag field for com.databricks.sdk.service.catalog.TableInfo.
  • Renamed enableAutoMaintenance field to enablePredictiveOptimization field for com.databricks.sdk.service.catalog.TableInfo.

OpenAPI SHA: beff621d7b3e1d59244e2e34fc53a496f310e130, Date: 2023-08-17

v0.5.0

14 Aug 07:38
0c01d94
Compare
Choose a tag to compare
Release v0.5.0 (#133)

API Changes:

* Changed `create()` method for `accountClient.storageCredentials()`
service to return
`com.databricks.sdk.service.catalog.AccountsStorageCredentialInfo`
class.
* Changed `get()` method for `accountClient.storageCredentials()`
service to return
`com.databricks.sdk.service.catalog.AccountsStorageCredentialInfo`
class.
* Changed `update()` method for `accountClient.storageCredentials()`
service to return
`com.databricks.sdk.service.catalog.AccountsStorageCredentialInfo`
class.
* Changed `create()` method for `workspaceClient.connections()` service
with new required argument order.
* Changed `update()` method for `workspaceClient.connections()` service
with new required argument order.
* Added `provisioningState` field for
`com.databricks.sdk.service.catalog.ConnectionInfo`.
* Added `securableKind` field for
`com.databricks.sdk.service.catalog.ConnectionInfo`.
* Added `securableType` field for
`com.databricks.sdk.service.catalog.ConnectionInfo`.
* Changed `algorithm` field for
`com.databricks.sdk.service.catalog.SseEncryptionDetails` to no longer
be required.
* Added
`com.databricks.sdk.service.catalog.AccountsStorageCredentialInfo`
class.
* Added `com.databricks.sdk.service.catalog.ConnectionInfoSecurableKind`
class.
 * Added `com.databricks.sdk.service.catalog.ProvisioningState` class.
* Added `dataSecurityMode` field for
`com.databricks.sdk.service.compute.CreateCluster`.
* Added `dockerImage` field for
`com.databricks.sdk.service.compute.CreateCluster`.
* Added `singleUserName` field for
`com.databricks.sdk.service.compute.CreateCluster`.

Bug fixes:

* Renamed `optionsKvpairs` field to `options` for
`com.databricks.sdk.service.catalog.ConnectionInfo`.
* Renamed `propertiesKvpairs` field to `properties` for
`com.databricks.sdk.service.catalog.ConnectionInfo`.
* Renamed `optionsKvpairs` field to `options` for
`com.databricks.sdk.service.catalog.CreateConnection`.
* Renamed `propertiesKvpairs` field to `properties` for
`com.databricks.sdk.service.catalog.CreateConnection`.
* Renamed `optionsKvpairs` field to `options` for
`com.databricks.sdk.service.catalog.UpdateConnection`.
* Renamed `schema` field to `schemas` for
`com.databricks.sdk.service.iam.PartialUpdate`.

OpenAPI SHA: 1e3533f94335f0e6c5d9262bc1fea95b3ddcb0e1, Date: 2023-08-11

v0.4.0

07 Aug 13:15
454d983
Compare
Choose a tag to compare

To simplify documentation and management of object permissions, this release features a major reorganization of how permissions APIs are structured in the SDK. Rather than using a single Permissions.Get() API for all services, each service supporting permissions has its own permissions APIs. Follow these steps to migrate to the current SDK:

  • Change w.permissions().get() and w.permissions().getByRequestOgjectIdAndRequestObjectType() to w.<Service>.get<Service>Permissions()
  • Change w.permissions().getPermissionLevels() to w.<Service>.getServicePermissionLevels()
  • Change w.permissions().set() to w.<Service>.set<Service>Permissions()
  • Change w.permissions().update() to w.<Service>.update<Service>Permissions()

API Changes:

  • Added getClusterPolicyPermissionLevels() method for workspaceClient.clusterPolicies() service.
  • Added getClusterPolicyPermissions() method for workspaceClient.clusterPolicies() service.
  • Added setClusterPolicyPermissions() method for workspaceClient.clusterPolicies() service.
  • Added updateClusterPolicyPermissions() method for workspaceClient.clusterPolicies() service.
  • Added getClusterPermissionLevels() method for workspaceClient.clusters() service.
  • Added getClusterPermissions() method for workspaceClient.clusters() service.
  • Added setClusterPermissions() method for workspaceClient.clusters() service.
  • Added updateClusterPermissions() method for workspaceClient.clusters() service.
  • Added getInstancePoolPermissionLevels() method for workspaceClient.instancePools() service.
  • Added getInstancePoolPermissions() method for workspaceClient.instancePools() service.
  • Added setInstancePoolPermissions() method for workspaceClient.instancePools() service.
  • Added updateInstancePoolPermissions() method for workspaceClient.instancePools() service.
  • Added com.databricks.sdk.service.compute.ClusterAccessControlRequest class.
  • Added com.databricks.sdk.service.compute.ClusterAccessControlResponse class.
  • Added com.databricks.sdk.service.compute.ClusterPermission class.
  • Added com.databricks.sdk.service.compute.ClusterPermissionLevel class.
  • Added com.databricks.sdk.service.compute.ClusterPermissions class.
  • Added com.databricks.sdk.service.compute.ClusterPermissionsDescription class.
  • Added com.databricks.sdk.service.compute.ClusterPermissionsRequest class.
  • Added com.databricks.sdk.service.compute.ClusterPolicyAccessControlRequest class.
  • Added com.databricks.sdk.service.compute.ClusterPolicyAccessControlResponse class.
  • Added com.databricks.sdk.service.compute.ClusterPolicyPermission class.
  • Added com.databricks.sdk.service.compute.ClusterPolicyPermissionLevel class.
  • Added com.databricks.sdk.service.compute.ClusterPolicyPermissions class.
  • Added com.databricks.sdk.service.compute.ClusterPolicyPermissionsDescription class.
  • Added com.databricks.sdk.service.compute.ClusterPolicyPermissionsRequest class.
  • Added com.databricks.sdk.service.compute.GetClusterPermissionLevelsRequest class.
  • Added com.databricks.sdk.service.compute.GetClusterPermissionLevelsResponse class.
  • Added com.databricks.sdk.service.compute.GetClusterPermissionsRequest class.
  • Added com.databricks.sdk.service.compute.GetClusterPolicyPermissionLevelsRequest class.
  • Added com.databricks.sdk.service.compute.GetClusterPolicyPermissionLevelsResponse class.
  • Added com.databricks.sdk.service.compute.GetClusterPolicyPermissionsRequest class.
  • Added com.databricks.sdk.service.compute.GetInstancePoolPermissionLevelsRequest class.
  • Added com.databricks.sdk.service.compute.GetInstancePoolPermissionLevelsResponse class.
  • Added com.databricks.sdk.service.compute.GetInstancePoolPermissionsRequest class.
  • Added com.databricks.sdk.service.compute.InstancePoolAccessControlRequest class.
  • Added com.databricks.sdk.service.compute.InstancePoolAccessControlResponse class.
  • Added com.databricks.sdk.service.compute.InstancePoolPermission class.
  • Added com.databricks.sdk.service.compute.InstancePoolPermissionLevel class.
  • Added com.databricks.sdk.service.compute.InstancePoolPermissions class.
  • Added com.databricks.sdk.service.compute.InstancePoolPermissionsDescription class.
  • Added com.databricks.sdk.service.compute.InstancePoolPermissionsRequest class.
  • Changed set() method for workspaceClient.permissions() service to start returning com.databricks.sdk.service.iam.ObjectPermissions class.
  • Changed update() method for workspaceClient.permissions() service to start returning com.databricks.sdk.service.iam.ObjectPermissions class.
  • Added getPasswordPermissionLevels() method for workspaceClient.users() service.
  • Added getPasswordPermissions() method for workspaceClient.users() service.
  • Added setPasswordPermissions() method for workspaceClient.users() service.
  • Added updatePasswordPermissions() method for workspaceClient.users() service.
  • Added displayName field for com.databricks.sdk.service.iam.AccessControlResponse.
  • Changed roles field for com.databricks.sdk.service.iam.GetAssignableRolesForResourceResponse to com.databricks.sdk.service.iam.RoleList class.
  • Added com.databricks.sdk.service.iam.GetPasswordPermissionLevelsResponse class.
  • Added com.databricks.sdk.service.iam.PasswordAccessControlRequest class.
  • Added com.databricks.sdk.service.iam.PasswordAccessControlResponse class.
  • Added com.databricks.sdk.service.iam.PasswordPermission class.
  • Added com.databricks.sdk.service.iam.PasswordPermissionLevel class.
  • Added com.databricks.sdk.service.iam.PasswordPermissions class.
  • Added com.databricks.sdk.service.iam.PasswordPermissionsDescription class.
  • Added com.databricks.sdk.service.iam.PasswordPermissionsRequest class.
  • Added com.databricks.sdk.service.iam.Role class.
  • Added getJobPermissionLevels() method for workspaceClient.jobs() service.
  • Added getJobPermissions() method for workspaceClient.jobs() service.
  • Added setJobPermissions() method for workspaceClient.jobs() service.
  • Added updateJobPermissions() method for workspaceClient.jobs() service.
  • Added com.databricks.sdk.service.jobs.GetJobPermissionLevelsRequest class.
  • Added com.databricks.sdk.service.jobs.GetJobPermissionLevelsResponse class.
  • Added com.databricks.sdk.service.jobs.GetJobPermissionsRequest class.
  • Added com.databricks.sdk.service.jobs.JobAccessControlRequest class.
  • Added com.databricks.sdk.service.jobs.JobAccessControlResponse class.
  • Added com.databricks.sdk.service.jobs.JobPermission class.
  • Added com.databricks.sdk.service.jobs.JobPermissionLevel class.
  • Added com.databricks.sdk.service.jobs.JobPermissions class.
  • Added com.databricks.sdk.service.jobs.JobPermissionsDescription class.
  • Added com.databricks.sdk.service.jobs.JobPermissionsRequest class.
  • Added getExperimentPermissionLevels() method for workspaceClient.experiments() service.
  • Added getExperimentPermissions() method for workspaceClient.experiments() service.
  • Added setExperimentPermissions() method for workspaceClient.experiments() service.
  • Added updateExperimentPermissions() method for workspaceClient.experiments() service.
  • Added getRegisteredModelPermissionLevels() method for workspaceClient.modelRegistry() service.
  • Added getRegisteredModelPermissions() method for workspaceClient.modelRegistry() service.
  • Added setRegisteredModelPermissions() method for workspaceClient.modelRegistry() service.
  • Added updateRegisteredModelPermissions() method for workspaceClient.modelRegistry() service.
  • Added com.databricks.sdk.service.ml.ExperimentAccessControlRequest class.
  • Added com.databricks.sdk.service.ml.ExperimentAccessControlResponse class.
  • Added com.databricks.sdk.service.ml.ExperimentPermission class.
  • Added com.databricks.sdk.service.ml.ExperimentPermissionLevel class.
  • Added com.databricks.sdk.service.ml.ExperimentPermissions class.
  • Added com.databricks.sdk.service.ml.ExperimentPermissionsDescription class.
  • Added com.databricks.sdk.service.ml.ExperimentPermissionsRequest class.
  • Added com.databricks.sdk.service.ml.GetExperimentPermissionLevelsRequest class.
  • Added com.databricks.sdk.service.ml.GetExperimentPermissionLevelsResponse class.
  • Added com.databricks.sdk.service.ml.GetExperimentPermissionsRequest class.
  • Added com.databricks.sdk.service.ml.GetRegisteredModelPermissionLevelsRequest class.
  • Added com.databricks.sdk.service.ml.GetRegisteredModelPermissionLevelsResponse class.
  • Added com.databricks.sdk.service.ml.GetRegisteredModelPermissionsRequest class.
  • Added com.databricks.sdk.service.ml.RegisteredModelAccessControlRequest class.
  • Added com.databricks.sdk.service.ml.RegisteredModelAccessControlResponse class.
  • Added com.databricks.sdk.service.ml.RegisteredModelPermission class.
  • Added com.databricks.sdk.service.ml.RegisteredModelPermissionLevel class.
  • Added com.databricks.sdk.service.ml.RegisteredModelPermissions class.
  • Added com.databricks.sdk.service.ml.RegisteredModelPermissionsDescription class.
  • Added com.databricks.sdk.service.ml.RegisteredModelPermissionsRequest class.
  • Added scopes field for com.databricks.sdk.service.oauth2.CreateCustomAppIntegration.
  • Added getPipelinePermissionLevels() method for workspaceClient.pipelines() service.
  • Added getPipelinePermissions() method for workspaceClient.pipelines() service.
  • Added setPipelinePermissions() method for workspaceClient.pipelines() service.
  • Added updatePipelinePermissions() method for workspaceClient.pipelines() service.
  • Added com.databricks.sdk.service.pipelines.GetPipelinePermissionLevelsRequest class.
  • Added com.databricks.sdk.service.pipelines.GetPipelinePermissionLevelsResponse class.
  • Added `com.datab...
Read more