Releases: databricks/databricks-sdk-go
Releases · databricks/databricks-sdk-go
v0.49.0
API Changes:
- Added w.DisableLegacyDbfs workspace-level service.
- Added
UnityCatalogProvisioningState
field for catalog.OnlineTable. - Added
IsTruncated
field for dashboards.Result. - Added
EffectiveBudgetPolicyId
field for jobs.BaseJob. - Added
BudgetPolicyId
field for jobs.CreateJob. - Added
EffectiveBudgetPolicyId
field for jobs.Job. - Added
BudgetPolicyId
field for jobs.JobSettings. - Added
BudgetPolicyId
field for jobs.SubmitRun. - Added
Report
field for pipelines.IngestionConfig. - Added
SequenceBy
field for pipelines.TableSpecificConfig. - Added
NotifyOnOk
field for sql.Alert. - Added
NotifyOnOk
field for sql.CreateAlertRequestAlert. - Added
NotifyOnOk
field for sql.ListAlertsResponseAlert. - Added
NotifyOnOk
field for sql.UpdateAlertRequestAlert.
OpenAPI SHA: cf9c61453990df0f9453670f2fe68e1b128647a2, Date: 2024-10-14
v0.48.0
Internal Changes
- Update SDK to latest OpenAPI spec (#1057).
Note: This release contains breaking changes, please see the API changes below for more details.
API Changes:
- Added
DefaultSourceCodePath
andResources
fields for apps.App. - Added
Resources
field for apps.CreateAppRequest. - Added
Resources
field for apps.UpdateAppRequest. - Added
Schema
field for pipelines.CreatePipeline. - Added
Schema
field for pipelines.EditPipeline. - Added
Schema
field for pipelines.PipelineSpec. - [Breaking] Changed
Create
method for w.GitCredentials workspace-level service . New request type is workspace.CreateCredentialsRequest. - [Breaking] Changed
Create
method for w.GitCredentials workspace-level service to typeCreate
method for w.GitCredentials workspace-level service. - [Breaking] Changed
Delete
method for w.GitCredentials workspace-level service . New request type is workspace.DeleteCredentialsRequest. - [Breaking] Changed
Delete
method for w.GitCredentials workspace-level service to returnany
. - Changed
Delete
method for w.GitCredentials workspace-level service to typeDelete
method for w.GitCredentials workspace-level service. - [Breaking] Changed
Get
method for w.GitCredentials workspace-level service . New request type is workspace.GetCredentialsRequest. - Changed
Get
method for w.GitCredentials workspace-level service to typeGet
method for w.GitCredentials workspace-level service. - [Breaking] Changed
Get
method for w.GitCredentials workspace-level service to return workspace.GetCredentialsResponse. - [Breaking] Changed
List
method for w.GitCredentials workspace-level service to return workspace.ListCredentialsResponse. - Changed
List
method for w.GitCredentials workspace-level service to typeList
method for w.GitCredentials workspace-level service. - Changed
Update
method for w.GitCredentials workspace-level service to typeUpdate
method for w.GitCredentials workspace-level service. - [Breaking] Changed
Update
method for w.GitCredentials workspace-level service to returnany
. - [Breaking] Changed
Update
method for w.GitCredentials workspace-level service . New request type is workspace.UpdateCredentialsRequest. - Changed
Create
method for w.Repos workspace-level service to typeCreate
method for w.Repos workspace-level service. - [Breaking] Changed
Create
method for w.Repos workspace-level service . New request type is workspace.CreateRepoRequest. - [Breaking] Changed
Create
method for w.Repos workspace-level service to return workspace.CreateRepoResponse. - [Breaking] Changed
Delete
method for w.Repos workspace-level service to returnany
. - Changed
Delete
method for w.Repos workspace-level service to typeDelete
method for w.Repos workspace-level service. - [Breaking] Changed
Get
method for w.Repos workspace-level service to return workspace.GetRepoResponse. - Changed
Get
method for w.Repos workspace-level service to typeGet
method for w.Repos workspace-level service. - Changed
Update
method for w.Repos workspace-level service to returnany
. - [Breaking] Changed
Update
method for w.Repos workspace-level service . New request type is workspace.UpdateRepoRequest. - Changed
Update
method for w.Repos workspace-level service to typeUpdate
method for w.Repos workspace-level service. - [Breaking] Changed
CredentialId
andGitProvider
fields for workspace.CreateCredentialsResponse to be required. - Changed
CredentialId
field for workspace.CredentialInfo to be required. - Changed
CredentialId
field for workspace.GetCredentialsResponse to be required. - Changed
Patterns
field for workspace.SparseCheckout to type workspace.List. - Changed
Patterns
field for workspace.SparseCheckoutUpdate to type workspace.List. - [Breaking] Changed
GitProvider
field for workspace.UpdateCredentialsRequest to be required.
OpenAPI SHA: 0c86ea6dbd9a730c24ff0d4e509603e476955ac5, Date: 2024-10-02
v0.47.0
Internal Changes
- Update SDK to latest OpenAPI spec (#1042).
API Changes:
- Added w.DisableLegacyAccess workspace-level service and a.DisableLegacyFeatures account-level service.
- Added w.TemporaryTableCredentials workspace-level service.
- Added
PutAiGateway
method for w.ServingEndpoints workspace-level service. - Added apps.ApplicationState, apps.ApplicationStatus, apps.ComputeState and apps.ComputeStatus.
- Added catalog.AwsCredentials, catalog.AzureUserDelegationSas, catalog.GcpOauthToken, catalog.GenerateTemporaryTableCredentialRequest, catalog.GenerateTemporaryTableCredentialResponse, catalog.R2Credentials and catalog.TableOperation.
- Added serving.AiGatewayConfig, serving.AiGatewayGuardrailParameters, serving.AiGatewayGuardrailPiiBehavior, serving.AiGatewayGuardrailPiiBehaviorBehavior, serving.AiGatewayGuardrails, serving.AiGatewayInferenceTableConfig, serving.AiGatewayRateLimit, serving.AiGatewayRateLimitKey, serving.AiGatewayRateLimitRenewalPeriod, serving.AiGatewayUsageTrackingConfig, serving.PutAiGatewayRequest and serving.PutAiGatewayResponse.
- Added settings.BooleanMessage, settings.DeleteDisableLegacyAccessRequest, settings.DeleteDisableLegacyAccessResponse, settings.DeleteDisableLegacyFeaturesRequest, settings.DeleteDisableLegacyFeaturesResponse, settings.DisableLegacyAccess, settings.DisableLegacyFeatures, settings.GetDisableLegacyAccessRequest, settings.GetDisableLegacyFeaturesRequest, settings.UpdateDisableLegacyAccessRequest and settings.UpdateDisableLegacyFeaturesRequest.
- Added
AppStatus
andComputeStatus
fields for apps.App. - Added
DeploymentId
field for apps.CreateAppDeploymentRequest. - Added
ExternalAccessEnabled
field for catalog.GetMetastoreSummaryResponse. - Added
IncludeManifestCapabilities
field for catalog.GetTableRequest. - Added
IncludeManifestCapabilities
field for catalog.ListSummariesRequest. - Added
IncludeManifestCapabilities
field for catalog.ListTablesRequest. - Added
ExternalAccessEnabled
field for catalog.MetastoreInfo. - Added
BudgetPolicyId
field for pipelines.CreatePipeline. - Added
BudgetPolicyId
field for pipelines.EditPipeline. - Added
EffectiveBudgetPolicyId
field for pipelines.GetPipelineResponse. - Added
BudgetPolicyId
field for pipelines.PipelineSpec. - Added
AiGateway
field for serving.CreateServingEndpoint. - Added
AiGateway
field for serving.ServingEndpoint. - Added
AiGateway
field for serving.ServingEndpointDetailed. - Added
WorkspaceId
field for settings.TokenInfo. - Changed
Delete
,Start
andStop
methods for w.Apps workspace-level service to return apps.App. - Changed
Deploy
method for w.Apps workspace-level service with new required argument order. - Changed
SourceCodePath
field for apps.AppDeployment to no longer be required. - Changed
SourceCodePath
field for apps.CreateAppDeploymentRequest to no longer be required. - Changed
ReturnParams
andRoutineDependencies
fields for catalog.CreateFunction to no longer be required. - Removed apps.AppState, apps.AppStatus,
any
andany
. - Removed sql.ClientCallContext, sql.EncodedText, sql.EncodedTextEncoding, sql.QuerySource, sql.QuerySourceDriverInfo, sql.QuerySourceEntryPoint, [sql.QuerySourceJobManager](https://pkg.go.dev/github.com/databric...
v0.46.0
Bug Fixes
- Fail fast when authenticating if host is not configured (#1033).
- Improve non-JSON error handling (#1031).
Internal Changes
- Add TestAccCreateOboTokenOnAws to flaky test list (#1029).
- Add workflows manage integration tests checks (#1032).
- Fix TestMwsAccWorkspaces cleanup (#1028).
- Improve integration test comment (#1035).
- Temporary ignore Metastore test failures (#1027).
- Update test to support new accounts (#1026).
- Use statuses instead of checks (#1036).
API Changes:
- Added
RegenerateDashboard
method for w.QualityMonitors workspace-level service. - Added catalog.RegenerateDashboardRequest and catalog.RegenerateDashboardResponse.
- Added jobs.QueueDetails, jobs.QueueDetailsCodeCode, jobs.RunLifecycleStateV2State, jobs.RunStatus, jobs.TerminationCodeCode, jobs.TerminationDetails and jobs.TerminationTypeType.
- Added
Status
field for jobs.BaseRun. - Added
Status
field for jobs.RepairHistoryItem. - Added
Status
field for jobs.Run. - Added
Status
field for jobs.RunTask. - Added
MaxProvisionedThroughput
andMinProvisionedThroughput
fields for serving.ServedModelInput. - Added
ColumnsToSync
field for vectorsearch.DeltaSyncVectorIndexSpecRequest. - Changed
WorkloadSize
field for serving.ServedModelInput to no longer be required.
OpenAPI SHA: d05898328669a3f8ab0c2ecee37db2673d3ea3f7, Date: 2024-09-04
v0.45.0
0.45.0
Bug Fixes
- Add INVALID_STATE to error code mapping (#1014).
- Do not specify
--tenant
flag when fetching managed identity access token from the CLI (#1021).
Internal Changes
- Add terraform aliases to Entity (#1017).
- Added Service.NamedIdMap (#1016).
- Fix billing test for budget configuration update (#1019).
API Changes:
- Added w.PolicyComplianceForClusters workspace-level service.
- Added w.PolicyComplianceForJobs workspace-level service.
- Added w.ResourceQuotas workspace-level service.
- Added catalog.GetQuotaRequest, catalog.GetQuotaResponse, catalog.ListQuotasRequest, catalog.ListQuotasResponse and catalog.QuotaInfo.
- Added compute.ClusterCompliance, compute.ClusterSettingsChange, compute.EnforceClusterComplianceRequest, compute.EnforceClusterComplianceResponse, compute.GetClusterComplianceRequest, compute.GetClusterComplianceResponse, compute.ListClusterCompliancesRequest and compute.ListClusterCompliancesResponse.
- Added jobs.EnforcePolicyComplianceForJobResponseJobClusterSettingsChange, jobs.EnforcePolicyComplianceRequest, jobs.EnforcePolicyComplianceResponse, jobs.GetPolicyComplianceRequest, jobs.GetPolicyComplianceResponse, jobs.JobCompliance, jobs.ListJobComplianceForPolicyResponse and jobs.ListJobComplianceRequest.
- Added
Fallback
field for catalog.CreateExternalLocation. - Added
Fallback
field for catalog.ExternalLocationInfo. - Added
Fallback
field for catalog.UpdateExternalLocation. - Added
JobRunId
field for jobs.BaseRun. - Added
JobRunId
field for jobs.Run. - Added
IncludeMetrics
field for sql.ListQueryHistoryRequest. - Added
StatementIds
field for sql.QueryFilter. - Removed sql.ContextFilter.
- Removed
ContextFilter
field for sql.QueryFilter. - Removed
PipelineId
andPipelineUpdateId
fields for sql.QuerySource.
OpenAPI SHA: 3eae49b444cac5a0118a3503e5b7ecef7f96527a, Date: 2024-08-21
v0.44.0
New Features and Improvements
- Remove deprecated
WithImpl
andImpl
service methods (#1003). w.Clusters.List()
is no longer limited to returning 200 all-purpose and 30 jobs clusters from the last 30 days. It now returns all terminated clusters in the last 30 days.
Bug Fixes
- Allowed filtering for graviton DBRs in
ClusterAPI.SelectSparkVersion
(#1004). - Avoid loading the response bodies twice in memory when parsing
bytes.Buffer
(#984). - Bump google.golang.org/grpc from 1.64.0 to 1.64.1 (#974).
- Fix default-auth example when less than 10 clusters (#1012).
- Infer Azure tenant ID if not set (#910).
Internal Changes
- Add comment to validate workflow (#987).
- Add error mapping for GetRun (#1006).
- Add missing Package to Entity (#995).
- Add prefix to Dependabot commit messages (#976).
- Configure Dependabot for security updates only (#988).
- Enable mixins via struct embedding (#1000).
- Fix GetWorkspaceClient test & GCP SQL Warehouse Creation test (#1010).
- Fix integration tests (#1008).
- Fix processing of
quoted
titles (#989). - Generate SDK from Open API (#997).
- Log a warning when declaring inline entities (#994).
- Move PR message validation to a separate workflow (#983).
- Pin jobs APIs to 2.1 in SDKs (#993).
- Prefix all extension files with
ext_
(#1001). - Trigger the
validate
workflow in the merge queue (#986). - Update OpenAPI spec (#991).
- Use HTTP status text as message if the error response body is empty (#990).
API Changes:
- Added apps package.
- Added a.UsageDashboards account-level service.
- Added w.AlertsLegacy workspace-level service, w.QueriesLegacy workspace-level service and w.QueryVisualizationsLegacy workspace-level service.
- Added w.Genie workspace-level service.
- Added w.NotificationDestinations workspace-level service.
- Added
Update
method for w.Clusters workspace-level service. - Added
ListVisualizations
method for w.Queries workspace-level service. - Added catalog.GetBindingsSecurableType and catalog.UpdateBindingsSecurableType.
- Added billing.ActionConfiguration, billing.ActionConfigurationType, billing.AlertConfiguration, billing.AlertConfigurationQuantityType, billing.AlertConfigurationTimePeriod, billing.AlertConfigurationTriggerType, billing.BudgetConfiguration, billing.BudgetConfigurationFilter, billing.BudgetConfigurationFilterClause, billing.BudgetConfigurationFilterOperator, billing.BudgetConfigurationFilterTagClause, billing.BudgetConfigurationFilterWorkspaceIdClause, billing.CreateBillingUsageDashboardRequest, billing.CreateBillingUsageDashboardResponse, billing.CreateBudgetConfigurationBudget, billing.CreateBudgetConfigurationBudgetActionConfigurations, billing.CreateBudgetConfigurationBudgetAlertConfigurations, billing.CreateBudgetConfigurationRequest, billing.CreateBudgetConfigurationResponse, billing.DeleteBudgetConfigurationRequest,
any
, billing.GetBillingUsageDashboardRequest, billing.GetBillingUsageDashboardResponse, billing.GetBudgetConfigurationRequest, billing.GetBudgetConfigurationResponse, billing.ListBudgetConfigurationsRequest, billing.ListBudgetConfigurationsResponse, billing.UpdateBudgetConfigurationBudget, billing.UpdateBudgetConfigurationRequest, billing.UpdateBudgetConfigurationResponse and billing.UsageDashboardType. - Added compute.ListClustersFilterBy, compute.ListClustersSortBy, compute.ListClustersSortByDirection, compute.ListClustersSortByField, compute.UpdateCluster, compute.UpdateClusterResource and
any
. - Added [dashboards.ExecuteMessageQueryRequest](https://pkg.go.dev/github.com/databricks/databric...
v0.43.2
v0.43.1
v0.43.0
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
v0.42.0
- 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: