Releases: databricks/cli
Releases · databricks/cli
v0.249.0
Snapshot
Snapshot build of the main branch. Updated automatically on each commit.
v0.248.0
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
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
andno-wait
flags for clusters and pipelines
v0.247.1
v0.247.0
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
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
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
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
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
[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)