Skip to content

Releases: databricks/databricks-sdk-py

v0.102.0

19 Mar 08:15
61089f5

Choose a tag to compare

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_creation field for databricks.sdk.service.settings.RestrictWorkspaceAdminsMessage.
  • Add disable_gov_tag_creation field for databricks.sdk.service.settingsv2.RestrictWorkspaceAdminsMessage.

v0.101.0

18 Mar 08:17
5f0964e

Choose a tag to compare

Release v0.101.0

API Changes

  • Add databricks.sdk.service.environments package.
  • Add w.environments workspace-level service.
  • Add parent_path field for databricks.sdk.service.dashboards.GenieSpace.
  • Add can_create_app enum value for databricks.sdk.service.iam.PermissionLevel.

v0.100.0

16 Mar 08:26
b62ff9f

Choose a tag to compare

Release v0.100.0

New Features and Improvements

  • Support default_profile in [__settings__] section of .databrickscfg for consistent default profile resolution across CLI and SDKs.

API Changes

  • Add alert_output field for databricks.sdk.service.jobs.RunOutput.
  • Add alert_task field for databricks.sdk.service.jobs.RunTask.
  • Add alert_task field for databricks.sdk.service.jobs.SubmitTask.
  • Add alert_task field for databricks.sdk.service.jobs.Task.

v0.99.0

12 Mar 08:15
0935306

Choose a tag to compare

Release v0.99.0

API Changes

  • Add connector_type and data_staging_options fields for databricks.sdk.service.pipelines.IngestionPipelineDefinition.
  • Add ingestion_source_catalog_name, ingestion_source_connection_name, ingestion_source_schema_name, ingestion_source_table_name and ingestion_source_table_version fields for databricks.sdk.service.pipelines.Origin.
  • Add sub_domain field for databricks.sdk.service.serving.ExternalFunctionRequest.

v0.98.0

11 Mar 08:14
afc2596

Choose a tag to compare

Release v0.98.0

API Changes

  • Add genie_create_eval_run(), genie_get_eval_result_details(), genie_get_eval_run(), genie_list_eval_results() and genie_list_eval_runs() methods for w.genie workspace-level service.
  • Add update_role() method for w.postgres workspace-level service.
  • Add telemetry_export_destinations field for databricks.sdk.service.apps.App.
  • Add entities and timeseries_column fields for databricks.sdk.service.ml.Feature.
  • Add aggregation_function field for databricks.sdk.service.ml.Function.
  • Add filter_condition field for databricks.sdk.service.ml.KafkaSource.
  • Add attributes field for databricks.sdk.service.postgres.RoleRoleStatus.
  • [Breaking] Change entity_columns and timeseries_column fields for databricks.sdk.service.ml.DeltaTableSource to no longer be required.
  • Change entity_columns and timeseries_column fields for databricks.sdk.service.ml.DeltaTableSource to no longer be required.
  • Change inputs field for databricks.sdk.service.ml.Feature to no longer be required.
  • [Breaking] Change inputs field for databricks.sdk.service.ml.Feature to no longer be required.
  • [Breaking] Change function_type field for databricks.sdk.service.ml.Function to no longer be required.
  • Change function_type field for databricks.sdk.service.ml.Function to no longer be required.
  • Change entity_column_identifiers and timeseries_column_identifier fields for databricks.sdk.service.ml.KafkaSource to no longer be required.
  • [Breaking] Change entity_column_identifiers and timeseries_column_identifier fields for databricks.sdk.service.ml.KafkaSource to no longer be required.

v0.97.0

09 Mar 08:15
94346a7

Choose a tag to compare

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

v0.96.0

03 Mar 08:13
acf9845

Choose a tag to compare

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

02 Mar 08:15
4fe7545

Choose a tag to compare

Release v0.95.0

New Features and Improvements

  • Added Config.discovery_url config field (DATABRICKS_DISCOVERY_URL env var). When set, OIDC endpoints are fetched directly from this URL instead of the default host-type-based logic. Mirrors discoveryUrl in 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_condition and transformation_sql fields for databricks.sdk.service.ml.DeltaTableSource.
  • Add environment_version field for databricks.sdk.service.pipelines.PipelinesEnvironment.
  • Add reset_checkpoint_selection field for databricks.sdk.service.pipelines.StartUpdate.
  • [Breaking] Remove oauth2_app_client_id and oauth2_app_integration_id fields for databricks.sdk.service.apps.Space.
  • Add create_database(), delete_database(), get_database(), list_databases() and update_database() methods for w.postgres workspace-level service.
  • Add postgres field for databricks.sdk.service.apps.AppResource.
  • Add enable_pg_native_login field for databricks.sdk.service.postgres.ProjectSpec.
  • Add enable_pg_native_login field for databricks.sdk.service.postgres.ProjectStatus.
  • [Breaking] Remove node_type_flexibility field for databricks.sdk.service.compute.EditInstancePool.

v0.94.0

26 Feb 08:16
9d33a30

Choose a tag to compare

Release v0.94.0

New Features and Improvements

  • Added Config.discovery_url config field (DATABRICKS_DISCOVERY_URL env var). When set, OIDC endpoints are fetched directly from this URL instead of the default host-type-based logic. Mirrors discoveryUrl in the Java SDK.

Bug Fixes

  • Pass --profile to 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_mode field for databricks.sdk.service.pipelines.GetPipelineResponse.
  • Add dbr_autoscale enum value for databricks.sdk.service.compute.EventDetailsCause.
  • Change output_catalog field for databricks.sdk.service.cleanrooms.CreateCleanRoomOutputCatalogResponse to be required.
  • [Breaking] Remove internal_attributes field for databricks.sdk.service.sharing.Table.
  • [Breaking] Remove internal_attributes field for databricks.sdk.service.sharing.Volume.

v0.93.0

25 Feb 08:22
f864c31

Choose a tag to compare

Release v0.93.0

API Changes

  • Add parameters field for databricks.sdk.service.pipelines.StartUpdate.
  • Add parameters field for databricks.sdk.service.pipelines.UpdateInfo.
  • [Breaking] Change get_download_full_query_result() method for w.genie workspace-level service with new required argument order.
  • [Breaking] Change name field for databricks.sdk.service.apps.Space to be required.
  • Change name field for databricks.sdk.service.apps.Space to be required.
  • [Breaking] Change id and user_id fields for databricks.sdk.service.dashboards.GenieConversation to no longer be required.
  • [Breaking] Change created_timestamp and title fields for databricks.sdk.service.dashboards.GenieConversationSummary to no longer be required.
  • [Breaking] Change download_id_signature field for databricks.sdk.service.dashboards.GenieGetDownloadFullQueryResultRequest to be required.
  • [Breaking] Change id field for databricks.sdk.service.dashboards.GenieMessage to no longer be required.