Releases: databricks/databricks-sdk-go
v0.54.0
API Changes:
- Added a.AccountFederationPolicy account-level service and a.ServicePrincipalFederationPolicy account-level service.
- Added
IsSingleNode
,Kind
andUseMlRuntime
fields for compute.ClusterAttributes. - Added
IsSingleNode
,Kind
andUseMlRuntime
fields for compute.ClusterDetails. - Added
IsSingleNode
,Kind
andUseMlRuntime
fields for compute.ClusterSpec. - Added
IsSingleNode
,Kind
andUseMlRuntime
fields for compute.CreateCluster. - Added
IsSingleNode
,Kind
andUseMlRuntime
fields for compute.EditCluster. - Added
IsSingleNode
,Kind
andUseMlRuntime
fields for compute.UpdateClusterResource. - Added
UpdateParameterSyntax
field for dashboards.MigrateDashboardRequest. - Added
CleanRoomsNotebookTask
field for jobs.RunTask. - Added
CleanRoomsNotebookTask
field for jobs.SubmitTask. - Added
CleanRoomsNotebookTask
field for jobs.Task. - Changed
DaysOfWeek
field for pipelines.RestartWindow to type pipelines.RestartWindowDaysOfWeekList.
OpenAPI SHA: a6a317df8327c9b1e5cb59a03a42ffa2aabeef6d, Date: 2024-12-16
v0.53.0
Bug Fixes
- Update Changelog file (#1091).
Internal Changes
- Update to latest OpenAPI spec (#1098).
Note: This release contains breaking changes, please see the API changes below for more details.
API Changes:
- Added cleanrooms package.
- Added
DeletePublicWorkspaceSetting
method for w.AibiDashboardEmbeddingAccessPolicy workspace-level service. - Added
DeletePublicWorkspaceSetting
method for w.AibiDashboardEmbeddingApprovedDomains workspace-level service. - Added jobs.CleanRoomTaskRunLifeCycleState, jobs.CleanRoomTaskRunResultState and jobs.CleanRoomTaskRunState.
- Added dashboards.DataType, dashboards.QuerySchema and dashboards.QuerySchemaColumn.
- Added catalog.DatabricksGcpServiceAccount and catalog.GenerateTemporaryServiceCredentialGcpOptions.
- Added files.ContentLength and files.ContentRange.
- Added settings.DeleteAibiDashboardEmbeddingAccessPolicySettingRequest, settings.DeleteAibiDashboardEmbeddingAccessPolicySettingResponse, settings.DeleteAibiDashboardEmbeddingApprovedDomainsSettingRequest, settings.DeleteAibiDashboardEmbeddingApprovedDomainsSettingResponse, settings.EgressNetworkPolicy, settings.EgressNetworkPolicyInternetAccessPolicy, settings.EgressNetworkPolicyInternetAccessPolicyInternetDestination, settings.EgressNetworkPolicyInternetAccessPolicyInternetDestinationInternetDestinationFilteringProtocol, settings.EgressNetworkPolicyInternetAccessPolicyInternetDestinationInternetDestinationType, settings.EgressNetworkPolicyInternetAccessPolicyLogOnlyMode, settings.EgressNetworkPolicyInternetAccessPolicyLogOnlyModeLogOnlyModeType, settings.EgressNetworkPolicyInternetAccessPolicyLogOnlyModeWorkloadType, settings.EgressNetworkPolicyInternetAccessPolicyRestrictionMode, settings.EgressNetworkPolicyInternetAccessPolicyStorageDestination and settings.EgressNetworkPolicyInternetAccessPolicyStorageDestinationStorageDestinationType.
- Added sharing.PartitionSpecificationPartition.
- Added
DatabricksGcpServiceAccount
field for catalog.CreateCredentialRequest. - Added
DatabricksGcpServiceAccount
field for catalog.CredentialInfo. - Added
GcpOptions
field for catalog.GenerateTemporaryServiceCredentialRequest. - Added
DatabricksGcpServiceAccount
field for catalog.UpdateCredentialRequest. - Added
CachedQuerySchema
field for dashboards.QueryAttachment. - [Breaking] Changed
ContentLength
field for files.DownloadResponse to files.ContentLength. - [Breaking] Changed
ContentLength
field for files.GetMetadataResponse to files.ContentLength. - [Breaking] Removed catalog.GcpServiceAccountKey.
- [Breaking] Removed files.FileSize.
- [Breaking] Removed
GcpServiceAccountKey
field for catalog.CreateCredentialRequest.
OpenAPI SHA: 7016dcbf2e011459416cf408ce21143bcc4b3a25, Date: 2024-12-05
v0.52.0
Internal Changes
- Update Jobs GetRun API to support paginated responses for jobs and ForEach tasks (#1089).
API Changes:
- Added
ServicePrincipalClientId
field for apps.App. - Added
AzureServicePrincipal
,GcpServiceAccountKey
andReadOnly
fields for catalog.CreateCredentialRequest. - Added
AzureServicePrincipal
,ReadOnly
andUsedForManagedStorage
fields for catalog.CredentialInfo. - Added
AzureServicePrincipal
andReadOnly
fields for catalog.UpdateCredentialRequest. - Added
ExternalLocationName
,ReadOnly
andUrl
fields for catalog.ValidateCredentialRequest. - Added
IsDir
field for catalog.ValidateCredentialResponse. - Changed
CreateCredential
andGenerateTemporaryServiceCredential
methods for w.Credentials workspace-level service with new required argument order. - Changed
AccessConnectorId
field for catalog.AzureManagedIdentity to be required. - Changed
AccessConnectorId
field for catalog.AzureManagedIdentity to be required. - Changed
Name
field for catalog.CreateCredentialRequest to be required. - Changed
CredentialName
field for catalog.GenerateTemporaryServiceCredentialRequest to be required.
OpenAPI SHA: f2385add116e3716c8a90a0b68e204deb40f996c, Date: 2024-11-15
v0.51.0
Internal Changes
- Always write message for manual test execution (#1079).
- Use error names instead of codes in
errors.go
(#1080).
API Changes:
- Added w.Credentials workspace-level service.
- Added
AzureAad
field for catalog.GenerateTemporaryTableCredentialResponse. - Added
OmitUsername
field for catalog.ListTablesRequest. - Added
FullName
field for catalog.StorageCredentialInfo. - Added
WarehouseId
field for dashboards.Schedule. - Added
Only
field for jobs.RunNow. - Added
RestartWindow
field for pipelines.CreatePipeline. - Added
RestartWindow
field for pipelines.EditPipeline. - Added
ConnectionName
field for pipelines.IngestionGatewayPipelineDefinition. - Added
RestartWindow
field for pipelines.PipelineSpec. - Added
PrivateAccessSettingsId
field for provisioning.UpdateWorkspaceRequest. - Removed w.CleanRooms workspace-level service.
OpenAPI SHA: d25296d2f4aa7bd6195c816fdf82e0f960f775da, Date: 2024-11-07
v0.50.0
Internal Changes
- Add DCO guidelines (#1047).
- Add test instructions for external contributors (#1073).
- Automatically trigger integration tests (#1067).
- Move templates in the code generator (#1075).
- Remove unnecessary test (#1071).
API Changes:
- Added w.AibiDashboardEmbeddingAccessPolicy workspace-level service and w.AibiDashboardEmbeddingApprovedDomains workspace-level service.
- Added
AppDeployment
field for apps.CreateAppDeploymentRequest. - Added
App
field for apps.CreateAppRequest. - Added
App
field for apps.UpdateAppRequest. - Added
Table
field for catalog.CreateOnlineTableRequest. - Added
Dashboard
field for dashboards.CreateDashboardRequest. - Added
Schedule
field for dashboards.CreateScheduleRequest. - Added
Subscription
field for dashboards.CreateSubscriptionRequest. - Added
Dashboard
field for dashboards.UpdateDashboardRequest. - Added
Schedule
field for dashboards.UpdateScheduleRequest. - Added
PageToken
field for oauth2.ListServicePrincipalSecretsRequest. - Added
NextPageToken
field for oauth2.ListServicePrincipalSecretsResponse. - Added
IsNoPublicIpEnabled
field for provisioning.CreateWorkspaceRequest. - Added
ExternalCustomerInfo
andIsNoPublicIpEnabled
fields for provisioning.Workspace. - Added
LastUsedDay
field for settings.TokenInfo. - Changed
Create
method for w.Apps workspace-level service with new required argument order. - Changed
ExecuteMessageQuery
method for w.Genie workspace-level service . New request type is dashboards.GenieExecuteMessageQueryRequest. - Changed
ExecuteMessageQuery
method for w.Genie workspace-level service to typeExecuteMessageQuery
method for w.Genie workspace-level service. - Changed
Create
,CreateSchedule
,CreateSubscription
andUpdateSchedule
methods for w.Lakeview workspace-level service with new required argument order. - Removed
PrevPageToken
field for jobs.Run.
The following fields are now nested in the request:
- Removed
DeploymentId
,Mode
andSourceCodePath
fields for apps.CreateAppDeploymentRequest. - Removed
Description
,Name
andResources
fields for apps.CreateAppRequest. - Removed
Description
andResources
fields for apps.UpdateAppRequest. - Removed
Name
andSpec
fields for catalog.CreateOnlineTableRequest. - Removed
DisplayName
,ParentPath
,SerializedDashboard
andWarehouseId
fields for dashboards.CreateDashboardRequest. - Removed
CronSchedule
,DisplayName
andPauseStatus
fields for dashboards.CreateScheduleRequest. - Removed
Subscriber
field for dashboards.CreateSubscriptionRequest. - Removed
DisplayName
,Etag
,SerializedDashboard
andWarehouseId
fields for dashboards.UpdateDashboardRequest. - Removed
CronSchedule
,DisplayName
,Etag
andPauseStatus
fields for dashboards.UpdateScheduleRequest.
OpenAPI SHA: 25b2478e5a18c888f0d423249abde5499dc58424, Date: 2024-10-31
v0.49.0
API Changes:
- Added w.DisableLegacyDbfs workspace-level service.
- Added
UnityCatalogProvisioningState
field for catalog.OnlineTable. - Added
IsTruncated
field for dashboards.Result. - Added
EffectiveBudgetPolicyId
field for jobs.BaseJob. - Added
BudgetPolicyId
field for jobs.CreateJob. - Added
EffectiveBudgetPolicyId
field for jobs.Job. - Added
BudgetPolicyId
field for jobs.JobSettings. - Added
BudgetPolicyId
field for jobs.SubmitRun. - Added
Report
field for pipelines.IngestionConfig. - Added
SequenceBy
field for pipelines.TableSpecificConfig. - Added
NotifyOnOk
field for sql.Alert. - Added
NotifyOnOk
field for sql.CreateAlertRequestAlert. - Added
NotifyOnOk
field for sql.ListAlertsResponseAlert. - Added
NotifyOnOk
field for sql.UpdateAlertRequestAlert.
OpenAPI SHA: cf9c61453990df0f9453670f2fe68e1b128647a2, Date: 2024-10-14
v0.48.0
Internal Changes
- Update SDK to latest OpenAPI spec (#1057).
Note: This release contains breaking changes, please see the API changes below for more details.
API Changes:
- Added
DefaultSourceCodePath
andResources
fields for apps.App. - Added
Resources
field for apps.CreateAppRequest. - Added
Resources
field for apps.UpdateAppRequest. - Added
Schema
field for pipelines.CreatePipeline. - Added
Schema
field for pipelines.EditPipeline. - Added
Schema
field for pipelines.PipelineSpec. - [Breaking] Changed
Create
method for w.GitCredentials workspace-level service . New request type is workspace.CreateCredentialsRequest. - [Breaking] Changed
Create
method for w.GitCredentials workspace-level service to typeCreate
method for w.GitCredentials workspace-level service. - [Breaking] Changed
Delete
method for w.GitCredentials workspace-level service . New request type is workspace.DeleteCredentialsRequest. - [Breaking] Changed
Delete
method for w.GitCredentials workspace-level service to returnany
. - Changed
Delete
method for w.GitCredentials workspace-level service to typeDelete
method for w.GitCredentials workspace-level service. - [Breaking] Changed
Get
method for w.GitCredentials workspace-level service . New request type is workspace.GetCredentialsRequest. - Changed
Get
method for w.GitCredentials workspace-level service to typeGet
method for w.GitCredentials workspace-level service. - [Breaking] Changed
Get
method for w.GitCredentials workspace-level service to return workspace.GetCredentialsResponse. - [Breaking] Changed
List
method for w.GitCredentials workspace-level service to return workspace.ListCredentialsResponse. - Changed
List
method for w.GitCredentials workspace-level service to typeList
method for w.GitCredentials workspace-level service. - Changed
Update
method for w.GitCredentials workspace-level service to typeUpdate
method for w.GitCredentials workspace-level service. - [Breaking] Changed
Update
method for w.GitCredentials workspace-level service to returnany
. - [Breaking] Changed
Update
method for w.GitCredentials workspace-level service . New request type is workspace.UpdateCredentialsRequest. - Changed
Create
method for w.Repos workspace-level service to typeCreate
method for w.Repos workspace-level service. - [Breaking] Changed
Create
method for w.Repos workspace-level service . New request type is workspace.CreateRepoRequest. - [Breaking] Changed
Create
method for w.Repos workspace-level service to return workspace.CreateRepoResponse. - [Breaking] Changed
Delete
method for w.Repos workspace-level service to returnany
. - Changed
Delete
method for w.Repos workspace-level service to typeDelete
method for w.Repos workspace-level service. - [Breaking] Changed
Get
method for w.Repos workspace-level service to return workspace.GetRepoResponse. - Changed
Get
method for w.Repos workspace-level service to typeGet
method for w.Repos workspace-level service. - Changed
Update
method for w.Repos workspace-level service to returnany
. - [Breaking] Changed
Update
method for w.Repos workspace-level service . New request type is workspace.UpdateRepoRequest. - Changed
Update
method for w.Repos workspace-level service to typeUpdate
method for w.Repos workspace-level service. - [Breaking] Changed
CredentialId
andGitProvider
fields for workspace.CreateCredentialsResponse to be required. - Changed
CredentialId
field for workspace.CredentialInfo to be required. - Changed
CredentialId
field for workspace.GetCredentialsResponse to be required. - Changed
Patterns
field for workspace.SparseCheckout to type workspace.List. - Changed
Patterns
field for workspace.SparseCheckoutUpdate to type workspace.List. - [Breaking] Changed
GitProvider
field for workspace.UpdateCredentialsRequest to be required.
OpenAPI SHA: 0c86ea6dbd9a730c24ff0d4e509603e476955ac5, Date: 2024-10-02
v0.47.0
Internal Changes
- Update SDK to latest OpenAPI spec (#1042).
API Changes:
- Added w.DisableLegacyAccess workspace-level service and a.DisableLegacyFeatures account-level service.
- Added w.TemporaryTableCredentials workspace-level service.
- Added
PutAiGateway
method for w.ServingEndpoints workspace-level service. - Added apps.ApplicationState, apps.ApplicationStatus, apps.ComputeState and apps.ComputeStatus.
- Added catalog.AwsCredentials, catalog.AzureUserDelegationSas, catalog.GcpOauthToken, catalog.GenerateTemporaryTableCredentialRequest, catalog.GenerateTemporaryTableCredentialResponse, catalog.R2Credentials and catalog.TableOperation.
- Added serving.AiGatewayConfig, serving.AiGatewayGuardrailParameters, serving.AiGatewayGuardrailPiiBehavior, serving.AiGatewayGuardrailPiiBehaviorBehavior, serving.AiGatewayGuardrails, serving.AiGatewayInferenceTableConfig, serving.AiGatewayRateLimit, serving.AiGatewayRateLimitKey, serving.AiGatewayRateLimitRenewalPeriod, serving.AiGatewayUsageTrackingConfig, serving.PutAiGatewayRequest and serving.PutAiGatewayResponse.
- Added settings.BooleanMessage, settings.DeleteDisableLegacyAccessRequest, settings.DeleteDisableLegacyAccessResponse, settings.DeleteDisableLegacyFeaturesRequest, settings.DeleteDisableLegacyFeaturesResponse, settings.DisableLegacyAccess, settings.DisableLegacyFeatures, settings.GetDisableLegacyAccessRequest, settings.GetDisableLegacyFeaturesRequest, settings.UpdateDisableLegacyAccessRequest and settings.UpdateDisableLegacyFeaturesRequest.
- Added
AppStatus
andComputeStatus
fields for apps.App. - Added
DeploymentId
field for apps.CreateAppDeploymentRequest. - Added
ExternalAccessEnabled
field for catalog.GetMetastoreSummaryResponse. - Added
IncludeManifestCapabilities
field for catalog.GetTableRequest. - Added
IncludeManifestCapabilities
field for catalog.ListSummariesRequest. - Added
IncludeManifestCapabilities
field for catalog.ListTablesRequest. - Added
ExternalAccessEnabled
field for catalog.MetastoreInfo. - Added
BudgetPolicyId
field for pipelines.CreatePipeline. - Added
BudgetPolicyId
field for pipelines.EditPipeline. - Added
EffectiveBudgetPolicyId
field for pipelines.GetPipelineResponse. - Added
BudgetPolicyId
field for pipelines.PipelineSpec. - Added
AiGateway
field for serving.CreateServingEndpoint. - Added
AiGateway
field for serving.ServingEndpoint. - Added
AiGateway
field for serving.ServingEndpointDetailed. - Added
WorkspaceId
field for settings.TokenInfo. - Changed
Delete
,Start
andStop
methods for w.Apps workspace-level service to return apps.App. - Changed
Deploy
method for w.Apps workspace-level service with new required argument order. - Changed
SourceCodePath
field for apps.AppDeployment to no longer be required. - Changed
SourceCodePath
field for apps.CreateAppDeploymentRequest to no longer be required. - Changed
ReturnParams
andRoutineDependencies
fields for catalog.CreateFunction to no longer be required. - Removed apps.AppState, apps.AppStatus,
any
andany
. - Removed sql.ClientCallContext, sql.EncodedText, sql.EncodedTextEncoding, sql.QuerySource, sql.QuerySourceDriverInfo, sql.QuerySourceEntryPoint, [sql.QuerySourceJobManager](https://pkg.go.dev/github.com/databric...
v0.46.0
Bug Fixes
- Fail fast when authenticating if host is not configured (#1033).
- Improve non-JSON error handling (#1031).
Internal Changes
- Add TestAccCreateOboTokenOnAws to flaky test list (#1029).
- Add workflows manage integration tests checks (#1032).
- Fix TestMwsAccWorkspaces cleanup (#1028).
- Improve integration test comment (#1035).
- Temporary ignore Metastore test failures (#1027).
- Update test to support new accounts (#1026).
- Use statuses instead of checks (#1036).
API Changes:
- Added
RegenerateDashboard
method for w.QualityMonitors workspace-level service. - Added catalog.RegenerateDashboardRequest and catalog.RegenerateDashboardResponse.
- Added jobs.QueueDetails, jobs.QueueDetailsCodeCode, jobs.RunLifecycleStateV2State, jobs.RunStatus, jobs.TerminationCodeCode, jobs.TerminationDetails and jobs.TerminationTypeType.
- Added
Status
field for jobs.BaseRun. - Added
Status
field for jobs.RepairHistoryItem. - Added
Status
field for jobs.Run. - Added
Status
field for jobs.RunTask. - Added
MaxProvisionedThroughput
andMinProvisionedThroughput
fields for serving.ServedModelInput. - Added
ColumnsToSync
field for vectorsearch.DeltaSyncVectorIndexSpecRequest. - Changed
WorkloadSize
field for serving.ServedModelInput to no longer be required.
OpenAPI SHA: d05898328669a3f8ab0c2ecee37db2673d3ea3f7, Date: 2024-09-04
v0.45.0
0.45.0
Bug Fixes
- Add INVALID_STATE to error code mapping (#1014).
- Do not specify
--tenant
flag when fetching managed identity access token from the CLI (#1021).
Internal Changes
- Add terraform aliases to Entity (#1017).
- Added Service.NamedIdMap (#1016).
- Fix billing test for budget configuration update (#1019).
API Changes:
- Added w.PolicyComplianceForClusters workspace-level service.
- Added w.PolicyComplianceForJobs workspace-level service.
- Added w.ResourceQuotas workspace-level service.
- Added catalog.GetQuotaRequest, catalog.GetQuotaResponse, catalog.ListQuotasRequest, catalog.ListQuotasResponse and catalog.QuotaInfo.
- Added compute.ClusterCompliance, compute.ClusterSettingsChange, compute.EnforceClusterComplianceRequest, compute.EnforceClusterComplianceResponse, compute.GetClusterComplianceRequest, compute.GetClusterComplianceResponse, compute.ListClusterCompliancesRequest and compute.ListClusterCompliancesResponse.
- Added jobs.EnforcePolicyComplianceForJobResponseJobClusterSettingsChange, jobs.EnforcePolicyComplianceRequest, jobs.EnforcePolicyComplianceResponse, jobs.GetPolicyComplianceRequest, jobs.GetPolicyComplianceResponse, jobs.JobCompliance, jobs.ListJobComplianceForPolicyResponse and jobs.ListJobComplianceRequest.
- Added
Fallback
field for catalog.CreateExternalLocation. - Added
Fallback
field for catalog.ExternalLocationInfo. - Added
Fallback
field for catalog.UpdateExternalLocation. - Added
JobRunId
field for jobs.BaseRun. - Added
JobRunId
field for jobs.Run. - Added
IncludeMetrics
field for sql.ListQueryHistoryRequest. - Added
StatementIds
field for sql.QueryFilter. - Removed sql.ContextFilter.
- Removed
ContextFilter
field for sql.QueryFilter. - Removed
PipelineId
andPipelineUpdateId
fields for sql.QuerySource.
OpenAPI SHA: 3eae49b444cac5a0118a3503e5b7ecef7f96527a, Date: 2024-08-21