databricks Databricks Go SDK Releases · · 0.127.0

Databricks SDK for Go v0.127.0 Release

sdkazuregcpdatabricksgadeprecationengineer
breaking patch

Databricks SDK for Go v0.127.0 introduces several new features, including host metadata customization and lazy iteration with limits. It also contains numerous bug fixes, particularly around token acquisition and caching for various credential providers. Breaking changes include raising the minimum Go version and removing a field from the Postgres SyncedTableSpec. These updates affect developers using the Go SDK for interacting with Databricks services.

  • Raise minimum Go version from 1.18 to 1.24
  • Remove Project field for postgres.SyncedTableSyncedTableSpec
  • Remove Apps and Lakebase fields for settings.CustomerFacingIngressNetworkPolicyRequestDestination
  • Add X-Databricks-Org-Id header to deprecated workspace SCIM APIs (Groups, ServicePrincipals, Users) for SPOG host compatibility
  • Add retry logic to token acquisition for OIDC, M2M, and Azure client secret credentials (#1398, #1072)
Breaking changes (3)
  • Raise minimum Go version from 1.18 to 1.24
  • Remove Project field for postgres.SyncedTableSyncedTableSpec
  • Remove Apps and Lakebase fields for settings.CustomerFacingIngressNetworkPolicyRequestDestination
Enhancements (39)
  • Add CreateCatalog, CreateSyncedTable, DeleteCatalog, DeleteSyncedTable, GetCatalog and GetSyncedTable methods for w.Postgres workspace-level service

  • Add EffectiveFileEventQueue field for catalog.CreateExternalLocation
  • Add EffectiveFileEventQueue field for catalog.ExternalLocationInfo
  • Add EffectiveFileEventQueue field for catalog.UpdateExternalLocation
  • Add ColumnSelection field for ml.Function
  • Add Cascade field for pipelines.DeletePipelineRequest
  • Add DefaultBranch field for postgres.ProjectSpec
  • Add DefaultBranch field for postgres.ProjectStatus
  • Add ApplyEnvironment method for w.Pipelines workspace-level service
  • Add Name and Permission fields for apps.AppResourceApp
  • Add Ingress and IngressDryRun fields for settings.AccountNetworkPolicy
  • Add GcpEndpoint field for settings.CreatePrivateEndpointRule
  • Add GcpEndpoint field for settings.NccPrivateEndpointRule
  • Add GcpEndpoint field for settings.UpdatePrivateEndpointRule
  • Add TableDeltaUniformIcebergExternalDeltasharing enum value for catalog.SecurableKind
  • Add ConnectorOptions field for pipelines.SchemaSpec
  • Add ConnectorOptions field for pipelines.TableSpec
  • Add GoogleDrive enum value for pipelines.IngestionSourceType
  • Add DeleteAppThumbnail and UpdateAppThumbnail methods for w.Apps workspace-level service
  • Add CreateMessageComment, ListConversationComments and ListMessageComments methods for w.Genie workspace-level service
  • Add ManagedEncryptionSettings field for catalog.CatalogInfo
  • Add ManagedEncryptionSettings field for catalog.CreateCatalog
  • Add ManagedEncryptionSettings field for catalog.UpdateCatalog
  • Add Comment field for dashboards.GenieFeedback
  • Add Thoughts field for dashboards.GenieQueryAttachment
  • Add Comment field for dashboards.GenieSendMessageFeedbackRequest
  • Add RequestSource field for ml.DataSource
  • Add IsOnline field for ml.MaterializedFeature
  • Add GoogleAdsOptions and TiktokAdsOptions fields for pipelines.ConnectorOptions
  • Add Scopes field for settings.CreateOboTokenRequest
  • Add Scopes field for settings.CreateTokenRequest
  • Add SqlState field for sql.StatementStatus
  • Add UsagePolicyId field for vectorsearch.CreateEndpoint
  • Add IndexSubtype field for vectorsearch.CreateVectorIndexRequest
  • Add BudgetPolicyId field for vectorsearch.EndpointInfo
  • Add IndexSubtype field for vectorsearch.MiniVectorIndex
  • Add BudgetPolicyId field for vectorsearch.PatchEndpointBudgetPolicyResponse
  • Add IndexSubtype field for vectorsearch.VectorIndex
  • Add StorageOptimized enum value for vectorsearch.EndpointType
Fixes (6)
  • Add X-Databricks-Org-Id header to deprecated workspace SCIM APIs (Groups, ServicePrincipals, Users) for SPOG host compatibility
  • Add retry logic to token acquisition for OIDC, M2M, and Azure client secret credentials (#1398, #1072)
  • Fix double-caching of OAuth tokens in Azure client secret credentials
  • Disable async token refresh for GCP credential providers to avoid wasted refresh attempts caused by double-caching with Google's internal oauth2.ReuseTokenSource

  • Fixed double-caching in M2M OAuth that prevented the proactive async token refresh from reaching the HTTP endpoint until ~10s before expiry, causing bursts of 401 errors at token rotation boundaries

  • Fix data race in authenticateIfNeeded when lazily initializing credentialsProvider
Maintenance (10)
  • Normalize internal token sources on auth.TokenSource for proper context propagation
  • Fix TestAzureGithubOIDCCredentials hang caused by missing HTTPTransport stub: EnsureResolved now calls resolveHostMetadata, which makes a real network request when no transport is set

  • Bump golang.org/x/crypto from 0.21.0 to 0.45.0 in /examples/slog
  • Bump golang.org/x/net from 0.23.0 to 0.33.0 in /examples/slog
  • Bump golang.org/x/oauth2 from 0.20.0 to 0.27.0
  • Bump golang.org/x/crypto from 0.21.0 to 0.45.0 in /examples/zerolog
  • Bump golang.org/x/crypto from 0.31.0 to 0.45.0
  • Bump google.golang.org/grpc from 1.58.3 to 1.79.3 in /examples/zerolog
  • Bump google.golang.org/grpc from 1.62.0 to 1.79.3 in /examples/slog
  • Bump google.golang.org/grpc from 1.64.1 to 1.79.3
Read the original announcement →

https://github.com/databricks/databricks-sdk-go/releases/tag/v0.127.0

Related releases