Skip to content

Releases: databricks/cli

Snapshot

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

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

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).

v0.237.0

18 Dec 16:17
v0.237.0
6b4b908
Compare
Choose a tag to compare

Bundles:

  • Allow overriding compute for non-development mode targets (#1899).
  • Avoid panic if Config.Workspace.CurrentUser.User is not set (#1993).
  • Show an error when using a cluster override with 'mode: production' (#1994).

Internal:

API Changes:

  • Added databricks account federation-policy command group.
  • Added databricks account service-principal-federation-policy command group.
  • Added databricks aibi-dashboard-embedding-access-policy delete command.
  • Added databricks aibi-dashboard-embedding-approved-domains delete command.

OpenAPI commit a6a317df8327c9b1e5cb59a03a42ffa2aabeef6d (2024-12-16)
Dependency updates:

  • Upgrade TF provider to 1.62.0 (#2030).
  • Upgrade Go SDK to 0.54.0 (#2029).
  • Bump TF codegen dependencies to latest (#1961).
  • Bump golang.org/x/term from 0.26.0 to 0.27.0 (#1983).
  • Bump golang.org/x/sync from 0.9.0 to 0.10.0 (#1984).
  • Bump github.com/databricks/databricks-sdk-go from 0.52.0 to 0.53.0 (#1985).
  • Bump golang.org/x/crypto from 0.24.0 to 0.31.0 (#2006).
  • Bump golang.org/x/crypto from 0.30.0 to 0.31.0 in /bundle/internal/tf/codegen (#2005).

v0.236.0

05 Dec 14:46
v0.236.0
7ffe93e
Compare
Choose a tag to compare

New features for Databricks Asset Bundles:

This release adds support for managing Unity Catalog volumes as part of your bundle configuration.

Bundles:

  • Add DABs support for Unity Catalog volumes (#1762).
  • Support lookup by name of notification destinations (#1922).
  • Extend "notebook not found" error to warn about missing extension (#1920).
  • Skip sync warning if no sync paths are defined (#1926).
  • Add validation for single node clusters (#1909).
  • Fix segfault in bundle summary command (#1937).
  • Add the bundle_uuid helper function for templates (#1947).
  • Add default value for volume_type for DABs (#1952).
  • Properly read Git metadata when running inside workspace (#1945).
  • Upgrade TF provider to 1.59.0 (#1960).

Internal:

  • Breakout variable lookup into separate files and tests (#1921).
  • Add golangci-lint v1.62.2 (#1953).

Dependency updates:

  • Bump golang.org/x/term from 0.25.0 to 0.26.0 (#1907).
  • Bump github.com/Masterminds/semver/v3 from 3.3.0 to 3.3.1 (#1930).
  • Bump github.com/stretchr/testify from 1.9.0 to 1.10.0 (#1932).
  • Bump github.com/databricks/databricks-sdk-go from 0.51.0 to 0.52.0 (#1931).

v0.235.0

20 Nov 14:55
v0.235.0
ade95d9
Compare
Choose a tag to compare

Note: the bundle generate command now uses the .<resource-type>.yml
sub-extension for the configuration files it writes. Existing configuration
files that do not use this sub-extension are renamed to include it.

Bundles:

  • Make TableName field part of quality monitor schema (#1903).
  • Do not prepend paths starting with ~ or variable reference (#1905).
  • Fix workspace extensions filer accidentally reading notebooks (#1891).
  • Fix template initialization when running on Databricks (#1912).
  • Source-linked deployments for bundles in the workspace (#1884).
  • Added integration test to deploy bundle to /Shared root path (#1914).
  • Update filenames used by bundle generate to use .<resource-type>.yml (#1901).

Internal:

  • Extract functionality to detect if the CLI is running on DBR (#1889).
  • Consolidate test helpers for io/fs (#1906).
  • Use fs.FS interface to read template (#1910).
  • Use filer.Filer to write template instantiation (#1911).

v0.234.0

14 Nov 14:48
v0.234.0
2edfb6c
Compare
Choose a tag to compare

Bundles:

  • Do not execute build on bundle destroy (#1882).
  • Add support for non-Python ipynb notebooks to DABs (#1827).

API Changes:

  • Added databricks credentials command group.
  • Changed databricks lakeview create command with new required argument order.

OpenAPI commit d25296d2f4aa7bd6195c816fdf82e0f960f775da (2024-11-07)
Dependency updates:

  • Upgrade TF provider to 1.58.0 (#1900).
  • Bump golang.org/x/sync from 0.8.0 to 0.9.0 (#1892).
  • Bump golang.org/x/text from 0.19.0 to 0.20.0 (#1893).
  • Bump golang.org/x/mod from 0.21.0 to 0.22.0 (#1895).
  • Bump golang.org/x/oauth2 from 0.23.0 to 0.24.0 (#1894).
  • Bump github.com/databricks/databricks-sdk-go from 0.49.0 to 0.51.0 (#1878).

v0.233.0

06 Nov 14:10
v0.233.0
b6a376b
Compare
Choose a tag to compare

CLI:

  • Clean host URL in the auth login command (#1879).

Bundles:

  • Fix bundle run when run interactively (#1880).
  • Fix relative path resolution for dashboards on Windows (#1881).

Internal:

  • Address goreleaser deprecation warning (#1872).
  • Update actions/github-script to v7 (#1873).
  • Use Go 1.23 (#1871).
  • [Internal] Always write message for manual integration test trigger (#1874).
  • Add cmd-exec-id to user agent (#1808).
  • Added E2E test to run Python wheels on interactive cluster created in bundle (#1864).

Dependency updates:

  • Bump github.com/hashicorp/terraform-json from 0.22.1 to 0.23.0 (#1877).

v0.232.1

30 Oct 18:12
v0.232.1
a56d082
Compare
Choose a tag to compare

This patch release fixes the following error observed when deploying to /Shared root folder:

Error: Path (/Shared/.bundle/.../resources) doesn't exist

Bundles:

  • Fixed adding /Workspace prefix for resource paths (#1866).