Releases: databricks/databricks-sdk-java
Releases · databricks/databricks-sdk-java
v0.35.0
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 andworkspaceClient.aibiDashboardEmbeddingApprovedDomains()
service. - Added
workspaceClient.credentials()
service. - Added
appDeployment
field forcom.databricks.sdk.service.apps.CreateAppDeploymentRequest
. - Added
app
field forcom.databricks.sdk.service.apps.CreateAppRequest
. - Added
app
field forcom.databricks.sdk.service.apps.UpdateAppRequest
. - Added
table
field forcom.databricks.sdk.service.catalog.CreateOnlineTableRequest
. - Added
azureAad
field forcom.databricks.sdk.service.catalog.GenerateTemporaryTableCredentialResponse
. - Added
omitUsername
field forcom.databricks.sdk.service.catalog.ListTablesRequest
. - Added
fullName
field forcom.databricks.sdk.service.catalog.StorageCredentialInfo
. - Added
dashboard
field forcom.databricks.sdk.service.dashboards.CreateDashboardRequest
. - Added
schedule
field forcom.databricks.sdk.service.dashboards.CreateScheduleRequest
. - Added
subscription
field forcom.databricks.sdk.service.dashboards.CreateSubscriptionRequest
. - Added
warehouseId
field forcom.databricks.sdk.service.dashboards.Schedule
. - Added
dashboard
field forcom.databricks.sdk.service.dashboards.UpdateDashboardRequest
. - Added
schedule
field forcom.databricks.sdk.service.dashboards.UpdateScheduleRequest
. - Added
only
field forcom.databricks.sdk.service.jobs.RunNow
. - Added
pageToken
field forcom.databricks.sdk.service.oauth2.ListServicePrincipalSecretsRequest
. - Added
nextPageToken
field forcom.databricks.sdk.service.oauth2.ListServicePrincipalSecretsResponse
. - Added
restartWindow
field forcom.databricks.sdk.service.pipelines.CreatePipeline
. - Added
restartWindow
field forcom.databricks.sdk.service.pipelines.EditPipeline
. - Added
connectionName
field forcom.databricks.sdk.service.pipelines.IngestionGatewayPipelineDefinition
. - Added
restartWindow
field forcom.databricks.sdk.service.pipelines.PipelineSpec
. - Added
isNoPublicIpEnabled
field forcom.databricks.sdk.service.provisioning.CreateWorkspaceRequest
. - Added
privateAccessSettingsId
field forcom.databricks.sdk.service.provisioning.UpdateWorkspaceRequest
. - Added
externalCustomerInfo
andisNoPublicIpEnabled
fields forcom.databricks.sdk.service.provisioning.Workspace
. - Added
lastUsedDay
field forcom.databricks.sdk.service.settings.TokenInfo
. - Changed
create()
method forworkspaceClient.apps()
service with new required argument order. - Changed
executeMessageQuery()
method forworkspaceClient.genie()
service . New request type iscom.databricks.sdk.service.dashboards.GenieExecuteMessageQueryRequest
class. - Changed
executeMessageQuery()
method forworkspaceClient.genie()
service to typeexecuteMessageQuery()
method forworkspaceClient.genie()
service. - Changed
create()
,createSchedule()
,createSubscription()
andupdateSchedule()
methods forworkspaceClient.lakeview()
service with new required argument order. - Removed
workspaceClient.cleanRooms()
service. - Removed
deploymentId
,mode
andsourceCodePath
fields forcom.databricks.sdk.service.apps.CreateAppDeploymentRequest
. - Removed
description
,name
andresources
fields forcom.databricks.sdk.service.apps.CreateAppRequest
. - Removed
description
andresources
fields forcom.databricks.sdk.service.apps.UpdateAppRequest
. - Removed
name
andspec
fields forcom.databricks.sdk.service.catalog.CreateOnlineTableRequest
. - Removed
displayName
,parentPath
,serializedDashboard
andwarehouseId
fields forcom.databricks.sdk.service.dashboards.CreateDashboardRequest
. - Removed
cronSchedule
,displayName
andpauseStatus
fields forcom.databricks.sdk.service.dashboards.CreateScheduleRequest
. - Removed
subscriber
field forcom.databricks.sdk.service.dashboards.CreateSubscriptionRequest
. - Removed
displayName
,etag
,serializedDashboard
andwarehouseId
fields forcom.databricks.sdk.service.dashboards.UpdateDashboardRequest
. - Removed
cronSchedule
,displayName
,etag
andpauseStatus
fields forcom.databricks.sdk.service.dashboards.UpdateScheduleRequest
. - Removed
prevPageToken
field forcom.databricks.sdk.service.jobs.Run
.
OpenAPI SHA: d25296d2f4aa7bd6195c816fdf82e0f960f775da, Date: 2024-11-07
v0.34.0
v0.33.0
* Fix Ubuntu unit tests on Github Actions ([#366](https://github.com…
v0.32.2
v0.32.1
v0.32.0
Release v0.32.0
Bug Fixes
Internal Changes
API Changes:
- Added
workspaceClient.disableLegacyAccess()
service andaccountClient.disableLegacyFeatures()
service. - Added
workspaceClient.temporaryTableCredentials()
service. - Added
putAiGateway()
method forworkspaceClient.servingEndpoints()
service. - Added
com.databricks.sdk.service.apps.ApplicationState
,com.databricks.sdk.service.apps.ApplicationStatus
,com.databricks.sdk.service.apps.ComputeState
andcom.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
andcom.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
andcom.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
andcom.databricks.sdk.service.settings.UpdateDisableLegacyFeaturesRequest
classes. - Added
appStatus
andcomputeStatus
fields forcom.databricks.sdk.service.apps.App
. - Added
deploymentId
field forcom.databricks.sdk.service.apps.CreateAppDeploymentRequest
. - Added
externalAccessEnabled
field forcom.databricks.sdk.service.catalog.GetMetastoreSummaryResponse
. - Added
includeManifestCapabilities
field forcom.databricks.sdk.service.catalog.GetTableRequest
. - Added
includeManifestCapabilities
field forcom.databricks.sdk.service.catalog.ListSummariesRequest
. - Added
includeManifestCapabilities
field forcom.databricks.sdk.service.catalog.ListTablesRequest
. - Added
externalAccessEnabled
field forcom.databricks.sdk.service.catalog.MetastoreInfo
. - Added
budgetPolicyId
field forcom.databricks.sdk.service.pipelines.CreatePipeline
. - Added
budgetPolicyId
field forcom.databricks.sdk.service.pipelines.EditPipeline
. - Added
effectiveBudgetPolicyId
field forcom.databricks.sdk.service.pipelines.GetPipelineResponse
. - Added
budgetPolicyId
field forcom.databricks.sdk.service.pipelines.PipelineSpec
. - Added
aiGateway
field forcom.databricks.sdk.service.serving.CreateServingEndpoint
. - Added
aiGateway
field forcom.databricks.sdk.service.serving.ServingEndpoint
. - Added
aiGateway
field forcom.databricks.sdk.service.serving.ServingEndpointDetailed
. - Added
workspaceId
field forcom.databricks.sdk.service.settings.TokenInfo
. - Changed
delete()
,start()
andstop()
methods forworkspaceClient.apps()
service to returncom.databricks.sdk.service.apps.App
class. - Changed
deploy()
method forworkspaceClient.apps()
service with new required argument order. - Changed
sourceCodePath
field forcom.databricks.sdk.service.apps.AppDeployment
to no longer be required. - Changed
sourceCodePath
field forcom.databricks.sdk.service.apps.CreateAppDeploymentRequest
to no longer be required. - Changed
returnParams
androutineDependencies
fields forcom.databricks.sdk.service.catalog.CreateFunction
to no longer be required. - Removed
com.databricks.sdk.service.apps.AppState
,com.databricks.sdk.service.apps.AppStatus
,Object
andObject
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
andcom.databricks.sdk.service.sql.ServerlessChannelInfo
classes. - Removed
status
field forcom.databricks.sdk.service.apps.App
. - Removed
querySource
field forcom.databricks.sdk.service.sql.QueryInfo
.
OpenAPI SHA: 6f6b1371e640f2dfeba72d365ac566368656f6b6, Date: 2024-09-19
v0.31.1
v0.31.0
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 forworkspaceClient.qualityMonitors()
service. - Added
com.databricks.sdk.service.catalog.RegenerateDashboardRequest
andcom.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
andcom.databricks.sdk.service.jobs.TerminationTypeType
classes. - Added
status
field forcom.databricks.sdk.service.jobs.BaseRun
. - Added
status
field forcom.databricks.sdk.service.jobs.RepairHistoryItem
. - Added
status
field forcom.databricks.sdk.service.jobs.Run
. - Added
status
field forcom.databricks.sdk.service.jobs.RunTask
. - Added
maxProvisionedThroughput
andminProvisionedThroughput
fields forcom.databricks.sdk.service.serving.ServedModelInput
. - Added
columnsToSync
field forcom.databricks.sdk.service.vectorsearch.DeltaSyncVectorIndexSpecRequest
. - Changed
workloadSize
field forcom.databricks.sdk.service.serving.ServedModelInput
to no longer be required.
OpenAPI SHA: d05898328669a3f8ab0c2ecee37db2673d3ea3f7, Date: 2024-09-04
v0.30.0
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
andcom.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
andcom.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
andcom.databricks.sdk.service.jobs.ListJobComplianceRequest
classes. - Added
fallback
field forcom.databricks.sdk.service.catalog.CreateExternalLocation
. - Added
fallback
field forcom.databricks.sdk.service.catalog.ExternalLocationInfo
. - Added
fallback
field forcom.databricks.sdk.service.catalog.UpdateExternalLocation
. - Added
jobRunId
field forcom.databricks.sdk.service.jobs.BaseRun
. - Added
jobRunId
field forcom.databricks.sdk.service.jobs.Run
. - Added
includeMetrics
field forcom.databricks.sdk.service.sql.ListQueryHistoryRequest
. - Added
statementIds
field forcom.databricks.sdk.service.sql.QueryFilter
. - Removed
com.databricks.sdk.service.sql.ContextFilter
class. - Removed
contextFilter
field forcom.databricks.sdk.service.sql.QueryFilter
. - Removed
pipelineId
andpipelineUpdateId
fields forcom.databricks.sdk.service.sql.QuerySource
.
OpenAPI SHA: 3eae49b444cac5a0118a3503e5b7ecef7f96527a, Date: 2024-08-21
v0.29.0
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 forworkspaceClient.clusters()
service. - Added
com.databricks.sdk.service.compute.UpdateCluster
,com.databricks.sdk.service.compute.UpdateClusterResource
andObject
classes. - Added
com.databricks.sdk.service.pipelines.IngestionPipelineDefinition
class. - Added
maxResults
andpageToken
fields forcom.databricks.sdk.service.catalog.GetBindingsRequest
. - Added
includeAliases
field forcom.databricks.sdk.service.catalog.GetByAliasRequest
. - Added
includeAliases
field forcom.databricks.sdk.service.catalog.GetModelVersionRequest
. - Added
includeAliases
field forcom.databricks.sdk.service.catalog.GetRegisteredModelRequest
. - Added
maxResults
andpageToken
fields forcom.databricks.sdk.service.catalog.ListSystemSchemasRequest
. - Added
nextPageToken
field forcom.databricks.sdk.service.catalog.ListSystemSchemasResponse
. - Added
aliases
field forcom.databricks.sdk.service.catalog.ModelVersionInfo
. - Added
nextPageToken
field forcom.databricks.sdk.service.catalog.WorkspaceBindingsResponse
. - Added
version
field forcom.databricks.sdk.service.compute.GetPolicyFamilyRequest
. - Added
id
field forcom.databricks.sdk.service.dashboards.QueryAttachment
. - Added
id
field forcom.databricks.sdk.service.dashboards.TextAttachment
. - Added
expirationTime
field forcom.databricks.sdk.service.sharing.CreateRecipient
. - Added
expirationTime
field forcom.databricks.sdk.service.sharing.UpdateRecipient
. - Changed
create()
andedit()
methods forworkspaceClient.clusterPolicies()
service with new required argument order. - Changed
get()
method forworkspaceClient.modelVersions()
service to returncom.databricks.sdk.service.catalog.ModelVersionInfo
class. - Changed
name
field forcom.databricks.sdk.service.compute.CreatePolicy
to no longer be required. - Changed
name
field forcom.databricks.sdk.service.compute.EditPolicy
to no longer be required. - Changed
policyFamilyId
field forcom.databricks.sdk.service.compute.GetPolicyFamilyRequest
toString
class. - Changed
policyFamilies
field forcom.databricks.sdk.service.compute.ListPolicyFamiliesResponse
to no longer be required. - Changed
definition
,description
,name
andpolicyFamilyId
fields forcom.databricks.sdk.service.compute.PolicyFamily
to no longer be required. - Changed
accessControlList
field forcom.databricks.sdk.service.jobs.CreateJob
tocom.databricks.sdk.service.jobs.JobAccessControlRequestList
class. - Changed
accessControlList
field forcom.databricks.sdk.service.jobs.SubmitRun
tocom.databricks.sdk.service.jobs.JobAccessControlRequestList
class. - Changed
ingestionDefinition
field forcom.databricks.sdk.service.pipelines.CreatePipeline
tocom.databricks.sdk.service.pipelines.IngestionPipelineDefinition
class. - Changed
ingestionDefinition
field forcom.databricks.sdk.service.pipelines.EditPipeline
tocom.databricks.sdk.service.pipelines.IngestionPipelineDefinition
class. - Changed
ingestionDefinition
field forcom.databricks.sdk.service.pipelines.PipelineSpec
tocom.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