databricks/databricks-sdk-go v0.127.0
databricks/databricks-sdk-go
Captured source
source ↗published Apr 15, 2026seen Jun 26captured 2whttp 200method plain
v0.127.0
Repository: databricks/databricks-sdk-go
Tag: v0.127.0
Published: 2026-04-15T09:24:09Z
Prerelease: no
Release notes:
Breaking Changes
- Raise minimum Go version from 1.18 to 1.24 (#1558).
New Features and Improvements
- Added
HostMetadataResolverhook to allow callers to customize host metadata resolution, e.g. with caching (#1572). - Added
NewLimitIteratortolistingpackage for lazy iteration with a cap on output items (#1555). - Resolve
TokenAudiencefromtoken_federation_default_oidc_audiencesin host metadata discovery endpoint.
Bug Fixes
- Add
X-Databricks-Org-Idheader 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 (#1549).
- Disable async token refresh for GCP credential providers to avoid wasted refresh attempts caused by double-caching with Google's internal
oauth2.ReuseTokenSource(#1549). - 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 (#1549).
- Fix data race in
authenticateIfNeededwhen lazily initializingcredentialsProvider(#1310).
Internal Changes
- Normalize internal token sources on
auth.TokenSourcefor proper context propagation (#1577). - Fix
TestAzureGithubOIDCCredentialshang caused by missingHTTPTransportstub:EnsureResolvednow callsresolveHostMetadata, which makes a real network request when no transport is set (#1550). - Bump golang.org/x/crypto from 0.21.0 to 0.45.0 in /examples/slog (#1566).
- Bump golang.org/x/net from 0.23.0 to 0.33.0 in /examples/slog (#1127).
- Bump golang.org/x/oauth2 from 0.20.0 to 0.27.0 (#1563).
- Bump golang.org/x/crypto from 0.21.0 to 0.45.0 in /examples/zerolog (#1568).
- Bump golang.org/x/crypto from 0.31.0 to 0.45.0 (#1564).
- Bump google.golang.org/grpc from 1.58.3 to 1.79.3 in /examples/zerolog (#1565).
- Bump google.golang.org/grpc from 1.62.0 to 1.79.3 in /examples/slog (#1569).
- Bump google.golang.org/grpc from 1.64.1 to 1.79.3 (#1557).
API Changes
- Add
CreateCatalog,CreateSyncedTable,DeleteCatalog,DeleteSyncedTable,GetCatalogandGetSyncedTablemethods for w.Postgres workspace-level service. - Add
EffectiveFileEventQueuefield for catalog.CreateExternalLocation. - Add
EffectiveFileEventQueuefield for catalog.ExternalLocationInfo. - Add
EffectiveFileEventQueuefield for catalog.UpdateExternalLocation. - Add
ColumnSelectionfield for ml.Function. - Add
Cascadefield for pipelines.DeletePipelineRequest. - Add
DefaultBranchfield for postgres.ProjectSpec. - Add
DefaultBranchfield for postgres.ProjectStatus. - Add
ApplyEnvironmentmethod for w.Pipelines workspace-level service. - Add
NameandPermissionfields for apps.AppResourceApp. - Add
IngressandIngressDryRunfields for settings.AccountNetworkPolicy. - Add
GcpEndpointfield for settings.CreatePrivateEndpointRule. - Add
GcpEndpointfield for settings.NccPrivateEndpointRule. - Add
GcpEndpointfield for settings.UpdatePrivateEndpointRule. - Add
TableDeltaUniformIcebergExternalDeltasharingenum value for catalog.SecurableKind. - Add
ConnectorOptionsfield for pipelines.SchemaSpec. - Add
ConnectorOptionsfield for pipelines.TableSpec. - Add
GoogleDriveenum value for pipelines.IngestionSourceType. - [Breaking] Remove...
Excerpt shown — open the source for the full document.