Databricks SDK Go v0.130.0: Unified Host Support and API Additions
Databricks SDK Go version 0.130.0 introduces support for unified hosts, allowing a single configuration profile for account and workspace operations. This release also includes breaking changes, such as the removal of the experimental unified host detection field and the file-based OAuth token cache, which now defaults to an in-memory cache. Several new API endpoints and fields have been added, enhancing capabilities for managing volumes, knowledge assistants, apps, and pipeline connectors.
- →Pass --force-refresh to Databricks CLI auth token command to bypass the CLI's internal token cache
- →Add w.TemporaryVolumeCredentials workspace-level service
- →Add GetPermissionLevels, GetPermissions, SetPermissions and UpdatePermissions methods for w.KnowledgeAssistants workspace-level service
- →Add ThumbnailUrl field for apps.App
- →Add JiraOptions, OutlookOptions and SmartsheetOptions fields for pipelines.ConnectorOptions
Breaking changes (3) ›
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
Enhancements (7) ›
- Add w.TemporaryVolumeCredentials workspace-level service
- Add GetPermissionLevels, GetPermissions, SetPermissions and UpdatePermissions methods for w.KnowledgeAssistants workspace-level service
- Add ThumbnailUrl field for apps.App
- Add JiraOptions, OutlookOptions and SmartsheetOptions fields for pipelines.ConnectorOptions
- Add GoogleAdsConfig field for pipelines.SourceConfig
- Add ReplaceExisting field for postgres.CreateBranchRequest
- Add ReplaceExisting field for postgres.CreateEndpointRequest
Fixes (1) ›
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
Maintenance (1) ›
- Pass --force-refresh to Databricks CLI auth token command to bypass the CLI's internal token cache
https://github.com/databricks/databricks-sdk-go/releases/tag/v0.130.0
Related releases
- Databricks Lakebase: Combining Operational and Analytical Data with Federation Databricks Blog ·
- Building an AI-Forward Healthcare Organization on Data and Governance Databricks Blog ·
- Databricks Accelerates Agentic Media Buying with New Reference Implementation Databricks Blog ·
- NBCUniversal Migrates to Databricks Lakehouse for Scalable Analytics Databricks Blog ·
- Databricks SDK for Python v0.123.0: API changes and breaking updates Databricks Python SDK Releases ·
- Databricks Go SDK v0.167.0 Adds Cloud Provider Auth Fields Databricks Go SDK Releases ·