Releases: databricks/cli
Releases · databricks/cli
v0.203.0
CLI:
- Infer host from profile during
auth login(#629).
Bundles:
- Extend deployment mode support (#577).
- Add validation for Git settings in bundles (#578).
- Only treat files with .tmpl extension as templates (#594).
- Add JSON schema validation for input template parameters (#598).
- Add DATABRICKS_BUNDLE_INCLUDE_PATHS to specify include paths through env vars (#591).
- Initialise a empty default bundle if BUNDLE_ROOT and DATABRICKS_BUNDLE_INCLUDES env vars are present (#604).
- Regenerate bundle resource structs from latest Terraform provider (#633).
- Fixed processing jobs libraries with remote path (#638).
- Add unit test for file name execution during rendering (#640).
- Add bundle init command and support for prompting user for input values (#631).
- Fix bundle git branch validation (#645).
Internal:
- Fix mkdir integration test on GCP (#620).
- Fix git clone integration test for non-existing repo (#610).
- Remove push to main trigger for build workflow (#621).
- Remove workflow to publish binaries to S3 (#622).
- Fix failing fs mkdir test on azure (#627).
- Print y/n options when displaying prompts using cmdio.Ask (#650).
API Changes:
- Changed
databricks account metastore-assignments createcommand to not return anything. - Added
databricks account network-policycommand group.
OpenAPI commit 7b57ba3a53f4de3d049b6a24391fe5474212daf8 (2023-07-28)
Dependency updates:
v0.202.0
Breaking Change:
- Require include glob patterns to be explicitly defined (#602).
Bundles:
- Add support for more SDK config options (#587).
- Add template renderer for Databricks templates (#589).
- Fix formatting in renderer.go (#593).
- Fixed python wheel test (#608).
- Auto detect Python wheel packages and infer build command (#603).
- Added support for artifacts building for bundles (#583).
- Add support for cloning repositories (#544).
- Add regexp compile helper function for templates (#601).
- Add unit test that raw strings are printed as is (#599).
Internal:
- Fix tests under ./cmd/configure if DATABRICKS_TOKEN is set (#605).
- Remove dependency on global state in generated commands (#595).
- Remove dependency on global state for the root command (#606).
- Add merge_group trigger for build (#612).
- Added support for build command chaining and error on missing wheel (#607).
- Add TestAcc prefix to filer test and fix any failing tests (#611).
- Add url parse helper function for templates (#600).
- Remove dependency on global state for remaining commands (#613).
- Update CHANGELOG template (#588).
v0.201.0
CLI:
- Support tab completion for profiles (#572).
- Improve auth login experience (#570).
- Integrate with auto-release infra (#581).
Bundles:
- Add development runs (#522).
- Correctly use --profile flag passed for all bundle commands (#571).
- Disallow notebooks in paths where files are expected (#573).
- Remove base path checks during sync (#576).
- First look for databricks.yml before falling back to bundle.yml (#580).
API Changes:
- Removed
databricks metastores maintenancecommand. - Added
databricks metastores enable-optimizationcommand. - Added
databricks tables updatecommand. - Changed
databricks account settings delete-personal-compute-settingcommand with new required argument order. - Changed
databricks account settings read-personal-compute-settingcommand with new required argument order. - Added
databricks clean-roomscommand group.
OpenAPI commit 850a075ed9758d21a6bc4409506b48c8b9f93ab4 (2023-07-18)
Dependency updates:
v0.200.2
CLI:
- Fix secrets put-secret command (#545).
- Fixed ignoring required positional parameters when --json flag is provided (#535).
- Update cp help message to not require file scheme (#554).
Bundles:
- Fix: bundle destroy fails when bundle.tf.json file is deleted (#519).
- Fixed error reporting when included invalid files in include section (#543).
- Make top level workspace optional in JSON schema (#562).
- Propagate TF_CLI_CONFIG_FILE env variable (#555).
- Update Terraform provider schema structs (#563).
- Update inline JSON schema documentation (#557).
Dependencies:
v0.200.1
CLI:
- Add --absolute flag for ls command (#508).
- Add dbfs scheme prefix to paths in cp command output (#516).
- Add provider detection to the repos create command (#528).
- Added configure-cluster flag for auth login (#500).
- Added prompts for Databricks profile for auth login command (#502).
- Allow specifying repo by path for repos commands (#526).
- Decode contents by default in workspace export command (#531).
- Fixed jobs create command to only accept JSON payload (#498).
- Make local files default for fs commands (#506).
- Remove \r from new line print statments (#509).
- Remove extra call to filer.Stat in dbfs filer.Read (#515).
- Update alerts command integration test (#512).
- Update variable regex to support hyphens (#503).
Bundles:
Dependencies:
- Bump github.com/databricks/databricks-sdk-go from 0.9.1-0.20230614092458-b5bbc1c8dabb to 0.10.0 (#497).
Internal:
- Use direct download for workspace filer read (#514).
v0.200.0
This version marks the first version available as public preview.
The minor bump to 200 better disambiguates between Databricks CLI "v1" (the Python version)
and this version, Databricks CLI "v2". The minor version of 0.100 may look lower than 0.17
to some, whereas 200 does not. This bump has no other significance.
CLI:
- Add filer.Filer implementation backed by the Files API (#474).
- Add fs cp command (#463).
- Correctly set ExactArgs if generated command has positional arguments (#488).
- Do not use white color as string output (#489).
- Update README to reflect public preview status (#491).
Bundles:
- Fix force flag not working for bundle destroy (#434).
- Fix locker unlock for destroy (#492).
- Use better error assertions and clean up locker API (#490).
Dependencies:
v0.100.4
CLI:
- Add workspace import-dir command (#456).
- Annotate generated commands with OpenAPI package name (#466).
- Associate generated commands with command groups (#475).
- Disable shell completions for generated commands (#483).
- Include [DEFAULT] section header when writing ~/.databrickscfg (#464).
- Pass through proxy related environment variables (#465).
- Restore flags to original values on test completion (#470).
- Update configure command (#482).
Dependencies:
- Bump SDK to latest (#473).
v0.100.3
CLI:
- Add directory tracking to sync (#425).
- Add fs cat command for dbfs files (#430).
- Add fs ls command for dbfs (#429).
- Add fs mkdirs command for dbfs (#432).
- Add fs rm command for dbfs (#433).
- Add installation instructions (#458).
- Add new line to cmdio JSON rendering (#443).
- Add profile on
databricks auth login(#423). - Add readable console logger (#370).
- Add workspace export-dir command (#449).
- Added secrets input prompt for secrets put-secret command (#413).
- Added spinner when loading command prompts (#420).
- Better error message if can not load prompts (#437).
- Changed service template to correctly handle required positional arguments (#405).
- Do not generate prompts for certain commands (#438).
- Do not prompt for List methods (#411).
- Do not use FgWhite and FgBlack for terminal output (#435).
- Skip path translation of job task for jobs with a Git source (#404).
- Tweak profile prompt (#454).
- Update with the latest Go SDK (#457).
- Use cmdio in version command for
--outputflag (#419).
Bundles:
- Check for nil environment before accessing it (#453).
Dependencies:
- Bump github.com/hashicorp/terraform-json from 0.16.0 to 0.17.0 (#459).
- Bump github.com/mattn/go-isatty from 0.0.18 to 0.0.19 (#412).
Internal:
- Add Mkdir and ReadDir functions to filer.Filer interface (#414).
- Add Stat function to filer.Filer interface (#421).
- Add check for path is a directory in filer.ReadDir (#426).
- Add fs.FS adapter for the filer interface (#422).
- Add implementation of filer.Filer for local filesystem (#460).
- Allow equivalence checking of filer errors to fs errors (#416).
- Fix locker integration test (#417).
- Implement DBFS filer (#139).
- Include recursive deletion in filer interface (#442).
- Make filer.Filer return fs.DirEntry from ReadDir (#415).
- Speed up sync integration tests (#428).