ReleaseDatabricks (DBRX)Databricks (DBRX)published Apr 23, 2026seen Jun 26

databricks/databricks-sdk-go v0.130.0

databricks/databricks-sdk-go

Open original ↗

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_IsUnifiedHost field (and the DATABRICKS_EXPERIMENTAL_IS_UNIFIED_HOST environment variable) from Config. Unified host detection is now automatic via the /.well-known/databricks-config endpoint.
  • Remove the unused ErrWorkspaceIDInAccountClient exported variable. It was never returned from any production path, and its message contradicted the unified host workflow where a single profile with both AccountID and WorkspaceID produces both clients.
  • Remove the file-based OAuth token cache from credentials/u2m/cache. The removed symbols are cache.NewFileTokenCache, cache.FileTokenCacheOption, cache.WithFileLocation, and the private tokenCacheFile struct. The TokenCache interface, ErrNotFound sentinel, HostCacheKeyProvider, and DiscoveryOAuthArgument remain exported. NewPersistentAuth now defaults to a new in-memory cache (cache.NewInMemoryTokenCache) when no WithTokenCache option 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.WithDiscoveryHost option to override the default https://login.databricks.com host 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 AccountID and WorkspaceID are available.

Bug Fixes

  • Fix CLI token source --profile fallback: --profile is a global Cobra flag that old CLIs accept silently instead of reporting "unknown flag", making the previous error-based detection dead code. Now uses databricks version to detect CLI capabilities at init time (#1605).

Internal Changes

  • Pass --force-refresh to Databricks CLI auth token command to bypass the CLI's internal token cache (#1628).

API Changes