Skip to content

Releases: databricks/databricks-sdk-java

v0.35.0

07 Nov 15:56
v0.35.0
9b7ca5d
Compare
Choose a tag to compare

New Features and Improvements

  • DatabricksConfig: Add clone() support (#376).

Bug Fixes

  • Fix vulnerabilities in the present SDK version (#383).

Internal Changes

  • Add test instructions for external contributors (#370).
  • Always write message for manual test integration (#374).
  • Automatically trigger integration tests on PR (#369).
  • Move templates in the code generator (#373).
  • Refresh PR template (#381).

API Changes:

  • Added workspaceClient.aibiDashboardEmbeddingAccessPolicy() service and workspaceClient.aibiDashboardEmbeddingApprovedDomains() service.
  • Added workspaceClient.credentials() service.
  • Added appDeployment field for com.databricks.sdk.service.apps.CreateAppDeploymentRequest.
  • Added app field for com.databricks.sdk.service.apps.CreateAppRequest.
  • Added app field for com.databricks.sdk.service.apps.UpdateAppRequest.
  • Added table field for com.databricks.sdk.service.catalog.CreateOnlineTableRequest.
  • Added azureAad field for com.databricks.sdk.service.catalog.GenerateTemporaryTableCredentialResponse.
  • Added omitUsername field for com.databricks.sdk.service.catalog.ListTablesRequest.
  • Added fullName field for com.databricks.sdk.service.catalog.StorageCredentialInfo.
  • Added dashboard field for com.databricks.sdk.service.dashboards.CreateDashboardRequest.
  • Added schedule field for com.databricks.sdk.service.dashboards.CreateScheduleRequest.
  • Added subscription field for com.databricks.sdk.service.dashboards.CreateSubscriptionRequest.
  • Added warehouseId field for com.databricks.sdk.service.dashboards.Schedule.
  • Added dashboard field for com.databricks.sdk.service.dashboards.UpdateDashboardRequest.
  • Added schedule field for com.databricks.sdk.service.dashboards.UpdateScheduleRequest.
  • Added only field for com.databricks.sdk.service.jobs.RunNow.
  • Added pageToken field for com.databricks.sdk.service.oauth2.ListServicePrincipalSecretsRequest.
  • Added nextPageToken field for com.databricks.sdk.service.oauth2.ListServicePrincipalSecretsResponse.
  • Added restartWindow field for com.databricks.sdk.service.pipelines.CreatePipeline.
  • Added restartWindow field for com.databricks.sdk.service.pipelines.EditPipeline.
  • Added connectionName field for com.databricks.sdk.service.pipelines.IngestionGatewayPipelineDefinition.
  • Added restartWindow field for com.databricks.sdk.service.pipelines.PipelineSpec.
  • Added isNoPublicIpEnabled field for com.databricks.sdk.service.provisioning.CreateWorkspaceRequest.
  • Added privateAccessSettingsId field for com.databricks.sdk.service.provisioning.UpdateWorkspaceRequest.
  • Added externalCustomerInfo and isNoPublicIpEnabled fields for com.databricks.sdk.service.provisioning.Workspace.
  • Added lastUsedDay field for com.databricks.sdk.service.settings.TokenInfo.
  • Changed create() method for workspaceClient.apps() service with new required argument order.
  • Changed executeMessageQuery() method for workspaceClient.genie() service . New request type is com.databricks.sdk.service.dashboards.GenieExecuteMessageQueryRequest class.
  • Changed executeMessageQuery() method for workspaceClient.genie() service to type executeMessageQuery() method for workspaceClient.genie() service.
  • Changed create(), createSchedule(), createSubscription() and updateSchedule() methods for workspaceClient.lakeview() service with new required argument order.
  • Removed workspaceClient.cleanRooms() service.
  • Removed deploymentId, mode and sourceCodePath fields for com.databricks.sdk.service.apps.CreateAppDeploymentRequest.
  • Removed description, name and resources fields for com.databricks.sdk.service.apps.CreateAppRequest.
  • Removed description and resources fields for com.databricks.sdk.service.apps.UpdateAppRequest.
  • Removed name and spec fields for com.databricks.sdk.service.catalog.CreateOnlineTableRequest.
  • Removed displayName, parentPath, serializedDashboard and warehouseId fields for com.databricks.sdk.service.dashboards.CreateDashboardRequest.
  • Removed cronSchedule, displayName and pauseStatus fields for com.databricks.sdk.service.dashboards.CreateScheduleRequest.
  • Removed subscriber field for com.databricks.sdk.service.dashboards.CreateSubscriptionRequest.
  • Removed displayName, etag, serializedDashboard and warehouseId fields for com.databricks.sdk.service.dashboards.UpdateDashboardRequest.
  • Removed cronSchedule, displayName, etag and pauseStatus fields for com.databricks.sdk.service.dashboards.UpdateScheduleRequest.
  • Removed prevPageToken field for com.databricks.sdk.service.jobs.Run.

OpenAPI SHA: d25296d2f4aa7bd6195c816fdf82e0f960f775da, Date: 2024-11-07

v0.34.0

22 Oct 12:43
v0.34.0
7b32354
Compare
Choose a tag to compare

New Features and Improvements

  • Experimental: Make retry strategy configurable (#363).

Bug Fixes

  • CommonHttpsClient Builder - set timeout correctly (#362).

v0.33.0

18 Oct 13:14
v0.33.0
aa066bb
Compare
Choose a tag to compare
 * Fix Ubuntu unit tests on Github Actions ([#366](https://github.com…

v0.32.2

08 Oct 13:48
v0.32.2
6e71a0d
Compare
Choose a tag to compare

Bug Fixes

  • Make UserAgent's otherInfo thread-safe (#357).

v0.32.1

03 Oct 16:06
v0.32.1
32211bf
Compare
Choose a tag to compare

Bug Fixes

  • Retry on too many auth requests (#355).

v0.32.0

26 Sep 16:03
v0.32.0
1c44950
Compare
Choose a tag to compare

Release v0.32.0

Bug Fixes

  • Fix listAccountMetastoreAssignments Integration test (#350)
  • Fix parsing issue in ErrorDetail (#328)

Internal Changes

  • Update SDK to OpenAPI spec (#346).
  • Add DCO guidelines (#351)

API Changes:

  • Added workspaceClient.disableLegacyAccess() service and accountClient.disableLegacyFeatures() service.
  • Added workspaceClient.temporaryTableCredentials() service.
  • Added putAiGateway() method for workspaceClient.servingEndpoints() service.
  • Added com.databricks.sdk.service.apps.ApplicationState, com.databricks.sdk.service.apps.ApplicationStatus, com.databricks.sdk.service.apps.ComputeState and com.databricks.sdk.service.apps.ComputeStatus classes.
  • Added com.databricks.sdk.service.catalog.AwsCredentials, com.databricks.sdk.service.catalog.AzureUserDelegationSas, com.databricks.sdk.service.catalog.GcpOauthToken, com.databricks.sdk.service.catalog.GenerateTemporaryTableCredentialRequest, com.databricks.sdk.service.catalog.GenerateTemporaryTableCredentialResponse, com.databricks.sdk.service.catalog.R2Credentials and com.databricks.sdk.service.catalog.TableOperation classes.
  • Added com.databricks.sdk.service.serving.AiGatewayConfig, com.databricks.sdk.service.serving.AiGatewayGuardrailParameters, com.databricks.sdk.service.serving.AiGatewayGuardrailPiiBehavior, com.databricks.sdk.service.serving.AiGatewayGuardrailPiiBehaviorBehavior, com.databricks.sdk.service.serving.AiGatewayGuardrails, com.databricks.sdk.service.serving.AiGatewayInferenceTableConfig, com.databricks.sdk.service.serving.AiGatewayRateLimit, com.databricks.sdk.service.serving.AiGatewayRateLimitKey, com.databricks.sdk.service.serving.AiGatewayRateLimitRenewalPeriod, com.databricks.sdk.service.serving.AiGatewayUsageTrackingConfig, com.databricks.sdk.service.serving.PutAiGatewayRequest and com.databricks.sdk.service.serving.PutAiGatewayResponse classes.
  • Added com.databricks.sdk.service.settings.BooleanMessage, com.databricks.sdk.service.settings.DeleteDisableLegacyAccessRequest, com.databricks.sdk.service.settings.DeleteDisableLegacyAccessResponse, com.databricks.sdk.service.settings.DeleteDisableLegacyFeaturesRequest, com.databricks.sdk.service.settings.DeleteDisableLegacyFeaturesResponse, com.databricks.sdk.service.settings.DisableLegacyAccess, com.databricks.sdk.service.settings.DisableLegacyFeatures, com.databricks.sdk.service.settings.GetDisableLegacyAccessRequest, com.databricks.sdk.service.settings.GetDisableLegacyFeaturesRequest, com.databricks.sdk.service.settings.UpdateDisableLegacyAccessRequest and com.databricks.sdk.service.settings.UpdateDisableLegacyFeaturesRequest classes.
  • Added appStatus and computeStatus fields for com.databricks.sdk.service.apps.App.
  • Added deploymentId field for com.databricks.sdk.service.apps.CreateAppDeploymentRequest.
  • Added externalAccessEnabled field for com.databricks.sdk.service.catalog.GetMetastoreSummaryResponse.
  • Added includeManifestCapabilities field for com.databricks.sdk.service.catalog.GetTableRequest.
  • Added includeManifestCapabilities field for com.databricks.sdk.service.catalog.ListSummariesRequest.
  • Added includeManifestCapabilities field for com.databricks.sdk.service.catalog.ListTablesRequest.
  • Added externalAccessEnabled field for com.databricks.sdk.service.catalog.MetastoreInfo.
  • Added budgetPolicyId field for com.databricks.sdk.service.pipelines.CreatePipeline.
  • Added budgetPolicyId field for com.databricks.sdk.service.pipelines.EditPipeline.
  • Added effectiveBudgetPolicyId field for com.databricks.sdk.service.pipelines.GetPipelineResponse.
  • Added budgetPolicyId field for com.databricks.sdk.service.pipelines.PipelineSpec.
  • Added aiGateway field for com.databricks.sdk.service.serving.CreateServingEndpoint.
  • Added aiGateway field for com.databricks.sdk.service.serving.ServingEndpoint.
  • Added aiGateway field for com.databricks.sdk.service.serving.ServingEndpointDetailed.
  • Added workspaceId field for com.databricks.sdk.service.settings.TokenInfo.
  • Changed delete(), start() and stop() methods for workspaceClient.apps() service to return com.databricks.sdk.service.apps.App class.
  • Changed deploy() method for workspaceClient.apps() service with new required argument order.
  • Changed sourceCodePath field for com.databricks.sdk.service.apps.AppDeployment to no longer be required.
  • Changed sourceCodePath field for com.databricks.sdk.service.apps.CreateAppDeploymentRequest to no longer be required.
  • Changed returnParams and routineDependencies fields for com.databricks.sdk.service.catalog.CreateFunction to no longer be required.
  • Removed com.databricks.sdk.service.apps.AppState, com.databricks.sdk.service.apps.AppStatus, Object and Object classes.
  • Removed com.databricks.sdk.service.sql.ClientCallContext, com.databricks.sdk.service.sql.EncodedText, com.databricks.sdk.service.sql.EncodedTextEncoding, com.databricks.sdk.service.sql.QuerySource, com.databricks.sdk.service.sql.QuerySourceDriverInfo, com.databricks.sdk.service.sql.QuerySourceEntryPoint, com.databricks.sdk.service.sql.QuerySourceJobManager, com.databricks.sdk.service.sql.QuerySourceTrigger and com.databricks.sdk.service.sql.ServerlessChannelInfo classes.
  • Removed status field for com.databricks.sdk.service.apps.App.
  • Removed querySource field for com.databricks.sdk.service.sql.QueryInfo.

OpenAPI SHA: 6f6b1371e640f2dfeba72d365ac566368656f6b6, Date: 2024-09-19

v0.31.1

16 Sep 16:53
v0.31.1
82412f9
Compare
Choose a tag to compare

New Features and Improvements

  • Remove proxy settings from databricks config and use commons http client builder for connection manager (#337).

Bug Fixes

  • Remove Path Parameters from JSON body (#344).
  • Stop pagination on empty next page token (#343).

v0.31.0

04 Sep 12:36
v0.31.0
c0f6987
Compare
Choose a tag to compare

New Features and Improvements

  • Add a way to provide non proxy hosts (#331).
  • Add support for discovery URL (#336).
  • Provide SSLSocketFactory in HttpClient (#333).

Bug Fixes

  • DatabricksConfig: newWithWorkspaceHost should retain authType (#338).
  • Handle login.html incorrect validation for private link (#340).

Internal Changes

  • Fix nightly test failure (#339).

API Changes:

  • Added regenerateDashboard() method for workspaceClient.qualityMonitors() service.
  • Added com.databricks.sdk.service.catalog.RegenerateDashboardRequest and com.databricks.sdk.service.catalog.RegenerateDashboardResponse classes.
  • Added com.databricks.sdk.service.jobs.QueueDetails, com.databricks.sdk.service.jobs.QueueDetailsCodeCode, com.databricks.sdk.service.jobs.RunLifecycleStateV2State, com.databricks.sdk.service.jobs.RunStatus, com.databricks.sdk.service.jobs.TerminationCodeCode, com.databricks.sdk.service.jobs.TerminationDetails and com.databricks.sdk.service.jobs.TerminationTypeType classes.
  • Added status field for com.databricks.sdk.service.jobs.BaseRun.
  • Added status field for com.databricks.sdk.service.jobs.RepairHistoryItem.
  • Added status field for com.databricks.sdk.service.jobs.Run.
  • Added status field for com.databricks.sdk.service.jobs.RunTask.
  • Added maxProvisionedThroughput and minProvisionedThroughput fields for com.databricks.sdk.service.serving.ServedModelInput.
  • Added columnsToSync field for com.databricks.sdk.service.vectorsearch.DeltaSyncVectorIndexSpecRequest.
  • Changed workloadSize field for com.databricks.sdk.service.serving.ServedModelInput to no longer be required.

OpenAPI SHA: d05898328669a3f8ab0c2ecee37db2673d3ea3f7, Date: 2024-09-04

v0.30.0

21 Aug 14:19
v0.30.0
1b90e23
Compare
Choose a tag to compare

API Changes:

  • Added workspaceClient.policyComplianceForClusters() service.
  • Added workspaceClient.policyComplianceForJobs() service.
  • Added workspaceClient.resourceQuotas() service.
  • Added com.databricks.sdk.service.catalog.GetQuotaRequest, com.databricks.sdk.service.catalog.GetQuotaResponse, com.databricks.sdk.service.catalog.ListQuotasRequest, com.databricks.sdk.service.catalog.ListQuotasResponse and com.databricks.sdk.service.catalog.QuotaInfo classes.
  • Added com.databricks.sdk.service.compute.ClusterCompliance, com.databricks.sdk.service.compute.ClusterSettingsChange, com.databricks.sdk.service.compute.EnforceClusterComplianceRequest, com.databricks.sdk.service.compute.EnforceClusterComplianceResponse, com.databricks.sdk.service.compute.GetClusterComplianceRequest, com.databricks.sdk.service.compute.GetClusterComplianceResponse, com.databricks.sdk.service.compute.ListClusterCompliancesRequest and com.databricks.sdk.service.compute.ListClusterCompliancesResponse classes.
  • Added com.databricks.sdk.service.jobs.EnforcePolicyComplianceForJobResponseJobClusterSettingsChange, com.databricks.sdk.service.jobs.EnforcePolicyComplianceRequest, com.databricks.sdk.service.jobs.EnforcePolicyComplianceResponse, com.databricks.sdk.service.jobs.GetPolicyComplianceRequest, com.databricks.sdk.service.jobs.GetPolicyComplianceResponse, com.databricks.sdk.service.jobs.JobCompliance, com.databricks.sdk.service.jobs.ListJobComplianceForPolicyResponse and com.databricks.sdk.service.jobs.ListJobComplianceRequest classes.
  • Added fallback field for com.databricks.sdk.service.catalog.CreateExternalLocation.
  • Added fallback field for com.databricks.sdk.service.catalog.ExternalLocationInfo.
  • Added fallback field for com.databricks.sdk.service.catalog.UpdateExternalLocation.
  • Added jobRunId field for com.databricks.sdk.service.jobs.BaseRun.
  • Added jobRunId field for com.databricks.sdk.service.jobs.Run.
  • Added includeMetrics field for com.databricks.sdk.service.sql.ListQueryHistoryRequest.
  • Added statementIds field for com.databricks.sdk.service.sql.QueryFilter.
  • Removed com.databricks.sdk.service.sql.ContextFilter class.
  • Removed contextFilter field for com.databricks.sdk.service.sql.QueryFilter.
  • Removed pipelineId and pipelineUpdateId fields for com.databricks.sdk.service.sql.QuerySource.

OpenAPI SHA: 3eae49b444cac5a0118a3503e5b7ecef7f96527a, Date: 2024-08-21

v0.29.0

13 Aug 07:12
v0.29.0
1eade8b
Compare
Choose a tag to compare

Internal Changes

  • Test that Jobs API endpoints are pinned to 2.1 (#319).
  • w.clusters().list() is no longer limited to returning 200 all-purpose and 30 jobs clusters from the last 30 days. It now returns all terminated clusters in the last 30 days.

API Changes:

  • Added update() method for workspaceClient.clusters() service.
  • Added com.databricks.sdk.service.compute.UpdateCluster, com.databricks.sdk.service.compute.UpdateClusterResource and Object classes.
  • Added com.databricks.sdk.service.pipelines.IngestionPipelineDefinition class.
  • Added maxResults and pageToken fields for com.databricks.sdk.service.catalog.GetBindingsRequest.
  • Added includeAliases field for com.databricks.sdk.service.catalog.GetByAliasRequest.
  • Added includeAliases field for com.databricks.sdk.service.catalog.GetModelVersionRequest.
  • Added includeAliases field for com.databricks.sdk.service.catalog.GetRegisteredModelRequest.
  • Added maxResults and pageToken fields for com.databricks.sdk.service.catalog.ListSystemSchemasRequest.
  • Added nextPageToken field for com.databricks.sdk.service.catalog.ListSystemSchemasResponse.
  • Added aliases field for com.databricks.sdk.service.catalog.ModelVersionInfo.
  • Added nextPageToken field for com.databricks.sdk.service.catalog.WorkspaceBindingsResponse.
  • Added version field for com.databricks.sdk.service.compute.GetPolicyFamilyRequest.
  • Added id field for com.databricks.sdk.service.dashboards.QueryAttachment.
  • Added id field for com.databricks.sdk.service.dashboards.TextAttachment.
  • Added expirationTime field for com.databricks.sdk.service.sharing.CreateRecipient.
  • Added expirationTime field for com.databricks.sdk.service.sharing.UpdateRecipient.
  • Changed create() and edit() methods for workspaceClient.clusterPolicies() service with new required argument order.
  • Changed get() method for workspaceClient.modelVersions() service to return com.databricks.sdk.service.catalog.ModelVersionInfo class.
  • Changed name field for com.databricks.sdk.service.compute.CreatePolicy to no longer be required.
  • Changed name field for com.databricks.sdk.service.compute.EditPolicy to no longer be required.
  • Changed policyFamilyId field for com.databricks.sdk.service.compute.GetPolicyFamilyRequest to String class.
  • Changed policyFamilies field for com.databricks.sdk.service.compute.ListPolicyFamiliesResponse to no longer be required.
  • Changed definition, description, name and policyFamilyId fields for com.databricks.sdk.service.compute.PolicyFamily to no longer be required.
  • Changed accessControlList field for com.databricks.sdk.service.jobs.CreateJob to com.databricks.sdk.service.jobs.JobAccessControlRequestList class.
  • Changed accessControlList field for com.databricks.sdk.service.jobs.SubmitRun to com.databricks.sdk.service.jobs.JobAccessControlRequestList class.
  • Changed ingestionDefinition field for com.databricks.sdk.service.pipelines.CreatePipeline to com.databricks.sdk.service.pipelines.IngestionPipelineDefinition class.
  • Changed ingestionDefinition field for com.databricks.sdk.service.pipelines.EditPipeline to com.databricks.sdk.service.pipelines.IngestionPipelineDefinition class.
  • Changed ingestionDefinition field for com.databricks.sdk.service.pipelines.PipelineSpec to com.databricks.sdk.service.pipelines.IngestionPipelineDefinition class.
  • Removed com.databricks.sdk.service.pipelines.ManagedIngestionPipelineDefinition class.
  • Removed com.databricks.sdk.service.compute.PolicyFamilyId class.

OpenAPI SHA: f98c07f9c71f579de65d2587bb0292f83d10e55d, Date: 2024-08-12