Skip to content

Bump github.com/databricks/databricks-sdk-go from 0.128.0 to 0.130.0 in /go-libs#740

Merged
alexott merged 1 commit intomainfrom
dependabot/go_modules/go-libs/github.com/databricks/databricks-sdk-go-0.130.0
Apr 28, 2026
Merged

Bump github.com/databricks/databricks-sdk-go from 0.128.0 to 0.130.0 in /go-libs#740
alexott merged 1 commit intomainfrom
dependabot/go_modules/go-libs/github.com/databricks/databricks-sdk-go-0.130.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Apr 23, 2026

Bumps github.com/databricks/databricks-sdk-go from 0.128.0 to 0.130.0.

Release notes

Sourced from github.com/databricks/databricks-sdk-go's releases.

v0.130.0

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

v0.129.0

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.

Internal Changes

  • Remove Experimental_IsUnifiedHost flag from HostType() resolution. The method is deprecated and the Terraform provider will use its own host type detection.
  • Expanded AI agent detection: added Goose, Amp, Augment, Copilot (VS Code), Kiro, Windsurf. Honors the AGENT=<name> standard and falls back to unknown for unrecognized values. When multiple agent env vars are present (e.g. a Cursor CLI subagent invoked from Claude Code), the user-agent reports agent/multiple.
  • Use resolved host type from host metadata in HostType() method, falling back to URL pattern matching when metadata is unavailable.

API Changes

... (truncated)

Changelog

Sourced from github.com/databricks/databricks-sdk-go's changelog.

Release v0.130.0 (2026-04-23)

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

Release v0.129.0 (2026-04-22)

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.

Internal Changes

  • Remove Experimental_IsUnifiedHost flag from HostType() resolution. The method is deprecated and the Terraform provider will use its own host type detection.
  • Expanded AI agent detection: added Goose, Amp, Augment, Copilot (VS Code), Kiro, Windsurf. Honors the AGENT=<name> standard and falls back to unknown for unrecognized values. When multiple agent env vars are present (e.g. a Cursor CLI subagent invoked from Claude Code), the user-agent reports agent/multiple.
  • Use resolved host type from host metadata in HostType() method, falling back to URL pattern matching when metadata is unavailable.

API Changes

... (truncated)

Commits
  • c4b4872 [Release] Release v0.130.0
  • d6fd68a CurrentWorkspaceID: always call Me and forward org ID for SPOG routing (#1650)
  • 52e36a3 Pass --force-refresh to CLI auth token command (#1628)
  • 1d7243d Enable unified host support without flag (#1641)
  • 05bc320 Update SDK API to df5ddd20dc01269808f0a9ed145c220522f5e510 (#1649)
  • 201c6d7 Remove legacy tag-triggered release workflow (#1648)
  • be28157 Fix CLI token source --profile fallback with version detection (#1605)
  • cb27dde credentials/u2m: remove file token cache and host-key dualWrite (#1646)
  • 3337e44 [Release] Release v0.129.0
  • 4603273 [Internal] Remove experimental unified host flag from HostType() resolution (...
  • Additional commits viewable in compare view

Most Recent Ignore Conditions Applied to This Pull Request
Dependency Name Ignore Conditions
github.com/databricks/databricks-sdk-go [>= 0.37.a, < 0.38]

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Apr 23, 2026
@dependabot dependabot Bot requested review from alexott and nfx as code owners April 23, 2026 15:07
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Apr 23, 2026
Bumps [github.com/databricks/databricks-sdk-go](https://github.com/databricks/databricks-sdk-go) from 0.128.0 to 0.130.0.
- [Release notes](https://github.com/databricks/databricks-sdk-go/releases)
- [Changelog](https://github.com/databricks/databricks-sdk-go/blob/main/CHANGELOG.md)
- [Commits](databricks/databricks-sdk-go@v0.128.0...v0.130.0)

---
updated-dependencies:
- dependency-name: github.com/databricks/databricks-sdk-go
  dependency-version: 0.130.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/go_modules/go-libs/github.com/databricks/databricks-sdk-go-0.130.0 branch from 56b145d to 0cb99d1 Compare April 28, 2026 08:29
@alexott alexott merged commit 8743d65 into main Apr 28, 2026
@alexott alexott deleted the dependabot/go_modules/go-libs/github.com/databricks/databricks-sdk-go-0.130.0 branch April 28, 2026 08:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file go Pull requests that update Go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant