Releases: databricks/databricks-sdk-py
Releases · databricks/databricks-sdk-py
v0.103.0
New Features and Improvements
- Add support for unified hosts. A single configuration profile can now be used for both account-level and workspace-level operations when the host supports it and both
account_idandworkspace_idare available. Theexperimental_is_unified_hostflag has been removed; unified host detection is now automatic. - Accept
DATABRICKS_OIDC_TOKEN_FILEPATHenvironment variable for consistency with other Databricks SDKs (Go, CLI, Terraform). The previousDATABRICKS_OIDC_TOKEN_FILEis still supported as an alias.
Breaking Changes
- Drop support for Python 3.8 and 3.9. The minimum supported Python version is now 3.10, in line with the oldest supported Databricks Runtime LTS (DBR 13.3).
Internal Changes
- Replace the async-disabling mechanism on token refresh failure with a 1-minute retry backoff. Previously, a single failed async refresh would disable proactive token renewal until the token expired. Now, the SDK waits a short cooldown period and retries, improving resilience to transient errors.
- Extract
_resolve_profileto simplify config file loading and improve__settings__error messages. - Resolve
token_audiencefrom thetoken_federation_default_oidc_audiencesfield in the host metadata discovery endpoint, removing the need for explicit audience configuration.
API Changes
- Add
create_catalog(),create_synced_table(),delete_catalog(),delete_synced_table(),get_catalog()andget_synced_table()methods for w.postgres workspace-level service. - Add
effective_file_event_queuefield fordatabricks.sdk.service.catalog.CreateExternalLocation. - Add
effective_file_event_queuefield fordatabricks.sdk.service.catalog.ExternalLocationInfo. - Add
effective_file_event_queuefield fordatabricks.sdk.service.catalog.UpdateExternalLocation. - Add
column_selectionfield fordatabricks.sdk.service.ml.Function. - Add
cascadefield fordatabricks.sdk.service.pipelines.DeletePipelineRequest. - Add
default_branchfield fordatabricks.sdk.service.postgres.ProjectSpec. - Add
default_branchfield fordatabricks.sdk.service.postgres.ProjectStatus. - Add
ingressandingress_dry_runfields fordatabricks.sdk.service.settings.AccountNetworkPolicy. - Add
delete_app_thumbnail()andupdate_app_thumbnail()methods for w.apps workspace-level service. - Add
create_message_comment(),list_conversation_comments()andlist_message_comments()methods for w.genie workspace-level service. - Add
apply_environment()method for w.pipelines workspace-level service. - Add
nameandpermissionfields fordatabricks.sdk.service.apps.AppResourceApp. - Add
managed_encryption_settingsfield fordatabricks.sdk.service.catalog.CatalogInfo. - Add
managed_encryption_settingsfield fordatabricks.sdk.service.catalog.CreateCatalog. - Add
managed_encryption_settingsfield fordatabricks.sdk.service.catalog.UpdateCatalog. - Add
commentfield fordatabricks.sdk.service.dashboards.GenieFeedback. - Add
thoughtsfield fordatabricks.sdk.service.dashboards.GenieQueryAttachment. - Add
commentfield fordatabricks.sdk.service.dashboards.GenieSendMessageFeedbackRequest. - Add
request_sourcefield fordatabricks.sdk.service.ml.DataSource. - Add
is_onlinefield fordatabricks.sdk.service.ml.MaterializedFeature. - Add
connector_optionsfield fordatabricks.sdk.service.pipelines.SchemaSpec. - Add
connector_optionsfield fordatabricks.sdk.service.pipelines.TableSpec. - Add
scopesfield fordatabricks.sdk.service.settings.CreateOboTokenRequest. - Add
gcp_endpointfield fordatabricks.sdk.service.settings.CreatePrivateEndpointRule. - Add
scopesfield fordatabricks.sdk.service.settings.CreateTokenRequest. - Add
gcp_endpointfield fordatabricks.sdk.service.settings.NccPrivateEndpointRule. - Add
gcp_endpointfield fordatabricks.sdk.service.settings.UpdatePrivateEndpointRule. - Add
sql_statefield fordatabricks.sdk.service.sql.StatementStatus. - Add
usage_policy_idfield fordatabricks.sdk.service.vectorsearch.CreateEndpoint. - Add
index_subtypefield fordatabricks.sdk.service.vectorsearch.CreateVectorIndexRequest. - Add
budget_policy_idfield fordatabricks.sdk.service.vectorsearch.EndpointInfo. - Add
index_subtypefield fordatabricks.sdk.service.vectorsearch.MiniVectorIndex. - Add
budget_policy_idfield fordatabricks.sdk.service.vectorsearch.PatchEndpointBudgetPolicyResponse. - Add
index_subtypefield fordatabricks.sdk.service.vectorsearch.VectorIndex. - Add
table_delta_uniform_iceberg_external_deltasharingenum value fordatabricks.sdk.service.catalog.SecurableKind. - Add
google_driveenum value fordatabricks.sdk.service.pipelines.IngestionSourceType. - Add
storage_optimizedenum value fordatabricks.sdk.service.vectorsearch.EndpointType. - [Breaking] Remove
projectfield fordatabricks.sdk.service.postgres.SyncedTableSyncedTableSpec. - [Breaking] Remove
appsandlakebasefields fordatabricks.sdk.service.settings.CustomerFacingIngressNetworkPolicyRequestDestination.
v0.102.0
Release v0.102.0
New Features and Improvements
- 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/<name>to HTTP request headers when running inside a known AI agent environment.
API Changes
- Add
disable_gov_tag_creationfield fordatabricks.sdk.service.settings.RestrictWorkspaceAdminsMessage. - Add
disable_gov_tag_creationfield fordatabricks.sdk.service.settingsv2.RestrictWorkspaceAdminsMessage.
v0.101.0
Release v0.101.0
API Changes
- Add
databricks.sdk.service.environmentspackage. - Add w.environments workspace-level service.
- Add
parent_pathfield fordatabricks.sdk.service.dashboards.GenieSpace. - Add
can_create_appenum value fordatabricks.sdk.service.iam.PermissionLevel.
v0.100.0
Release v0.100.0
New Features and Improvements
- Support
default_profilein[__settings__]section of.databrickscfgfor consistent default profile resolution across CLI and SDKs.
API Changes
- Add
alert_outputfield fordatabricks.sdk.service.jobs.RunOutput. - Add
alert_taskfield fordatabricks.sdk.service.jobs.RunTask. - Add
alert_taskfield fordatabricks.sdk.service.jobs.SubmitTask. - Add
alert_taskfield fordatabricks.sdk.service.jobs.Task.
v0.99.0
Release v0.99.0
API Changes
- Add
connector_typeanddata_staging_optionsfields fordatabricks.sdk.service.pipelines.IngestionPipelineDefinition. - Add
ingestion_source_catalog_name,ingestion_source_connection_name,ingestion_source_schema_name,ingestion_source_table_nameandingestion_source_table_versionfields fordatabricks.sdk.service.pipelines.Origin. - Add
sub_domainfield fordatabricks.sdk.service.serving.ExternalFunctionRequest.
v0.98.0
Release v0.98.0
API Changes
- Add
genie_create_eval_run(),genie_get_eval_result_details(),genie_get_eval_run(),genie_list_eval_results()andgenie_list_eval_runs()methods for w.genie workspace-level service. - Add
update_role()method for w.postgres workspace-level service. - Add
telemetry_export_destinationsfield fordatabricks.sdk.service.apps.App. - Add
entitiesandtimeseries_columnfields fordatabricks.sdk.service.ml.Feature. - Add
aggregation_functionfield fordatabricks.sdk.service.ml.Function. - Add
filter_conditionfield fordatabricks.sdk.service.ml.KafkaSource. - Add
attributesfield fordatabricks.sdk.service.postgres.RoleRoleStatus. - [Breaking] Change
entity_columnsandtimeseries_columnfields fordatabricks.sdk.service.ml.DeltaTableSourceto no longer be required. - Change
entity_columnsandtimeseries_columnfields fordatabricks.sdk.service.ml.DeltaTableSourceto no longer be required. - Change
inputsfield fordatabricks.sdk.service.ml.Featureto no longer be required. - [Breaking] Change
inputsfield fordatabricks.sdk.service.ml.Featureto no longer be required. - [Breaking] Change
function_typefield fordatabricks.sdk.service.ml.Functionto no longer be required. - Change
function_typefield fordatabricks.sdk.service.ml.Functionto no longer be required. - Change
entity_column_identifiersandtimeseries_column_identifierfields fordatabricks.sdk.service.ml.KafkaSourceto no longer be required. - [Breaking] Change
entity_column_identifiersandtimeseries_column_identifierfields fordatabricks.sdk.service.ml.KafkaSourceto no longer be required.
v0.97.0
Release v0.97.0
Bug Fixes
- 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.
API Changes
- Add
databricks.sdk.service.dataclassificationanddatabricks.sdk.service.knowledgeassistantspackages. - Add w.data_classification workspace-level service.
- Add w.knowledge_assistants workspace-level service.
v0.96.0
Release v0.96.0
Internal Changes
- Implement dynamic auth token stale period based on initial token lifetime. Increased up to 20 mins for standard OAuth with proportionally shorter periods for short-lived tokens. Providing a stale_duration in the constructor of the Refreshable class will use that fixed value instead. To match the previous default, pass stale_duration=timedelta(minutes=5).
v0.95.0
Release v0.95.0
New Features and Improvements
- Added
Config.discovery_urlconfig field (DATABRICKS_DISCOVERY_URLenv var). When set, OIDC endpoints are fetched directly from this URL instead of the default host-type-based logic. MirrorsdiscoveryUrlin the Java SDK. - The OAuth token cache filename now includes the config profile name (if set) and uses a serialized map to prevent hash collisions. All users will need to reauthenticate once after upgrading.
API Changes
- Add
dataframe_schema,filter_conditionandtransformation_sqlfields fordatabricks.sdk.service.ml.DeltaTableSource. - Add
environment_versionfield fordatabricks.sdk.service.pipelines.PipelinesEnvironment. - Add
reset_checkpoint_selectionfield fordatabricks.sdk.service.pipelines.StartUpdate. - [Breaking] Remove
oauth2_app_client_idandoauth2_app_integration_idfields fordatabricks.sdk.service.apps.Space. - Add
create_database(),delete_database(),get_database(),list_databases()andupdate_database()methods for w.postgres workspace-level service. - Add
postgresfield fordatabricks.sdk.service.apps.AppResource. - Add
enable_pg_native_loginfield fordatabricks.sdk.service.postgres.ProjectSpec. - Add
enable_pg_native_loginfield fordatabricks.sdk.service.postgres.ProjectStatus. - [Breaking] Remove
node_type_flexibilityfield fordatabricks.sdk.service.compute.EditInstancePool.
v0.94.0
Release v0.94.0
New Features and Improvements
- Added
Config.discovery_urlconfig field (DATABRICKS_DISCOVERY_URLenv var). When set, OIDC endpoints are fetched directly from this URL instead of the default host-type-based logic. MirrorsdiscoveryUrlin the Java SDK.
Bug Fixes
- Pass
--profileto CLI token source when profile is set, and add read-fallback to migrate legacy host-keyed tokens to profile keys.
API Changes
- Add
effective_publishing_modefield fordatabricks.sdk.service.pipelines.GetPipelineResponse. - Add
dbr_autoscaleenum value fordatabricks.sdk.service.compute.EventDetailsCause. - Change
output_catalogfield fordatabricks.sdk.service.cleanrooms.CreateCleanRoomOutputCatalogResponseto be required. - [Breaking] Remove
internal_attributesfield fordatabricks.sdk.service.sharing.Table. - [Breaking] Remove
internal_attributesfield fordatabricks.sdk.service.sharing.Volume.