databricks/databricks-sdk-go v0.128.0
databricks/databricks-sdk-go
Captured source
source ↗published Apr 20, 2026seen Jun 26captured 3whttp 200method plain
v0.128.0
Repository: databricks/databricks-sdk-go
Tag: v0.128.0
Published: 2026-04-20T09:28:46Z
Prerelease: no
Release notes:
New Features and Improvements
- Add
config.DefaultHostMetadataResolverFactory: a package-level variable consulted whenConfig.HostMetadataResolveris unset. Lets programs install a shared resolver (e.g. a caching one) once from aninit()block (typically in a blank-imported package) instead of wiring per-Config. Experimental.
Bug Fixes
- Add
X-Databricks-Org-Idheader toWorkspace.Download()andWorkspace.Upload()for SPOG host compatibility. WorkspaceClient.CurrentWorkspaceID()now returnsConfig.WorkspaceIDdirectly when set, instead of calling/api/2.0/preview/scim/v2/Me. This removes an API round-trip on every call where the workspace ID is already known (profile,?o=query param, env var, or host metadata) and fixes a failure on SPOG hosts where the unauthenticated probe request was rejected withUnable to load OAuth Config.- Add
X-Databricks-Org-Idheader toSharesAPI.internalList()(service/sharing/ext_api.go) for SPOG host compatibility. Same class of bug as #1634 - a hand-written extension method was callinga.client.Do()without the header that the generated code paths set per-call.