Skip to content

Releases: databricks/databricks-sdk-go

v0.126.0

20 Mar 10:43
d4829a6

Choose a tag to compare

Release v0.126.0

New Features and Improvements

  • Add PersistentAuth.ForceRefreshToken() to force-refresh cached U2M OAuth tokens and return an error instead of falling back to an existing token when refresh fails.
  • Add ErrMissingRefreshToken, returned when a token refresh is requested but the cached token has no refresh token (i.e. Token() or ForceRefreshToken()).

v0.125.0

19 Mar 08:17
9be69b6

Choose a tag to compare

Release v0.125.0

New Features and Improvements

  • Add automatic detection of AI coding agents (Claude Code, Cursor, Cline, Codex, Copilot CLI, Gemini CLI, OpenCode, Antigravity, Openclaw) in the user-agent string. The SDK now appends agent/<name> to HTTP request headers when running inside a known AI agent environment.

API Changes

v0.124.0

18 Mar 08:18
e97960a

Choose a tag to compare

Release v0.124.0

Internal Changes

  • Proactively attempt to refresh OAuth tokens expiring within 5 minutes in PersistentAuth.Token() to reduce the chance of callers receiving near-expired tokens. If the refresh fails and the token is still valid, the existing token is returned.

API Changes

v0.123.0

17 Mar 08:18
2b054bc

Choose a tag to compare

Release v0.123.0

New Features and Improvements

  • Support default_profile in [__settings__] section of .databrickscfg (#1534).

v0.122.0

16 Mar 08:27
1d1d211

Choose a tag to compare

Release v0.122.0

API Changes

v0.121.0

12 Mar 08:16
b50e7fa

Choose a tag to compare

Release v0.121.0

API Changes

  • Add UpdateRole method for w.Postgres workspace-level service.
  • Add Entities and TimeseriesColumn fields for ml.Feature.
  • Add AggregationFunction field for ml.Function.
  • Add FilterCondition field for ml.KafkaSource.
  • Add ConnectorType and DataStagingOptions fields for pipelines.IngestionPipelineDefinition.
  • Add IngestionSourceCatalogName, IngestionSourceConnectionName, IngestionSourceSchemaName, IngestionSourceTableName and IngestionSourceTableVersion fields for pipelines.Origin.
  • Add Attributes field for postgres.RoleRoleStatus.
  • Add SubDomain field for serving.ExternalFunctionRequest.
  • [Breaking] Change EntityColumns and TimeseriesColumn fields for ml.DeltaTableSource to no longer be required.
  • Change EntityColumns and TimeseriesColumn fields for ml.DeltaTableSource to no longer be required.
  • [Breaking] Change Inputs field for ml.Feature to no longer be required.
  • Change Inputs field for ml.Feature to no longer be required.
  • [Breaking] Change FunctionType field for ml.Function to no longer be required.
  • Change FunctionType field for ml.Function to no longer be required.
  • Change EntityColumnIdentifiers and TimeseriesColumnIdentifier fields for ml.KafkaSource to no longer be required.
  • [Breaking] Change EntityColumnIdentifiers and TimeseriesColumnIdentifier fields for ml.KafkaSource to no longer be required.

v0.120.0

10 Mar 21:34
8996837

Choose a tag to compare

Release v0.120.0

New Features and Improvements

  • Added discovery login flow for login.databricks.com to the U2M OAuth infrastructure. This enables the CLI to authenticate users without requiring a workspace URL upfront.

Internal Changes

  • Auth cache: Simplify experimental auth token refresh scheduling by replacing stale-duration/token-state tracking with an asyncRefreshAllowedAfter timestamp. Async refreshes now start based on a per-token dynamic lead time and, after a failed async refresh, are deferred by 1 minute before retrying while expiry still forces a blocking refresh.

v0.119.0

09 Mar 16:30
14cfb49

Choose a tag to compare

Release v0.119.0

API Changes

v0.118.0

05 Mar 15:53
5741e64

Choose a tag to compare

Release v0.118.0

Internal Changes

  • Fix GetWorkspaceClient for unified account hosts (#1517).
  • Add test for GetWorkspaceClient with SPOG host (#1518).

v0.117.0

04 Mar 08:13
32dc67e

Choose a tag to compare

Release v0.117.0

Internal Changes

  • Move cloud-based credential filtering from individual strategies into DefaultCredentials. Azure strategies are skipped on GCP/AWS hosts in auto-detect mode; GCP strategies are skipped on Azure/AWS hosts. When auth_type is explicitly set (e.g. azure-cli), cloud filtering is bypassed so the named strategy is always attempted regardless of host cloud.