Databricks SDK for Go v0.140.0: Enhanced Workspace Addressing and API Features
Databricks SDK for Go version 0.140.0 introduces an improved workspace addressing mechanism using `X-Databricks-Workspace-Id` for API calls, enhancing the unification initiative. It also adds several new API fields and methods, including `UpdateTokenManagement` and fields for job and pipeline deployments, benefiting developers working with Databricks workspaces and configurations.
- →Add UpdateTokenManagement method for w.TokenManagement workspace-level service
- →Add DeploymentId and VersionId fields for jobs.JobDeployment
- →Add DeploymentId and VersionId fields for pipelines.PipelineDeployment
- →Add AutoscopeEnabled field for settings.CreateOboTokenRequest
- →Add AutoscopeEnabled field for settings.CreateTokenRequest
Features (1) ›
Add u2m.WithDiscoveryAccountTarget() option that sets target=ACCOUNT on the login.databricks.com authorize URL, so the discovery flow lands the user on the account selector instead of the workspace selector
Enhancements (8) ›
- Add UpdateTokenManagement method for w.TokenManagement workspace-level service
- Add DeploymentId and VersionId fields for jobs.JobDeployment
- Add DeploymentId and VersionId fields for pipelines.PipelineDeployment
- Add AutoscopeEnabled field for settings.CreateOboTokenRequest
- Add AutoscopeEnabled field for settings.CreateTokenRequest
- Add AutoscopeState, BackfillScopes, InferredScopes and Scopes fields for settings.PublicTokenInfo
- Add AutoscopeState, BackfillScopes, InferredScopes and Scopes fields for settings.TokenInfo
- Add ResourceType field for bundle.Operation
Maintenance (1) ›
Switch workspace addressing header on workspace-scoped API calls from X-Databricks-Org-Id to X-Databricks-Workspace-Id. The value continues to come from Config.WorkspaceID (DATABRICKS_WORKSPACE_ID), and now accepts either a classic numeric workspace ID or a CPDR connection ID (server disambiguates). Part of the DECO + Unified Workspace Addressing initiative
https://github.com/databricks/databricks-sdk-go/releases/tag/v0.140.0
Related releases
- Databricks `ai_transcribe()` SQL Function for Audio Transcription (Beta) Databricks Release Notes ·
- Databricks Lakebase Snapshots API (Beta) for Programmatic Management Databricks Release Notes ·
- Databricks Introduces Session Restore for Serverless Jobs in Public Preview Databricks Release Notes ·
- Announcing On-Demand State Repartitioning for Apache Spark Structured Streaming on Databricks Databricks Blog ·
- Databricks Genie now displays visualizations directly in Slack replies Databricks Release Notes ·
- Databricks Introduces Configurable Data Retention for System Tables (Beta) Databricks Release Notes ·