databricks/databricks-sdk-java v0.104.0
databricks/databricks-sdk-java
Captured source
source ↗published Apr 20, 2026seen Jun 26captured 3whttp 200method plain
v0.104.0
Repository: databricks/databricks-sdk-java
Tag: v0.104.0
Published: 2026-04-20T10:44:11Z
Prerelease: no
Release notes:
New Features and Improvements
- Add support for authentication through Azure Managed Service Identity (MSI) via the new
azure-msicredential provider. - Support
default_profilein[__settings__]section of.databrickscfgfor consistent default profile resolution across CLI and SDKs. - Added automatic detection of AI coding agents (Antigravity, Claude Code, Cline, Codex, Copilot CLI, Cursor, Gemini CLI, OpenCode) in the user-agent string. The SDK now appends
agent/to HTTP request headers when running inside a known AI agent environment.
Bug Fixes
- Fixed non-JSON error responses (e.g. plain-text "Invalid Token" with HTTP 403) producing
Unknowninstead of the correct typed exception (PermissionDenied,Unauthenticated, etc.). The error message no longer contains Jackson deserialization internals. - Added
X-Databricks-Org-Idheader to deprecated workspace SCIM APIs (Groups, ServicePrincipals, Users) for SPOG host compatibility. - Fixed Databricks CLI authentication to detect when the cached token's scopes don't match the SDK's configured scopes. Previously, a scope mismatch was silently ignored, causing requests to use wrong permissions. The SDK now raises an error with instructions to re-authenticate.
Internal Changes
- Introduced a logging abstraction (
com.databricks.sdk.core.logging) to decouple the SDK from a specific logging backend. - Added
token_federation_default_oidc_audiencesresolution from host metadata. The SDK now setstokenAudiencefrom the first element of this field during config initialization, with fallback toaccountIdfor account hosts.
API Changes
- Add
createCatalog(),createSyncedTable(),deleteCatalog(),deleteSyncedTable(),getCatalog()andgetSyncedTable()methods forworkspaceClient.postgres()service. - Add
effectiveFileEventQueuefield forcom.databricks.sdk.service.catalog.CreateExternalLocation. - Add
effectiveFileEventQueuefield forcom.databricks.sdk.service.catalog.ExternalLocationInfo. - Add
effectiveFileEventQueuefield forcom.databricks.sdk.service.catalog.UpdateExternalLocation. - Add
columnSelectionfield forcom.databricks.sdk.service.ml.Function. - Add
cascadefield forcom.databricks.sdk.service.pipelines.DeletePipelineRequest. - Add
defaultBranchfield forcom.databricks.sdk.service.postgres.ProjectSpec. - Add
defaultBranchfield forcom.databricks.sdk.service.postgres.ProjectStatus. - Add
ingressandingressDryRunfields forcom.databricks.sdk.service.settings.AccountNetworkPolicy. - Add
deleteAppThumbnail()andupdateAppThumbnail()methods forworkspaceClient.apps()service. - Add
createMessageComment(),listConversationComments()andlistMessageComments()methods forworkspaceClient.genie()service. - Add
applyEnvironment()method forworkspaceClient.pipelines()service. - Add
nameandpermissionfields forcom.databricks.sdk.service.apps.AppResourceApp. - Add
managedEncryptionSettingsfield forcom.databricks.sdk.service.catalog.CatalogInfo. - Add
managedEncryptionSettingsfield forcom.databricks.sdk.service.catalog.CreateCatalog. - Add
managedEncryptionSettingsfield forcom.databricks.sdk.service.catalog.UpdateCatalog. - Add
commentfield forcom.databricks.sdk.service.dashboards.GenieFeedback. - Add
thoughtsfield forcom.databricks.sdk.service.dashboards.GenieQueryAttachment. - Add
commentfield forcom.databricks.sdk.service.dashboards.GenieSendMessageFeedbackRequest. - Add
requestSourcefield forcom.databricks.sdk.service.ml.DataSource. - Add
isOnlinefield forcom.databricks.sdk.service.ml.MaterializedFeature. - Add
connectorOptionsfield forcom.databricks.sdk.service.pipelines.SchemaSpec. - Add
connectorOptionsfield forcom.databricks.sdk.service.pipelines.TableSpec. - Add
scopesfield forcom.databricks.sdk.service.settings.CreateOboTokenRequest. - Add
gcpEndpointfield forcom.databricks.sdk.service.settings.CreatePrivateEndpointRule. - Add
scopesfield forcom.databricks.sdk.service.settings.CreateTokenRequest. - Add
gcpEndpointfield forcom.databricks.sdk.service.settings.NccPrivateEndpointRule. - Add
gcpEndpointfield forcom.databricks.sdk.service.settings.UpdatePrivateEndpointRule. - Add
sqlStatefield forcom.databricks.sdk.service.sql.StatementStatus. - Add
usagePolicyIdfield forcom.databricks.sdk.service.vectorsearch.CreateEndpoint. - Add
indexSubtypefield forcom.databricks.sdk.service.vectorsearch.CreateVectorIndexRequest. - Add
budgetPolicyIdfield forcom.databricks.sdk.service.vectorsearch.EndpointInfo. - Add
indexSubtypefield forcom.databricks.sdk.service.vectorsearch.MiniVectorIndex. - Add
budgetPolicyIdfield forcom.databricks.sdk.service.vectorsearch.PatchEndpointBudgetPolicyResponse. - Add
indexSubtypefield forcom.databricks.sdk.service.vectorsearch.VectorIndex. - Add
TABLE_DELTA_UNIFORM_ICEBERG_EXTERNAL_DELTASHARINGenum value forcom.databricks.sdk.service.catalog.SecurableKind. - Add
GOOGLE_DRIVEenum value forcom.databricks.sdk.service.pipelines.IngestionSourceType. - Add
STORAGE_OPTIMIZEDenum value forcom.databricks.sdk.service.vectorsearch.EndpointType. - [Breaking] Remove
projectfield forcom.databricks.sdk.service.postgres.SyncedTableSyncedTableSpec. - [Breaking] Remove
appsandlakebasefields forcom.databricks.sdk.service.settings.CustomerFacingIngressNetworkPolicyRequestDestination.