databricks/databricks-sdk-go v0.130.0
databricks/databricks-sdk-go
Captured source
source ↗published Apr 23, 2026seen Jun 26captured 3whttp 200method plain
v0.130.0
Repository: databricks/databricks-sdk-go
Tag: v0.130.0
Published: 2026-04-23T14:47:06Z
Prerelease: no
Release notes:
Breaking Changes
- Remove the
Experimental_IsUnifiedHostfield (and theDATABRICKS_EXPERIMENTAL_IS_UNIFIED_HOSTenvironment variable) fromConfig. Unified host detection is now automatic via the/.well-known/databricks-configendpoint. - Remove the unused
ErrWorkspaceIDInAccountClientexported variable. It was never returned from any production path, and its message contradicted the unified host workflow where a single profile with bothAccountIDandWorkspaceIDproduces both clients. - Remove the file-based OAuth token cache from
credentials/u2m/cache. The removed symbols arecache.NewFileTokenCache,cache.FileTokenCacheOption,cache.WithFileLocation, and the privatetokenCacheFilestruct. TheTokenCacheinterface,ErrNotFoundsentinel,HostCacheKeyProvider, andDiscoveryOAuthArgumentremain exported.NewPersistentAuthnow defaults to a new in-memory cache (cache.NewInMemoryTokenCache) when noWithTokenCacheoption is passed; consumers that relied on the previous file-backed default must supply their own persistent cache. See databricks/cli#5056 for the companion CLI change that moves the file cache into the CLI.
New Features and Improvements
- Add
u2m.WithDiscoveryHostoption to override the defaulthttps://login.databricks.comhost used by the discovery login flow. Intended for testing and development against non-production environments. - Add support for unified hosts. A single configuration profile can now be used for both account-level and workspace-level operations when the host supports it and both
AccountIDandWorkspaceIDare available.
Bug Fixes
- Fix CLI token source
--profilefallback:--profileis a global Cobra flag that old CLIs accept silently instead of reporting "unknown flag", making the previous error-based detection dead code. Now usesdatabricks versionto detect CLI capabilities at init time (#1605).
Internal Changes
- Pass
--force-refreshto Databricks CLIauth tokencommand to bypass the CLI's internal token cache (#1628).
API Changes
- Add w.TemporaryVolumeCredentials workspace-level service.
- Add
GetPermissionLevels,GetPermissions,SetPermissionsandUpdatePermissionsmethods for w.KnowledgeAssistants workspace-level service. - Add
ThumbnailUrlfield for apps.App. - Add
JiraOptions,OutlookOptionsandSmartsheetOptionsfields for pipelines.ConnectorOptions. - Add
GoogleAdsConfigfield for pipelines.SourceConfig. - Add
ReplaceExistingfield for postgres.CreateBranchRequest. - Add
ReplaceExistingfield for postgres.CreateEndpointRequest.