- Always write message for manual test execution (#1079).
- Use error names instead of codes in
errors.go
(#1080).
- 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
- 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).
- 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
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. - Removed
PrevPageToken
field for jobs.Run.
OpenAPI SHA: 25b2478e5a18c888f0d423249abde5499dc58424, Date: 2024-10-31
- 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
- Update SDK to latest OpenAPI spec (#1057).
Note: This release contains breaking changes, please see the API changes below for more details.
- 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
- Update SDK to latest OpenAPI spec (#1042).
- 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, sql.QuerySourceTrigger and sql.ServerlessChannelInfo.
- Removed
Status
field for apps.App. - Removed
QuerySource
field for sql.QueryInfo.
OpenAPI SHA: 6f6b1371e640f2dfeba72d365ac566368656f6b6, Date: 2024-09-19
- Fail fast when authenticating if host is not configured (#1033).
- Improve non-JSON error handling (#1031).
- 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).
- 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
- Add INVALID_STATE to error code mapping (#1014).
- Do not specify
--tenant
flag when fetching managed identity access token from the CLI (#1021).
- Add terraform aliases to Entity (#1017).
- Added Service.NamedIdMap (#1016).
- Fix billing test for budget configuration update (#1019).
- 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
- Remove deprecated
WithImpl
andImpl
service methods (#1003).
- 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).
- 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).
- 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, dashboards.GenieAttachment, dashboards.GenieConversation, dashboards.GenieCreateConversationMessageRequest, dashboards.GenieGetConversationMessageRequest, dashboards.GenieGetMessageQueryResultRequest, dashboards.GenieGetMessageQueryResultResponse, dashboards.GenieMessage, dashboards.GenieStartConversationMessageRequest, dashboards.GenieStartConversationResponse, dashboards.MessageError, dashboards.MessageErrorType, dashboards.MessageStatus, dashboards.QueryAttachment, dashboards.Result and dashboards.TextAttachment.
- Added
any
, iam.MigratePermissionsRequest and iam.MigratePermissionsResponse. - Added oauth2.ListCustomAppIntegrationsRequest and oauth2.ListPublishedAppIntegrationsRequest.
- Added pipelines.IngestionPipelineDefinition and pipelines.PipelineStateInfoHealth.
- Added serving.GoogleCloudVertexAiConfig.
- Added settings.Config, settings.CreateNotificationDestinationRequest, settings.DeleteNotificationDestinationRequest, settings.DestinationType, settings.EmailConfig,
any
, settings.GenericWebhookConfig, settings.GetNotificationDestinationRequest, settings.ListNotificationDestinationsRequest, settings.ListNotificationDestinationsResponse, settings.ListNotificationDestinationsResult, settings.MicrosoftTeamsConfig, settings.NotificationDestination, settings.PagerdutyConfig, settings.SlackConfig and settings.UpdateNotificationDestinationRequest. - Added sql.AlertCondition, sql.AlertConditionOperand, sql.AlertConditionThreshold, sql.AlertOperandColumn, sql.AlertOperandValue, sql.AlertOperator, sql.ClientCallContext, sql.ContextFilter, sql.CreateAlertRequest, sql.CreateAlertRequestAlert, sql.CreateQueryRequest, sql.CreateQueryRequestQuery, sql.CreateQueryVisualizationsLegacyRequest, sql.CreateVisualizationRequest, sql.CreateVisualizationRequestVisualization, sql.DatePrecision, sql.DateRange, sql.DateRangeValue, sql.DateRangeValueDynamicDateRange, sql.DateValue, sql.DateValueDynamicDate, sql.DeleteAlertsLegacyRequest, sql.DeleteQueriesLegacyRequest, sql.DeleteQueryVisualizationsLegacyRequest, sql.DeleteVisualizationRequest,
any
, sql.EncodedText, sql.EncodedTextEncoding, sql.EnumValue, sql.GetAlertsLegacyRequest, sql.GetQueriesLegacyRequest, sql.LegacyAlert, sql.LegacyAlertState, sql.LegacyQuery, sql.LegacyVisualization, sql.LifecycleState, sql.ListAlertsRequest, sql.ListAlertsResponse, sql.ListAlertsResponseAlert, sql.ListQueriesLegacyRequest, sql.ListQueryObjectsResponse, sql.ListQueryObjectsResponseQuery, sql.ListVisualizationsForQueryRequest, sql.ListVisualizationsForQueryResponse, sql.NumericValue, sql.QueryBackedValue, sql.QueryParameter, sql.QuerySource, sql.QuerySourceDriverInfo, sql.QuerySourceEntryPoint, sql.QuerySourceJobManager, sql.QuerySourceTrigger, sql.RestoreQueriesLegacyRequest, sql.RunAsMode, sql.ServerlessChannelInfo, sql.StatementResponse, sql.TextValue, sql.TrashAlertRequest, sql.TrashQueryRequest, sql.UpdateAlertRequest, sql.UpdateAlertRequestAlert, sql.UpdateQueryRequest, sql.UpdateQueryRequestQuery, sql.UpdateVisualizationRequest and sql.UpdateVisualizationRequestVisualization. - Added
Force
field for catalog.DeleteSchemaRequest. - Added
MaxResults
andPageToken
fields for catalog.GetBindingsRequest. - Added
IncludeAliases
field for catalog.GetByAliasRequest. - Added
IncludeAliases
field for catalog.GetModelVersionRequest. - Added
IncludeAliases
field for catalog.GetRegisteredModelRequest. - Added
MaxResults
andPageToken
fields for catalog.ListSystemSchemasRequest. - Added
NextPageToken
field for catalog.ListSystemSchemasResponse. - Added
Aliases
field for catalog.ModelVersionInfo. - Added
NextPageToken
field for catalog.WorkspaceBindingsResponse. - Added
Version
field for compute.GetPolicyFamilyRequest. - Added
FilterBy
,PageSize
,PageToken
andSortBy
fields for compute.ListClustersRequest. - Added
NextPageToken
andPrevPageToken
fields for compute.ListClustersResponse. - Added
PageToken
field for jobs.GetRunRequest. - Added
Iterations
,NextPageToken
andPrevPageToken
fields for jobs.Run. - Added
CreateTime
,CreatedBy
,CreatorUsername
andScopes
fields for oauth2.GetCustomAppIntegrationOutput. - Added
NextPageToken
field for oauth2.GetCustomAppIntegrationsOutput. - Added
CreateTime
andCreatedBy
fields for oauth2.GetPublishedAppIntegrationOutput. - Added
NextPageToken
field for oauth2.GetPublishedAppIntegrationsOutput. - Added
EnableLocalDiskEncryption
field for pipelines.PipelineCluster. - Added
Whl
field for pipelines.PipelineLibrary. - Added
Health
field for pipelines.PipelineStateInfo. - Added
Ai21labsApiKeyPlaintext
field for serving.Ai21LabsConfig. - Added
AwsAccessKeyIdPlaintext
andAwsSecretAccessKeyPlaintext
fields for serving.AmazonBedrockConfig. - Added
AnthropicApiKeyPlaintext
field for serving.AnthropicConfig. - Added
CohereApiBase
andCohereApiKeyPlaintext
fields for serving.CohereConfig. - Added
DatabricksApiTokenPlaintext
field for serving.DatabricksModelServingConfig. - Added
GoogleCloudVertexAiConfig
field for serving.ExternalModel. - Added
MicrosoftEntraClientSecretPlaintext
andOpenaiApiKeyPlaintext
fields for serving.OpenAiConfig. - Added
PalmApiKeyPlaintext
field for serving.PaLmConfig. - Added
ExpirationTime
field for sharing.CreateRecipient. - Added
NextPageToken
field for sharing.GetRecipientSharePermissionsResponse. - Added
NextPageToken
field for sharing.ListProviderSharesResponse. - Added
MaxResults
andPageToken
fields for sharing.ListProvidersRequest. - Added
NextPageToken
field for sharing.ListProvidersResponse. - Added
MaxResults
andPageToken
fields for sharing.ListRecipientsRequest. - Added
NextPageToken
field for sharing.ListRecipientsResponse. - Added
MaxResults
andPageToken
fields for sharing.ListSharesRequest. - Added
NextPageToken
field for sharing.ListSharesResponse. - Added
MaxResults
andPageToken
fields for sharing.SharePermissionsRequest. - Added
ExpirationTime
field for sharing.UpdateRecipient. - Added
MaxResults
andPageToken
fields for sharing.UpdateSharePermissions. - Added
Condition
,CreateTime
,CustomBody
,CustomSubject
,DisplayName
,LifecycleState
,OwnerUserName
,ParentPath
,QueryId
,SecondsToRetrigger
,TriggerTime
andUpdateTime
fields for sql.Alert. - Added
Id
field for sql.GetAlertRequest. - Added
Id
field for sql.GetQueryRequest. - Added
PageToken
field for sql.ListQueriesRequest. - Added
ApplyAutoLimit
,Catalog
,CreateTime
,DisplayName
,LastModifierUserName
,LifecycleState
,OwnerUserName
,Parameters
,ParentPath
,QueryText
,RunAsMode
,Schema
,UpdateTime
andWarehouseId
fields for sql.Query. - Added
ContextFilter
field for sql.QueryFilter. - Added
QuerySource
field for sql.QueryInfo. - Added
CreateTime
,DisplayName
,QueryId
,SerializedOptions
,SerializedQueryPlan
andUpdateTime
fields for sql.Visualization. - Changed
Create
method for a.Budgets account-level service to return billing.CreateBudgetConfigurationResponse. - Changed
Create
method for a.Budgets account-level service . New request type is billing.CreateBudgetConfigurationRequest. - Changed
Delete
method for a.Budgets account-level service . New request type is billing.DeleteBudgetConfigurationRequest. - Changed
Delete
method for a.Budgets account-level service to returnany
. - Changed
Get
method for a.Budgets account-level service to return billing.GetBudgetConfigurationResponse. - Changed
Get
method for a.Budgets account-level service . New request type is billing.GetBudgetConfigurationRequest. - Changed
List
method for a.Budgets account-level service to return billing.ListBudgetConfigurationsResponse. - Changed
List
method for a.Budgets account-level service to require request of billing.ListBudgetConfigurationsRequest. - Changed
Update
method for a.Budgets account-level service . New request type is billing.UpdateBudgetConfigurationRequest. - Changed
Update
method for a.Budgets account-level service to return billing.UpdateBudgetConfigurationResponse. - Changed
Create
method for a.CustomAppIntegration account-level service with new required argument order. - Changed
List
method for a.CustomAppIntegration account-level service to require request of oauth2.ListCustomAppIntegrationsRequest. - Changed
List
method for a.PublishedAppIntegration account-level service to require request of oauth2.ListPublishedAppIntegrationsRequest. - Changed
Delete
method for a.WorkspaceAssignment account-level service to returnany
. - Changed
Update
method for a.WorkspaceAssignment account-level service with new required argument order. - Changed
Create
method for w.Alerts workspace-level service . New request type is sql.CreateAlertRequest. - Changed
Delete
method for w.Alerts workspace-level service . New request type is sql.TrashAlertRequest. - Changed
Delete
method for w.Alerts workspace-level service to returnany
. - Changed
Get
method for w.Alerts workspace-level service with new required argument order. - Changed
List
method for w.Alerts workspace-level service to require request of sql.ListAlertsRequest. - Changed
List
method for w.Alerts workspace-level service to return sql.ListAlertsResponse. - Changed
Update
method for w.Alerts workspace-level service . New request type is sql.UpdateAlertRequest. - Changed
Update
method for w.Alerts workspace-level service to return sql.Alert. - Changed
Create
andEdit
methods for w.ClusterPolicies workspace-level service with new required argument order. - Changed
Get
method for w.ModelVersions workspace-level service to return catalog.ModelVersionInfo. - Changed
MigratePermissions
method for w.PermissionMigration workspace-level service to return iam.MigratePermissionsResponse. - Changed
MigratePermissions
method for w.PermissionMigration workspace-level service . New request type is iam.MigratePermissionsRequest. - Changed
Create
method for w.Queries workspace-level service . New request type is sql.CreateQueryRequest. - Changed
Delete
method for w.Queries workspace-level service . New request type is sql.TrashQueryRequest. - Changed
Delete
method for w.Queries workspace-level service to returnany
. - Changed
Get
method for w.Queries workspace-level service with new required argument order. - Changed
List
method for w.Queries workspace-level service to return sql.ListQueryObjectsResponse. - Changed
Update
method for w.Queries workspace-level service . New request type is sql.UpdateQueryRequest. - Changed
Create
method for w.QueryVisualizations workspace-level service . New request type is sql.CreateVisualizationRequest. - Changed
Delete
method for w.QueryVisualizations workspace-level service . New request type is sql.DeleteVisualizationRequest. - Changed
Delete
method for w.QueryVisualizations workspace-level service to returnany
. - Changed
Update
method for w.QueryVisualizations workspace-level service . New request type is sql.UpdateVisualizationRequest. - Changed
List
method for w.Shares workspace-level service to require request of sharing.ListSharesRequest. - Changed
ExecuteStatement
andGetStatement
methods for w.StatementExecution workspace-level service to return sql.StatementResponse. - Changed
SecurableType
field for catalog.GetBindingsRequest to catalog.GetBindingsSecurableType. - Changed
SecurableType
field for catalog.UpdateWorkspaceBindingsParameters to catalog.UpdateBindingsSecurableType. - Changed
Name
field for compute.CreatePolicy to no longer be required. - Changed
Name
field for compute.EditPolicy to no longer be required. - Changed
PolicyFamilyId
field for compute.GetPolicyFamilyRequest tostring
. - Changed
PolicyFamilies
field for compute.ListPolicyFamiliesResponse to no longer be required. - Changed
Definition
,Description
,Name
andPolicyFamilyId
fields for compute.PolicyFamily to no longer be required. - Changed
Permissions
field for iam.UpdateWorkspaceAssignments to no longer be required. - Changed
AccessControlList
field for jobs.CreateJob to jobs.JobAccessControlRequestList. - Changed
AccessControlList
field for jobs.SubmitRun to jobs.JobAccessControlRequestList. - Changed
Name
andRedirectUrls
fields for oauth2.CreateCustomAppIntegration to no longer be required. - Changed
IngestionDefinition
field for pipelines.CreatePipeline to pipelines.IngestionPipelineDefinition. - Changed
IngestionDefinition
field for pipelines.EditPipeline to pipelines.IngestionPipelineDefinition. - Changed
IngestionDefinition
field for pipelines.PipelineSpec to pipelines.IngestionPipelineDefinition. - Changed
Ai21labsApiKey
field for serving.Ai21LabsConfig to no longer be required. - Changed
AwsAccessKeyId
andAwsSecretAccessKey
fields for serving.AmazonBedrockConfig to no longer be required. - Changed
AnthropicApiKey
field for serving.AnthropicConfig to no longer be required. - Changed
CohereApiKey
field for serving.CohereConfig to no longer be required. - Changed
DatabricksApiToken
field for serving.DatabricksModelServingConfig to no longer be required. - Changed
PalmApiKey
field for serving.PaLmConfig to no longer be required. - Changed
Tags
field for sql.Query to sql.List. - Changed
UserIds
andWarehouseIds
fields for sql.QueryFilter to sql.List. - Changed
Results
field for sql.QueryList to sql.LegacyQueryList. - Changed
Visualization
field for sql.Widget to sql.LegacyVisualization. - Removed w.Apps workspace-level service.
- Removed
Restore
method for w.Queries workspace-level service. - Removed marketplace.FilterType, marketplace.ProviderIconFile, marketplace.ProviderIconType, marketplace.ProviderListingSummaryInfo, marketplace.SortBy and marketplace.VisibilityFilter.
- Removed billing.Budget, billing.BudgetAlert, billing.BudgetList, billing.BudgetWithStatus, billing.BudgetWithStatusStatusDailyItem, billing.DeleteBudgetRequest,
any
, billing.GetBudgetRequest,any
, billing.WrappedBudget and billing.WrappedBudgetWithStatus. - Removed
any
, iam.PermissionMigrationRequest and iam.PermissionMigrationResponse. - Removed pipelines.ManagedIngestionPipelineDefinition.
- Removed serving.App, serving.AppDeployment, serving.AppDeploymentArtifacts, serving.AppDeploymentMode, serving.AppDeploymentState, serving.AppDeploymentStatus, serving.AppEnvironment, serving.AppState, serving.AppStatus, serving.CreateAppDeploymentRequest, serving.CreateAppRequest, serving.DeleteAppRequest, serving.EnvVariable, serving.GetAppDeploymentRequest, serving.GetAppEnvironmentRequest, serving.GetAppRequest, serving.ListAppDeploymentsRequest, serving.ListAppDeploymentsResponse, serving.ListAppsRequest, serving.ListAppsResponse, serving.StartAppRequest, serving.StopAppRequest,
any
and serving.UpdateAppRequest. - Removed sql.CreateQueryVisualizationRequest, sql.DeleteAlertRequest, sql.DeleteQueryRequest, sql.DeleteQueryVisualizationRequest, sql.ExecuteStatementResponse, sql.GetStatementResponse, sql.RestoreQueryRequest, sql.StatementId, sql.UserId and sql.WarehouseId.
- Removed compute.PolicyFamilyId.
- Removed
CanUseClient
field for compute.ListClustersRequest. - Removed
IsAscending
andSortBy
fields for marketplace.ListListingsRequest. - Removed
ProviderSummary
field for marketplace.Listing. - Removed
Filters
field for marketplace.ListingSetting. - Removed
MetastoreId
field for marketplace.ListingSummary. - Removed
IsAscending
andSortBy
fields for marketplace.SearchListingsRequest. - Removed
CreatedAt
,LastTriggeredAt
,Name
,Options
,Parent
,Query
,Rearm
,UpdatedAt
andUser
fields for sql.Alert. - Removed
AlertId
field for sql.GetAlertRequest. - Removed
QueryId
field for sql.GetQueryRequest. - Removed
Order
,Page
andQ
fields for sql.ListQueriesRequest. - Removed
IncludeMetrics
field for sql.ListQueryHistoryRequest. - Removed
CanEdit
,CreatedAt
,DataSourceId
,IsArchived
,IsDraft
,IsFavorite
,IsSafe
,LastModifiedBy
,LastModifiedById
,LatestQueryDataId
,Name
,Options
,Parent
,PermissionTier
,Query
,QueryHash
,RunAsRole
,UpdatedAt
,User
,UserId
andVisualizations
fields for sql.Query. - Removed
StatementIds
field for sql.QueryFilter. - Removed
CanSubscribeToLiveQuery
field for sql.QueryInfo. - Removed
MetadataTimeMs
,PlanningTimeMs
andQueryExecutionTimeMs
fields for sql.QueryMetrics. - Removed
CreatedAt
,Description
,Name
,Options
,Query
andUpdatedAt
fields for sql.Visualization.
OpenAPI SHA: f98c07f9c71f579de65d2587bb0292f83d10e55d, Date: 2024-08-12
- Enforce Tag on PRs (#969).
- Generate SDK for
apierr
changes (#970). - Add Release tag and Workflow Fix (#972).
- Add a credentials provider for Github Azure OIDC (#965).
- Add DataPlane API Support (#936).
- Added more error messages for retriable errors (timeouts, etc.) (#963).
- Add ChangelogConfig to Generator struct (#967).
- Improve Changelog by grouping changes (#962).
- Parse API Error messages with
int
error codes (#960).
Major Changes and Improvements:
- Support partners in user agent for SDK (#925).
- Add
serverless_compute_id
field to the config (#952).
Other Changes:
API Changes:
- Changed
IsolationMode
field for catalog.CatalogInfo to catalog.CatalogIsolationMode. - Added
IsolationMode
field for catalog.ExternalLocationInfo. - Added
MaxResults
andPageToken
fields for catalog.ListCatalogsRequest. - Added
NextPageToken
field for catalog.ListCatalogsResponse. - Added
TableServingUrl
field for catalog.OnlineTable. - Added
IsolationMode
field for catalog.StorageCredentialInfo. - Changed
IsolationMode
field for catalog.UpdateCatalog to catalog.CatalogIsolationMode. - Added
IsolationMode
field for catalog.UpdateExternalLocation. - Added
IsolationMode
field for catalog.UpdateStorageCredential. - Added catalog.CatalogIsolationMode.
- Added
CreateSchedule
,CreateSubscription
,DeleteSchedule
,DeleteSubscription
,GetSchedule
,GetSubscription
,List
,ListSchedules
,ListSubscriptions
andUpdateSchedule
methods for w.Lakeview workspace-level service. - Added dashboards.CreateScheduleRequest, dashboards.CreateSubscriptionRequest, dashboards.CronSchedule, dashboards.DashboardView, dashboards.DeleteScheduleRequest, dashboards.DeleteSubscriptionRequest, dashboards.GetScheduleRequest, dashboards.GetSubscriptionRequest, dashboards.ListDashboardsRequest, dashboards.ListDashboardsResponse, dashboards.ListSchedulesRequest, dashboards.ListSchedulesResponse, dashboards.ListSubscriptionsRequest, dashboards.ListSubscriptionsResponse, dashboards.Schedule, dashboards.SchedulePauseStatus, dashboards.Subscriber, dashboards.Subscription, dashboards.SubscriptionSubscriberDestination, dashboards.SubscriptionSubscriberUser and dashboards.UpdateScheduleRequest structs.
- Added
OnStreamingBacklogExceeded
field for jobs.JobEmailNotifications. - Added
EnvironmentKey
field for jobs.RunTask. - Removed
ConditionTask
,DbtTask
,NotebookTask
,PipelineTask
,PythonWheelTask
,RunJobTask
,SparkJarTask
,SparkPythonTask
,SparkSubmitTask
,SqlTask
andEnvironments
fields for jobs.SubmitRun. - Added
DbtTask
andEnvironmentKey
field for jobs.SubmitTask. - Added
OnStreamingBacklogExceeded
field for jobs.TaskEmailNotifications. - Added
Periodic
field for jobs.TriggerSettings. - Added
OnStreamingBacklogExceeded
field for jobs.WebhookNotifications. - Added jobs.PeriodicTriggerConfiguration.
- Added jobs.PeriodicTriggerConfigurationTimeUnit.
- Added
ProviderSummary
field for marketplace.Listing. - Added marketplace.ProviderIconFile.
- Added marketplace.ProviderIconType.
- Added marketplace.ProviderListingSummaryInfo.
- Added
Start
method for w.Apps workspace-level service. - Added w.ServingEndpointsDataPlane workspace-level service.
- Added
ServicePrincipalId
field for serving.App. - Added
ServicePrincipalName
field for serving.App. - Added serving.StartAppRequest.
- Added
QueryNextPage
method for w.VectorSearchIndexes workspace-level service. - Added
QueryType
field for vectorsearch.QueryVectorIndexRequest. - Added
NextPageToken
field for vectorsearch.QueryVectorIndexResponse. - Added vectorsearch.QueryVectorIndexNextPageRequest.
OpenAPI SHA: 7437dabb9dadee402c1fc060df4c1ce8cc5369f0, Date: 2024-06-25
- Ignore additional flaky test (#930).
- Ignore DataPlane Services during generation (#933).
- Update OpenAPI spec (#934).
API Changes:
- Changed
List
method for a.AccountStorageCredentials account-level service to return catalog.ListAccountStorageCredentialsResponse. - Added catalog.ListAccountStorageCredentialsResponse.
- Added
TerminationCategory
field for jobs.ForEachTaskErrorMessageStats. - Added oauth2.DataPlaneInfo.
- Removed
CreateDeployment
method for w.Apps workspace-level service. - Added
Deploy
method for w.Apps workspace-level service. - Added
Mode
field for serving.AppDeployment. - Added
Mode
field for serving.CreateAppDeploymentRequest. - Added
DataPlaneInfo
field for serving.ServingEndpointDetailed. - Added serving.AppDeploymentMode.
- Added serving.ModelDataPlaneInfo.
OpenAPI SHA: 37b925eba37dfb3d7e05b6ba2d458454ce62d3a0, Date: 2024-06-03
Dependency updates:
- Bump golang.org/x/mod from 0.16.0 to 0.17.0 (#879).
- Bump golang.org/x/oauth2 from 0.18.0 to 0.20.0 (#911).
- Bump golang.org/x/net from 0.24.0 to 0.25.0 (#912).
- Bump google.golang.org/api from 0.169.0 to 0.182.0 (#932).
- Renamed
CredentialsProvider
toCredentialsStrategy
.
- Create a method to generate OAuth tokens (#886).
- Better error message when private link enabled workspaces reject requests (#924).
- Update OpenAPI spec (#926).
- Changed
List
method for w.Connections workspace-level service to require request of catalog.ListConnectionsRequest. - Renamed w.LakehouseMonitors workspace-level service to w.QualityMonitors.
- Renamed catalog.DeleteLakehouseMonitorRequest.
- Changed
SchemaName
field for catalog.DisableRequest tostring
. - Removed catalog.DisableSchemaName to catalog.DeleteQualityMonitorRequest.
- Changed
SchemaName
field for catalog.EnableRequest tostring
. - Removed catalog.EnableSchemaName.
- Renamed catalog.GetLakehouseMonitorRequest to catalog.GetQualityMonitorRequest.
- Added
NextPageToken
field for catalog.ListConnectionsResponse. - Added
DashboardId
field for catalog.UpdateMonitor. - Added catalog.ListConnectionsRequest.
- Added catalog.MonitorRefreshListResponse.
- Changed
ClusterStatus
method for w.Libraries workspace-level service to return compute.ClusterLibraryStatuses. - Removed
ClusterSource
field for compute.ClusterAttributes. - Changed
Spec
field for compute.ClusterDetails to compute.ClusterSpec. - Removed
CloneFrom
andClusterSource
fields for compute.ClusterSpec. - Removed compute.ClusterStatusResponse.
- Removed
ClusterSource
field for compute.CreateCluster. - Removed
CloneFrom
andClusterSource
fields for compute.EditCluster. - Rename
SortBySpec
field toSortBy
for marketplace.ListListingsRequest. - Added
IsAscending
field for marketplace.ListListingsRequest. - Added
IsAscending
field for marketplace.SearchListingsRequest. - Removed marketplace.SortBySpec.
- Removed marketplace.SortOrder.
- Added
GatewayDefinition
field for pipelines.CreatePipeline. - Added
GatewayDefinition
field for pipelines.EditPipeline. - Added
TableConfiguration
field for pipelines.ManagedIngestionPipelineDefinition. - Added
GatewayDefinition
field for pipelines.PipelineSpec. - Added
TableConfiguration
field for pipelines.SchemaSpec. - Added
TableConfiguration
field for pipelines.TableSpec. - Added pipelines.IngestionGatewayPipelineDefinition.
- Added pipelines.TableSpecificConfig.
- Added pipelines.TableSpecificConfigScdType.
- Added
DeploymentArtifacts
field for serving.AppDeployment. - Added
RouteOptimized
field for serving.CreateServingEndpoint. - Added
Contents
field for serving.ExportMetricsResponse. - Changed
OpenaiApiKey
field for serving.OpenAiConfig to no longer be required. - Added
MicrosoftEntraClientId
,MicrosoftEntraClientSecret
andMicrosoftEntraTenantId
fields for serving.OpenAiConfig. - Added
EndpointUrl
andRouteOptimized
field for serving.ServingEndpointDetailed. - Added serving.AppDeploymentArtifacts.
- Added
StorageRoot
field for sharing.CreateShare. - Added
StorageLocation
andStorageRoot
field for sharing.ShareInfo. - Added
StorageRoot
field for sharing.UpdateShare. - Added
ScanIndex
method for w.VectorSearchIndexes workspace-level service. - Added
EmbeddingWritebackTable
field for vectorsearch.DeltaSyncVectorIndexSpecRequest. - Added
EmbeddingWritebackTable
field for vectorsearch.DeltaSyncVectorIndexSpecResponse. - Added vectorsearch.ListValue.
- Added vectorsearch.MapStringValueEntry.
- Added vectorsearch.ScanVectorIndexRequest.
- Added vectorsearch.ScanVectorIndexResponse.
- Added vectorsearch.Struct.
- Added vectorsearch.Value.
OpenAPI SHA: 7eb5ad9a2ed3e3f1055968a2d1014ac92c06fe92, Date: 2024-05-21
- Fixed codecov for repository (#909).
- Add traceparent header to enable distributed tracing. (#914).
- Log cancelled and failed requests (#919).
Dependency updates:
- Bump golang.org/x/net from 0.22.0 to 0.24.0 (#884).
- Bump golang.org/x/net from 0.17.0 to 0.23.0 in /examples/zerolog (#896).
- Bump golang.org/x/net from 0.21.0 to 0.23.0 in /examples/slog (#897).
- Allow unlimited timeouts in retries (#904). By setting RETRY_TIMEOUT_SECONDS to a negative value, WorkspaceClient and AccountClient will retry retriable failures indefinitely. As a reminder, without setting this parameter, the default retry timeout is 5 minutes.
API Changes:
- Changed
Create
method for w.Apps workspace-level service . New request type is serving.CreateAppRequest. - Changed
Create
method for w.Apps workspace-level service to return serving.App. - Removed
DeleteApp
method for w.Apps workspace-level service. - Removed
GetApp
method for w.Apps workspace-level service. - Removed
GetAppDeploymentStatus
method for w.Apps workspace-level service. - Removed
GetApps
method for w.Apps workspace-level service. - Removed
GetEvents
method for w.Apps workspace-level service. - Added
CreateDeployment
method for w.Apps workspace-level service. - Added
Delete
method for w.Apps workspace-level service. - Added
Get
method for w.Apps workspace-level service. - Added
GetDeployment
method for w.Apps workspace-level service. - Added
GetEnvironment
method for w.Apps workspace-level service. - Added
List
method for w.Apps workspace-level service. - Added
ListDeployments
method for w.Apps workspace-level service. - Added
Stop
method for w.Apps workspace-level service. - Added
Update
method for w.Apps workspace-level service. - Removed serving.AppEvents.
- Removed serving.AppManifest.
- Removed serving.AppServiceStatus.
- Removed serving.DeleteAppResponse.
- Removed serving.DeployAppRequest.
- Removed serving.DeploymentStatus.
- Removed serving.DeploymentStatusState.
- Removed serving.GetAppDeploymentStatusRequest.
- Removed serving.GetAppResponse.
- Removed serving.GetEventsRequest.
- Removed serving.ListAppEventsResponse.
- Changed
Apps
field for serving.ListAppsResponse to serving.AppList. - Added serving.App.
- Added serving.AppDeployment.
- Added serving.AppDeploymentState.
- Added serving.AppDeploymentStatus.
- Added serving.AppEnvironment.
- Added serving.AppState.
- Added serving.AppStatus.
- Added serving.CreateAppDeploymentRequest.
- Added serving.CreateAppRequest.
- Added serving.EnvVariable.
- Added serving.GetAppDeploymentRequest.
- Added serving.GetAppEnvironmentRequest.
- Added serving.ListAppDeploymentsRequest.
- Added serving.ListAppDeploymentsResponse.
- Added serving.ListAppsRequest.
- Added serving.StopAppRequest.
- Added
any
. - Added serving.UpdateAppRequest.
- Removed w.CspEnablement workspace-level service.
- Removed w.EsmEnablement workspace-level service.
- Added w.ComplianceSecurityProfile workspace-level service.
- Added w.EnhancedSecurityMonitoring workspace-level service.
- Removed settings.CspEnablement.
- Removed settings.CspEnablementSetting.
- Removed settings.EsmEnablement.
- Removed settings.EsmEnablementSetting.
- Removed settings.GetCspEnablementSettingRequest.
- Removed settings.GetEsmEnablementSettingRequest.
- Removed settings.UpdateCspEnablementSettingRequest.
- Removed settings.UpdateEsmEnablementSettingRequest.
- Added settings.ComplianceSecurityProfile.
- Added settings.ComplianceSecurityProfileSetting.
- Added settings.EnhancedSecurityMonitoring.
- Added settings.EnhancedSecurityMonitoringSetting.
- Added settings.GetComplianceSecurityProfileSettingRequest.
- Added settings.GetEnhancedSecurityMonitoringSettingRequest.
- Added settings.UpdateComplianceSecurityProfileSettingRequest.
- Added settings.UpdateEnhancedSecurityMonitoringSettingRequest.
- Added
Tags
field for sql.DashboardEditContent. - Added
Tags
field for sql.QueryEditContent. - Added
Catalog
field for sql.QueryOptions. - Added
Schema
field for sql.QueryOptions. - Added
Tags
field for sql.QueryPostContent. - Added
Query
field for sql.Visualization.
OpenAPI SHA: master, Date: 2024-05-02 Dependency updates:
- Bump version of mockery (#907).
- Ignored flaky integration tests (#894).
- Added retries for "worker env WorkerEnvId(workerenv-XXXXX) not found" (#890).
- Updated SDK to OpenAPI spec (#899).
Note: This release contains breaking changes, please see the API changes below for more details.
API Changes:
- Added
IngestionDefinition
field for pipelines.CreatePipeline, pipelines.EditPipeline and pipelines.PipelineSpec. - Added
Deployment
field for pipelines.CreatePipeline, pipelines.EditPipeline and pipelines.PipelineSpec. - Added compute.ClusterStatus.
- Added compute.ClusterStatusResponse.
- Added compute.LibraryInstallStatus.
- Added
WarehouseId
field for jobs.NotebookTask. - Added
RunAs
field for jobs.SubmitRun. - Added pipelines.DeploymentKind.
- Added pipelines.IngestionConfig.
- Added pipelines.ManagedIngestionPipelineDefinition.
- Added pipelines.PipelineDeployment.
- Added pipelines.SchemaSpec.
- Added pipelines.TableSpec.
- Added
GetOpenApi
method for w.ServingEndpoints workspace-level service. - Added serving.GetOpenApiRequest.
- Added
SchemaId
field for catalog.SchemaInfo. - Added
Operation
field for catalog.ValidationResult. - Added catalog.ValidationResultOperation.
- Added
Requirements
field for compute.Library. - Removed
AwsOperation
field for catalog.ValidationResult. - Removed
AzureOperation
field for catalog.ValidationResult. - Removed
GcpOperation
field for catalog.ValidationResult. - Removed catalog.ValidationResultAwsOperation.
- Removed catalog.ValidationResultAzureOperation.
- Removed catalog.ValidationResultGcpOperation.
- Removed compute.ClusterStatusRequest.
- Removed compute.LibraryFullStatusStatus.
- Changed
ClusterStatus
method for w.Libraries workspace-level service . New request type is compute.ClusterStatus. - Changed
ClusterStatus
method for w.Libraries workspace-level service to return compute.ClusterStatusResponse. - Changed
Status
field for compute.LibraryFullStatus to compute.LibraryInstallStatus.
OpenAPI SHA: 21f9f1482f9d0d15228da59f2cd9f0863d2a6d55, Date: 2024-04-23
- Override INVALID_PARAMETER_VALUE on fetching non-existent job/cluster (#864). The error returned when fetching a non-existent job or cluster has been changed from
INVALID_PARAMETER_VALUE
toRESOURCE_DOES_NOT_EXIST
. Update your error handling code to check fordatabricks.ErrResourceDoesNotExist
instead ofdatabricks.ErrInvalidParameterValue
. For example, if you are using theJobs.GetById
method, you should update your error handling code to:
_, err := w.Jobs.GetById(ctx, "id")
if errors.Is(err, databricks.ErrResourceDoesNotExist) {
// handle the error
}
Note that the original error code is still accessible in the ErrorCode
field of APIError
.
- Do not leak secondary authorization tokens in debug logs (#882).
- Fix logging of request bodies containing percent characters. (#881).
- Added clientId and clientSecret to oauth-m2m auth_types (#885).
- Support custom AuthVisitors (#874).
API Changes:
- Replaced catalog.AzureManagedIdentity with catalog.AzureManagedIdentityRequest and catalog.AzureManagedIdentityResponse.
- Renamed
FullName
field toTableName
for catalog.CancelRefreshRequest, catalog.CreateMonitor, catalog.DeleteLakehouseMonitorRequest, catalog.GetLakehouseMonitorRequest, catalog.GetRefreshRequest, catalog.ListRefreshesRequest. - Changed
CustomMetrics
field for catalog.CreateMonitor to catalog.MonitorMetricList. - Changed
InferenceLog
field for catalog.CreateMonitor to catalog.MonitorInferenceLog. - Changed
Notifications
field for catalog.CreateMonitor to catalog.MonitorNotifications. - Changed
Snapshot
field for catalog.CreateMonitor toany
. - Changed
TimeSeries
field for catalog.CreateMonitor to catalog.MonitorTimeSeries. - Changed
QuartzCronExpression
field for catalog.MonitorCronSchedule to be required. - Changed
TimezoneId
field for catalog.MonitorCronSchedule to be required. - Renamed catalog.MonitorCustomMetric to catalog.MonitorMetric.
- Renamed catalog.MonitorCustomMetricType to catalog.MonitorMetricType.
- Renamed catalog.MonitorDestinations to catalog.MonitorDestination.
- Renamed catalog.MonitorInferenceLogProfileType to catalog.MonitorInferenceLog.
- Renamed catalog.MonitorInferenceLogProfileTypeProblemType to catalog.MonitorInferenceLogProblemType.
- Renamed catalog.MonitorNotificationsConfig to catalog.MonitorNotifications.
- Changed
CustomMetrics
field for catalog.MonitorInfo to catalog.MonitorMetricList. - Changed
DriftMetricsTableName
field for catalog.MonitorInfo to be required. - Changed
InferenceLog
field for catalog.MonitorInfo to catalog.MonitorInferenceLog. - Changed
MonitorVersion
field for catalog.MonitorInfo to be required. - Changed
Notifications
field for catalog.MonitorInfo to catalog.MonitorNotifications. - Changed
ProfileMetricsTableName
field for catalog.MonitorInfo to be required. - Changed
Snapshot
field for catalog.MonitorInfo toany
. - Changed
Status
field for catalog.MonitorInfo to be required. - Changed
TableName
field for catalog.MonitorInfo to be required. - Changed
TimeSeries
field for catalog.MonitorInfo to catalog.MonitorTimeSeries. - Changed
RefreshId
field for catalog.MonitorRefreshInfo to be required. - Changed
StartTimeMs
field for catalog.MonitorRefreshInfo to be required. - Changed
State
field for catalog.MonitorRefreshInfo to be required. - Added
Trigger
field for catalog.MonitorRefreshInfo. - Removed catalog.MonitorTimeSeriesProfileType.
- Removed
FullName
field for catalog.RunRefreshRequest. - Added
TableName
field for catalog.RunRefreshRequest. - Changed
AzureManagedIdentity
field for catalog.StorageCredentialInfo to . - Removed
Name
field for catalog.TableRowFilter. - Added
FunctionName
field for catalog.TableRowFilter. - Changed
CustomMetrics
field for catalog.UpdateMonitor to catalog.MonitorMetricList. - Removed
FullName
field for catalog.UpdateMonitor. - Changed
InferenceLog
field for catalog.UpdateMonitor to catalog.MonitorInferenceLog. - Changed
Notifications
field for catalog.UpdateMonitor to catalog.MonitorNotifications. - Changed
Snapshot
field for catalog.UpdateMonitor toany
. - Changed
TimeSeries
field for catalog.UpdateMonitor to catalog.MonitorTimeSeries. - Added
TableName
field for catalog.UpdateMonitor. - Changed
AzureManagedIdentity
field for catalog.UpdateStorageCredential to catalog.AzureManagedIdentityResponse. - Changed
AzureManagedIdentity
field for catalog.ValidateStorageCredential to catalog.AzureManagedIdentityRequest. - Replaced
Operation
field for catalog.ValidationResult withAwsOperation
,AzureOperation
andGcpOperation
. - Replaced catalog.ValidationResultOperation with catalog.ValidationResultAwsOperation, catalog.ValidationResultAzureOperation and catalog.ValidationResultGcpOperation.
- Added catalog.MonitorRefreshInfoTrigger.
- Added catalog.MonitorTimeSeries.
- Removed compute.ComputeSpec.
- Removed compute.ComputeSpecKind.
- Added
CloneFrom
field to compute.CreateCluster, compute.ClusterSpec, and compute.EditCluster. - Added compute.CloneCluster.
- Added compute.Environment.
- Changed
Update
method for a.WorkspaceAssignment account-level service to return iam.PermissionAssignment. - Removed
ComputeKey
field for jobs.ClusterSpec. - Removed
Compute
field for jobs.CreateJob. - Added
Environments
field for jobs.CreateJob. - Removed jobs.JobCompute.
- Removed
Compute
field for jobs.JobSettings. - Added
Environments
field for jobs.JobSettings. - Removed
ComputeKey
field for jobs.RunTask. - Removed jobs.TableTriggerConfiguration.
- Removed
ComputeKey
field for jobs.Task. - Added
EnvironmentKey
field for jobs.Task. - Changed
Table
field for jobs.TriggerSettings to jobs.TableUpdateTriggerConfiguration. - Changed
TableUpdate
field for jobs.TriggerSettings to jobs.TableUpdateTriggerConfiguration. - Added jobs.JobEnvironment.
- Added jobs.TableUpdateTriggerConfiguration.
- Added marketplace package.
OpenAPI SHA: 94684175b8bd65f8701f89729351f8069e8309c9, Date: 2024-04-11
- Fix integration test naming for UC Files (#868).
- Added
Migrate
andUnpublish
methods for w.Lakeview workspace-level service. - Added dashboards.MigrateDashboardRequest.
- Added dashboards.UnpublishDashboardRequest.
- Added
Description
,QueueDuration
andRepairHistory
fields for jobs.BaseRun. - Added
ComputeKey
andJobClusterKey
fields for jobs.ClusterSpec. - Changed
Left
,Op
andRight
fields for jobs.ConditionTask to be required. - Changed
EditMode
field for jobs.CreateJob to jobs.JobEditMode. - Replaced jobs.CreateJobEditMode to jobs.JobEditMode.
- Changed
Url
field for jobs.FileArrivalTriggerConfiguration to be required. - Changed
ErrorMessageStats
field for jobs.ForEachStats to jobs.ForEachTaskErrorMessageStatsList. - Changed
NewCluster
field for jobs.JobCluster to be required. - Changed
EditMode
field for jobs.JobSettings to jobs.JobEditMode. - Replaced jobs.JobSettingsEditMode by jobs.JobEditMode.
- Changed
Metric
,Op
andValue
fields for jobs.JobsHealthRule to be required. - Changed
RunType
field for jobs.ListRunsRequest to jobs.RunType. - Removed jobs.ListRunsRunType.
- Removed jobs.ParamPairs.
- Changed
PipelineId
field for jobs.PipelineTask to be required. - Changed
EntryPoint
andPackageName
fields for jobs.PythonWheelTask to be required. - Changed
JobParameters
field for jobs.RepairRun to map[string]string
. - Changed
BaseParameters
field for jobs.ResolvedNotebookTaskValues to map[string]string
. - Changed
Parameters
field for jobs.ResolvedParamPairValues to map[string]string
. - Changed
NamedParameters
field for jobs.ResolvedPythonWheelTaskValues to map[string]string
. - Removed
NamedParameters
field for jobs.ResolvedRunJobTaskValues. - Changed
Parameters
field for jobs.ResolvedRunJobTaskValues to map[string]string
. - Added
JobParameters
field for jobs.ResolvedRunJobTaskValues. - Added
Description
field for jobs.Run. - Added
QueueDuration
field for jobs.Run. - Changed
Op
field for jobs.RunConditionTask to jobs.ConditionTaskOp. - Removed jobs.RunConditionTaskOp.
- Changed
Inputs
andTask
fields for jobs.RunForEachTask to be required. - Changed
JobParameters
field for jobs.RunJobTask to map[string]string
. - Added
DbtCommands
,JarParams
,NotebookParams
,PipelineParams
,PythonNamedParams
,PythonParams
,SparkSubmitParams
andSqlParams
fields for jobs.RunJobTask. - Changed
JobParameters
field for jobs.RunNow to map[string]string
. - Added
Info
field for jobs.RunOutput. - Removed
JobParameters
field for jobs.RunParameters. - Changed
TaskKey
field for jobs.RunTask to be required. - Added
ComputeKey
,EmailNotifications
,JobClusterKey
,NotificatioSettings
,RunDuration
,RunPageUrl
,TimeoutSeconds
andWebhookNotifications
fields for jobs.RunTask. - Added
EndpointId
field for jobs.SqlQueryOutput. - Added
ConditionTask
field for jobs.SubmitRun. - Added
DbtCommands
,JarParams
,NotebookParams
,PipelineParams
,PythonNamedParams
,PythonParams
,SparkSubmitParams
andSqlParams
field for jobs.SubmitRun. - Added
Description
field for jobs.SubmitTask. - Added
DisableAutoOptimization
field for jobs.Task. - Added
NoAlertForSkippedRuns
field for jobs.TaskEmailNotifications. - Added
TableUpdate
field for jobs.TriggerSettings. - Changed
Id
field for jobs.Webhook to be required. - Changed
OnDurationWarningThresholdExceeded
field for jobs.WebhookNotifications to jobs.WebhookList. - Removed jobs.WebhookNotificationsOnDurationWarningThresholdExceededItem.
- Added jobs.JobEditMode.
- Removed serving.AwsBedrockConfig.
- Removed serving.AwsBedrockConfigBedrockProvider.
- Removed
AwsBedrockConfig
field for serving.ExternalModel. - Added
AmazonBedrockConfig
field for serving.ExternalModel. - Added serving.AmazonBedrockConfig.
- Added serving.AmazonBedrockConfigBedrockProvider.
- Changed
Get
method for w.IpAccessLists workspace-level service . New request type is settings.GetIpAccessListRequest. - Renamed settings.GetIpAccessList to settings.GetIpAccessListRequest.
OpenAPI SHA: d38528c3e47dd81c9bdbd918272a3e49d36e09ce, Date: 2024-03-27
API Changes:
- Changed
Get
method for w.Lakeview workspace-level service . New request type is dashboards.GetDashboardRequest. - Changed
GetPublished
method for w.Lakeview workspace-level service . New request type is dashboards.GetPublishedDashboardRequest. - Changed
Trash
method for w.Lakeview workspace-level service . New request type is dashboards.TrashDashboardRequest. - Removed dashboards.GetLakeviewRequest.
- Removed dashboards.GetPublishedRequest.
- Removed dashboards.TrashRequest.
- Added dashboards.GetDashboardRequest.
- Added dashboards.GetPublishedDashboardRequest.
- Added dashboards.TrashDashboardRequest.
- Added
AutoCaptureConfig
field for serving.EndpointPendingConfig. - Changed
Get
method for w.AutomaticClusterUpdate workspace-level service . New request type is settings.GetAutomaticClusterUpdateSettingRequest. - Changed
Get
method for w.CspEnablement workspace-level service . New request type is settings.GetCspEnablementSettingRequest. - Changed
Get
method for a.CspEnablementAccount account-level service . New request type is settings.GetCspEnablementAccountSettingRequest. - Changed
Delete
method for w.DefaultNamespace workspace-level service . New request type is settings.DeleteDefaultNamespaceSettingRequest. - Changed
Get
method for w.DefaultNamespace workspace-level service . New request type is settings.GetDefaultNamespaceSettingRequest. - Changed
Get
method for w.EsmEnablement workspace-level service . New request type is settings.GetEsmEnablementSettingRequest. - Changed
Get
method for a.EsmEnablementAccount account-level service . New request type is settings.GetEsmEnablementAccountSettingRequest. - Changed
Get
method for w.IpAccessLists workspace-level service . New request type is settings.GetIpAccessList. - Changed
Delete
method for a.PersonalCompute account-level service . New request type is settings.DeletePersonalComputeSettingRequest. - Changed
Get
method for a.PersonalCompute account-level service . New request type is settings.GetPersonalComputeSettingRequest. - Changed
Delete
method for w.RestrictWorkspaceAdmins workspace-level service . New request type is settings.DeleteRestrictWorkspaceAdminsSettingRequest. - Changed
Get
method for w.RestrictWorkspaceAdmins workspace-level service . New request type is settings.GetRestrictWorkspaceAdminsSettingRequest. - Removed settings.DeleteDefaultNamespaceRequest.
- Removed settings.DeletePersonalComputeRequest.
- Removed settings.DeleteRestrictWorkspaceAdminRequest.
- Removed settings.GetAutomaticClusterUpdateRequest.
- Removed settings.GetCspEnablementAccountRequest.
- Removed settings.GetCspEnablementRequest.
- Removed settings.GetDefaultNamespaceRequest.
- Removed settings.GetEsmEnablementAccountRequest.
- Removed settings.GetEsmEnablementRequest.
- Removed settings.GetIpAccessListRequest.
- Removed settings.GetPersonalComputeRequest.
- Removed settings.GetRestrictWorkspaceAdminRequest.
- Added settings.DeleteDefaultNamespaceSettingRequest.
- Added settings.DeletePersonalComputeSettingRequest.
- Added settings.DeleteRestrictWorkspaceAdminsSettingRequest.
- Added settings.GetAutomaticClusterUpdateSettingRequest.
- Added settings.GetCspEnablementAccountSettingRequest.
- Added settings.GetCspEnablementSettingRequest.
- Added settings.GetDefaultNamespaceSettingRequest.
- Added settings.GetEsmEnablementAccountSettingRequest.
- Added settings.GetEsmEnablementSettingRequest.
- Added settings.GetIpAccessList.
- Added settings.GetPersonalComputeSettingRequest.
- Added settings.GetRestrictWorkspaceAdminsSettingRequest.
- Changed
DataObjectType
field for sharing.SharedDataObject to sharing.SharedDataObjectDataObjectType. - Added
Content
field for sharing.SharedDataObject. - Added sharing.SharedDataObjectDataObjectType.
- Added
EmbeddingSourceColumns
field for vectorsearch.DirectAccessVectorIndexSpec.
OpenAPI SHA: 93763b0d7ae908520c229c786fff28b8fd623261, Date: 2024-03-20
- Added Config.GetAuthDetails (#838).
- Support DATABRICKS_SDK_UPSTREAM and DATABRICKS_SDK_UPSTREAM_VERSION (#854).
- Add telemetry for SDK usage from DBR (#851).
- Fix TestUcAccShares (#858).
API Changes:
- Changed
List
method for w.Catalogs workspace-level service to require request of catalog.ListCatalogsRequest. - Changed
Create
method for w.OnlineTables workspace-level service . New request type is catalog.CreateOnlineTableRequest. - Removed catalog.AwsIamRole.
- Changed
AwsIamRole
field for catalog.CreateStorageCredential to catalog.AwsIamRoleRequest. - Changed
AwsIamRole
field for catalog.StorageCredentialInfo to catalog.AwsIamRoleResponse. - Changed
AwsIamRole
field for catalog.UpdateStorageCredential to catalog.AwsIamRoleRequest. - Changed
AwsIamRole
field for catalog.ValidateStorageCredential to catalog.AwsIamRoleRequest. - Changed
Notifications
field for catalog.CreateMonitor to catalog.MonitorNotificationsConfig. - Changed
Notifications
field for catalog.UpdateMonitor to catalog.MonitorNotificationsConfig. - Changed
Notifications
field for catalog.MonitorInfo to catalog.MonitorNotificationsConfig. - Added
IncludeBrowse
field for catalog.GetCatalogRequest, catalog.GetExternalLocationRequest, catalog.GetFunctionRequest, catalog.GetModelVersionRequest, catalog.GetRegisteredModelRequest, catalog.GetSchemaRequest, catalog.GetTableRequest, catalog.ListExternalLocationsRequest, catalog.ListFunctionsRequest, catalog.ListModelVersionsRequest, catalog.ListRegisteredModelsRequest, catalog.ListSchemasRequest, catalog.ListTablesRequest, catalog.ListVolumesRequest, and catalog.ReadVolumeRequest. - Added
BrowseOnly
field for catalog.ExternalLocationInfo, catalog.FunctionInfo, catalog.ModelVersionInfo, catalog.RegisteredModelInfo, catalog.SchemaInfo, catalog.TableInfo, and catalog.VolumeInfo. - Removed catalog.ViewData.
- Added catalog.AwsIamRoleRequest.
- Added catalog.AwsIamRoleResponse.
- Added catalog.CreateOnlineTableRequest.
- Added catalog.ListCatalogsRequest.
- Changed
Publish
method for w.Lakeview workspace-level service to return dashboards.PublishedDashboard. - Added
Create
method for w.Lakeview workspace-level service. - Added
Get
method for w.Lakeview workspace-level service. - Added
GetPublished
method for w.Lakeview workspace-level service. - Added
Trash
method for w.Lakeview workspace-level service. - Added
Update
method for w.Lakeview workspace-level service. - Added dashboards.CreateDashboardRequest.
- Added dashboards.Dashboard.
- Added dashboards.GetLakeviewRequest.
- Added dashboards.GetPublishedRequest.
- Added dashboards.LifecycleState.
- Added dashboards.PublishedDashboard.
- Added dashboards.TrashRequest.
- Added dashboards.UpdateDashboardRequest.
- Added
ScoreThreshold
field for vectorsearch.QueryVectorIndexRequest.
OpenAPI SHA: 3821dc51952c5cf1c276dd84967da011b191e64a, Date: 2024-03-19 Dependency updates:
- Bump google.golang.org/protobuf from 1.31.0 to 1.33.0 in /examples/zerolog (#855).
- Bump google.golang.org/protobuf from 1.31.0 to 1.33.0 in /examples/slog (#856).
- Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 (#857).
- Bump github.com/stretchr/testify from 1.8.4 to 1.9.0 (#840).
- Bump golang.org/x/mod from 0.15.0 to 0.16.0 (#843).
- Bump golang.org/x/oauth2 from 0.17.0 to 0.18.0 (#845).
- Bump google.golang.org/api from 0.166.0 to 0.169.0 (#849).
Release v0.35.0
- Added Config.GetAuthDetails (#838).
- Support DATABRICKS_SDK_UPSTREAM and DATABRICKS_SDK_UPSTREAM_VERSION (#854).
- Add telemetry for SDK usage from DBR (#851).
- Fix TestUcAccShares (#858).
API Changes:
- Changed
List
method for w.Catalogs workspace-level service to require request of catalog.ListCatalogsRequest. - Changed
Create
method for w.OnlineTables workspace-level service . New request type is catalog.CreateOnlineTableRequest. - Removed catalog.AwsIamRole.
- Changed
AwsIamRole
field for catalog.CreateStorageCredential to catalog.AwsIamRoleRequest. - Changed
AwsIamRole
field for catalog.StorageCredentialInfo to catalog.AwsIamRoleResponse. - Changed
AwsIamRole
field for catalog.UpdateStorageCredential to catalog.AwsIamRoleRequest. - Changed
AwsIamRole
field for catalog.ValidateStorageCredential to catalog.AwsIamRoleRequest. - Changed
Notifications
field for catalog.CreateMonitor to catalog.MonitorNotificationsConfig. - Changed
Notifications
field for catalog.UpdateMonitor to catalog.MonitorNotificationsConfig. - Changed
Notifications
field for catalog.MonitorInfo to catalog.MonitorNotificationsConfig. - Added
IncludeBrowse
field for catalog.GetCatalogRequest, catalog.GetExternalLocationRequest, catalog.GetFunctionRequest, catalog.GetModelVersionRequest, catalog.GetRegisteredModelRequest, catalog.GetSchemaRequest, catalog.GetTableRequest, catalog.ListExternalLocationsRequest, catalog.ListFunctionsRequest, catalog.ListModelVersionsRequest, catalog.ListRegisteredModelsRequest, catalog.ListSchemasRequest, catalog.ListTablesRequest, catalog.ListVolumesRequest, and catalog.ReadVolumeRequest. - Added
BrowseOnly
field for catalog.ExternalLocationInfo, catalog.FunctionInfo, catalog.ModelVersionInfo, catalog.RegisteredModelInfo, catalog.SchemaInfo, catalog.TableInfo, and catalog.VolumeInfo. - Removed catalog.ViewData.
- Added catalog.AwsIamRoleRequest.
- Added catalog.AwsIamRoleResponse.
- Added catalog.CreateOnlineTableRequest.
- Added catalog.ListCatalogsRequest.
- Changed
Publish
method for w.Lakeview workspace-level service to return dashboards.PublishedDashboard. - Added
Create
method for w.Lakeview workspace-level service. - Added
Get
method for w.Lakeview workspace-level service. - Added
GetPublished
method for w.Lakeview workspace-level service. - Added
Trash
method for w.Lakeview workspace-level service. - Added
Update
method for w.Lakeview workspace-level service. - Added dashboards.CreateDashboardRequest.
- Added dashboards.Dashboard.
- Added dashboards.GetLakeviewRequest.
- Added dashboards.GetPublishedRequest.
- Added dashboards.LifecycleState.
- Added dashboards.PublishedDashboard.
- Added dashboards.TrashRequest.
- Added dashboards.UpdateDashboardRequest.
- Added
ScoreThreshold
field for vectorsearch.QueryVectorIndexRequest.
OpenAPI SHA: 3821dc51952c5cf1c276dd84967da011b191e64a, Date: 2024-03-19 Dependency updates:
- Bump google.golang.org/protobuf from 1.31.0 to 1.33.0 in /examples/zerolog (#855).
- Bump google.golang.org/protobuf from 1.31.0 to 1.33.0 in /examples/slog (#856).
- Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 (#857).
- Bump github.com/stretchr/testify from 1.8.4 to 1.9.0 (#840).
- Bump golang.org/x/mod from 0.15.0 to 0.16.0 (#843).
- Bump golang.org/x/oauth2 from 0.17.0 to 0.18.0 (#845).
- Bump google.golang.org/api from 0.166.0 to 0.169.0 (#849).
- Added Config.GetAuthDetails (#838).
- Support DATABRICKS_SDK_UPSTREAM and DATABRICKS_SDK_UPSTREAM_VERSION (#854).
- Add telemetry for SDK usage from DBR (#851).
- Fix TestUcAccShares (#858).
API Changes:
- Changed
List
method for w.Catalogs workspace-level service to require request of catalog.ListCatalogsRequest. - Changed
Create
method for w.OnlineTables workspace-level service . New request type is catalog.CreateOnlineTableRequest. - Removed catalog.AwsIamRole.
- Changed
AwsIamRole
field for catalog.CreateStorageCredential to catalog.AwsIamRoleRequest. - Changed
AwsIamRole
field for catalog.StorageCredentialInfo to catalog.AwsIamRoleResponse. - Changed
AwsIamRole
field for catalog.UpdateStorageCredential to catalog.AwsIamRoleRequest. - Changed
AwsIamRole
field for catalog.ValidateStorageCredential to catalog.AwsIamRoleRequest. - Changed
Notifications
field for catalog.CreateMonitor to catalog.MonitorNotificationsConfig. - Changed
Notifications
field for catalog.UpdateMonitor to catalog.MonitorNotificationsConfig. - Changed
Notifications
field for catalog.MonitorInfo to catalog.MonitorNotificationsConfig. - Added
IncludeBrowse
field for catalog.GetCatalogRequest, catalog.GetExternalLocationRequest, catalog.GetFunctionRequest, catalog.GetModelVersionRequest, catalog.GetRegisteredModelRequest, catalog.GetSchemaRequest, catalog.GetTableRequest, catalog.ListExternalLocationsRequest, catalog.ListFunctionsRequest, catalog.ListModelVersionsRequest, catalog.ListRegisteredModelsRequest, catalog.ListSchemasRequest, catalog.ListTablesRequest, catalog.ListVolumesRequest, and catalog.ReadVolumeRequest. - Added
BrowseOnly
field for catalog.ExternalLocationInfo, catalog.FunctionInfo, catalog.ModelVersionInfo, catalog.RegisteredModelInfo, catalog.SchemaInfo, catalog.TableInfo, and catalog.VolumeInfo. - Removed catalog.ViewData.
- Added catalog.AwsIamRoleRequest.
- Added catalog.AwsIamRoleResponse.
- Added catalog.CreateOnlineTableRequest.
- Added catalog.ListCatalogsRequest.
- Changed
Publish
method for w.Lakeview workspace-level service to return dashboards.PublishedDashboard. - Added
Create
method for w.Lakeview workspace-level service. - Added
Get
method for w.Lakeview workspace-level service. - Added
GetPublished
method for w.Lakeview workspace-level service. - Added
Trash
method for w.Lakeview workspace-level service. - Added
Update
method for w.Lakeview workspace-level service. - Added dashboards.CreateDashboardRequest.
- Added dashboards.Dashboard.
- Added dashboards.GetLakeviewRequest.
- Added dashboards.GetPublishedRequest.
- Added dashboards.LifecycleState.
- Added dashboards.PublishedDashboard.
- Added dashboards.TrashRequest.
- Added dashboards.UpdateDashboardRequest.
- Added
ScoreThreshold
field for vectorsearch.QueryVectorIndexRequest.
OpenAPI SHA: 3821dc51952c5cf1c276dd84967da011b191e64a, Date: 2024-03-19 Dependency updates:
- Bump google.golang.org/protobuf from 1.31.0 to 1.33.0 in /examples/zerolog (#855).
- Bump google.golang.org/protobuf from 1.31.0 to 1.33.0 in /examples/slog (#856).
- Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 (#857).
- Bump github.com/stretchr/testify from 1.8.4 to 1.9.0 (#840).
- Bump golang.org/x/mod from 0.15.0 to 0.16.0 (#843).
- Bump golang.org/x/oauth2 from 0.17.0 to 0.18.0 (#845).
- Bump google.golang.org/api from 0.166.0 to 0.169.0 (#849).
- Added Config.GetAuthDetails (#838).
- Support DATABRICKS_SDK_UPSTREAM and DATABRICKS_SDK_UPSTREAM_VERSION (#854).
- Add telemetry for SDK usage from DBR (#851).
- Fix TestUcAccShares (#858).
API Changes:
- Changed
List
method for w.Catalogs workspace-level service to require request of catalog.ListCatalogsRequest. - Changed
Create
method for w.OnlineTables workspace-level service . New request type is catalog.CreateOnlineTableRequest. - Removed catalog.AwsIamRole.
- Changed
AwsIamRole
field for catalog.CreateStorageCredential to catalog.AwsIamRoleRequest. - Changed
AwsIamRole
field for catalog.StorageCredentialInfo to catalog.AwsIamRoleResponse. - Changed
AwsIamRole
field for catalog.UpdateStorageCredential to catalog.AwsIamRoleRequest. - Changed
AwsIamRole
field for catalog.ValidateStorageCredential to catalog.AwsIamRoleRequest. - Changed
Notifications
field for catalog.CreateMonitor to catalog.MonitorNotificationsConfig. - Changed
Notifications
field for catalog.UpdateMonitor to catalog.MonitorNotificationsConfig. - Changed
Notifications
field for catalog.MonitorInfo to catalog.MonitorNotificationsConfig. - Added
IncludeBrowse
field for catalog.GetCatalogRequest, catalog.GetExternalLocationRequest, catalog.GetFunctionRequest, catalog.GetModelVersionRequest, catalog.GetRegisteredModelRequest, catalog.GetSchemaRequest, catalog.GetTableRequest, catalog.ListExternalLocationsRequest, catalog.ListFunctionsRequest, catalog.ListModelVersionsRequest, catalog.ListRegisteredModelsRequest, catalog.ListSchemasRequest, catalog.ListTablesRequest, catalog.ListVolumesRequest, and catalog.ReadVolumeRequest. - Added
BrowseOnly
field for catalog.ExternalLocationInfo, catalog.FunctionInfo, catalog.ModelVersionInfo, catalog.RegisteredModelInfo, catalog.SchemaInfo, catalog.TableInfo, and catalog.VolumeInfo. - Removed catalog.ViewData.
- Added catalog.AwsIamRoleRequest.
- Added catalog.AwsIamRoleResponse.
- Added catalog.CreateOnlineTableRequest.
- Added catalog.ListCatalogsRequest.
- Changed
Publish
method for w.Lakeview workspace-level service to return dashboards.PublishedDashboard. - Added
Create
method for w.Lakeview workspace-level service. - Added
Get
method for w.Lakeview workspace-level service. - Added
GetPublished
method for w.Lakeview workspace-level service. - Added
Trash
method for w.Lakeview workspace-level service. - Added
Update
method for w.Lakeview workspace-level service. - Added dashboards.CreateDashboardRequest.
- Added dashboards.Dashboard.
- Added dashboards.GetLakeviewRequest.
- Added dashboards.GetPublishedRequest.
- Added dashboards.LifecycleState.
- Added dashboards.PublishedDashboard.
- Added dashboards.TrashRequest.
- Added dashboards.UpdateDashboardRequest.
- Added
ScoreThreshold
field for vectorsearch.QueryVectorIndexRequest.
OpenAPI SHA: 3821dc51952c5cf1c276dd84967da011b191e64a, Date: 2024-03-19 Dependency updates:
- Bump google.golang.org/protobuf from 1.31.0 to 1.33.0 in /examples/zerolog (#855).
- Bump google.golang.org/protobuf from 1.31.0 to 1.33.0 in /examples/slog (#856).
- Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 (#857).
- Bump github.com/stretchr/testify from 1.8.4 to 1.9.0 (#840).
- Bump golang.org/x/mod from 0.15.0 to 0.16.0 (#843).
- Bump golang.org/x/oauth2 from 0.17.0 to 0.18.0 (#845).
- Bump google.golang.org/api from 0.166.0 to 0.169.0 (#849).
Release v0.35.0
- Added Config.GetAuthDetails (#838).
- Support DATABRICKS_SDK_UPSTREAM and DATABRICKS_SDK_UPSTREAM_VERSION (#854).
- Add telemetry for SDK usage from DBR (#851).
- Fix TestUcAccShares (#858).
API Changes:
- Changed
List
method for w.Catalogs workspace-level service to require request of catalog.ListCatalogsRequest. - Changed
Create
method for w.OnlineTables workspace-level service . New request type is catalog.CreateOnlineTableRequest. - Removed catalog.AwsIamRole.
- Changed
AwsIamRole
field for catalog.CreateStorageCredential to catalog.AwsIamRoleRequest. - Changed
AwsIamRole
field for catalog.StorageCredentialInfo to catalog.AwsIamRoleResponse. - Changed
AwsIamRole
field for catalog.UpdateStorageCredential to catalog.AwsIamRoleRequest. - Changed
AwsIamRole
field for catalog.ValidateStorageCredential to catalog.AwsIamRoleRequest. - Changed
Notifications
field for catalog.CreateMonitor to catalog.MonitorNotificationsConfig. - Changed
Notifications
field for catalog.UpdateMonitor to catalog.MonitorNotificationsConfig. - Changed
Notifications
field for catalog.MonitorInfo to catalog.MonitorNotificationsConfig. - Added
IncludeBrowse
field for catalog.GetCatalogRequest, catalog.GetExternalLocationRequest, catalog.GetFunctionRequest, catalog.GetModelVersionRequest, catalog.GetRegisteredModelRequest, catalog.GetSchemaRequest, catalog.GetTableRequest, catalog.ListExternalLocationsRequest, catalog.ListFunctionsRequest, catalog.ListModelVersionsRequest, catalog.ListRegisteredModelsRequest, catalog.ListSchemasRequest, catalog.ListTablesRequest, catalog.ListVolumesRequest, and catalog.ReadVolumeRequest. - Added
BrowseOnly
field for catalog.ExternalLocationInfo, catalog.FunctionInfo, catalog.ModelVersionInfo, catalog.RegisteredModelInfo, catalog.SchemaInfo, catalog.TableInfo, and catalog.VolumeInfo. - Removed catalog.ViewData.
- Added catalog.AwsIamRoleRequest.
- Added catalog.AwsIamRoleResponse.
- Added catalog.CreateOnlineTableRequest.
- Added catalog.ListCatalogsRequest.
- Changed
Publish
method for w.Lakeview workspace-level service to return dashboards.PublishedDashboard. - Added
Create
method for w.Lakeview workspace-level service. - Added
Get
method for w.Lakeview workspace-level service. - Added
GetPublished
method for w.Lakeview workspace-level service. - Added
Trash
method for w.Lakeview workspace-level service. - Added
Update
method for w.Lakeview workspace-level service. - Added dashboards.CreateDashboardRequest.
- Added dashboards.Dashboard.
- Added dashboards.GetLakeviewRequest.
- Added dashboards.GetPublishedRequest.
- Added dashboards.LifecycleState.
- Added dashboards.PublishedDashboard.
- Added dashboards.TrashRequest.
- Added dashboards.UpdateDashboardRequest.
- Added
ScoreThreshold
field for vectorsearch.QueryVectorIndexRequest.
OpenAPI SHA: 3821dc51952c5cf1c276dd84967da011b191e64a, Date: 2024-03-19 Dependency updates:
- Bump google.golang.org/protobuf from 1.31.0 to 1.33.0 in /examples/zerolog (#855).
- Bump google.golang.org/protobuf from 1.31.0 to 1.33.0 in /examples/slog (#856).
- Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 (#857).
- Bump github.com/stretchr/testify from 1.8.4 to 1.9.0 (#840).
- Bump golang.org/x/mod from 0.15.0 to 0.16.0 (#843).
- Bump golang.org/x/oauth2 from 0.17.0 to 0.18.0 (#845).
- Bump google.golang.org/api from 0.166.0 to 0.169.0 (#849).
- Added Config.GetAuthDetails (#838).
- Support DATABRICKS_SDK_UPSTREAM and DATABRICKS_SDK_UPSTREAM_VERSION (#854).
- Fix TestUcAccShares (#858).
- Add telemetry for SDK usage from DBR (#851).
API Changes:
- Changed
List
method for w.Catalogs workspace-level service to require request of catalog.ListCatalogsRequest. - Changed
Create
method for w.OnlineTables workspace-level service . New request type is catalog.CreateOnlineTableRequest. - Removed catalog.AwsIamRole.
- Changed
Notifications
field for catalog.CreateMonitor to catalog.MonitorNotificationsConfig. - Changed
AwsIamRole
field for catalog.CreateStorageCredential to catalog.AwsIamRoleRequest. - Added
BrowseOnly
field for catalog.ExternalLocationInfo. - Added
BrowseOnly
field for catalog.FunctionInfo. - Added
IncludeBrowse
field for catalog.GetCatalogRequest. - Added
IncludeBrowse
field for catalog.GetExternalLocationRequest. - Added
IncludeBrowse
field for catalog.GetFunctionRequest. - Added
IncludeBrowse
field for catalog.GetModelVersionRequest. - Added
IncludeBrowse
field for catalog.GetRegisteredModelRequest. - Added
IncludeBrowse
field for catalog.GetSchemaRequest. - Added
IncludeBrowse
field for catalog.GetTableRequest. - Added
IncludeBrowse
field for catalog.ListExternalLocationsRequest. - Added
IncludeBrowse
field for catalog.ListFunctionsRequest. - Added
IncludeBrowse
field for catalog.ListModelVersionsRequest. - Added
IncludeBrowse
field for catalog.ListRegisteredModelsRequest. - Added
IncludeBrowse
field for catalog.ListSchemasRequest. - Added
IncludeBrowse
field for catalog.ListTablesRequest. - Added
IncludeBrowse
field for catalog.ListVolumesRequest. - Added
BrowseOnly
field for catalog.ModelVersionInfo. - Changed
Notifications
field for catalog.MonitorInfo to catalog.MonitorNotificationsConfig. - Added
IncludeBrowse
field for catalog.ReadVolumeRequest. - Added
BrowseOnly
field for catalog.RegisteredModelInfo. - Added
BrowseOnly
field for catalog.SchemaInfo. - Changed
AwsIamRole
field for catalog.StorageCredentialInfo to catalog.AwsIamRoleResponse. - Added
BrowseOnly
field for catalog.TableInfo. - Changed
Notifications
field for catalog.UpdateMonitor to catalog.MonitorNotificationsConfig. - Changed
AwsIamRole
field for catalog.UpdateStorageCredential to catalog.AwsIamRoleRequest. - Changed
AwsIamRole
field for catalog.ValidateStorageCredential to catalog.AwsIamRoleRequest. - Removed catalog.ViewData.
- Added
BrowseOnly
field for catalog.VolumeInfo. - Added catalog.AwsIamRoleRequest.
- Added catalog.AwsIamRoleResponse.
- Added catalog.CreateOnlineTableRequest.
- Added catalog.ListCatalogsRequest.
- Changed
Publish
method for w.Lakeview workspace-level service to return dashboards.PublishedDashboard. - Added
Create
method for w.Lakeview workspace-level service. - Added
Get
method for w.Lakeview workspace-level service. - Added
GetPublished
method for w.Lakeview workspace-level service. - Added
Trash
method for w.Lakeview workspace-level service. - Added
Update
method for w.Lakeview workspace-level service. - Removed
any
. - Added dashboards.CreateDashboardRequest.
- Added dashboards.Dashboard.
- Added dashboards.GetLakeviewRequest.
- Added dashboards.GetPublishedRequest.
- Added dashboards.LifecycleState.
- Added dashboards.PublishedDashboard.
- Added
any
. - Added dashboards.TrashRequest.
- Added dashboards.UpdateDashboardRequest.
- Added
ScoreThreshold
field for vectorsearch.QueryVectorIndexRequest.
OpenAPI SHA: 3821dc51952c5cf1c276dd84967da011b191e64a, Date: 2024-03-19 Dependency updates:
- Bump google.golang.org/protobuf from 1.31.0 to 1.33.0 in /examples/zerolog (#855).
- Bump google.golang.org/protobuf from 1.31.0 to 1.33.0 in /examples/slog (#856).
- Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 (#857).
- Bump github.com/stretchr/testify from 1.8.4 to 1.9.0 (#840).
- Bump golang.org/x/mod from 0.15.0 to 0.16.0 (#843).
- Bump golang.org/x/oauth2 from 0.17.0 to 0.18.0 (#845).
- Bump google.golang.org/api from 0.166.0 to 0.169.0 (#849).
- Added Config.GetAuthDetails (#838).
- Support DATABRICKS_SDK_UPSTREAM and DATABRICKS_SDK_UPSTREAM_VERSION (#854).
- Fix TestUcAccShares (#858).
- Add telemetry for SDK usage from DBR (#851).
API Changes:
- Changed
List
method for w.Catalogs workspace-level service to require request of catalog.ListCatalogsRequest. - Changed
Create
method for w.OnlineTables workspace-level service . New request type is catalog.CreateOnlineTableRequest. - Removed catalog.AwsIamRole.
- Changed
Notifications
field for catalog.CreateMonitor to catalog.MonitorNotificationsConfig. - Changed
AwsIamRole
field for catalog.CreateStorageCredential to catalog.AwsIamRoleRequest. - Added
IncludeBrowse
field for catalog.GetCatalogRequest, catalog.GetExternalLocationRequest, catalog.GetFunctionRequest, catalog.GetModelVersionRequest, catalog.GetRegisteredModelRequest, catalog.GetSchemaRequest, catalog.GetTableRequest, catalog.ListExternalLocationsRequest, catalog.ListFunctionsRequest, catalog.ListModelVersionsRequest, catalog.ListRegisteredModelsRequest, catalog.ListSchemasRequest, catalog.ListTablesRequest, catalog.ListVolumesRequest, and catalog.ReadVolumeRequest. - Added
BrowseOnly
field for catalog.ModelVersionInfo, catalog.RegisteredModelInfo, catalog.SchemaInfo, catalog.TableInfo, catalog.VolumeInfo, catalog.ExternalLocationInfo, and catalog.FunctionInfo. - Changed
Notifications
field for catalog.MonitorInfo to catalog.MonitorNotificationsConfig. - Changed
AwsIamRole
field for catalog.StorageCredentialInfo to catalog.AwsIamRoleResponse. - Changed
Notifications
field for catalog.UpdateMonitor to catalog.MonitorNotificationsConfig. - Changed
AwsIamRole
field for catalog.UpdateStorageCredential to catalog.AwsIamRoleRequest. - Changed
AwsIamRole
field for catalog.ValidateStorageCredential to catalog.AwsIamRoleRequest. - Removed catalog.ViewData.
- Added catalog.AwsIamRoleRequest.
- Added catalog.AwsIamRoleResponse.
- Added catalog.CreateOnlineTableRequest.
- Added catalog.ListCatalogsRequest.
- Changed
Publish
method for w.Lakeview workspace-level service to return dashboards.PublishedDashboard. - Added
Create
method for w.Lakeview workspace-level service. - Added
Get
method for w.Lakeview workspace-level service. - Added
GetPublished
method for w.Lakeview workspace-level service. - Added
Trash
method for w.Lakeview workspace-level service. - Added
Update
method for w.Lakeview workspace-level service. - Removed
any
. - Added dashboards.CreateDashboardRequest.
- Added dashboards.Dashboard.
- Added dashboards.GetLakeviewRequest.
- Added dashboards.GetPublishedRequest.
- Added dashboards.LifecycleState.
- Added dashboards.PublishedDashboard.
- Added
any
. - Added dashboards.TrashRequest.
- Added dashboards.UpdateDashboardRequest.
- Added
ScoreThreshold
field for vectorsearch.QueryVectorIndexRequest.
OpenAPI SHA: 3821dc51952c5cf1c276dd84967da011b191e64a, Date: 2024-03-19 Dependency updates:
- Bump google.golang.org/protobuf from 1.31.0 to 1.33.0 in /examples/zerolog (#855).
- Bump google.golang.org/protobuf from 1.31.0 to 1.33.0 in /examples/slog (#856).
- Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 (#857).
- Bump github.com/stretchr/testify from 1.8.4 to 1.9.0 (#840).
- Bump golang.org/x/mod from 0.15.0 to 0.16.0 (#843).
- Bump golang.org/x/oauth2 from 0.17.0 to 0.18.0 (#845).
- Bump google.golang.org/api from 0.166.0 to 0.169.0 (#849).
- Fixed GetWorkspaceClient for GCP (#803).
- Adaptive request timeouts (#837).
- Added HTTP proxy example (#825).
- Note: Backwards incompatible changes - Settings are now nested, please see the API changes below.
- Added:
- w.PermissionMigration workspace-level service.
- iam.PermissionMigrationRequest.
- iam.PermissionMigrationResponse.
- w.AutomaticClusterUpdate workspace-level service.
- w.CspEnablement workspace-level service.
- a.CspEnablementAccount account-level service.
- w.DefaultNamespace workspace-level service.
- w.EsmEnablement workspace-level service.
- a.EsmEnablementAccount account-level service.
- a.PersonalCompute account-level service.
- w.RestrictWorkspaceAdmins workspace-level service.
AwsStableIpRule
field for settings.NccEgressDefaultRules.- settings.AutomaticClusterUpdateSetting.
- settings.ClusterAutoRestartMessage.
- settings.ClusterAutoRestartMessageEnablementDetails.
- settings.ClusterAutoRestartMessageMaintenanceWindow.
- settings.ClusterAutoRestartMessageMaintenanceWindowDayOfWeek.
- settings.ClusterAutoRestartMessageMaintenanceWindowWeekDayBasedSchedule.
- settings.ClusterAutoRestartMessageMaintenanceWindowWeekDayFrequency.
- settings.ClusterAutoRestartMessageMaintenanceWindowWindowStartTime.
- settings.ComplianceStandard.
- settings.CspEnablement.
- settings.CspEnablementAccount.
- settings.CspEnablementAccountSetting.
- settings.CspEnablementSetting.
- settings.DeleteDefaultNamespaceRequest.
- settings.DeletePersonalComputeRequest.
- settings.DeleteRestrictWorkspaceAdminRequest.
- settings.EsmEnablement.
- settings.EsmEnablementAccount.
- settings.EsmEnablementAccountSetting.
- settings.EsmEnablementSetting.
- settings.GetAutomaticClusterUpdateRequest.
- settings.GetCspEnablementAccountRequest.
- settings.GetCspEnablementRequest.
- settings.GetDefaultNamespaceRequest.
- settings.GetEsmEnablementAccountRequest.
- settings.GetEsmEnablementRequest.
- settings.GetPersonalComputeRequest.
- settings.GetRestrictWorkspaceAdminRequest.
- settings.NccAwsStableIpRule.
- settings.UpdateAutomaticClusterUpdateSettingRequest.
- settings.UpdateCspEnablementAccountSettingRequest.
- settings.UpdateCspEnablementSettingRequest.
- settings.UpdateEsmEnablementAccountSettingRequest.
- settings.UpdateEsmEnablementSettingRequest.
IndexName
field for vectorsearch.DeleteDataVectorIndexRequest.EmbeddingModelEndpointName
field for vectorsearch.EmbeddingSourceColumn.IndexName
field for vectorsearch.UpsertDataVectorIndexRequest.DeltaSyncIndexSpec
field for vectorsearch.VectorIndex.DirectAccessIndexSpec
field for vectorsearch.VectorIndex.
- Changed:
Version
field for serving.AppManifest to serving.AnyValue.DeleteEndpoint
method for w.VectorSearchEndpoints workspace-level service with new required argument order.CreateIndex
method for w.VectorSearchIndexes workspace-level service with new required argument order.DeleteDataVectorIndex
method for w.VectorSearchIndexes workspace-level service with new required argument order.UpsertDataVectorIndex
method for w.VectorSearchIndexes workspace-level service with new required argument order.EndpointName
field for vectorsearch.CreateVectorIndexRequest to be required.
- Removed:
DeletePersonalComputeSetting
method for a.AccountSettings account-level service.GetPersonalComputeSetting
method for a.AccountSettings account-level service.UpdatePersonalComputeSetting
method for a.AccountSettings account-level service.DeleteDefaultNamespaceSetting
method for w.Settings workspace-level service.DeleteRestrictWorkspaceAdminsSetting
method for w.Settings workspace-level service.GetDefaultNamespaceSetting
method for w.Settings workspace-level service.GetRestrictWorkspaceAdminsSetting
method for w.Settings workspace-level service.UpdateDefaultNamespaceSetting
method for w.Settings workspace-level service.UpdateRestrictWorkspaceAdminsSetting
method for w.Settings workspace-level service.- settings.DeleteDefaultNamespaceSettingRequest.
- settings.DeletePersonalComputeSettingRequest.
- settings.DeleteRestrictWorkspaceAdminsSettingRequest.
- settings.GetDefaultNamespaceSettingRequest.
- settings.GetPersonalComputeSettingRequest.
- settings.GetRestrictWorkspaceAdminsSettingRequest.
PlanningPhases
field for sql.QueryMetrics.Name
field for vectorsearch.DeleteDataVectorIndexRequest.Name
field for vectorsearch.DeleteEndpointRequest.- vectorsearch.EmbeddingConfig.
EmbeddingConfig
field for vectorsearch.EmbeddingSourceColumn.Name
field for vectorsearch.UpsertDataVectorIndexRequest.DeltaSyncVectorIndexSpec
field for vectorsearch.VectorIndex.DirectAccessVectorIndexSpec
field for vectorsearch.VectorIndex.
- Differentiate between empty structures and components that can take on any value (#821).
- Added integration tests for files API (#818).
- Added
HasByteStreamField()
helper function (#824). - Update SDK to latest OpenAPI spec (#839).
- Added tokei.rs badge (#836).
- Updated isObject to consider empty objects (#834).
- Treat empty entities as entities (#831).
- Do not transpile getWorkspaceClient (#830).
- Include Go 1.22 in test matrix (#841).
- Added support for subservices (#826).
- Bump google.golang.org/api from 0.161.0 to 0.166.0 (#829).
- Bump exp & mod library (#832).
OpenAPI SHA: d855b30f25a06fe84f25214efa20e7f1fffcdf9e, Date: 2024-03-04
Internal Changes:
API Changes:
- Changed
Update
method for w.LakehouseMonitors workspace-level service with new required argument order. - Added w.OnlineTables workspace-level service.
- Removed
AssetsDir
field for catalog.UpdateMonitor. - Added catalog.ContinuousUpdateStatus.
- Added catalog.DeleteOnlineTableRequest.
- Added catalog.FailedStatus.
- Added catalog.GetOnlineTableRequest.
- Added catalog.OnlineTable.
- Added catalog.OnlineTableSpec.
- Added catalog.OnlineTableState.
- Added catalog.OnlineTableStatus.
- Added catalog.PipelineProgress.
- Added catalog.ProvisioningStatus.
- Added catalog.TriggeredUpdateStatus.
- Added catalog.ViewData.
- Added
ContentLength
field for files.DownloadResponse. - Added
ContentType
field for files.DownloadResponse. - Added
LastModified
field for files.DownloadResponse. - Changed
LastModified
field for files.GetMetadataResponse to files.LastModifiedHttpDate. - Added files.LastModifiedHttpDate.
- Removed
Config
field for serving.ExternalModel. - Added
Ai21labsConfig
field for serving.ExternalModel. - Added
AnthropicConfig
field for serving.ExternalModel. - Added
AwsBedrockConfig
field for serving.ExternalModel. - Added
CohereConfig
field for serving.ExternalModel. - Added
DatabricksModelServingConfig
field for serving.ExternalModel. - Added
OpenaiConfig
field for serving.ExternalModel. - Added
PalmConfig
field for serving.ExternalModel. - Removed serving.ExternalModelConfig.
- Added
MaxProvisionedThroughput
field for serving.ServedEntityInput. - Added
MinProvisionedThroughput
field for serving.ServedEntityInput. - Added
MaxProvisionedThroughput
field for serving.ServedEntityOutput. - Added
MinProvisionedThroughput
field for serving.ServedEntityOutput.
OpenAPI SHA: cdd76a98a4fca7008572b3a94427566dd286c63b, Date: 2024-02-19
Major Changes:
- Generate fields for headers in responses (#812).
Other Changes:
Internal Changes:
- Do not generate erroneous "r" and "w" samples (#811).
API Changes:
- Changed
Delete
method for w.Connections workspace-level service with new required argument order. - Changed
Get
method for w.Connections workspace-level service with new required argument order. - Changed
Update
method for w.Connections workspace-level service with new required argument order. - Changed
Delete
method for w.Volumes workspace-level service with new required argument order. - Changed
Read
method for w.Volumes workspace-level service with new required argument order. - Changed
Update
method for w.Volumes workspace-level service with new required argument order. - Removed
NameArg
field for catalog.DeleteConnectionRequest. - Added
Name
field for catalog.DeleteConnectionRequest. - Removed
FullNameArg
field for catalog.DeleteVolumeRequest. - Added
Name
field for catalog.DeleteVolumeRequest. - Removed
NameArg
field for catalog.GetConnectionRequest. - Added
Name
field for catalog.GetConnectionRequest. - Added
MaxResults
field for catalog.ListVolumesRequest. - Added
PageToken
field for catalog.ListVolumesRequest. - Added
NextPageToken
field for catalog.ListVolumesResponseContent. - Removed
FullNameArg
field for catalog.ReadVolumeRequest. - Added
Name
field for catalog.ReadVolumeRequest. - Removed
NameArg
field for catalog.UpdateConnection. - Added
Name
field for catalog.UpdateConnection. - Removed
FullNameArg
field for catalog.UpdateVolumeRequestContent. - Added
Name
field for catalog.UpdateVolumeRequestContent. - Removed
GetStatus
method for w.Files workspace-level service. - Added
GetDirectoryMetadata
method for w.Files workspace-level service. - Added
GetMetadata
method for w.Files workspace-level service. - Added files.FileSize.
- Added files.GetDirectoryMetadataRequest.
- Added files.GetMetadataRequest.
- Added files.GetMetadataResponse.
- Removed
TriggerHistory
field for jobs.Job. - Removed jobs.TriggerEvaluation.
- Removed jobs.TriggerHistory.
- Added
Table
field for jobs.TriggerSettings. - Added jobs.Condition.
- Added jobs.TableTriggerConfiguration.
- Changed
Delete
method for w.CleanRooms workspace-level service with new required argument order. - Changed
Get
method for w.CleanRooms workspace-level service with new required argument order. - Changed
Update
method for w.CleanRooms workspace-level service with new required argument order. - Removed
NameArg
field for sharing.DeleteCleanRoomRequest. - Added
Name
field for sharing.DeleteCleanRoomRequest. - Removed
NameArg
field for sharing.GetCleanRoomRequest. - Added
Name
field for sharing.GetCleanRoomRequest. - Removed
NameArg
field for sharing.UpdateCleanRoom. - Added
Name
field for sharing.UpdateCleanRoom. - Added
EnumOptions
field for sql.Parameter. - Added
MultiValuesOptions
field for sql.Parameter. - Added
QueryId
field for sql.Parameter. - Added sql.MultiValuesOptions.
OpenAPI SHA: c40670f5a2055c92cf0a6aac92a5bccebfb80866, Date: 2024-02-14
- Support creating a new workspace client from an account client (#792). Please see the example:
// GetWorkspaceClient returns a WorkspaceClient for the given workspace. The
// workspace can be fetched by calling w.Workspaces.Get() or w.Workspaces.List().
//
// The config used for the workspace is identical to that used for the account,
// except that the host is set to the workspace host, and the account ID is
// not set.
a, err := databricks.NewAccountClient()
if err != nil {
panic(err)
}
ctx := context.Background()
workspaces, err := a.Workspaces.List(ctx)
if err != nil {
panic(err)
}
w, err := a.GetWorkspaceClient(workspaces[0])
if err != nil {
panic(err)
}
me, err := w.CurrentUser.Me(ctx)
- Added support to select Spark version with Photon (#799). Please Note: Photon selection is disabled by default. To enable it, please use
Photon: true
in request. Example:
version, err := sparkVersions.Select(compute.SparkVersionRequest{
Photon: true,
})
API Changes:
Additions:
- Added the following Requests:
- catalog.CancelRefreshRequest.
- catalog.GetRefreshRequest.
- catalog.ListRefreshesRequest.
- settings.DeleteRestrictWorkspaceAdminsSettingRequest.
- settings.GetDefaultNamespaceSettingRequest.
- settings.GetPersonalComputeSettingRequest.
- settings.GetRestrictWorkspaceAdminsSettingRequest.
- settings.UpdateDefaultNamespaceSettingRequest.
- settings.UpdateRestrictWorkspaceAdminsSettingRequest.
- catalog.RunRefreshRequest.
- settings.DeleteDefaultNamespaceSettingRequest.
- files.CreateDirectoryRequest.
- files.DeleteDirectoryRequest.
- files.ListDirectoryContentsRequest.
- Added the following Responses:
- Added
CancelRefresh
,GetRefresh
,ListRefreshes
andRunRefresh
method for w.LakehouseMonitors workspace-level service. - Added
Abfss
andGcs
field for compute.InitScriptInfo. - Added
CreateDirectory
,DeleteDirectory
andListDirectoryContents
method for w.Files workspace-level service. - Added
Source
field for jobs.DbtTask and jobs.SqlTaskFile. - Added settings.RestrictWorkspaceAdminsMessage.
- Jobs:
- Pipelines:
- Settings:
- Catalog:
- Added
GetPersonalComputeSetting
method for a.AccountSettings account-level service. - Added the following fields:
DeltaSyncIndexSpec
for vectorsearch.CreateVectorIndexRequest.FileType
for workspace.ExportResponse.ResourceId
for workspace.ObjectInfo.
- Added
ZoneId
field for compute.GcpAttributes. - Added
ForEachTask
field for jobs.RunTask, jobs.SubmitTask and jobs.Task. - Added
DeleteDefaultNamespaceSetting
,DeleteRestrictWorkspaceAdminsSetting
,GetDefaultNamespaceSetting
,GetRestrictWorkspaceAdminsSetting
,UpdateDefaultNamespaceSetting
andUpdateRestrictWorkspaceAdminsSetting
method for w.Settings workspace-level service. - Added
FieldMask
field for settings.UpdatePersonalComputeSettingRequest. - Added
UsePreemptibleExecutors
field for compute.GcpAttributes. - Misc:
Changes:
- Changed
MaxWorkers
andMinWorkers
field for compute.AutoScale to no longer be required. - Changed
Destination
field for compute.LocalFileInfo, compute.S3StorageInfo, compute.VolumesStorageInfo, compute.WorkspaceStorageInfo to be required. - Changed
Destination
field for compute.DbfsStorageInfo to be required. - Changed
Clients
field for compute.WorkloadType to be required. - Changed
Autoscale
field for pipelines.PipelineCluster to pipelines.PipelineClusterAutoscale. - Changed
DeletePersonalComputeSetting
andUpdatePersonalComputeSetting
method for a.AccountSettings account-level service with new required argument order. - Changed
AllowMissing
andSetting
field for settings.UpdatePersonalComputeSettingRequest to be required. - Changed
Etag
field for settings.DeletePersonalComputeSettingRequest to no longer be required.
Removals:
- Removed
Name
field for catalog.UpdateConnection, catalog.UpdateMetastore, catalog.UpdateRegisteredModelRequest, catalog.UpdateSchema, catalog.UpdateVolumeRequestContent. - Settings:
- Removed
ReadDefaultWorkspaceNamespace
,UpdateDefaultWorkspaceNamespace
andDeleteDefaultWorkspaceNamespace
method for w.Settings workspace-level service. - Removed
Reset
method for w.Pipelines workspace-level service. - Removed pipelines.ResetRequest.
- Removed
ReadPersonalComputeSetting
method for a.AccountSettings account-level service. - Removed
DeltaSyncVectorIndexSpec
field for vectorsearch.CreateVectorIndexRequest.
Internal Changes:
- Added Support for HEAD operations (#802).
- Updated actions/setup-go to v5 (#784).
- Retry update of catalog in test to avoid flakiness (#788).
- Skip AccountClient_GetWorkspaceClient() test in Azure/GCP (#798).
- SDK Generation + Fix backwards incompatible changes (#806).
- Fixed
any
references when generating code with circular dependencies (#805). - Fixed stack overflow on recursive schemas (#801).
Dependency updates:
- Bump google.golang.org/api from 0.154.0 to 0.161.0 (#794).
OpenAPI SHA: cadf1693527b365728a55ff06a0e38ce5740c9f7, Date: 2024-02-08
Major changes:
- Enable Databricks CLI auth for all clouds (#783).
Other changes:
Other changes:
- Added RequiredPositionalArguments method for codegen (#773).
- Support locking in integration tests (#776).
- Update OpenAPI spec and fix incompatible changes (#778).
API Changes:
- Added
Exists
method for w.Tables workspace-level service. - Added w.LakehouseMonitors workspace-level service.
- Added catalog.CreateMonitor, catalog.DeleteLakehouseMonitorRequest, catalog.ExistsRequest, catalog.GetLakehouseMonitorRequest, catalog.MonitorCronSchedule, catalog.MonitorCronSchedulePauseStatus, catalog.MonitorCustomMetric, catalog.MonitorCustomMetricType, catalog.MonitorDataClassificationConfig, catalog.MonitorDestinations, catalog.MonitorInferenceLogProfileType, catalog.MonitorInferenceLogProfileTypeProblemType, catalog.MonitorInfo, catalog.MonitorInfoStatus, catalog.MonitorNotificationsConfig, catalog.MonitorTimeSeriesProfileType, catalog.TableExistsResponse and catalog.UpdateMonitor.
- Added
InitScripts
field for pipelines.PipelineCluster. - Added
ValidateOnly
field for pipelines.StartUpdate. - Added
ValidateOnly
field for pipelines.UpdateInfo. - Changed
CreateOboToken
method for w.TokenManagement workspace-level service with new required argument order. - Changed
Get
method for w.TokenManagement workspace-level service to return settings.GetTokenResponse. - Changed
LifetimeSeconds
field for settings.CreateOboTokenRequest to no longer be required. - Added settings.GetTokenResponse.
- Changed
Create
method for w.Dashboards workspace-level service . New request type is sql.DashboardPostContent. - Added
Update
method for w.Dashboards workspace-level service. - Removed sql.CreateDashboardRequest.
- Added
HttpHeaders
field for sql.ExternalLink. - Added
RunAsRole
field for sql.QueryEditContent. - Added sql.DashboardEditContent.
- Added sql.DashboardPostContent.
OpenAPI SHA: e05401ed5dd4974c5333d737ec308a7d451f749f, Date: 2024-01-23
This patch release contains two small changes:
- Retry on Status Code 503 (#733), improving the stability of the SDK in light of transient API unavailability.
- Simplify mocking of iterator and waiter objects (#769, #770). See the Testing section of the README.md for usage information and examples.
- Extract API interfaces for all services and generate mock clients (#740).
- Handle empty response for errors (#756).
- Update SDK to OpenAPI spec + Fix tests (#755).
- Add utility to retry on specific errors (#757).
- Integration test fixes for TestMwsAccWorkspaces (#763) and TestMwsAccUsageDownload (#764).
Note: This release contains breaking changes, please see below.
API Changes:
- [Breaking] Changed
List
method for w.ExternalLocations workspace-level service to require request of catalog.ListExternalLocationsRequest, w.StorageCredentials workspace-level service to require request of catalog.ListStorageCredentialsRequest and w.Tokens workspace-level service to return settings.ListPublicTokensResponse. - Added
NextPageToken
field for catalog.ListExternalLocationsResponse, catalog.ListFunctionsResponse, catalog.ListSchemasResponse and catalog.ListStorageCredentialsResponse. - Added
MaxResults
field for catalog.ListFunctionsRequest and catalog.ListSchemasRequest. - Added
PageToken
field for catalog.ListFunctionsRequest and catalog.ListSchemasRequest. - Added
OmitColumns
andOmitProperties
field for catalog.ListTablesRequest. - Added catalog.ListExternalLocationsRequest.
- Added catalog.ListStorageCredentialsRequest.
- Added settings.ListPublicTokensResponse.
- Added dashboards package.
- Added vectorsearch package.
OpenAPI SHA: a7a9dc025bb80303e676bf3708942c6aa06689f1, Date: 2024-01-04 Dependency updates:
- Bump google.golang.org/api from 0.153.0 to 0.154.0 (#741).
- Bump golang.org/x/crypto from 0.14.0 to 0.17.0 in /examples/slog (#747) and /examples/zerolog (#748).
- Bump golang.org/x/crypto from 0.16.0 to 0.17.0 (#749).
This is a bugfix release that improves debuggability of unexpected errors (#744, #750). When the SDK cannot deserialize a response from the Databricks REST API, the resulting error will include debugging information and instructions on how to submit a bug report to the SDK.
- Consolidate usage of named sorting (#736).
- Remove redundant retries for token refreshes as they're already handled in
httpclient
(#729). - Skip auth, config loading, and rate limits when fixture transport is present in the config (#739).
- Generate SDK to latest OpenAPI specification with bugfix (#742).
API Changes:
- Added
AzureWorkspaceInfo
field for provisioning.Workspace. - Added provisioning.AzureWorkspaceInfo.
- Changed
UpdateConfig
method for w.ServingEndpoints workspace-level service with new required argument order. - Changed
ServedEntities
field for serving.EndpointCoreConfigInput to no longer be required. - Changed
Create
method for a.AccountIpAccessLists account-level service with new required argument order. - Changed
Replace
method for a.AccountIpAccessLists account-level service with new required argument order. - Changed
Update
method for a.AccountIpAccessLists account-level service with new required argument order. - Changed
Create
method for w.IpAccessLists workspace-level service with new required argument order. - Changed
Replace
method for w.IpAccessLists workspace-level service with new required argument order. - Changed
Update
method for w.IpAccessLists workspace-level service with new required argument order. - Changed
IpAddresses
field for settings.CreateIpAccessList to no longer be required. - Changed
IpAddresses
field for settings.ReplaceIpAccessList to no longer be required. - Removed
ListId
field for settings.ReplaceIpAccessList. - Changed
Enabled
field for settings.UpdateIpAccessList to no longer be required. - Changed
IpAddresses
field for settings.UpdateIpAccessList to no longer be required. - Changed
Label
field for settings.UpdateIpAccessList to no longer be required. - Removed
ListId
field for settings.UpdateIpAccessList. - Changed
ListType
field for settings.UpdateIpAccessList to no longer be required.
OpenAPI SHA: d3853c8dee5806d04da2ae8910f273ffb35719a5, Date: 2023-12-14
API Changes:
- Changed
Update
method for w.Connections workspace-level service with new required argument order. - Added
CloudflareApiToken
field for catalog.CreateStorageCredential. - Added
CloudflareApiToken
field for catalog.StorageCredentialInfo. - Changed
Name
field for catalog.UpdateCatalog to be required. - Added
NewName
field for catalog.UpdateCatalog. - Changed
Name
field for catalog.UpdateConnection to no longer be required. - Added
NewName
field for catalog.UpdateConnection. - Changed
Name
field for catalog.UpdateExternalLocation to be required. - Added
NewName
field for catalog.UpdateExternalLocation. - Added
NewName
field for catalog.UpdateMetastore. - Added
NewName
field for catalog.UpdateRegisteredModelRequest. - Added
NewName
field for catalog.UpdateSchema. - Changed
Name
field for catalog.UpdateStorageCredential to be required. - Added
CloudflareApiToken
field for catalog.UpdateStorageCredential. - Added
NewName
field for catalog.UpdateStorageCredential. - Added
NewName
field for catalog.UpdateVolumeRequestContent. - Added
CloudflareApiToken
field for catalog.ValidateStorageCredential. - Added catalog.CloudflareApiToken.
- Removed
Continuous
field for jobs.BaseRun. - Removed
Continuous
field for jobs.Run. - Changed
JobParameters
field for jobs.RunJobTask to jobs.ParamPairs. - Added
RunIf
field for jobs.SubmitTask. - Added
RunJobTask
field for jobs.SubmitTask. - Changed
UpdateConfig
method for w.ServingEndpoints workspace-level service with new required argument order. - Added
Put
method for w.ServingEndpoints workspace-level service. - Added
RateLimits
field for serving.CreateServingEndpoint. - Changed
ServedModels
field for serving.EndpointCoreConfigInput to no longer be required. - Added
AutoCaptureConfig
field for serving.EndpointCoreConfigInput. - Added
ServedEntities
field for serving.EndpointCoreConfigInput. - Added
AutoCaptureConfig
field for serving.EndpointCoreConfigOutput. - Added
ServedEntities
field for serving.EndpointCoreConfigOutput. - Added
ServedEntities
field for serving.EndpointCoreConfigSummary. - Added
ServedEntities
field for serving.EndpointPendingConfig. - Added
ExtraParams
field for serving.QueryEndpointInput. - Added
Input
field for serving.QueryEndpointInput. - Added
MaxTokens
field for serving.QueryEndpointInput. - Added
Messages
field for serving.QueryEndpointInput. - Added
N
field for serving.QueryEndpointInput. - Added
Prompt
field for serving.QueryEndpointInput. - Added
Stop
field for serving.QueryEndpointInput. - Added
Stream
field for serving.QueryEndpointInput. - Added
Temperature
field for serving.QueryEndpointInput. - Changed
Predictions
field for serving.QueryEndpointResponse to no longer be required. - Added
Choices
field for serving.QueryEndpointResponse. - Added
Created
field for serving.QueryEndpointResponse. - Added
Data
field for serving.QueryEndpointResponse. - Added
Id
field for serving.QueryEndpointResponse. - Added
Model
field for serving.QueryEndpointResponse. - Added
Object
field for serving.QueryEndpointResponse. - Added
Usage
field for serving.QueryEndpointResponse. - Changed
WorkloadSize
field for serving.ServedModelInput to serving.ServedModelInputWorkloadSize. - Changed
WorkloadType
field for serving.ServedModelInput to serving.ServedModelInputWorkloadType. - Added
Task
field for serving.ServingEndpoint. - Added
Task
field for serving.ServingEndpointDetailed. - Added serving.Ai21LabsConfig.
- Added serving.AnthropicConfig.
- Added serving.AutoCaptureConfigInput.
- Added serving.AutoCaptureConfigOutput.
- Added serving.AutoCaptureState.
- Added serving.AwsBedrockConfig.
- Added serving.AwsBedrockConfigBedrockProvider.
- Added serving.ChatMessage.
- Added serving.ChatMessageRole.
- Added serving.CohereConfig.
- Added serving.DatabricksModelServingConfig.
- Added serving.EmbeddingsV1ResponseEmbeddingElement.
- Added serving.EmbeddingsV1ResponseEmbeddingElementObject.
- Added serving.ExternalModel.
- Added serving.ExternalModelConfig.
- Added serving.ExternalModelProvider.
- Added serving.ExternalModelUsageElement.
- Added serving.FoundationModel.
- Added serving.OpenAiConfig.
- Added serving.PaLmConfig.
- Added serving.PayloadTable.
- Added serving.PutRequest.
- Added serving.PutResponse.
- Added serving.QueryEndpointResponseObject.
- Added serving.RateLimit.
- Added serving.RateLimitKey.
- Added serving.RateLimitRenewalPeriod.
- Added serving.ServedEntityInput.
- Added serving.ServedEntityOutput.
- Added serving.ServedEntitySpec.
- Added serving.ServedModelInputWorkloadSize.
- Added serving.ServedModelInputWorkloadType.
- Added serving.V1ResponseChoiceElement.
- Removed a.AccountNetworkPolicy account-level service.
- Removed settings.AccountNetworkPolicyMessage.
- Removed settings.DeleteAccountNetworkPolicyRequest.
- Removed settings.DeleteAccountNetworkPolicyResponse.
- Removed settings.ReadAccountNetworkPolicyRequest.
- Removed settings.UpdateAccountNetworkPolicyRequest.
- Removed
Name
field for sharing.UpdateCleanRoom. - Changed
Name
field for sharing.UpdateProvider to be required. - Added
NewName
field for sharing.UpdateProvider. - Changed
Name
field for sharing.UpdateRecipient to be required. - Added
NewName
field for sharing.UpdateRecipient. - Changed
Name
field for sharing.UpdateShare to be required. - Added
NewName
field for sharing.UpdateShare. - Added
StatementIds
field for sql.QueryFilter. - Added sql.StatementId.
OpenAPI SHA: 63caa3cb0c05045e81d3dcf2451fa990d8670f36, Date: 2023-12-12 Dependency updates:
- Bumped google.golang.org/api from 0.152.0 to 0.153.0 (#731).
This is a bugfix release, including a fix correcting issues with OAuth flows, due to a bug with the propagation of the response status in httpclient
's RoundTrip()
implementation. This fixes the failed during request visitor: token: oauth2: cannot fetch token: Response: {...}
error.
All fixes:
- Migrate Azure MSI & Metadata Service token sources to
httpclient
and add 100% test coverage (#709). - Added
config.NewAzureCliTokenSource
andconfig.NewAzureMsiTokenSource
constructors (#727). - Use per-config refresh context for OAuth tokens (#728).
Minor changes:
- Support overriding DatabricksEnvironment (#723).
- Detect
Accept
header inhttpclient.WithResponseUnmarshal
(#710). - Detect
Content-Type
header innewRequestBody
forhttpclient
(#711).
Bug fixes:
- Retry request on
REQUEST_LIMIT_EXCEEDED
error returned by the SCIM API (#721). - Match retry logic of pre-refactor SDK (#722).
Major changes:
- There has been a major overhaul of error handling. Users can now compare errors in API responses to the well-known error responses defined in the
apierr
package and reexported in thedatabricks
package. Users can check whether a specific error was returned, for exampleerrors.Is(err, databricks.ErrResourceAlreadyExists)
, rather than converting the error to*APIError
to check the status code and error code. This change is backwards-compatible; users do not need to modify existing error-handling code when upgrading the SDK. See #682 and #703 for the changes and https://github.com/databricks/databricks-sdk-go/blob/main/error_alias.go for the full set of errors.
Bug fixes:
- Handle "no configuration file found at" error during databricks-cli authentication (#707).
- Introduce
DatabricksEnvironment
and fix Azure MSI auth from ACR, where IMDS doesn't give host environment information (#700). - Fix SCIM Pagination default parameters in the Go SDK (#717).
Other changes:
- Update
slog
example with the correct interface (#694). - Fixed typo in error message for unknown azure environment (#701).
- Allow injection of HTTP transport to enable HTTP replayer pattern (#697).
- Decouple HTTP retries and error mapping mechanics from
DatabricksClient
intohttpclient.ApiClient
(#699, #702, #712). - Port
qa.HTTPFixtures
to faster transport-level stubs (#708).
API Changes:
- Removed
EnableOptimization
method for w.Metastores workspace-level service. - Added
PipelineId
field for catalog.TableInfo. - Added
EnablePredictiveOptimization
field for catalog.UpdateCatalog and catalog.UpdateSchema. - Removed catalog.UpdatePredictiveOptimization and catalog.UpdatePredictiveOptimizationResponse.
- Added
Description
field for jobs.CreateJob and jobs.JobSettings. - Added
ListNetworkConnectivityConfigurations
andListPrivateEndpointRules
method for a.NetworkConnectivity account-level service. - Added settings.ListNccAzurePrivateEndpointRulesResponse, settings.ListNetworkConnectivityConfigurationsRequest, settings.ListNetworkConnectivityConfigurationsResponse, and settings.ListPrivateEndpointRulesRequest.
- Added
StringSharedAs
field for sharing.SharedDataObject.
Internal changes:
- Added
contains
method in OpenAPI Generator (#690). - Skip recipients tests in Azure (#692).
- Allow Files API tests to run in UC environments (#695).
- More cleanup in Unity Catalog integration test (#719).
OpenAPI SHA: 22f09783eb8a84d52026f856be3b2068f9498db3, Date: 2023-11-23 Dependency updates:
- Bump golang.org/x/oauth2 from 0.13.0 to 0.14.0 (#689).
- Bump google.golang.org/api from 0.150.0 to 0.151.0 (#698).
- Bump the OpenAPI Spec (#706).
- Bump golang.org/x/oauth2 from 0.14.0 to 0.15.0 (#715).
- Bump golang.org/x/time from 0.4.0 to 0.5.0 (#714).
- Bump google.golang.org/api from 0.151.0 to 0.152.0 (#716).
- Make sure path parameters are first in order in RequiredFields (#669).
- Added Field.IsRequestBodyField method for code generation (#670).
- Added regressions question to the issue template (#676).
- Added telemetry for CI/CD platform to useragent (#665).
- Skiped GCP Integration Tests using Statement Execution API (#678).
- Added more detailed error message on default credentials not found error (#679).
- Updated SDK to latest OpenAPI Spec (#685).
API Changes:
- Changed
Create
method for w.Functions and w.Metastores workspace-level service with new required argument order. - Changed
InputParams
field for catalog.CreateFunction and catalog.FunctionInfo to catalog.FunctionParameterInfos. - Changed
Properties
field for catalog.CreateFunction and catalog.FunctionInfo tostring
. - Changed
ReturnParams
field for catalog.CreateFunction and catalog.FunctionInfo to catalog.FunctionParameterInfos - Changed
StorageRoot
field for catalog.CreateMetastore to no longer be required. - Added
SkipValidation
field for catalog.UpdateExternalLocation. - Added
Libraries
field for compute.CreatePolicy, compute.EditPolicy and compute.Policy. - Added compute.InitScriptEventDetails.
- Added
InitScripts
field for compute.EventDetails. - Added
File
field for compute.InitScriptInfo. - Added
ZoneId
field for compute.InstancePoolGcpAttributes. - Added
IncludeResolvedValues
field for jobs.GetRunRequest. - Added
EditMode
field for jobs.CreateJob and jobs.JobSettings. - Added
NetworkConnectivityConfigId
field for provisioning.UpdateWorkspaceRequest. - Added
ContainerLogs
andExtraInfo
field for serving.DeploymentStatus. - Added catalog.CreateFunctionRequest, catalog.DependencyList and catalog.FunctionParameterInfos.
- Added compute.InitScriptExecutionDetails, compute.InitScriptExecutionDetailsStatus, compute.InitScriptInfoAndExecutionDetails, compute.LocalFileInfo.
- Added jobs.CreateJobEditMode and jobs.JobSettingsEditMode.
- Added
DeleteApp
,GetApp
,GetAppDeploymentStatus
,GetApps
andGetEvents
method for w.Apps workspace-level service. - Added serving.AppEvents, serving.AppServiceStatus, serving.DeleteAppResponse, serving.GetAppDeploymentStatusRequest, serving.GetAppResponse, serving.GetEventsRequest, serving.ListAppEventsResponse and serving.ListAppsResponse.
- Added a.NetworkConnectivity account-level service.
- Added settings.CreateNetworkConnectivityConfigRequest, settings.CreatePrivateEndpointRuleRequest, settings.CreatePrivateEndpointRuleRequestGroupId, settings.DeleteNetworkConnectivityConfigurationRequest, settings.DeletePrivateEndpointRuleRequest, settings.GetNetworkConnectivityConfigurationRequest, settings.GetPrivateEndpointRuleRequest, settings.NccAzurePrivateEndpointRule, settings.NccAzurePrivateEndpointRuleConnectionState, settings.NccAzurePrivateEndpointRuleGroupId, settings.NccAzureServiceEndpointRule, settings.NccEgressConfig, settings.NccEgressDefaultRules, settings.NccEgressTargetRules, settings.NetworkConnectivityConfiguration.
- Removed
Delete
,Get
, method for w.Apps workspace-level service. - Removed jobs.JobSettingsUiState and jobs.CreateJobUiState.
- Removed a.OAuthEnrollment account-level service.
- Removed oauth2.CreateOAuthEnrollment and oauth2.OAuthEnrollmentStatus.
- Removed
UiState
field for jobs.CreateJob and jobs.JobSettings.
OpenAPI SHA: e7b127cb07af8dd4d8c61c7cc045c8910cdbb02a, Date: 2023-11-08 Dependency updates:
- Bump google.golang.org/api from 0.146.0 to 0.150.0 (#683).
- Bump golang.org/x/mod from 0.13.0 to 0.14.0 (#681).
- Bump google.golang.org/grpc from 1.58.2 to 1.58.3 in /examples/slog (#672).
- Bump google.golang.org/grpc to 1.58.3 in /examples/zerolog (#684).
- Bump golang.org/x/time from 0.3.0 to 0.4.0 (#680).
- Implemented Iterator support for paginated endpoints or endpoints returning a list (#543). The Iterator interface allows users to get the next resource in the iterator and to check whether another resource is available in the iterator. Iterators for paginated endpoints fetch pages lazily, allowing users to only fetch the pages needed for their use case.
- Removed
photon
andgraviton
selectors incompute.SparkVersionRequ…
(#622). Going forward, photon is determined by theRuntimeEngine
field incompute.CreateCluster
, and graviton is chosen depending on theaws_instance_type
field incompute.CreateCluster
.
API Changes:
- Added
Attributes
,Count
,ExcludedAttributes
,Filter
,SortBy
,SortOrder
, andStartIndex
fields to iam.GetAccountUserRequest and iam.GetUserRequest. - Added
Schemas
field to iam.Group, iam.ListGroupsResponse, iam.ListServicePrincipalResponse, iam.ListUsersResponse, iam.ServicePrincipal, and iam.User. - Added iam.GetSortOrder.
- Added iam.GroupSchema.
- Added iam.ListResponseSchema.
- Added iam.ServicePrincipalSchema.
- Added iam.UserSchema.
- Added
WebhookNotifications
field for jobs.SubmitTask. - Added w.Apps workspace-level service and related methods.
- Added a.AccountNetworkPolicy account-level service and related methods.
Internal SDK Changes:
- Update to actions/checkout@v4 (#650).
- Skip unshallow step in test workflow (#649).
- Add integration tests for
Jobs
:ListRuns
(#645). - Only log pkg.Load after checking whether the operation is tagged (#655).
- Prefix library paths with the target directory to construct absolute paths (#656).
- Fixed HasRequiredNonBodyField method (#660).
- Added CanSetRequiredFieldsFromJson method for OpenAPI generator (#661).
- Add integration tests for
ServicePrincipals
:Patch
(#662). - Add integration tests for
Users
:Patch
,Update
(#663). - Enforce running
az login --service-principal
on nightly runs (#659). - Add integration tests for
Connections
:Create
,Delete
,Get
,List
,Update
(#653).
OpenAPI SHA: 5903bb39137fd76ac384b2044e425f9c56840e00, Date: 2023-10-23
Note: this release includes custom JSON marshalling that captures whether or
not a value is set and should be included in the marshalled output, if its
value is equal to Go's zero value (i.e. 0
for an int field).
- Add ForceSendFields and a custom marshaller (#615).
- Support text/plain response as streaming request body (#638).
- Added log statement if OIDC response is non 200 (#644).
API Changes:
- Changed
Download
method for a.BillableUsage account-level service to start returning billing.DownloadResponse. - Added billing.DownloadResponse.
- Changed
Delete
method for a.AccountStorageCredentials account-level service with new required argument order. - Changed
Get
method for a.AccountStorageCredentials account-level service with new required argument order. - Changed
Update
method for a.AccountStorageCredentials account-level service with new required argument order. - Added
GetBindings
method for w.WorkspaceBindings workspace-level service. - Added
UpdateBindings
method for w.WorkspaceBindings workspace-level service. - Removed
Name
field for catalog.AccountsUpdateStorageCredential. - Added
StorageCredentialName
field for catalog.AccountsUpdateStorageCredential. - Removed
Name
field for catalog.DeleteAccountStorageCredentialRequest. - Added
StorageCredentialName
field for catalog.DeleteAccountStorageCredentialRequest. - Removed
Name
field for catalog.GetAccountStorageCredentialRequest. - Added
StorageCredentialName
field for catalog.GetAccountStorageCredentialRequest. - Added
Owner
field for catalog.UpdateConnection. - Added catalog.GetBindingsRequest.
- Added catalog.UpdateWorkspaceBindingsParameters.
- Added catalog.WorkspaceBinding.
- Added catalog.WorkspaceBindingBindingType.
- Added catalog.WorkspaceBindingsResponse.
- Added
Spec
field for compute.ClusterDetails. - Added
ApplyPolicyDefaultValues
field for compute.ClusterSpec. - Removed
AwsAttributes
field for compute.EditInstancePool. - Removed
AzureAttributes
field for compute.EditInstancePool. - Removed
DiskSpec
field for compute.EditInstancePool. - Removed
EnableElasticDisk
field for compute.EditInstancePool. - Removed
GcpAttributes
field for compute.EditInstancePool. - Removed
PreloadedDockerImages
field for compute.EditInstancePool. - Removed
PreloadedSparkVersions
field for compute.EditInstancePool. - Added
Deployment
field for jobs.CreateJob. - Added
UiState
field for jobs.CreateJob. - Added
Deployment
field for jobs.JobSettings. - Added
UiState
field for jobs.JobSettings. - Removed
ConditionTask
field for jobs.RunOutput. - Added
WebhookNotifications
field for jobs.Task. - Added jobs.CreateJobUiState.
- Added jobs.JobDeployment.
- Added jobs.JobDeploymentKind.
- Added jobs.JobSettingsUiState.
- Added
WorkloadType
field for serving.ServedModelInput. - Added
WorkloadType
field for serving.ServedModelOutput. - Removed a.AccountNetworkPolicy account-level service.
- Changed
List
method for w.IpAccessLists workspace-level service to return settings.ListIpAccessListResponse. - Removed settings.AccountNetworkPolicyMessage.
- Removed settings.DeleteAccountNetworkPolicyRequest.
- Removed settings.DeleteAccountNetworkPolicyResponse.
- Removed
IpAccessLists
field for settings.GetIpAccessListResponse. - Added
IpAccessList
field for settings.GetIpAccessListResponse. - Removed settings.ReadAccountNetworkPolicyRequest.
- Removed settings.UpdateAccountNetworkPolicyRequest.
- Added settings.ListIpAccessListResponse.
OpenAPI SHA: 493a76554afd3afdd15dc858773d01643f80352a, Date: 2023-10-12
Dependency updates:
- Bump golang.org/x/mod from 0.12.0 to 0.13.0 (#639).
- Bump google.golang.org/api from 0.140.0 to 0.146.0 (#643).
- Bump golang.org/x/net from 0.15.0 to 0.17.0 (#646).
- Bump golang.org/x/oauth2 from 0.12.0 to 0.13.0 (#642).
- Bump golang.org/x/net from 0.8.0 to 0.17.0 in /examples/zerolog (#647).
- Bump golang.org/x/net from 0.8.0 to 0.17.0 in /examples/slog (#648).
Breaking API Changes:
- Changed
List
method for a.AccountMetastoreAssignments account-level service to return catalog.ListAccountMetastoreAssignmentsResponse.
API Changes:
Internal SDK Changes:
- Add support for template libraries (#635).
OpenAPI SHA: bcbf6e851e3d82fd910940910dd31c10c059746c, Date: 2023-10-02
Breaking API Changes:
- Changed
ArtifactMatchers
field for catalog.ArtifactAllowlistInfo to catalog.ArtifactMatcherList. - Removed
Owner
field for catalog.CreateConnection. - Changed
ArtifactMatchers
field for catalog.SetArtifactAllowlist to catalog.ArtifactMatcherList. - Removed
Options
field for catalog.UpdateCatalog. - Changed
CancelAllRuns
method for w.Jobs workspace-level service with new required argument order. - Changed
JobId
field for jobs.CancelAllRuns to no longer be required. - Changed
JobParameters
field for jobs.RunNow to jobs.ParamPairs. - Changed
Query
method for w.ServingEndpoints workspace-level service . New request type is serving.QueryEndpointInput. - Removed serving.QueryRequest.
- Changed
ExchangeToken
method for w.CredentialsManager workspace-level service with new required argument order. - Removed settings.CredentialPartitionId.
- Changed
TokenType
field for settings.ExchangeToken to settings.TokenType. - Removed
CredentialPartitionId
field for settings.ExchangeTokenRequest. - Changed
List
method for w.CleanRooms workspace-level service to require request of sharing.ListCleanRoomsRequest.
API Changes:
- Added
AllQueuedRuns
field for jobs.CancelAllRuns. - Added
Queue
field for jobs.CreateJob. - Added
Queue
field for jobs.JobSettings. - Added
JobParameters
field for jobs.RepairRun. - Added
Queue
field for jobs.RunNow. - Added
JobParameters
field for jobs.RunParameters. - Added
QueueReason
field for jobs.RunState. - Added
QueueDuration
field for jobs.RunTask. - Added
Queue
field for jobs.SubmitRun. - Added jobs.QueueSettings.
- Added
Notifications
field for pipelines.CreatePipeline. - Added
Notifications
field for pipelines.EditPipeline. - Added
Notifications
field for pipelines.PipelineSpec. - Added pipelines.Notifications.
- Added serving.DataframeSplitInput.
- Added serving.QueryEndpointInput.
- Added w.Settings workspace-level service.
- Added
PartitionId
field for settings.ExchangeTokenRequest. - Added settings.DefaultNamespaceSetting.
- Added settings.DeleteDefaultWorkspaceNamespaceRequest.
- Added settings.DeleteDefaultWorkspaceNamespaceResponse.
- Added settings.PartitionId.
- Added settings.ReadDefaultWorkspaceNamespaceRequest.
- Added settings.StringMessage.
- Added settings.UpdateDefaultWorkspaceNamespaceRequest.
- Added
NextPageToken
field for sharing.ListCleanRoomsResponse. - Added sharing.ListCleanRoomsRequest.
SDK Internal Changes:
- Remove use of cancel by job id in integration test (#632).
OpenAPI SHA: 94ddf8ff02df271daebdc5f001075e1ca2ce080d, Date: 2023-09-27
- Adjust token expiry window to 40 seconds on Azure (#617).
- Rename variables in Azure code to match across auth types (#618).
- Add details to APIError (#613).
- Fixed code generation of primitive types (#623).
- Updated SDK to changes in OpenAPI specification (#625).
API Changes:
- Changed
List
method for a.AccountMetastoreAssignments account-level service to return catalog.WorkspaceIdList. - Added catalog.WorkspaceId.
- Added a.OAuthPublishedApps account-level service.
- Added oauth2.GetPublishedAppsOutput.
- Added oauth2.ListOAuthPublishedAppsRequest.
- Added oauth2.PublishedAppOutput.
- Added
Patch
method for w.ServingEndpoints workspace-level service. - Added
Tags
field for serving.CreateServingEndpoint. - Added
Tags
field for serving.ServingEndpoint. - Added
Tags
field for serving.ServingEndpointDetailed. - Added serving.EndpointTag.
- Added serving.PatchServingEndpointTags.
- Added w.CredentialsManager workspace-level service.
- Added settings.CredentialPartitionId.
- Added settings.ExchangeToken.
- Added settings.ExchangeTokenRequest.
- Added settings.ExchangeTokenResponse.
- Added settings.TokenType.
- Changed
ExecuteStatement
method for w.StatementExecution workspace-level service with new required argument order. - Added
EmptyResultState
field for sql.AlertOptions. - Removed sql.ChunkInfo.
- Changed
OnWaitTimeout
field for sql.ExecuteStatementRequest to sql.ExecuteStatementRequestOnWaitTimeout. - Changed
Statement
field for sql.ExecuteStatementRequest to be required. - Changed
WarehouseId
field for sql.ExecuteStatementRequest to be required. - Changed
Chunks
field for sql.ResultManifest to sql.BaseChunkInfoList. - Added
Truncated
field for sql.ResultManifest. - Removed sql.TimeoutAction.
- Added sql.AlertOptionsEmptyResultState.
- Added sql.BaseChunkInfo.
- Added sql.ExecuteStatementRequestOnWaitTimeout.
OpenAPI SHA: 51e3d27c0553c891bc418bd0cd07c9240e0476dd, Date: 2023-09-13 Dependency updates:
- Bump golang.org/x/oauth2 from 0.11.0 to 0.12.0 (#606).
- Bump google.golang.org/api from 0.138.0 to 0.140.0 (#612).
- Fixed case where retry of a request without body fails (#614).
- Handled Azure authentication when WorkspaceResourceID is provided (#597).
- Reverted error message changes from client.go (#604).
- Reused tokens after first call to Azure CLI (#605).
- Updated error message assertions (#607).
- Added
ErrNotWorkspaceClient
(#596). - Fix loading of databrickscfg with a password containing a hash (#595).
- Use an operation's request type name if specified (#598).
- Update OpenAPI spec (#600).
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 w.Volumes workspace-level service with new required argument order. - Added
SupportsElasticDisk
field for compute.NodeType. - Changed
Create
method for w.Dashboards workspace-level service with new required argument order. - Added w.DashboardWidgets workspace-level service.
- Added w.QueryVisualizations workspace-level service.
- Changed
Name
field for sql.CreateDashboardRequest to be required. - Added
DashboardFiltersEnabled
field for sql.CreateDashboardRequest. - Added
RunAsRole
field for sql.CreateDashboardRequest. - Added
RunAsRole
field for sql.Query. - Added
RunAsRole
field for sql.QueryPostContent. - Removed
DashboardId
field for sql.WidgetOptions. - Changed
Position
field for sql.WidgetOptions to sql.WidgetPosition. - Removed
Text
field for sql.WidgetOptions. - Added
Description
field for sql.WidgetOptions. - Added
Title
field for sql.WidgetOptions. - Added sql.CreateQueryVisualizationRequest.
- Added sql.CreateWidget.
- Added sql.DeleteDashboardWidgetRequest.
- Added sql.DeleteQueryVisualizationRequest.
- Added sql.RunAsRole.
- Added sql.WidgetPosition.
OpenAPI SHA: 09a7fa63d9ae243e5407941f200960ca14d48b07, Date: 2023-09-04
Dependency updates:
- Bump google.golang.org/api from 0.136.0 to 0.138.0 (#587).
Breaking Changes:
- Added support Files API (application/octet-stream) in OpenAPI Spec (#572). The signatures of
Upload
,Download
andDelete
have changed; these methods now takeUploadRequest
,DownloadRequest
, andDeleteRequest
structures, respectively. Shortcut methods are generated forDownloadByFileName
andDeleteByFileName
for convenience. TheWriteFile
andReadFile
methods are removed. - Propagated Request Headers to client.go (#589). The
Do
method ofClient
now requires an additional parameter for request headers. Add headers to requests using this parameter, or passnil
if no headers are needed.
Breaking API Changes:
- Removed w.SecurableTags workspace-level service and all associated structures.
- Removed w.SubentityTags workspace-level service and all associated structures.
- Renamed
ProvisioningState
field toProvisioningInfo
for catalog.ConnectionInfo. - Changed catalog.ProvisioningState to catalog.ProvisioningInfoState.
- Removed
InstancePoolFleetAttributes
field for compute.CreateInstancePool. - Removed
InstancePoolFleetAttributes
field for compute.EditInstancePool. - Removed compute.FleetLaunchTemplateOverride.
- Removed compute.FleetOnDemandOption.
- Removed compute.FleetOnDemandOptionAllocationStrategy.
- Removed compute.FleetSpotOption.
- Removed compute.FleetSpotOptionAllocationStrategy.
- Removed
InstancePoolFleetAttributes
field for compute.GetInstancePool. - Removed
InstancePoolFleetAttributes
field for compute.InstancePoolAndStats. - Removed compute.InstancePoolFleetAttributes.
- Changed
GetByName
method for w.Experiments workspace-level service to return ml.GetExperimentResponse. - Changed
GetExperiment
method for w.Experiments workspace-level service to return ml.GetExperimentResponse. - Renamed ml.GetExperimentByNameResponse to ml.GetExperimentResponse.
API Changes:
- Changed
List
method for a.AccountStorageCredentials account-level service to return catalog.StorageCredentialInfoList. - Added w.ModelVersions workspace-level service.
- Added w.RegisteredModels workspace-level service.
- Added
BrowseOnly
field for catalog.CatalogInfo. - Added
FullName
field for catalog.CatalogInfo. - Added
ProvisioningInfo
field for catalog.CatalogInfo. - Added
SecurableKind
field for catalog.CatalogInfo. - Added
SecurableType
field for catalog.CatalogInfo. - Added
Options
field for catalog.CreateCatalog. - Added
Options
field for catalog.UpdateCatalog. - Added catalog.CreateRegisteredModelRequest.
- Added catalog.DeleteAliasRequest.
- Added catalog.DeleteModelVersionRequest.
- Added catalog.DeleteRegisteredModelRequest.
- Added catalog.GetByAliasRequest.
- Added catalog.GetModelVersionRequest.
- Added catalog.GetRegisteredModelRequest.
- Added catalog.ListModelVersionsRequest.
- Added catalog.ListModelVersionsResponse.
- Added catalog.ListRegisteredModelsRequest.
- Added catalog.ListRegisteredModelsResponse.
- Added catalog.ModelVersionInfo.
- Added catalog.ModelVersionInfoStatus.
- Added catalog.ProvisioningInfo.
- Added catalog.ProvisioningInfoState.
- Added catalog.RegisteredModelAlias.
- Added catalog.RegisteredModelInfo.
- Added catalog.SetRegisteredModelAliasRequest.
- Added catalog.UpdateModelVersionRequest.
- Added catalog.UpdateRegisteredModelRequest.
- Added
Volumes
field for compute.InitScriptInfo. - Added compute.VolumesStorageInfo.
- Added w.Files workspace-level service.
- Added files.DeleteFileRequest.
- Added files.DownloadRequest.
- Added files.DownloadResponse.
- Added files.UploadRequest.
- Added
CustomTags
field for provisioning.CreateWorkspaceRequest. - Added
CustomTags
field for provisioning.UpdateWorkspaceRequest. - Added
CustomTags
field for provisioning.Workspace. - Added provisioning.CustomTags.
- Added
Parameters
field for sql.ExecuteStatementRequest. - Added
RowLimit
field for sql.ExecuteStatementRequest. - Added sql.StatementParameterListItem.
SDK Internal Changes:
- Added support for io.ReadCloser for request and response bodies (#590).
- Fixed nightly test failures for Go SDK (#592).
OpenAPI Generator Changes:
- Improved error handling for ill-defined parameters (#582).
- Switched to logging consistently rather than printing to stdout (#588).
OpenAPI SHA: 5d0ccbb790d341eae8e85321a685a9e9e2d5bf24, Date: 2023-08-29
- Introduced Artifact Allowlist, Securable Tags, and Subentity Tags services.
- Introduced DeleteRuns and RestoreRuns methods in the Experiments API.
- Introduced the GetSecret method in the Secrets API.
- Renamed Auto Maintenance to Predictive Optimization.
- Set necessary headers when authenticating via Azure CLI (#584).
New Services:
- Added w.ArtifactAllowlists workspace-level service.
- Added w.SecurableTags workspace-level service.
- Added w.SubentityTags workspace-level service.
- Added catalog.ArtifactAllowlistInfo.
- Added catalog.ArtifactMatcher.
- Added catalog.ArtifactType.
- Added catalog.GetArtifactAllowlistRequest.
- Added catalog.ListSecurableTagsRequest.
- Added catalog.ListSecurableType.
- Added catalog.ListSubentityTagsRequest.
- Added catalog.MatchType.
- Added catalog.SetArtifactAllowlist.
- Added catalog.TagChanges.
- Added catalog.TagKeyValuePair.
- Added catalog.TagSecurable.
- Added catalog.TagSecurableAssignment.
- Added catalog.TagSecurableAssignmentsList.
- Added catalog.TagSubentity.
- Added catalog.TagSubentityAssignmentsList.
- Added catalog.TagsSubentityAssignment.
- Added catalog.UpdateSecurableType.
- Added catalog.UpdateTags.
New APIs:
- Added
DeleteRuns
method for w.Experiments workspace-level service. - Added
RestoreRuns
method for w.Experiments workspace-level service. - Added ml.DeleteRuns.
- Added ml.DeleteRunsResponse.
- Added ml.RestoreRuns.
- Added ml.RestoreRunsResponse.
- Added
GetSecret
method for w.Secrets workspace-level service. - Added workspace.GetSecretRequest.
- Added workspace.GetSecretResponse.
Service Renames:
- Renamed
EffectiveAutoMaintenanceFlag
field toEffectivePredictiveOptimizationFlag
for catalog.CatalogInfo. - Renamed
EnableAutoMaintenance
field toEnablePredictiveOptimization
for catalog.CatalogInfo. - Renamed catalog.EffectiveAutoMaintenanceFlag to catalog.EffectivePredictiveOptimizationFlag.
- Renamed catalog.EffectiveAutoMaintenanceFlagInheritedFromType to catalog.EffectivePredictiveOptimizationFlagInheritedFromType.
- Renamed catalog.EnableAutoMaintenance to catalog.EnablePredictiveOptimization.
- Renamed
EffectiveAutoMaintenanceFlag
field for catalog.SchemaInfo toEffectivePredictiveOptimizationFlag
field for catalog.SchemaInfo. - Renamed
EnableAutoMaintenance
field for catalog.SchemaInfo toEnablePredictiveOptimization
field for catalog.SchemaInfo. - Renamed
EffectiveAutoMaintenanceFlag
field for catalog.TableInfo toEffectivePredictiveOptimizationFlag
field for catalog.TableInfo. - Renamed
EnableAutoMaintenance
field for catalog.TableInfo toEnablePredictiveOptimization
field for catalog.TableInfo.
OpenAPI SHA: beff621d7b3e1d59244e2e34fc53a496f310e130, Date: 2023-08-17
- Added ability to generate flat names (#568).
API Changes:
- Changed
Create
method for a.AccountStorageCredentials account-level service to return catalog.AccountsStorageCredentialInfo. - Changed
Get
method for a.AccountStorageCredentials account-level service to return catalog.AccountsStorageCredentialInfo. - Changed
Update
method for a.AccountStorageCredentials account-level service to return catalog.AccountsStorageCredentialInfo. - Changed
Create
method for w.Connections workspace-level service with new required argument order. - Changed
Update
method for w.Connections workspace-level service with new required argument order. - Removed
OptionsKvpairs
field for catalog.ConnectionInfo. - Removed
PropertiesKvpairs
field for catalog.ConnectionInfo. - Added
Options
field for catalog.ConnectionInfo. - Added
Properties
field for catalog.ConnectionInfo. - Added
ProvisioningState
field for catalog.ConnectionInfo. - Added
SecurableKind
field for catalog.ConnectionInfo. - Added
SecurableType
field for catalog.ConnectionInfo. - Removed
OptionsKvpairs
field for catalog.CreateConnection. - Removed
PropertiesKvpairs
field for catalog.CreateConnection. - Added
Options
field for catalog.CreateConnection. - Added
Properties
field for catalog.CreateConnection. - Changed
Algorithm
field for catalog.SseEncryptionDetails to no longer be required. - Removed
OptionsKvpairs
field for catalog.UpdateConnection. - Added
Options
field for catalog.UpdateConnection. - Added catalog.AccountsStorageCredentialInfo.
- Added catalog.ConnectionInfoSecurableKind.
- Added catalog.ProvisioningState.
- Added
DataSecurityMode
field for compute.CreateCluster. - Added
DockerImage
field for compute.CreateCluster. - Added
SingleUserName
field for compute.CreateCluster. - Removed
Schema
field for iam.PartialUpdate. - Added
Schemas
field for iam.PartialUpdate.
OpenAPI SHA: 1e3533f94335f0e6c5d9262bc1fea95b3ddcb0e1, Date: 2023-08-11 Dependency updates:
- Bump golang.org/x/oauth2 from 0.10.0 to 0.11.0 (#574).
- Bump google.golang.org/api from 0.134.0 to 0.135.0 (#575).
- Bump google.golang.org/api from 0.135.0 to 0.136.0 (#576).
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()
andw.Permissions.GetByRequestObjectIdAndRequestObjectType()
tow.<Service>.Get<Service>Permissions()
- Change
w.Permissions.GetPermissionLevels()
tow.<Service>.GetServicePermissionLevels()
- Change
w.Permissions.Set()
tow.<Service>.Set<Service>Permissions()
- Change
w.Permissions.Update()
tow.<Service>.Update<Service>Permissions()
API Changes:
- Added
GetClusterPolicyPermissionLevels
method for w.ClusterPolicies workspace-level service. - Added
GetClusterPolicyPermissions
method for w.ClusterPolicies workspace-level service. - Added
SetClusterPolicyPermissions
method for w.ClusterPolicies workspace-level service. - Added
UpdateClusterPolicyPermissions
method for w.ClusterPolicies workspace-level service. - Added
GetClusterPermissionLevels
method for w.Clusters workspace-level service. - Added
GetClusterPermissions
method for w.Clusters workspace-level service. - Added
SetClusterPermissions
method for w.Clusters workspace-level service. - Added
UpdateClusterPermissions
method for w.Clusters workspace-level service. - Added
GetInstancePoolPermissionLevels
method for w.InstancePools workspace-level service. - Added
GetInstancePoolPermissions
method for w.InstancePools workspace-level service. - Added
SetInstancePoolPermissions
method for w.InstancePools workspace-level service. - Added
UpdateInstancePoolPermissions
method for w.InstancePools workspace-level service. - Added compute.ClusterAccessControlRequest.
- Added compute.ClusterAccessControlResponse.
- Added compute.ClusterPermission.
- Added compute.ClusterPermissionLevel.
- Added compute.ClusterPermissions.
- Added compute.ClusterPermissionsDescription.
- Added compute.ClusterPermissionsRequest.
- Added compute.ClusterPolicyAccessControlRequest.
- Added compute.ClusterPolicyAccessControlResponse.
- Added compute.ClusterPolicyPermission.
- Added compute.ClusterPolicyPermissionLevel.
- Added compute.ClusterPolicyPermissions.
- Added compute.ClusterPolicyPermissionsDescription.
- Added compute.ClusterPolicyPermissionsRequest.
- Added compute.GetClusterPermissionLevelsRequest.
- Added compute.GetClusterPermissionLevelsResponse.
- Added compute.GetClusterPermissionsRequest.
- Added compute.GetClusterPolicyPermissionLevelsRequest.
- Added compute.GetClusterPolicyPermissionLevelsResponse.
- Added compute.GetClusterPolicyPermissionsRequest.
- Added compute.GetInstancePoolPermissionLevelsRequest.
- Added compute.GetInstancePoolPermissionLevelsResponse.
- Added compute.GetInstancePoolPermissionsRequest.
- Added compute.InstancePoolAccessControlRequest.
- Added compute.InstancePoolAccessControlResponse.
- Added compute.InstancePoolPermission.
- Added compute.InstancePoolPermissionLevel.
- Added compute.InstancePoolPermissions.
- Added compute.InstancePoolPermissionsDescription.
- Added compute.InstancePoolPermissionsRequest.
- Changed
Set
method for w.Permissions workspace-level service to start returning iam.ObjectPermissions. - Changed
Update
method for w.Permissions workspace-level service to start returning iam.ObjectPermissions. - Added
GetPasswordPermissionLevels
method for w.Users workspace-level service. - Added
GetPasswordPermissions
method for w.Users workspace-level service. - Added
SetPasswordPermissions
method for w.Users workspace-level service. - Added
UpdatePasswordPermissions
method for w.Users workspace-level service. - Added
DisplayName
field for iam.AccessControlResponse. - Changed
Roles
field for iam.GetAssignableRolesForResourceResponse to iam.RoleList. - Added iam.GetPasswordPermissionLevelsResponse.
- Added iam.PasswordAccessControlRequest.
- Added iam.PasswordAccessControlResponse.
- Added iam.PasswordPermission.
- Added iam.PasswordPermissionLevel.
- Added iam.PasswordPermissions.
- Added iam.PasswordPermissionsDescription.
- Added iam.PasswordPermissionsRequest.
- Added iam.Role.
- Added
GetJobPermissionLevels
method for w.Jobs workspace-level service. - Added
GetJobPermissions
method for w.Jobs workspace-level service. - Added
SetJobPermissions
method for w.Jobs workspace-level service. - Added
UpdateJobPermissions
method for w.Jobs workspace-level service. - Added jobs.GetJobPermissionLevelsRequest.
- Added jobs.GetJobPermissionLevelsResponse.
- Added jobs.GetJobPermissionsRequest.
- Added jobs.JobAccessControlRequest.
- Added jobs.JobAccessControlResponse.
- Added jobs.JobPermission.
- Added jobs.JobPermissionLevel.
- Added jobs.JobPermissions.
- Added jobs.JobPermissionsDescription.
- Added jobs.JobPermissionsRequest.
- Added
GetExperimentPermissionLevels
method for w.Experiments workspace-level service. - Added
GetExperimentPermissions
method for w.Experiments workspace-level service. - Added
SetExperimentPermissions
method for w.Experiments workspace-level service. - Added
UpdateExperimentPermissions
method for w.Experiments workspace-level service. - Added
GetRegisteredModelPermissionLevels
method for w.ModelRegistry workspace-level service. - Added
GetRegisteredModelPermissions
method for w.ModelRegistry workspace-level service. - Added
SetRegisteredModelPermissions
method for w.ModelRegistry workspace-level service. - Added
UpdateRegisteredModelPermissions
method for w.ModelRegistry workspace-level service. - Added ml.ExperimentAccessControlRequest.
- Added ml.ExperimentAccessControlResponse.
- Added ml.ExperimentPermission.
- Added ml.ExperimentPermissionLevel.
- Added ml.ExperimentPermissions.
- Added ml.ExperimentPermissionsDescription.
- Added ml.ExperimentPermissionsRequest.
- Added ml.GetExperimentPermissionLevelsRequest.
- Added ml.GetExperimentPermissionLevelsResponse.
- Added ml.GetExperimentPermissionsRequest.
- Added ml.GetRegisteredModelPermissionLevelsRequest.
- Added ml.GetRegisteredModelPermissionLevelsResponse.
- Added ml.GetRegisteredModelPermissionsRequest.
- Added ml.RegisteredModelAccessControlRequest.
- Added ml.RegisteredModelAccessControlResponse.
- Added ml.RegisteredModelPermission.
- Added ml.RegisteredModelPermissionLevel.
- Added ml.RegisteredModelPermissions.
- Added ml.RegisteredModelPermissionsDescription.
- Added ml.RegisteredModelPermissionsRequest.
- Added
Scopes
field for oauth2.CreateCustomAppIntegration. - Added
GetPipelinePermissionLevels
method for w.Pipelines workspace-level service. - Added
GetPipelinePermissions
method for w.Pipelines workspace-level service. - Added
SetPipelinePermissions
method for w.Pipelines workspace-level service. - Added
UpdatePipelinePermissions
method for w.Pipelines workspace-level service. - Added pipelines.GetPipelinePermissionLevelsRequest.
- Added pipelines.GetPipelinePermissionLevelsResponse.
- Added pipelines.GetPipelinePermissionsRequest.
- Added pipelines.PipelineAccessControlRequest.
- Added pipelines.PipelineAccessControlResponse.
- Added pipelines.PipelinePermission.
- Added pipelines.PipelinePermissionLevel.
- Added pipelines.PipelinePermissions.
- Added pipelines.PipelinePermissionsDescription.
- Added pipelines.PipelinePermissionsRequest.
- Added
GcpManagedNetworkConfig
field for provisioning.CreateWorkspaceRequest. - Added
GkeConfig
field for provisioning.CreateWorkspaceRequest. - Added
GetServingEndpointPermissionLevels
method for w.ServingEndpoints workspace-level service. - Added
GetServingEndpointPermissions
method for w.ServingEndpoints workspace-level service. - Added
SetServingEndpointPermissions
method for w.ServingEndpoints workspace-level service. - Added
UpdateServingEndpointPermissions
method for w.ServingEndpoints workspace-level service. - Added
InstanceProfileArn
field for serving.ServedModelInput. - Added
InstanceProfileArn
field for serving.ServedModelOutput. - Added serving.GetServingEndpointPermissionLevelsRequest.
- Added serving.GetServingEndpointPermissionLevelsResponse.
- Added serving.GetServingEndpointPermissionsRequest.
- Added serving.ServingEndpointAccessControlRequest.
- Added serving.ServingEndpointAccessControlResponse.
- Added serving.ServingEndpointPermission.
- Added serving.ServingEndpointPermissionLevel.
- Added serving.ServingEndpointPermissions.
- Added serving.ServingEndpointPermissionsDescription.
- Added serving.ServingEndpointPermissionsRequest.
- Added
GetTokenPermissionLevels
method for w.TokenManagement workspace-level service. - Added
GetTokenPermissions
method for w.TokenManagement workspace-level service. - Added
SetTokenPermissions
method for w.TokenManagement workspace-level service. - Added
UpdateTokenPermissions
method for w.TokenManagement workspace-level service. - Added settings.GetTokenPermissionLevelsResponse.
- Added settings.TokenAccessControlRequest.
- Added settings.TokenAccessControlResponse.
- Added settings.TokenPermission.
- Added settings.TokenPermissionLevel.
- Added settings.TokenPermissions.
- Added settings.TokenPermissionsDescription.
- Added settings.TokenPermissionsRequest.
- Added
GetWarehousePermissionLevels
method for w.Warehouses workspace-level service. - Added
GetWarehousePermissions
method for w.Warehouses workspace-level service. - Added
SetWarehousePermissions
method for w.Warehouses workspace-level service. - Added
UpdateWarehousePermissions
method for w.Warehouses workspace-level service. - Added
CanSubscribeToLiveQuery
field for sql.QueryInfo. - Removed
QueuedOverloadTimeMs
field for sql.QueryMetrics. - Removed
QueuedProvisioningTimeMs
field for sql.QueryMetrics. - Removed
TotalFilesCount
field for sql.QueryMetrics. - Removed
TotalPartitionsCount
field for sql.QueryMetrics. - Added
MetadataTimeMs
field for sql.QueryMetrics. - Added
OverloadingQueueStartTimestamp
field for sql.QueryMetrics. - Added
PlanningPhases
field for sql.QueryMetrics. - Added
PlanningTimeMs
field for sql.QueryMetrics. - Added
ProvisioningQueueStartTimestamp
field for sql.QueryMetrics. - Added
PrunedBytes
field for sql.QueryMetrics. - Added
PrunedFilesCount
field for sql.QueryMetrics. - Added
QueryCompilationStartTimestamp
field for sql.QueryMetrics. - Added
QueryExecutionTimeMs
field for sql.QueryMetrics. - Added sql.GetWarehousePermissionLevelsRequest.
- Added sql.GetWarehousePermissionLevelsResponse.
- Added sql.GetWarehousePermissionsRequest.
- Added sql.WarehouseAccessControlRequest.
- Added sql.WarehouseAccessControlResponse.
- Added sql.WarehousePermission.
- Added sql.WarehousePermissionLevel.
- Added sql.WarehousePermissions.
- Added sql.WarehousePermissionsDescription.
- Added sql.WarehousePermissionsRequest.
- Added
GetRepoPermissionLevels
method for w.Repos workspace-level service. - Added
GetRepoPermissions
method for w.Repos workspace-level service. - Added
SetRepoPermissions
method for w.Repos workspace-level service. - Added
UpdateRepoPermissions
method for w.Repos workspace-level service. - Added
GetWorkspaceObjectPermissionLevels
method for w.Workspace workspace-level service. - Added
GetWorkspaceObjectPermissions
method for w.Workspace workspace-level service. - Added
SetWorkspaceObjectPermissions
method for w.Workspace workspace-level service. - Added
UpdateWorkspaceObjectPermissions
method for w.Workspace workspace-level service. - Added workspace.GetRepoPermissionLevelsRequest.
- Added workspace.GetRepoPermissionLevelsResponse.
- Added workspace.GetRepoPermissionsRequest.
- Added workspace.GetWorkspaceObjectPermissionLevelsRequest.
- Added workspace.GetWorkspaceObjectPermissionLevelsResponse.
- Added workspace.GetWorkspaceObjectPermissionsRequest.
- Added workspace.RepoAccessControlRequest.
- Added workspace.RepoAccessControlResponse.
- Added workspace.RepoPermission.
- Added workspace.RepoPermissionLevel.
- Added workspace.RepoPermissions.
- Added workspace.RepoPermissionsDescription.
- Added workspace.RepoPermissionsRequest.
- Added workspace.WorkspaceObjectAccessControlRequest.
- Added workspace.WorkspaceObjectAccessControlResponse.
- Added workspace.WorkspaceObjectPermission.
- Added workspace.WorkspaceObjectPermissionLevel.
- Added workspace.WorkspaceObjectPermissions.
- Added workspace.WorkspaceObjectPermissionsDescription.
- Added workspace.WorkspaceObjectPermissionsRequest.
OpenAPI SHA: 386b65ecdc825b9c3ed4aa7ca88e2e5baf9d87df, Date: 2023-08-07 Dependency updates:
- Bump google.golang.org/api from 0.131.0 to 0.134.0 (#564).
- Handle nested query parameters in Client.attempt (#559).
- Support x-databricks-path-style overrides at the operation level (#562).
- Fixed names of keyword arguments in examples (#560).
API Changes:
- Changed
Create
method for a.AccountMetastoreAssignments account-level service to no longer return catalog.CreateMetastoreAssignmentsResponseItemList. - Added
ConnectionName
field for catalog.CreateCatalog. - Added
AccessPoint
field for catalog.CreateExternalLocation. - Added
EncryptionDetails
field for catalog.CreateExternalLocation. - Removed catalog.CreateMetastoreAssignmentsResponseItem.
- Added
AccessPoint
field for catalog.ExternalLocationInfo. - Added
EncryptionDetails
field for catalog.ExternalLocationInfo. - Added
AccessPoint
field for catalog.TableInfo. - Added
EncryptionDetails
field for catalog.TableInfo. - Added
AccessPoint
field for catalog.UpdateExternalLocation. - Added
EncryptionDetails
field for catalog.UpdateExternalLocation. - Added
AccessPoint
field for catalog.VolumeInfo. - Added
EncryptionDetails
field for catalog.VolumeInfo. - Added catalog.EncryptionDetails.
- Added catalog.SseEncryptionDetails.
- Added catalog.SseEncryptionDetailsAlgorithm.
- Added a.AccountNetworkPolicy account-level service.
- Added settings.AccountNetworkPolicyMessage.
- Added settings.DeleteAccountNetworkPolicyRequest.
- Added settings.DeleteAccountNetworkPolicyResponse.
- Added settings.ReadAccountNetworkPolicyRequest.
- Added settings.UpdateAccountNetworkPolicyRequest.
OpenAPI SHA: fbdd0fa3e83fed2c798a58d376529bdb1285b915, Date: 2023-07-26
- Add issue templates (#539).
- Added HasRequiredNonBodyField method (#536).
- Make Azure MSI auth account compatible (#544).
- Refactor Handling of Name<->ID Mapping in OpenAPI Generator (#547).
- Regenerate Go SDK from current OpenAPI Specification (#549).
- Parse Camel Case and Pascal Case Enum Values (#550).
- Prepare for auto-releaser infra (#554).
- Added SCIM Patch Acceptance Tests (#540).
API Changes:
- Removed
Maintenance
method for w.Metastores workspace-level service. - Added
EnableOptimization
method for w.Metastores workspace-level service. - Added
Update
method for w.Tables workspace-level service. - Added
Force
field for catalog.DeleteAccountMetastoreRequest. - Added
Force
field for catalog.DeleteAccountStorageCredentialRequest. - Removed catalog.UpdateAutoMaintenance.
- Removed catalog.UpdateAutoMaintenanceResponse.
- Added catalog.UpdatePredictiveOptimization.
- Added catalog.UpdatePredictiveOptimizationResponse.
- Added catalog.UpdateTableRequest.
- Added
Schema
field for iam.PartialUpdate. - Added iam.PatchSchema.
- Added
TriggerInfo
field for jobs.BaseRun. - Added
Health
field for jobs.CreateJob. - Added
JobSource
field for jobs.GitSource. - Added
OnDurationWarningThresholdExceeded
field for jobs.JobEmailNotifications. - Added
Health
field for jobs.JobSettings. - Added
TriggerInfo
field for jobs.Run. - Added
RunJobOutput
field for jobs.RunOutput. - Added
RunJobTask
field for jobs.RunTask. - Added
EmailNotifications
field for jobs.SubmitRun. - Added
Health
field for jobs.SubmitRun. - Added
EmailNotifications
field for jobs.SubmitTask. - Added
Health
field for jobs.SubmitTask. - Added
NotificationSettings
field for jobs.SubmitTask. - Added
Health
field for jobs.Task. - Added
RunJobTask
field for jobs.Task. - Added
OnDurationWarningThresholdExceeded
field for jobs.TaskEmailNotifications. - Added
OnDurationWarningThresholdExceeded
field for jobs.WebhookNotifications. - Added jobs.JobSource.
- Added jobs.JobSourceDirtyState.
- Added jobs.JobsHealthMetric.
- Added jobs.JobsHealthOperator.
- Added jobs.JobsHealthRule.
- Added jobs.JobsHealthRules.
- Added jobs.RunJobOutput.
- Added jobs.RunJobTask.
- Added jobs.TriggerInfo.
- Added jobs.WebhookNotificationsOnDurationWarningThresholdExceededItem.
- Removed
Whl
field for pipelines.PipelineLibrary. - Changed
DeletePersonalComputeSetting
method for a.AccountSettings account-level service with new required argument order. - Changed
ReadPersonalComputeSetting
method for a.AccountSettings account-level service with new required argument order. - Changed
Etag
field for settings.DeletePersonalComputeSettingRequest to be required. - Changed
Etag
field for settings.ReadPersonalComputeSettingRequest to be required. - Added w.CleanRooms workspace-level service.
- Added sharing.CentralCleanRoomInfo.
- Added sharing.CleanRoomAssetInfo.
- Added sharing.CleanRoomCatalog.
- Added sharing.CleanRoomCatalogUpdate.
- Added sharing.CleanRoomCollaboratorInfo.
- Added sharing.CleanRoomInfo.
- Added sharing.CleanRoomNotebookInfo.
- Added sharing.CleanRoomTableInfo.
- Added sharing.ColumnInfo.
- Added sharing.ColumnMask.
- Added sharing.ColumnTypeName.
- Added sharing.CreateCleanRoom.
- Added sharing.DeleteCleanRoomRequest.
- Added sharing.GetCleanRoomRequest.
- Added sharing.ListCleanRoomsResponse.
- Added sharing.UpdateCleanRoom.
- Changed
Query
field for sql.Alert to sql.AlertQuery. - Changed
Value
field for sql.AlertOptions toany
. - Removed
IsDbAdmin
field for sql.User. - Removed
ProfileImageUrl
field for sql.User. - Added sql.AlertQuery.
OpenAPI SHA: 0a1949ba96f71680dad30e06973eaae85b1307bb, Date: 2023-07-18 Dependency updates:
- Bump golang.org/x/oauth2 from 0.9.0 to 0.10.0 (#545).
- Bump golang.org/x/mod from 0.11.0 to 0.12.0 (#541).
- Bump google.golang.org/api from 0.129.0 to 0.130.0 (#542).
- Bump google.golang.org/api from 0.130.0 to 0.131.0 (#551).
- Change release type
- Regenerate SDK according to OpenAPI spec (#534).
- Bump google.golang.org/api from 0.128.0 to 0.129.0 (#533).
- Regenerated from OpenAPI spec (#527). Includes bugfixes for System Tables.
- Support accounts-dod as account endpoint (#530).
Breaking API Changes:
- Renamed compute.ClusterInfo to compute.ClusterDetails
- Renamed compue.BaseClusterInfo to compute.ClusterSpec
- Renamed jobs.RunSubmitTaskSettings to jobs.SubmitTask
- Renamed jobs.JobTaskSettings to jobs.Task
- Renamed jobs.CreateJobFormat to jobs.Format
- Renamed jobs.JobsWebhookNotifications to jobs.WebhookNotifications
- Renamed jobs.CronSchedulePauseStatus to jobs.PauseStatus
- Renamed jobs.FileArrivalTriggerSettings to jobs.FileArrivalTriggerConfiguration
- Renamed jobs.GitSourceGitProvider to jobs.GitProvider
- Consolidated jobs.NotebookTaskSource, jobs.SparkPythonTaskSource to jobs.Source
- Consolidated jobs.JobWebhookNotificationsOnFailureItem, jobs.JobWebhookNotificationsOnStartItem, jobs.JobWebhookNotificationsOnSuccessItem to jobs.Webhook
- Renamed jobs.TaskDependenciesItem to job.TaskDependency
- jobs.SparkSubmitTask.Widgets changed from *SqlDashboardWidgetOutput to []SqlDashboardWidgetOutput
- (a *SystemSchemasAPI) DisableByMetastoreIdAndSchemaName changed from func(context.Context, string, string) error to func(context.Context, string, DisableSchemaName) error
- (a *SystemSchemasAPI) Enable changed from func(context.Context) error to func(context.Context, EnableRequest) error
- catalog.CatalogInfo.OptionsKvpairs changed from *OptionsKvPairs to map[string]string
- catalog.CreateConnection.OptionsKvpairs changed from *OptionsKvPairs to map[string]string
- catalog.UpdateConnection.OptionsKvpairs changed from OptionsKvPairs to map[string]string
- catalog.DisableRequest.SchemaName changed from string to DisableSchemaName
- catalog.OptionsKvPairs removed
- catalog.SystemSchemaInfoStateDisableinitialized renamed to catalog.SystemSchemaInfoStateDisabledInitialized
- catalog.SystemSchemaInfoStateEnabledcompleted renamed to catalog.SystemSchemaInfoStateEnabledCompleted
- catalog.SystemSchemaInfoStateEnabledinitialized renamed to catalog.SystemSchemaInfoStateEnabledInitialized
- settings.ReadPersonalComputeSettingsResponse renamed to settings.PersonalComputeSetting
- workpace.CreateScope.KeyvaultMetadata removed
Other API Changes:
- catalog.CatalogInfo.ConnectionName added
- catalog.CatalogInfo.Options added
- catalog.DisableSchemaName added
- catalog.EnableRequest added
- catalog.PrivilegeUseMarketplaceAssets added
- compute.ClusterEvent added
- compute.ComputeSpec added
- compute.ComputeSpecKind added
- jobs.ConditionTask added
- jobs.ConditionTaskOp added
- jobs.CreateJob.Compute added
- jobs.JobCompute added
- jobs.JobSettings.Compute added
- jobs.RunConditionTask added
- jobs.RunOutput.ConditionTask added
- jobs.RunTask.ConditionTask added
- serving.ServedModelInput.EnvironmentVars added
- serving.ServedModelOutput.EnvironmentVars added
- settings.DeletePersonalComputeSetting added
- settings.UpdatePersonalComputeSetting added
- sharing.PrivilegeUseMarketplaceAssets added
- workspace.CreateScope.BackendAzureKeyVault added
- Added ClusterID field for Config (#524).
- Added OnlyPayload property for method (#522).
- Renamed IsJsonOnly method (#523).
Dependency updates:
- Bump google.golang.org/api from 0.127.0 to 0.128.0 (#521).
- Added log level support to SimpleLogger. Default logger now prints only
INFO
level messages. To replicate more verbose behavior from the previous versions, set theDEBUG
level inSimpleLogger
explicitly (#426). - Added
Upload
andDownload
methods where applicable (#423). - Added auth tests for a databrickscfg file with an empty DEFAULT profile (#496).
- Added more integration tests and examples (#503).
- Added preview level functions for services and methods to OpenAPI code (#497).
- Added IsAllRequiredFieldsPrimitive helper function (#404).
- Added isCrudCreate method (#416).
- Added retries for getting refreshable token (#500).
- Added type update when entity fields are updated (#411).
- Don't panic but return error from NewAccountClient (#422).
- Error when opening a DBFS directory for reading (#415).
- Fixed cleanup logic in SQL warehouse integration test (#400).
- Fixed error handling in cluster utility function (#399).
- Fixed example in README.md (#494).
- Fixed nondeterminism in workspace filesystem integration test (#401).
- Improve command execution interface (#410).
- Introduce waiters as top-level methods (#408).
- Regenerate examples if configured (#518).
- Respect limit field passed in ListRequests (#407).
- Updated from OpenAPI spec (#412, #413, #421, #519, #424).
- Updated API test template with page tokens (#417).
- Use constants instead of hardcoding strings (#402).
- Use
x-databricks-is-accounts
flag to determine whether a service is an account level service (#420).
API Changes:
github.com/databricks/databricks-sdk-go/service/serving
- (*ServingEndpointsAPI).Create: changed from func(context.Context, CreateServingEndpoint) (*ServingEndpointDetailed, error) to func(context.Context, CreateServingEndpoint) (*WaitGetServingEndpointNotUpdating[ServingEndpointDetailed], error)
- (*ServingEndpointsAPI).List: removed
- (*ServingEndpointsAPI).UpdateConfig: changed from func(context.Context, EndpointCoreConfigInput) (*ServingEndpointDetailed, error) to func(context.Context, EndpointCoreConfigInput) (*WaitGetServingEndpointNotUpdating[ServingEndpointDetailed], error) Compatible changes:
- (*ServingEndpointsAPI).ListAll: added
- (*ServingEndpointsAPI).WaitGetServingEndpointNotUpdating: added
- WaitGetServingEndpointNotUpdating: added
github.com/databricks/databricks-sdk-go
- WorkspaceClient.CommandExecutor: removed
- WorkspaceClient.CommandExecution: added
- WorkspaceClient.Connections: added
- WorkspaceClient.Files: added
- WorkspaceClient.SystemSchemas: added
github.com/databricks/databricks-sdk-go/service/sql
- (*WarehousesAPI).Create: changed from func(context.Context, CreateWarehouseRequest) (*CreateWarehouseResponse, error) to func(context.Context, CreateWarehouseRequest) (*WaitGetWarehouseRunning[CreateWarehouseResponse], error)
- (*WarehousesAPI).DeleteAndWait: removed
- (*WarehousesAPI).DeleteByIdAndWait: removed
- (*WarehousesAPI).Edit: changed from func(context.Context, EditWarehouseRequest) error to func(context.Context, EditWarehouseRequest) (*WaitGetWarehouseRunning[any], error)
- (*WarehousesAPI).GetAndWait: removed
- (*WarehousesAPI).GetByIdAndWait: removed
- (*WarehousesAPI).Start: changed from func(context.Context, StartRequest) error to func(context.Context, StartRequest) (*WaitGetWarehouseRunning[any], error)
- (*WarehousesAPI).Stop: changed from func(context.Context, StopRequest) error to func(context.Context, StopRequest) (*WaitGetWarehouseStopped[any], error)
- (*StatementExecutionAPI).ExecuteAndWait: added
- (*WarehousesAPI).WaitGetWarehouseRunning: added
- (*WarehousesAPI).WaitGetWarehouseStopped: added
- FormatCsv: added
- WaitGetWarehouseRunning: added
- WaitGetWarehouseStopped: added
github.com/databricks/databricks-sdk-go/service/jobs
- (*JobsAPI).CancelRun: changed from func(context.Context, CancelRun) error to func(context.Context, CancelRun) (*WaitGetRunJobTerminatedOrSkipped[any], error)
- (*JobsAPI).GetRunAndWait: removed
- (*JobsAPI).RepairRun: changed from func(context.Context, RepairRun) (*RepairRunResponse, error) to func(context.Context, RepairRun) (*WaitGetRunJobTerminatedOrSkipped[RepairRunResponse], error)
- (*JobsAPI).RunNow: changed from func(context.Context, RunNow) (*RunNowResponse, error) to func(context.Context, RunNow) (*WaitGetRunJobTerminatedOrSkipped[RunNowResponse], error)
- (*JobsAPI).Submit: changed from func(context.Context, SubmitRun) (*SubmitRunResponse, error) to func(context.Context, SubmitRun) (*WaitGetRunJobTerminatedOrSkipped[SubmitRunResponse], error)
- (*JobsAPI).WaitGetRunJobTerminatedOrSkipped: added
- CreateJob.RunAs: added
- JobRunAs: added
- JobSettings.RunAs: added
- WaitGetRunJobTerminatedOrSkipped: added
github.com/databricks/databricks-sdk-go/service/compute
- (*ClustersAPI).Create: changed from func(context.Context, CreateCluster) (*CreateClusterResponse, error) to func(context.Context, CreateCluster) (*WaitGetClusterRunning[CreateClusterResponse], error)
- (*ClustersAPI).Delete: changed from func(context.Context, DeleteCluster) error to func(context.Context, DeleteCluster) (*WaitGetClusterTerminated[any], error)
- (*ClustersAPI).Edit: changed from func(context.Context, EditCluster) error to func(context.Context, EditCluster) (*WaitGetClusterRunning[any], error)
- (*ClustersAPI).GetAndWait: removed
- (*ClustersAPI).GetByClusterIdAndWait: removed
- (*ClustersAPI).Resize: changed from func(context.Context, ResizeCluster) error to func(context.Context, ResizeCluster) (*WaitGetClusterRunning[any], error)
- (*ClustersAPI).Restart: changed from func(context.Context, RestartCluster) error to func(context.Context, RestartCluster) (*WaitGetClusterRunning[any], error)
- (*ClustersAPI).Start: changed from func(context.Context, StartCluster) error to func(context.Context, StartCluster) (*WaitGetClusterRunning[any], error)
- (*CommandExecutionAPI).Cancel: changed from func(context.Context, CancelCommand) error to func(context.Context, CancelCommand) (*WaitCommandStatusCommandExecutionCancelled[any], error)
- (*CommandExecutionAPI).Create: changed from func(context.Context, CreateContext) (*Created, error) to func(context.Context, CreateContext) (*WaitContextStatusCommandExecutionRunning[Created], error)
- (*CommandExecutionAPI).Execute: changed from func(context.Context, Command) (*Created, error) to func(context.Context, Command) (*WaitCommandStatusCommandExecutionFinishedOrError[Created], error)
- (*ClustersAPI).WaitGetClusterRunning: added
- (*ClustersAPI).WaitGetClusterTerminated: added
- (*CommandExecutionAPI).Start: added
- (*CommandExecutionAPI).WaitCommandStatusCommandExecutionCancelled: added
- (*CommandExecutionAPI).WaitCommandStatusCommandExecutionFinishedOrError: added
- (*CommandExecutionAPI).WaitContextStatusCommandExecutionRunning: added
- BaseClusterInfo.DataSecurityMode: added
- BaseClusterInfo.DockerImage: added
- BaseClusterInfo.SingleUserName: added
- ClusterAttributes.DataSecurityMode: added
- ClusterAttributes.DockerImage: added
- ClusterAttributes.SingleUserName: added
- ClusterInfo.DockerImage: added
- CommandExecutorV2: added
- EditCluster.DataSecurityMode: added
- EditCluster.DockerImage: added
- EditCluster.SingleUserName: added
- WaitCommandStatusCommandExecutionCancelled: added
- WaitCommandStatusCommandExecutionFinishedOrError: added
- WaitContextStatusCommandExecutionRunning: added
- WaitGetClusterRunning: added
- WaitGetClusterTerminated: added
github.com/databricks/databricks-sdk-go/service/pipelines
- (*PipelinesAPI).GetAndWait: removed
- (*PipelinesAPI).GetByPipelineIdAndWait: removed
- (*PipelinesAPI).Reset: changed from func(context.Context, ResetRequest) error to func(context.Context, ResetRequest) (*WaitGetPipelineRunning[any], error)
- (*PipelinesAPI).Stop: changed from func(context.Context, StopRequest) error to func(context.Context, StopRequest) (*WaitGetPipelineIdle[any], error)
- (*PipelinesAPI).WaitGetPipelineIdle: added
- (*PipelinesAPI).WaitGetPipelineRunning: added
- WaitGetPipelineIdle: added
- WaitGetPipelineRunning: added
github.com/databricks/databricks-sdk-go/service/sharing
- (*ProvidersAPI).ListShares: removed
- (*ProvidersAPI).ListSharesAll: added
github.com/databricks/databricks-sdk-go/service/workspace
- ExportFormatAuto: removed
- ExportRequest.DirectDownload: removed
- Import.Format: changed from ExportFormat to ImportFormat
- (*WorkspaceAPI).Download: added
- (*WorkspaceAPI).ReadFile: added
- (*WorkspaceAPI).Upload: added
- (*WorkspaceAPI).WriteFile: added
- DownloadFormat: added
- DownloadOption: added
- ImportFormat: added
- ImportFormatAuto: added
- ImportFormatDbc: added
- ImportFormatHtml: added
- ImportFormatJupyter: added
- ImportFormatRMarkdown: added
- ImportFormatSource: added
- UploadFormat: added
- UploadLanguage: added
- UploadOption: added
- UploadOverwrite: added
github.com/databricks/databricks-sdk-go/service/catalog
- (*FunctionsAPI).List: removed
- (*MetastoresAPI).Assign: changed from func(context.Context, CreateMetastoreAssignment) error to func(context.Context, CreateMetastoreAssignment) error
- (*MetastoresAPI).Create: changed from func(context.Context, CreateMetastore) (*MetastoreInfo, error) to func(context.Context, CreateMetastore) (*MetastoreInfo, error)
- (*MetastoresAPI).Update: changed from func(context.Context, UpdateMetastore) (*MetastoreInfo, error) to func(context.Context, UpdateMetastore) (*MetastoreInfo, error)
- (*MetastoresAPI).UpdateAssignment: changed from func(context.Context, UpdateMetastoreAssignment) error to func(context.Context, UpdateMetastoreAssignment) error
- (*StorageCredentialsAPI).Create: changed from func(context.Context, CreateStorageCredential) (*StorageCredentialInfo, error) to func(context.Context, CreateStorageCredential) (*StorageCredentialInfo, error)
- (*StorageCredentialsAPI).Update: changed from func(context.Context, UpdateStorageCredential) (*StorageCredentialInfo, error) to func(context.Context, UpdateStorageCredential) (*StorageCredentialInfo, error)
- (*TablesAPI).ListSummaries: removed
- CreateMetastore.Name: removed
- CreateMetastore.Region: removed
- CreateMetastore.StorageRoot: removed
- CreateMetastore: changed from CreateMetastore to CreateMetastore
- CreateMetastoreAssignment.DefaultCatalogName: removed
- CreateMetastoreAssignment: changed from CreateMetastoreAssignment to CreateMetastoreAssignment
- CreateStorageCredential.AwsIamRole: removed
- CreateStorageCredential.AzureServicePrincipal: removed
- CreateStorageCredential.Comment: removed
- CreateStorageCredential.GcpServiceAccountKey: removed
- CreateStorageCredential.Name: removed
- CreateStorageCredential.ReadOnly: removed
- CreateStorageCredential.SkipValidation: removed
- CreateStorageCredential: changed from CreateStorageCredential to CreateStorageCredential
- GcpServiceAccountKey: removed
- ListFunctionsResponse.Schemas: removed
- MetastoreAssignment.WorkspaceId: changed from string to int64
- StorageCredentialInfo.GcpServiceAccountKey: removed
- UpdateMetastore.DeltaSharingOrganizationName: removed
- UpdateMetastore.DeltaSharingRecipientTokenLifetimeInSeconds: removed
- UpdateMetastore.DeltaSharingScope: removed
- UpdateMetastore.Id: removed
- UpdateMetastore.Name: removed
- UpdateMetastore.Owner: removed
- UpdateMetastore.PrivilegeModelVersion: removed
- UpdateMetastore.StorageRootCredentialId: removed
- UpdateMetastore: changed from UpdateMetastore to UpdateMetastore
- UpdateMetastoreAssignment.DefaultCatalogName: removed
- UpdateMetastoreAssignment: changed from UpdateMetastoreAssignment to UpdateMetastoreAssignment
- UpdateStorageCredential.AwsIamRole: removed
- UpdateStorageCredential.AzureServicePrincipal: removed
- UpdateStorageCredential.Comment: removed
- UpdateStorageCredential.Force: removed
- UpdateStorageCredential.GcpServiceAccountKey: removed
- UpdateStorageCredential.Owner: removed
- UpdateStorageCredential.ReadOnly: removed
- UpdateStorageCredential.SkipValidation: removed
- UpdateStorageCredential: changed from UpdateStorageCredential to UpdateStorageCredential
- ValidateStorageCredential.GcpServiceAccountKey: removed
- (*FunctionsAPI).FunctionInfoNameToFullNameMap: added
- (*FunctionsAPI).ListAll: added
- (*TablesAPI).ListSummariesAll: added
- AccountsCreateMetastore: added
- AccountsCreateMetastoreAssignment: added
- AccountsCreateStorageCredential: added
- AccountsUpdateMetastore: added
- AccountsUpdateMetastoreAssignment: added
- AccountsUpdateStorageCredential: added
- AzureManagedIdentity: added
- ConnectionInfo: added
- ConnectionType: added
- ConnectionTypeDatabricks: added
- ConnectionTypeMysql: added
- ConnectionTypePostgresql: added
- ConnectionTypeRedshift: added
- ConnectionTypeSnowflake: added
- ConnectionTypeSqldw: added
- ConnectionTypeSqlserver: added
- ConnectionsAPI: added
- ConnectionsService: added
- CreateConnection: added
- CreateMetastore.MetastoreInfo: added
- CreateMetastoreAssignment.MetastoreAssignment: added
- CreateStorageCredential.CredentialInfo: added
- CredentialType: added
- CredentialTypeUsernamePassword: added
- DatabricksGcpServiceAccountResponse: added
- DeleteConnectionRequest: added
- DisableRequest: added
- GetConnectionRequest: added
- ListConnectionsResponse: added
- ListFunctionsResponse.Functions: added
- ListSystemSchemasRequest: added
- ListSystemSchemasResponse: added
- NewConnections: added
- NewSystemSchemas: added
- OptionsKvPairs: added
- PropertiesKvPairs: added
- StorageCredentialInfo.AzureManagedIdentity: added
- StorageCredentialInfo.DatabricksGcpServiceAccount: added
- SystemSchemaInfo: added
- SystemSchemaInfoState: added
- SystemSchemaInfoStateDisableinitialized: added
- SystemSchemaInfoStateEnablecompleted: added
- SystemSchemaInfoStateEnableinitialized: added
- SystemSchemaInfoStateUnavailable: added
- SystemSchemasAPI: added
- SystemSchemasService: added
- UpdateConnection: added
- UpdateMetastore.MetastoreInfo: added
- UpdateMetastoreAssignment.MetastoreAssignment: added
- UpdateStorageCredential.CredentialInfo: added
- ValidateStorageCredential.AzureManagedIdentity: added
- ValidateStorageCredential.DatabricksGcpServiceAccount: added
github.com/databricks/databricks-sdk-go/service/ml
- GetModelResponse.RegisteredModel: removed
- GetModelResponse.RegisteredModelDatabricks: added
github.com/databricks/databricks-sdk-go/service/files
- FilesAPI: added
- FilesService: added
- NewFiles: added
github.com/databricks/databricks-sdk-go/logger
- SimpleLogger.Level: added
github.com/databricks/databricks-sdk-go/service/provisioning
- (*WorkspacesAPI).Create: changed from func(context.Context, CreateWorkspaceRequest) (*Workspace, error) to func(context.Context, CreateWorkspaceRequest) (*WaitGetWorkspaceRunning[Workspace], error)
- (*WorkspacesAPI).Update: changed from func(context.Context, UpdateWorkspaceRequest) error to func(context.Context, UpdateWorkspaceRequest) (*WaitGetWorkspaceRunning[any], error)
- (*WorkspacesAPI).WaitGetWorkspaceRunning: added
- WaitGetWorkspaceRunning: added
github.com/databricks/databricks-sdk-go/service/iam
- AccountAccessControlAPI: added
- AccountAccessControlProxyAPI: added
- AccountAccessControlProxyService: added
- AccountAccessControlService: added
- GetAssignableRolesForResourceRequest: added
- GetAssignableRolesForResourceResponse: added
- GetRuleSetRequest: added
- GrantRule: added
- NewAccountAccessControl: added
- NewAccountAccessControlProxy: added
- RuleSetResponse: added
- RuleSetUpdateRequest: added
- UpdateRuleSetRequest: added
Dependency updates:
- Bump github.com/stretchr/testify from 1.8.3 to 1.8.4 (#406).
- Bump golang.org/x/mod from 0.10.0 to 0.11.0 (#515).
- Bump golang.org/x/oauth2 from 0.8.0 to 0.9.0 (#498).
- Bump google.golang.org/api from 0.123.0 to 0.127.0 (#405, #425, #429).
- Added more usage examples for
go doc
and Go Packages (#389). - Make u2m authentication work with new CLI (#394).
- Update from OpenAPI spec (19 may) (#390).
Dependency updates:
- Bump github.com/stretchr/testify from 1.8.2 to 1.8.3 (#393).
- Bump google.golang.org/api from 0.122.0 to 0.123.0 (#392).
- Added
in
codegen function (#387). - Fixed mlflow acceptance tests (#378).
- Fixed MLflow integration test and removed workaround for
DELETE
query parameter (#380). - Make clusters acceptance tests robust to duplicate cluster names (#381).
- Remove dead code from apierr/errors.go (#376).
- Serialize params to request body on delete (#383).
Dependency updates:
- Bump golang.org/x/oauth2 from 0.7.0 to 0.8.0 (#385).
- Bump google.golang.org/api from 0.118.0 to 0.122.0 (#382, #386).
- Added more code generation utilities (#369).
- Body logger for non-JSON payload as well (#365).
- Cleanup ephemeral groups in integration tests (#368).
- Fixed external entity generation (#372).
- Skip loading default profile if host is already configured (#363).
- Update debug messages in config loader to display correct path (#362).
Dependency updates:
- Bump golang.org/x/oauth2 from 0.6.0 to 0.7.0 (#364).
- Bump google.golang.org/api from 0.115.0 to 0.116.0 (#361).
- Bump google.golang.org/api from 0.116.0 to 0.118.0 (#367).
API changes:
- Moved
clusterpolicies
APIs tocompute
package. - Moved
clusters
APIs tocompute
package. - Moved
commands
APIs tocompute
package. - Moved
globalinitscripts
APIs tocompute
package. - Moved
instancepools
APIs tocompute
package. - Moved
scim
APIs toiam
package. - Moved
permissions
APIs toiam
package. - Moved
ipaccesslists
APIs tosettings
package. - Moved
tokenmanagement
APIs tosettings
package. - Moved
tokens
APIs tosettings
package. - Moved
workspaceconf
APIs tosettings
package. - Moved
gitcredentials
APIs toworkspace
package. - Moved
repos
APIs toworkspace
package. - Moved
secrets
APIs toworkspace
package. - Split
unitcatalog
package tocatalog
andsharing
. - Renamed
mlflow
package toml
. - Renamed
dbfs
package tofiles
. - Renamed
deployment
package toprovisioning
. - Renamed
endpoints
package toserving
. - Renamed
clusters.List
type tocompute.ListClustersRequest
. - Renamed
jobs.ListRuns
type tojobs.ListRunsRequest
. - Renamed
jobs.ExportRun
type tojobs.ExportRunRequest
. - Renamed
clusterpolicies.List
type tocompute.ListClusterPoliciesRequest
. - Renamed
jobs.List
type tojobs.ListJobsRequest
. - Renamed
permissions.GetPermissionLevels
type toiam.GetPermissionLevelsRequest
. - Renamed
pipelines.ListPipelineEvents
type topipelines.ListPipelineEventsRequest
. - Renamed
pipelines.ListPipelines
type topipelines.ListPipelinesRequest
. - Renamed
workspaceconf.GetStatus
type tosettings.GetStatusRequest
. - Renamed
repos.List
type toworkspace.ListReposRequest
. - Renamed
tokenmanagement.List
type tosettings.ListTokenManagementRequest
. - Renamed
workspace.Export
type toworkspace.ExportRequest
. - Renamed
workspace.List
type toworkspace.ListWorkspaceRequest
.
- Update from OpenAPI (#359).
- Experimental credentials provider via local server (#340).
- Added
isTesting
marker to supportResourceFixture
in Terraform (#358).
Dependency updates:
- Bump golang.org/x/mod from 0.9.0 to 0.10.0 (#356).
- Bump google.golang.org/api from 0.114.0 to 0.115.0 (#357).
- Added type to represent a loaded configuration file (#349).
- Added named
Wait
the level of services (#348). - Pass
azure_client_id
to Azure MSI if specified (#354).
Dependency updates:
- Bump google.golang.org/api from 0.112.0 to 0.114.0 (#344).
- Added Delta Live Tables events method to
pipelines.PipelinesAPI
(#339). - Added
id
field to theSparkVersionRequest
for easier integration with Terraform's databricks_spark_version data source (#335). - Improve auth fixture capturing (#336, #337).
- Make logger context aware and added examples of usage together with
zerolog
andslog
(#333). - Update from OpenAPI spec and added new APIs (#338).
Dependency updates:
- Bump google.golang.org/api from 0.111.0 to 0.112.0 (#334).
- Added an option to configure the location of the bricks CLI (#330).
- Added support for Azure CLI authentication on Azure China and Azure GovCloud (#331).
- Added
id
field to theNodeTypeRequest
for easier integration with Terraform's databricks_node_type data source (#325). - Don't load
~/.databrickscfg
ifazure-cli
auth is implicitly configured (#324). - Fixed newline in codegen comments (#326).
- Update from OpenAPI (#320, #328).
API changes:
- Renamed
deployment.AwsCredentials
todeployment.CreateCredentialAwsCredentials
. - Renamed
deployment.StsRole
todeployment.CreateCredentialStsRole
. - Removed schedules support from
sql.AlertsAPI
.
Dependency updates:
- Bump github.com/stretchr/testify from 1.8.1 to 1.8.2 (#318).
- Bump golang.org/x/mod from 0.6.0-dev.0.20220419223038-86c51ed26bb4 to 0.8.0 (#316).
- Bump golang.org/x/mod from 0.8.0 to 0.9.0 (#323).
- Bump golang.org/x/oauth2 from 0.5.0 to 0.6.0 (#322).
- Bump golang.org/x/time from 0.0.0-20210723032227-1f47c861a9ac to 0.3.0 (#317).
- Bump google.golang.org/api from 0.110.0 to 0.111.0 (#319).
- Allow AAD SPN authentication on Databricks Account level (#311).
- Port auth tests from the JS SDK (#313).
- Skip loading
~/.databrickscfg
when not required (#314).
Dependency updates:
- Bump golang.org/x/net from 0.6.0 to 0.7.0 (#312).
- Always use the latest value for user agent key (#309).
- Change APIError to use pointer receiver (#298).
- Drop duplicate prefix in randomized email (#299).
- Expand semver pattern to be compliant with https://semver.org (#302).
- Fix
apierr.APIError
pointer receivers (#307). - Skip loading config if auth is already explicitly configured directly (#306).
- Sync fixes for smallest node selection from Terraform (#301).
- Updated from OpenAPI spec (#305).
Dependency updates:
- Bump google.golang.org/api from 0.109.0 to 0.110.0 (#303).
- Added support for GCP deployment APIs in Public Preview.
- Added new node type selector (#287).
- Added Azure MSI auth (#279).
- Added validation of strings in user agent package (#291).
- Added logging for error responses (#289).
- Update implementation of smallest node selection to match terraform's (#273).
- Added experimental OAuth support (#276, #266, #292).
- Fixed
google-credentials
to take precedence overgoogle-id
(#283). - Test with Go 1.20 (#295).
- Regenerate from OpenAPI (#293, #294, #296, #282, #269, #272).
- Added
replaceAll
andlowerFirst
template functions (#288, #277).
Dependency updates:
API changes:
- Renamed
clusters.CreateCluster
toclusters.BaseClusterInfo
. - Renamed
jobs.Job
tojobs.BaseJob
. - Renamed
jobs.Run
tojobs.BaseRun
. - Fixed
commands.Results
Schema
type from[][]any
to[]map[string]any
.
- Added
DATABRICKS_AUTH_TYPE
environment variable (#248). - Added Policy Families API (#263).
- Added experimental
ErrCannotConfigureAuth
andErrNotAccountClient
(#237, #238). - Added DBFS file handle that supports both reading and writing (#261).
- Added
io.WriterTo
for DBFS file reader (#249). - Added
pflag.Value
interfaces for enums (#234). - Added support for adding custom HTTP visitors per request (#230).
- Added support for raw body as byte slice if requested (#247).
- Improved callbacks for polling the status of long-running operations (#258).
- Improved rendering of HTTP links in godoc (#229).
- Updated field types in the Jobs API from spec (#259).
- Multiple OpenAPI consistency passes (#254, #241, #243, #255, #236).
API changes:
- Renamed
IsAccountsClient
toIsAccountClient
(#231). w.ClusterPolicies.ListAll
now takesclusterpolicies.List
as an argument.github.com/databricks/databricks-sdk-go/service/dbsql
package is renamed togithub.com/databricks/databricks-sdk-go/service/sql
.w.DataSources.ListDataSources
is renamed tow.DataSources.List
.w.Queries.CreateQuery
is renamed tow.Queries.CreateQuery
.w.Queries.DeleteQueryByQueryId
is renamed tow.Queries.DeleteByQueryId
.w.Queries.GetQueryByQueryId
is renamed tow.Queries.GetByQueryId
.w.Queries.UpdateQuery
is renamed tow.Queries.Update
.w.Alerts.DeleteAlertByAlertId
is renamed tow.Alerts.DeleteByAlertId
.w.Alerts.UpdateAlert
is renamed tow.Alerts.Update
.w.Alerts.GetAlertByAlertId
is renamed tow.Alerts.GetByAlertId
.w.Alerts.ListAlerts
is renamed tow.Alerts.List
.w.Dashboards.CreateDashboard
is renamed tow.Dashboards.Create
.w.Dashboards.DeleteDashboardByDashboardId
is renamed tow.Dashboards.GetByDashboardId
.w.Dashboards.ListDashboardsAll
is renamed tow.Dashboards.ListAll
.w.Dashboards.DeleteDashboardByDashboardId
is renamed tow.Dashboards.DeleteByDashboardId
.w.Dashboards.RestoreDashboard
is renamed tow.Dashboards.Restore
.deployment.CreateCustomerManagedKeyRequest
now takesdeployment.KeyUseCase
enum.w.GlobalInitScripts.CreateScript
is renamed tow.GlobalInitScripts.Create
.w.GlobalInitScripts.DeleteScriptByScriptId
is renamed tow.GlobalInitScripts.DeleteByScriptId
.w.GlobalInitScripts.UpdateScript
is renamed tow.GlobalInitScripts.Update
.w.GlobalInitScripts.GetScriptByScriptId
is renamed tow.GlobalInitScripts.GetByScriptId
.w.GlobalInitScripts.ListScriptsAll
is renamed tow.GlobalInitScripts.ListAll
.jobs.ResetJob.NewSettings
is now required field.w.Pipelines.CreatePipeline
is renamed tow.Pipelines.Create
.w.Pipelines.DeletePipelineByPipelineId
is renamed tow.Pipelines.DeleteByPipelineId
.w.Pipelines.UpdatePipeline
is renamed tow.Pipelines.Update
.w.Pipelines.GetPipelineByPipelineId
is renamed tow.Pipelines.GetByPipelineId
.w.StorageCredentials.Update
now also returns an entity.w.ExternalLocations.Update
now also returns an entity.w.Metastores.Update
now also returns an entity.unitycatalog.CreateMetastoreAssignment.WorkspaceId
type changed fromint
toint64
.unitycatalog.UnassignRequest.WorkspaceId
type changed fromint
toint64
.w.Catalogs.Update
now also returns an entity.w.Schemas.Update
now also returns an entity.w.Providers.Update
now also returns an entity.w.Shares.Update
now also returns an entity.WarehousesAPI
service moved togithub.com/databricks/databricks-sdk-go/service/sql
package.w.Warehouses.CreateWarehouseAndWait
renamed tow.Warehouses.CreateAndWait
.w.Warehouses.DeleteWarehouseByIdAndWait
renamed tow.Warehouses.DeleteByIdAndWait
.w.Warehouses.EditWarehouse
renamed tow.Warehouses.Edit
.w.Warehouses.GetWarehouseById
renamed tow.Warehouses.GetById
.w.Warehouses.ListWarehousesAll
renamed tow.Warehouses.ListAll
.- Removed
w.Dbfs.Overwrite
in favor ofw.Dbfs.Open("....", dbfs.FileModeOverwrite|dbfs.FileModeWrite)
. - Added third required argument to
w.Dbfs.Open
.
Code generation:
- Added concept of
main
service for the package (#239). - Added entity primitives check (#242).
- Added helpers for CRUD generation (#246).
- Added more entity-generation utils (#257).
- Dynamically generate
.gitattributes
(#244). - Fixed required order fields (#245).
- Parse summary from descriptions (#228).
- Print error on formatter failure (#235).
- Update usage string in generator (#260).
- Fixed order of host completion (#233).
Dependency updates:
- Improved usage instructions and added more documentation for services.
- Initial release of the Databricks SDK for Go.