Skip to content

Releases: databricks/cli

v0.249.0

23 Apr 15:18
2fae55e
Compare
Choose a tag to compare

Changelog

  • 2fae55e [Release] Release v0.249.0

Snapshot

12 Apr 20:07
2fae55e
Compare
Choose a tag to compare
Snapshot Pre-release
Pre-release

Snapshot build of the main branch. Updated automatically on each commit.

v0.248.0

16 Apr 13:18
5ea3cf1
Compare
Choose a tag to compare

Release v0.248.0

Notable Changes

  • Python for Databricks Asset Bundles is now in Public Preview. This feature extends bundles so that you can define jobs and pipelines as Python code, dynamically create jobs and pipelines using metadata, and modify jobs and pipelines defined in YAML or Python during bundle deployment. For more information and to get started see Configuration in Python.
  • Fixed a regression with pipeline library globs introduced in 0.247.0 (#2723). The issue caused glob patterns to fail when using paths relative to a directory that is not the bundle root.

Dependency updates

  • Upgraded Go SDK to 0.63.0 (#2716)
  • Upgraded TF provider to 1.73.0 (#2728)

CLI

  • Added an error when invalid subcommand is provided for CLI commands (#2655)
  • Added dry-run flag support to sync command (#2657)

Bundles

  • Do not use app config section in test templates and generated app configuration (#2599)
  • Do not exit early when checking incompatible tasks for specified DBR (#2692)
  • Removed include/exclude flags support from bundle sync command (#2718)
  • Do not clean up Python artifacts dist and build folder in "bundle validate", do it in "bundle deploy". This reverts the behaviour introduced in 0.245.0 (#2722)

API Changes

  • Added enable-export-notebook, enable-notebook-table-clipboard and enable-results-downloading workspace-level commands.
  • Removed unused timeout and no-wait flags for clusters and pipelines

v0.247.1

09 Apr 19:46
06b719b
Compare
Choose a tag to compare

Changelog

  • Fix git source regression introduced in v0.247.0 (#2699)

v0.247.0

09 Apr 13:26
7ffdd1b
Compare
Choose a tag to compare

Release v0.247.0

CLI

  • Added include/exclude flags support to sync command (#2650)

Bundles

  • Added support for model serving endpoints in deployment bind/unbind commands (#2634)
  • Added include/exclude flags support to bundle sync command (#2650)
  • Added JSON schema for resource permissions (#2674)
  • Removed pipeline 'deployment' field from jsonschema (#2653)
  • Updated JSON schema for deprecated pipeline fields (#2646)
  • The --config-dir and --source-dir flags for "bundle generate app" are now relative to CWD, not bundle root (#2683)
  • Reverts #2549 to resolve issues with Web Terminal host mismatch (#2685)

v0.246.0

02 Apr 13:39
5f8accb
Compare
Choose a tag to compare

Release v0.246.0

Notable Changes

Previously ".internal" folder under artifact_path was not cleaned up as expected. In this release this behaviour is fixed and now DABs cleans up this folder before uploading artifacts to it.

Dependency updates

  • Bump golangci-lint version to v2.0.2 from v1.63.4 (#2586).

CLI

  • Include supported values for enum positional args in docs (#2557)
  • Upgrade Go SDK to 0.61.0 (#2575)
  • Fix databricks api command usage string to include PATH positional argument (#2591)

Bundles

  • Fixed cleaning up artifact path .internal folder (#2572)
  • Fixed sync include/exclude not working correctly on Windows (#2609)
  • Added support for quality monitors in deployment bind/unbind commands (#2583)
  • Comment out email_notifications section in builtin templates (#2565)
  • New DATABRICKS_BUNDLE_RESTRICTED_CODE_EXECUTION environment variable that rejects running scripts and Python code when it is set (#2598)
  • Upgrade TF provider to 1.71.0 (#2611)

v0.245.0

26 Mar 14:49
e749ad5
Compare
Choose a tag to compare

Release v0.245.0

Bundles

  • Processing 'artifacts' section is now done in "bundle validate" (adding defaults, inferring "build", asserting required fields) (#2526)
  • When uploading artifacts, include relative path in log message (#2539)
  • Added support for clusters in deployment bind/unbind commands (#2536)
  • Added support for volumes in deployment bind/unbind commands (#2527)
  • Added support for dashboards in deployment bind/unbind commands (#2516)
  • Added support for registered models in deployment bind/unbind commands (#2556)
  • Added a mismatch check when host is defined in config and as an env variable (#2549)
  • New attribute on artifacts entries: dynamic_version. When set to true, it patches the wheel with dynamic version suffix so it is always used by Databricks environments, even if original wheel version is the same. Intended for development loop on interactive clusters. (#2520)

v0.244.0

19 Mar 13:42
4e81bba
Compare
Choose a tag to compare

Release v0.244.0

CLI

  • Fixed "can't evaluate field Name in type interface{}" for "databricks queries list" command (#2451)
  • Fixed query-history list command failing with 'executing "command" at <.>: range cant iterate over' (#2506)
  • Include tarballs in releases (#2515)

Bundles

  • Support all version identifiers as per PEP440 in environment deps (#2522)

API Changes

  • Added databricks genie execute-message-attachment-query command.
  • Added databricks genie get-message-attachment-query-result command.
  • databricks genie execute-message-query marked as Deprecated.
  • databricks genie get-message-query-result-by-attachment marked as Deprecated.

v0.243.0

05 Mar 15:52
c38efaa
Compare
Choose a tag to compare

CLI:

  • Upgrade Go SDK to 0.59.0 (#2425).

Bundles:

  • Added a warning when config section is used in apps (#2416).
  • Switch to use GET workspaces-files/{name} instead of workspace/export for state files to avoid 10MB limit (#2423).
  • Use schema field for pipeline in builtin template (#2347).
  • Add warning when variable interpolation is used for auth fields (#2399).
  • Add warning when include is used in config files other than databricks.yml (#2389).
  • Add support for schemas in deployment bind/unbind commands (#2406).
  • Do not modify/create .gitignore in bundle root (#2429).
  • Raise an error when there are multiple local libraries with the same basename used (#2382).
  • Upgrade TF provider to 1.68.0 (#2426).

API Changes:

  • Changed databricks experiments log-inputs command with new required argument order.
  • Added databricks genie get-space command.
  • Added databricks providers list-provider-share-assets command.
  • Changed databricks shares update-permissions command return type to become non-empty.

OpenAPI commit e5c870006a536121442cfd2441bdc8a5fb76ae1e (2025-03-03)

v0.242.0

27 Feb 11:05
767c0a9
Compare
Choose a tag to compare

[Release] Release v0.242.0

Notable changes:
Starting this version CLI does not load bundle auth information when CLI command is executed inside the bundle directory with explicitly provided via -p flag profile.
For more details see the related GitHub issue #1358

CLI:

  • Do not load host from bundle for CLI commands when profile flag is used (#2335).
  • Fixed accessing required path parameters in CLI generation when --json flag (#2373).

Bundles:

  • Provide instructions for testing in the default-python template (#2355).
  • Remove run_as from the built-in templates (#2044).
  • Change warning about incomplete permissions section into a recommendation (#2043).
  • Refine mode: production diagnostic output (#2236).
  • Support serverless mode in default-python template (explicit prompt) (#2377).
  • Set default data_security_mode to "SINGLE_USER" in bundle templates (#2372).
  • Fixed spark version check for clusters defined in the same bundle (#2374).

API Changes:

  • Added databricks genie get-message-query-result-by-attachment command.

OpenAPI commit 99f644e72261ef5ecf8d74db20f4b7a1e09723cc (2025-02-11)