Skip to content

Bump databricks-sdk-go to v0.128.0#5031

Merged
simonfaltum merged 4 commits intomainfrom
simonfaltum/bump-sdk-0.128.0
Apr 20, 2026
Merged

Bump databricks-sdk-go to v0.128.0#5031
simonfaltum merged 4 commits intomainfrom
simonfaltum/bump-sdk-0.128.0

Conversation

@simonfaltum
Copy link
Copy Markdown
Member

Why

New SDK release v0.128.0 is available. Notable changes include a CurrentWorkspaceID() short-circuit when Config.WorkspaceID is set (avoids a round-trip and fixes SPOG compatibility), SPOG X-Databricks-Org-Id headers on Workspace.Download/Upload and SharesAPI.internalList, and a new experimental config.DefaultHostMetadataResolverFactory hook for installing a shared resolver.

Changes

Before/now: CLI pins databricks-sdk-go v0.127.0v0.128.0. The OpenAPI SHA didn't move (both releases share 11ae6f9d), so the diff is unusually small. make generate only produced two meaningful schema deltas:

  • VectorSearchEndpoint.usage_policy_id (new private-preview field)
  • EndpointType.STORAGE_OPTIMIZED (new enum value)
  • VectorSearchEndpoint.permissions placeholder added to annotations overrides for consistency with other resources

No cmd/workspace or cmd/account drift, no SDK API breakages affecting CLI call sites (CurrentWorkspaceID already used everywhere).

Test plan

  • go get github.com/databricks/databricks-sdk-go@v0.128.0 && go mod tidy
  • make generate (re-applied pre-existing --page-size hidden workaround for jobs list / list-runs; this is the same manual fix already on main)
  • make lintcheck passes (0 issues)
  • go test ./internal/build ./bundle/internal/schema ./bundle/direct/dresources ./bundle/config/resources passes
  • go test ./acceptance -run TestAccept/bundle/refschema passes
  • go test ./acceptance -run TestAccept/cmd/account/account-help passes
  • go test ./acceptance -run TestAccept/pipelines/databricks-cli-help passes
  • go test ./libs/structs/structwalk -run TestTypeRoot passes
  • make checks clean

Standard SDK bump. Changes are small since the OpenAPI SHA didn't move
(v0.127 and v0.128 share 11ae6f9d). Only bundle schema annotations picked
up two new fields: VectorSearchEndpoint.usage_policy_id and
EndpointType.STORAGE_OPTIMIZED.

Co-authored-by: Isaac
databricks-sdk-go v0.128.0 short-circuits CurrentWorkspaceID() when
Config.WorkspaceID is already set, removing the /api/2.0/preview/scim/v2/Me
call that the golden captured. Regenerate both direct and terraform variants.

Co-authored-by: Isaac
Same SDK behavior change as the previous commit, but missed the parent
aggregate output.txt. The two 'OK summary.{direct,terraform} /api/2.0/preview/scim/v2/Me'
rows are gone now that CurrentWorkspaceID() short-circuits when
Config.WorkspaceID is set.

Verified via make test-update: only this file drifts.

Co-authored-by: Isaac
@simonfaltum simonfaltum added this pull request to the merge queue Apr 20, 2026
@simonfaltum simonfaltum removed this pull request from the merge queue due to a manual request Apr 20, 2026
Merge the v0.126→v0.127 and v0.127→v0.128 entries into a single
v0.126→v0.128 line that references both PRs. The pending release will
ship both bumps together, so two lines are redundant.

Co-authored-by: Isaac
@simonfaltum simonfaltum added this pull request to the merge queue Apr 20, 2026
Merged via the queue into main with commit f2443de Apr 20, 2026
46 of 48 checks passed
@simonfaltum simonfaltum deleted the simonfaltum/bump-sdk-0.128.0 branch April 20, 2026 21:02
deco-sdk-tagging Bot added a commit that referenced this pull request Apr 22, 2026
## Release v0.298.0

### CLI
* Added `--limit` flag to all paginated list commands for client-side result capping ([#4984](#4984)). On `jobs list` and `jobs list-runs` the former API page-size flag was renamed to `--page-size` (hidden) to avoid collision.
* Accept `yes` in addition to `y` for confirmation prompts, and show `[y/N]` to indicate that no is the default.
* Cache `/.well-known/databricks-config` lookups under `~/.cache/databricks/<version>/host-metadata/` so repeat CLI invocations against the same host skip the ~700ms discovery round trip.
* Deprecated `auth env`. The command is hidden from help listings and prints a deprecation warning to stderr; it will be removed in a future release.

### Bundles
* Remove `experimental-jobs-as-code` template, superseded by `pydabs` ([#4999](#4999)).
* Prompt before destroying or recreating Lakebase resources (database instances, synced database tables, postgres projects and branches) ([#5052](#5052)).
* Treat deleted resources as not running in the `fail-on-active-runs` check ([#5044](#5044)).
* engine/direct: Added support for Vector Search Endpoints ([#4887](#4887)).
* engine/direct: Exclude deploy-only fields (e.g. `lifecycle`) from the Apps update mask so requests that change both `description` and `lifecycle.started` in the same deploy no longer fail with `INVALID_PARAMETER_VALUE` ([#5042](#5042), [#5051](#5051)).
* engine/direct: Fix phantom diffs from `depends_on` reordering in job tasks ([#4990](#4990)).

### Dependency updates
* Bump `github.com/databricks/databricks-sdk-go` from v0.126.0 to v0.128.0 ([#4984](#4984), [#5031](#5031)).
* Bump Go toolchain to 1.25.9 ([#5004](#5004)).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants