Releases: databricks/cli
v0.210.3
v0.210.2
CLI:
- Add documentation for positional args in commands generated from the Databricks OpenAPI specification (#1033).
- Ask for host when .databrickscfg doesn't exist (#1041).
- Add list of supported values for flags that represent an enum field (#1036).
Bundles:
- Fix panic when bundle auth resolution fails (#1002).
- Add versioning for bundle templates (#972).
- Add support for conditional prompting in bundle init (#971).
- Pass parameters to task when run with
--python-paramsandpython_wheel_wrapperis true (#1037). - Change default_python template to auto-update version on each wheel build (#1034).
Internal:
Dependency updates:
- Bump github.com/databricks/databricks-sdk-go from 0.26.0 to 0.26.1 (#1040).
v0.210.1
This is a bugfix release to address issues with v0.210.0.
CLI:
- Fix
panic: $HOME is not set(#1027). - Fix
databricks configureif new profile is specified (#1030). - Filter out system clusters for
--configure-cluster(#1031).
Bundles:
- Fixed panic when job has trigger and in development mode (#1026).
Internal:
- Use
fetch-tagsoption in release workflows (#1025).
v0.210.0
This release includes the new databricks labs command to install, manage, and run Databricks Labs projects.
CLI:
- Add
--debugas shortcut for--log-level debug(#964). - Improved usability of
databricks auth login ... --configure-cluster(#956). - Make
databricks configuresave only explicit fields (#973). - Add
databricks labscommand group (#914). - Tolerate missing
.databrickscfgfile duringdatabricks auth login(#1003). - Add
--configure-clusterflag to configure command (#1005). - Fix bug where the account or workspace client could be
nil(#1020).
Bundles:
- Do not allow empty descriptions for bundle template inputs (#967).
- Added support for top-level permissions (#928).
- Allow jobs to be manually unpaused in development mode (#885).
- Fix template initialization from current working directory (#976).
- Add
--tagand--branchoptions to bundle init command (#975). - Work around DLT issue with
$PYTHONPATHnot being set correctly (#999). - Enable
spark_jar_taskwith local JAR libraries (#993). - Pass
USERPROFILEenvironment variable to Terraform (#1001). - Improve error message when path is not a bundle template (#985).
- Correctly overwrite local state if remote state is newer (#1008).
- Add mlops-stacks to the default
databricks bundle initprompt (#988). - Do not add wheel content hash in uploaded Python wheel path (#1015).
- Do not replace pipeline libraries if there are no matches for pattern (#1021).
Internal:
- Update CLI version in the VS Code extension during release (#1014).
API Changes:
- Changed
databricks functions createcommand . New request type is . - Changed
databricks metastores createcommand with new required argument order. - Removed
databricks metastores enable-optimizationcommand. - Removed
databricks account o-auth-enrollmentcommand group. - Removed
databricks apps deletecommand. - Removed
databricks apps getcommand. - Added
databricks apps delete-appcommand. - Added
databricks apps get-appcommand. - Added
databricks apps get-app-deployment-statuscommand. - Added
databricks apps get-appscommand. - Added
databricks apps get-eventscommand. - Added
databricks account network-connectivitycommand group.
OpenAPI commit 22f09783eb8a84d52026f856be3b2068f9498db3 (2023-11-23)
Dependency updates:
- Bump golang.org/x/term from 0.13.0 to 0.14.0 (#981).
- Bump github.com/hashicorp/terraform-json from 0.17.1 to 0.18.0 (#979).
- Bump golang.org/x/oauth2 from 0.13.0 to 0.14.0 (#982).
- Bump github.com/databricks/databricks-sdk-go from 0.24.0 to 0.25.0 (#980).
- Bump github.com/databricks/databricks-sdk-go from 0.25.0 to 0.26.0 (#1019).
v0.209.1
CLI:
- Hide
--progress-formatglobal flag (#965). - Make configure command visible + fix bundle command description (#961).
- Log process ID in each log entry (#949).
- Improve error message when
--jsonflag is specified (#933).
Bundles:
- Remove validation for default value against pattern (#959).
- Bundle path rewrites for dbt and SQL file tasks (#962).
- Initialize variable definitions that are defined without properties (#966).
Internal:
- Function to merge two instances of
config.Value(#938). - Make to/from string methods private to the jsonschema package (#942).
- Make Cobra runner compatible with testing interactive flows (#957).
- Added
env.UserHomeDir(ctx)for parallel-friendly tests (#955).
Dependency updates:
v0.209.0
CLI:
- Added GitHub issue templates for CLI and DABs issues (#925).
- Simplified code generation logic for handling path and request body parameters and JSON input (#905).
Bundles:
- Fixed URL for bundle template documentation in init command help docs (#903).
- Fixed pattern validation for input parameters in a bundle template (#912).
- Fixed multiline description rendering for enum input parameters in bundle templates (#916).
- Changed production mode check for whether identity used is a service principal to use UserName (#924).
- Changed bundle deploy to upload partial terraform state even if deployment fails (#923).
- Added support for welcome messages to bundle templates (#907).
- Added support for uploading bundle deployment metadata to WSFS (#845).
Internal:
- Loading an empty yaml file yields a nil (#906).
- Library to convert config.Value to Go struct (#904).
- Remove default resolution of repo names against the Databricks Github account(#940).
- Run make fmt from fmt job (#929).
make snapshotto build file in.databricks/databricks(#927).- Add configuration normalization code (#915).
API Changes:
- Added
databricks account network-policycommand group.
Dependency updates:
- Bump Terraform provider from v1.28.0 to v1.29.0 (#926).
- Bump the Go SDK in the CLI from v0.23 to v0.24 (#919).
- Bump google.golang.org/grpc from 1.58.2 to 1.58.3 (#920).
- Bump github.com/google/uuid from 1.3.1 to 1.4.0 (#932).
OpenAPI commit 5903bb39137fd76ac384b2044e425f9c56840e00 (2023-10-23)
v0.208.2
CLI:
- Never load authentication configuration from bundle for sync command (#889).
- Fixed requiring positional arguments for API URL parameters (#878).
Bundles:
- Add support for validating CLI version when loading a jsonschema object (#883).
- Do not emit wheel wrapper error when python_wheel_wrapper setting is true (#894).
- Resolve configuration before performing verification (#890).
- Fix wheel task not working with with 13.x clusters (#898).
Internal:
Dependency updates:
- Bump github.com/mattn/go-isatty from 0.0.19 to 0.0.20 (#896).
v0.208.1
v0.208.0
Note: this release includes a fix for the issue where zero values (for example num_workers: 0) were not included in the request body.
CLI:
- Use already instantiated WorkspaceClient in sync command (#867).
Bundles:
- Support Unity Catalog Registered Models in bundles (#846).
- Fixed merging task libraries from targets (#868).
- Add alias for mlops-stack template URL (#869).
API Changes:
- Changed
databricks account billable-usage downloadcommand to start returning output. - Changed
databricks account storage-credentials deletecommand with new required argument order. - Changed
databricks account storage-credentials getcommand with new required argument order. - Changed
databricks account storage-credentials updatecommand with new required argument order. - Added
databricks workspace-bindings get-bindingscommand. - Added
databricks workspace-bindings update-bindingscommand. - Removed
databricks account network-policycommand group. - Changed
databricks ip-access-lists listcommand to return output.
OpenAPI commit 493a76554afd3afdd15dc858773d01643f80352a (2023-10-12)
Dependency updates:
v0.207.1
CLI:
- Improve
workspace importcommand by allowing references to local files for content (#793). - Add
--fileflag to workspace export command (#794). - Ensure profile flag is respected for sync command (#837).
- Add hint to delete sync snapshot if parsing fails (#853).
- Use profile information when getting a token using the CLI (#855).
Bundles:
- Minor template tweaks (#832).
- Fixed using repo files as pipeline libraries (#847).
- Support .gitignore syntax in sync section and make sure it works recursively (#854).
- Allow target overrides for sync section (#856).
Internal:
- Fix import export integration tests on windows (#842).
- Fix workspace import test (#844).
- Automatically create a release PR in homebrew-tap repo (#841).
Dependency updates: