Releases: databricks/databricks-sdk-go
Releases · databricks/databricks-sdk-go
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
v0.44.0
New Features and Improvements
- Remove deprecated
WithImpl
andImpl
service methods (#1003). 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.
Bug Fixes
- Allowed filtering for graviton DBRs in
ClusterAPI.SelectSparkVersion
(#1004). - Avoid loading the response bodies twice in memory when parsing
bytes.Buffer
(#984). - Bump google.golang.org/grpc from 1.64.0 to 1.64.1 (#974).
- Fix default-auth example when less than 10 clusters (#1012).
- Infer Azure tenant ID if not set (#910).
Internal Changes
- Add comment to validate workflow (#987).
- Add error mapping for GetRun (#1006).
- Add missing Package to Entity (#995).
- Add prefix to Dependabot commit messages (#976).
- Configure Dependabot for security updates only (#988).
- Enable mixins via struct embedding (#1000).
- Fix GetWorkspaceClient test & GCP SQL Warehouse Creation test (#1010).
- Fix integration tests (#1008).
- Fix processing of
quoted
titles (#989). - Generate SDK from Open API (#997).
- Log a warning when declaring inline entities (#994).
- Move PR message validation to a separate workflow (#983).
- Pin jobs APIs to 2.1 in SDKs (#993).
- Prefix all extension files with
ext_
(#1001). - Trigger the
validate
workflow in the merge queue (#986). - Update OpenAPI spec (#991).
- Use HTTP status text as message if the error response body is empty (#990).
API Changes:
- Added apps package.
- Added a.UsageDashboards account-level service.
- Added w.AlertsLegacy workspace-level service, w.QueriesLegacy workspace-level service and w.QueryVisualizationsLegacy workspace-level service.
- Added w.Genie workspace-level service.
- Added w.NotificationDestinations workspace-level service.
- Added
Update
method for w.Clusters workspace-level service. - Added
ListVisualizations
method for w.Queries workspace-level service. - Added catalog.GetBindingsSecurableType and catalog.UpdateBindingsSecurableType.
- Added billing.ActionConfiguration, billing.ActionConfigurationType, billing.AlertConfiguration, billing.AlertConfigurationQuantityType, billing.AlertConfigurationTimePeriod, billing.AlertConfigurationTriggerType, billing.BudgetConfiguration, billing.BudgetConfigurationFilter, billing.BudgetConfigurationFilterClause, billing.BudgetConfigurationFilterOperator, billing.BudgetConfigurationFilterTagClause, billing.BudgetConfigurationFilterWorkspaceIdClause, billing.CreateBillingUsageDashboardRequest, billing.CreateBillingUsageDashboardResponse, billing.CreateBudgetConfigurationBudget, billing.CreateBudgetConfigurationBudgetActionConfigurations, billing.CreateBudgetConfigurationBudgetAlertConfigurations, billing.CreateBudgetConfigurationRequest, billing.CreateBudgetConfigurationResponse, billing.DeleteBudgetConfigurationRequest,
any
, billing.GetBillingUsageDashboardRequest, billing.GetBillingUsageDashboardResponse, billing.GetBudgetConfigurationRequest, billing.GetBudgetConfigurationResponse, billing.ListBudgetConfigurationsRequest, billing.ListBudgetConfigurationsResponse, billing.UpdateBudgetConfigurationBudget, billing.UpdateBudgetConfigurationRequest, billing.UpdateBudgetConfigurationResponse and billing.UsageDashboardType. - Added compute.ListClustersFilterBy, compute.ListClustersSortBy, compute.ListClustersSortByDirection, compute.ListClustersSortByField, compute.UpdateCluster, compute.UpdateClusterResource and
any
. - Added [dashboards.ExecuteMessageQueryRequest](https://pkg.go.dev/github.com/databricks/databric...