Skip to content

build(deps): Bump github.com/databricks/databricks-sdk-go from 0.127.0 to 0.130.0#528

Merged
chlins merged 1 commit into
mainfrom
dependabot/go_modules/github.com/databricks/databricks-sdk-go-0.130.0
May 6, 2026
Merged

build(deps): Bump github.com/databricks/databricks-sdk-go from 0.127.0 to 0.130.0#528
chlins merged 1 commit into
mainfrom
dependabot/go_modules/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 27, 2026

Bumps github.com/databricks/databricks-sdk-go from 0.127.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

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [github.com/databricks/databricks-sdk-go](https://github.com/databricks/databricks-sdk-go) from 0.127.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.127.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 added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Apr 27, 2026
Copy link
Copy Markdown
Member

@chlins chlins left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@chlins chlins merged commit 4487199 into main May 6, 2026
5 checks passed
@chlins chlins deleted the dependabot/go_modules/github.com/databricks/databricks-sdk-go-0.130.0 branch May 6, 2026 02:42
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