Skip to content

Releases: databricks/cli

Snapshot

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

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

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)

v0.241.2

12 Feb 19:21
v0.241.2
a20894b
Compare
Choose a tag to compare

This is a bugfix release to address an issue where jobs with tasks with a libraries section with PyPI packages could not be deployed.

Bundles:

  • Revert changes related to basename check for local libraries (#2345).

v0.241.1

12 Feb 16:17
v0.241.1
9c90984
Compare
Choose a tag to compare

Bundles:

  • Fix for regression deploying resources with PyPi and Maven library types (#2341).

v0.241.0

12 Feb 14:29
v0.241.0
1dadc79
Compare
Choose a tag to compare

Bundles:

  • Added support to generate Git based jobs (#2304).
  • Added support for run_as in pipelines (#2287).
  • Raise an error when there are multiple local libraries with the same basename used (#2297).
  • Fix env variable for AzureCli local config (#2248).
  • Accept JSON files in includes section (#2265).
  • Always print warnings and errors; clean up format (#2213)

API Changes:

  • Added databricks account budget-policy command group.
  • Added databricks lakeview-embedded command group.
  • Added databricks query-execution command group.
  • Changed databricks serving-endpoints http-request command to type databricks serving-endpoints http-request command.
  • Added databricks account enable-ip-access-lists command group.
  • Added databricks redash-config command group.

OpenAPI commit c72c58f97b950fcb924a90ef164bcb10cfcd5ece (2025-02-03)
Dependency updates:

  • Upgrade to TF provider 1.65.1 (#2328).
  • Bump golangci/golangci-lint-action from 6.1.1 to 6.2.0 (#2273).
  • Bump astral-sh/ruff-action from 3.0.1 to 3.1.0 (#2274).
  • Bump actions/stale from 9.0.0 to 9.1.0 (#2275).
  • Bump actions/create-github-app-token from 1.11.1 to 1.11.2 (#2276).
  • Bump github.com/hashicorp/terraform-exec from 0.21.0 to 0.22.0 (#2237).
  • Bump github.com/spf13/pflag from 1.0.5 to 1.0.6 (#2281).
  • Bump github.com/databricks/databricks-sdk-go from 0.56.1 to 0.57.0 (#2321).
  • Bump golang.org/x/oauth2 from 0.25.0 to 0.26.0 (#2322).
  • Bump golang.org/x/term from 0.28.0 to 0.29.0 (#2325).
  • Bump golang.org/x/text from 0.21.0 to 0.22.0 (#2323).
  • Bump golang.org/x/mod from 0.22.0 to 0.23.0 (#2324).

v0.240.0

29 Jan 15:56
v0.240.0
ce965b2
Compare
Choose a tag to compare

Bundles:

  • Added support for double underscore variable references (#2203).
  • Do not wait for app compute to start on bundle deploy (#2144).
  • Remove bundle.git.inferred (#2258).
  • libs/python: Remove DetectInterpreters (#2234).

API Changes:

  • Added databricks access-control command group.
  • Added databricks serving-endpoints http-request command.
  • Changed databricks serving-endpoints create command with new required argument order.
  • Changed databricks serving-endpoints get-open-api command return type to become non-empty.
  • Changed databricks recipients update command return type to become non-empty.

OpenAPI commit 0be1b914249781b5e903b7676fd02255755bc851 (2025-01-22)
Dependency updates:

  • Bump github.com/databricks/databricks-sdk-go from 0.55.0 to 0.56.1 (#2238).
  • Upgrade TF provider to 1.64.1 (#2247).

v0.239.1

23 Jan 16:04
v0.239.1
d784147
Compare
Choose a tag to compare

CLI:

  • Added text output templates for apps list and list-deployments (#2175).
  • Fix duplicate "apps" entry in help output (#2191).

Bundles:

  • Allow yaml-anchors in schema (#2200).
  • Show an error when non-yaml files used in include section (#2201).
  • Set WorktreeRoot to sync root outside git repo (#2197).
  • fix: Detailed message for using source-linked deployment with file_path specified (#2119).
  • Allow using variables in enum fields (#2199).
  • Add experimental-jobs-as-code template (#2177).
  • Reading variables from file (#2171).
  • Fixed an apps message order and added output test (#2174).
  • Default to forward slash-separated paths for path translation (#2145).
  • Include a materialized copy of built-in templates (#2146).

v0.239.0

16 Jan 16:32
v0.239.0
511c888
Compare
Choose a tag to compare

New feature announcement.

You can now manage Databricks Apps using DABs by defining an app resource in your bundle configuration.
For more information see Databricks documentation https://docs.databricks.com/en/dev-tools/bundles/resources.html#app

CLI:

  • Filter out system clusters in cluster picker (#2131).
  • Process all the fields in top level request object even if it contains request body (#2155).

Bundles:

  • Added support for Databricks Apps in DABs (#1928).
  • Allow artifact path to be located outside the sync root (#2128).
  • Retry app deployment if there is an active deployment in progress (#2153).
  • Resolve variables in a loop (#2164).
  • Improve resolution of complex variables within complex variables (#2157).
  • Added output message to warn about slower deployments with apps (#2161).
  • Patch references to UC schemas to capture dependencies automatically (#1989).
  • Format default-python template (#2110).
  • Encourage the use of root_path in production to ensure single deployment (#1712).
  • Log warnings to stderr for "bundle validate -o json" (#2109).

Internal:

  • Move merge fix-ups after variable resolution (#2125).
  • Enable linter 'unconvert' and fix the issues found (#2136).
  • Coverage for acceptance tests (#2123).
  • Add acceptance tests for builtin templates (#2135).
  • Add a unique schema for recreate pipeline test (#2159).
  • Migrate resolution tests to acceptance tests (#2143).
  • Update runner for the publish-winget job (#2105).
  • Add a test for complex variable resolution with 3 levels (#2163).

API Changes:

  • Changed databricks account federation-policy update command with new required argument order.
  • Changed databricks account service-principal-federation-policy update command with new required argument order.

OpenAPI commit 779817ed8d63031f5ea761fbd25ee84f38feec0d (2025-01-08)
Dependency updates:

  • Upgrade TF provider to 1.63.0 (#2162).
  • Bump golangci-lint version to v1.63.4 from v1.63.1 (#2114).
  • Bump astral-sh/setup-uv from 4 to 5 (#2116).
  • Bump golang.org/x/oauth2 from 0.24.0 to 0.25.0 (#2080).
  • Bump github.com/hashicorp/hc-install from 0.9.0 to 0.9.1 (#2079).
  • Bump golang.org/x/term from 0.27.0 to 0.28.0 (#2078).
  • Bump github.com/databricks/databricks-sdk-go from 0.54.0 to 0.55.0 (#2126).

v0.238.0

08 Jan 14:52
v0.238.0
b48fa70
Compare
Choose a tag to compare

Bundles:

  • Fix finding Python within virtualenv on Windows (#2034).
  • Include missing field descriptions in JSON schema (#2045).
  • Add validation for volume referenced from artifact_path (#2050).
  • Handle ${workspace.file_path} references in source-linked deployments (#2046).
  • Set the write bit for files written during template initialization (#2068).