Skip to content

Releases: databricks/cli

v0.205.2

21 Sep 14:58
c65e597
Compare
Choose a tag to compare

CLI:

  • Prompt for profile only in interactive mode (#788).

Internal:

  • Added setup Python action (#789).

v0.205.1

20 Sep 11:52
46996b8
Compare
Choose a tag to compare

Bundles:

  • Use enums for default python template (#765).
  • Make bundle deploy work if no resources are defined (#767).
  • Added support for experimental scripts section (#632).
  • Error when unknown keys are encounters during template execution (#766).
  • Fall back to full Git clone if shallow clone is not supported (#775).
  • Enable environment overrides for job tasks (#779).
  • Increase timeout waiting for job run to 1 day (#786).

Internal:

  • Update Go SDK to v0.19.3 (unreleased) (#778).

v0.205.0

12 Sep 14:43
96d807f
Compare
Choose a tag to compare

This release marks the public preview phase of Databricks Asset Bundles.

For more information, please refer to our online documentation at
https://docs.databricks.com/en/dev-tools/bundles/.

CLI:

  • Prompt once for a client profile (#727).

Bundles:

  • Use clearer error message when no interpolation value is found. (#764).
  • Use interactive prompt to select resource to run if not specified (#762).
  • Add documentation link bundle command group description (#770).

v0.204.1

11 Sep 12:03
44726d6
Compare
Choose a tag to compare

Bundles:

  • Fix conversion of job parameters (#744).
  • Add schema and config validation to jsonschema package (#740).
  • Support Model Serving Endpoints in bundles (#682).
  • Do not include empty output in job run output (#749).
  • Fixed marking libraries from DBFS as remote (#750).
  • Process only Python wheel tasks which have local libraries used (#751).
  • Add enum support for bundle templates (#668).
  • Apply Python wheel trampoline if workspace library is used (#755).
  • List available targets when incorrect target passed (#756).
  • Make bundle and sync fields optional (#757).
  • Consolidate environment variable interaction (#747).

Internal:

  • Update Go SDK to v0.19.1 (#759).

v0.204.0

06 Sep 11:54
c8f5990
Compare
Choose a tag to compare

This release includes permission related commands for a subset of workspace
services where they apply. These complement the permissions command and
do not require specification of the object type to work with, as that is
implied by the command they are nested under.

CLI:

  • Group permission related commands (#730).

Bundles:

  • Fixed artifact file uploading on Windows and wheel execution on DBR 13.3 (#722).
  • Make resource and artifact paths in bundle config relative to config folder (#708).
  • Add support for ordering of input prompts (#662).
  • Fix IsServicePrincipal() only working for workspace admins (#732).
  • databricks bundle init template v1 (#686).
  • databricks bundle init template v2: optional stubs, DLT support (#700).
  • Show 'databricks bundle init' template in CLI prompt (#725).
  • Include $PATH in set of environment variables to pass along. (#736).

Internal:

  • Update Go SDK to v0.19.0 (#729).
  • Replace API call to test configuration with dummy authenticate call (#728).

API Changes:

  • Changed databricks account storage-credentials create command to return .
  • Changed databricks account storage-credentials get command to return .
  • Changed databricks account storage-credentials list command to return .
  • Changed databricks account storage-credentials update command to return .
  • Changed databricks connections create command with new required argument order.
  • Changed databricks connections update command with new required argument order.
  • Changed databricks volumes create command with new required argument order.
  • Added databricks artifact-allowlists command group.
  • Added databricks model-versions command group.
  • Added databricks registered-models command group.
  • Added databricks cluster-policies get-permission-levels command.
  • Added databricks cluster-policies get-permissions command.
  • Added databricks cluster-policies set-permissions command.
  • Added databricks cluster-policies update-permissions command.
  • Added databricks clusters get-permission-levels command.
  • Added databricks clusters get-permissions command.
  • Added databricks clusters set-permissions command.
  • Added databricks clusters update-permissions command.
  • Added databricks instance-pools get-permission-levels command.
  • Added databricks instance-pools get-permissions command.
  • Added databricks instance-pools set-permissions command.
  • Added databricks instance-pools update-permissions command.
  • Added databricks files command group.
  • Changed databricks permissions set command to start returning .
  • Changed databricks permissions update command to start returning .
  • Added databricks users get-permission-levels command.
  • Added databricks users get-permissions command.
  • Added databricks users set-permissions command.
  • Added databricks users update-permissions command.
  • Added databricks jobs get-permission-levels command.
  • Added databricks jobs get-permissions command.
  • Added databricks jobs set-permissions command.
  • Added databricks jobs update-permissions command.
  • Changed databricks experiments get-by-name command to return .
  • Changed databricks experiments get-experiment command to return .
  • Added databricks experiments delete-runs command.
  • Added databricks experiments get-permission-levels command.
  • Added databricks experiments get-permissions command.
  • Added databricks experiments restore-runs command.
  • Added databricks experiments set-permissions command.
  • Added databricks experiments update-permissions command.
  • Added databricks model-registry get-permission-levels command.
  • Added databricks model-registry get-permissions command.
  • Added databricks model-registry set-permissions command.
  • Added databricks model-registry update-permissions command.
  • Added databricks pipelines get-permission-levels command.
  • Added databricks pipelines get-permissions command.
  • Added databricks pipelines set-permissions command.
  • Added databricks pipelines update-permissions command.
  • Added databricks serving-endpoints get-permission-levels command.
  • Added databricks serving-endpoints get-permissions command.
  • Added databricks serving-endpoints set-permissions command.
  • Added databricks serving-endpoints update-permissions command.
  • Added databricks token-management get-permission-levels command.
  • Added databricks token-management get-permissions command.
  • Added databricks token-management set-permissions command.
  • Added databricks token-management update-permissions command.
  • Changed databricks dashboards create command with new required argument order.
  • Added databricks warehouses get-permission-levels command.
  • Added databricks warehouses get-permissions command.
  • Added databricks warehouses set-permissions command.
  • Added databricks warehouses update-permissions command.
  • Added databricks dashboard-widgets command group.
  • Added databricks query-visualizations command group.
  • Added databricks repos get-permission-levels command.
  • Added databricks repos get-permissions command.
  • Added databricks repos set-permissions command.
  • Added databricks repos update-permissions command.
  • Added databricks secrets get-secret command.
  • Added databricks workspace get-permission-levels command.
  • Added databricks workspace get-permissions command.
  • Added databricks workspace set-permissions command.
  • Added databricks workspace update-permissions command.

OpenAPI commit 09a7fa63d9ae243e5407941f200960ca14d48b07 (2023-09-04)

v0.203.3

30 Aug 14:43
deebaa8
Compare
Choose a tag to compare

Bundles:

  • Support cluster overrides with cluster_key and compute_key (#696).
  • Allow referencing local Python wheels without artifacts section defined (#703).
  • Fixed --environment flag (#705).
  • Correctly identify local paths in libraries section (#702).
  • Fixed path joining in FindFilesWithSuffixInPath (#704).
  • Added transformation mutator for Python wheel task for them to work on DBR <13.1 (#635).

Internal:

  • Add a foundation for built-in templates (#685).
  • Test transform when no Python wheel tasks defined (#714).
  • Pin Terraform binary version to 1.5.5 (#715).
  • Cleanup after "Add a foundation for built-in templates" (#707).
  • Filter down to Python wheel tasks only for trampoline (#712).
  • Update Terraform provider schema structs from 1.23.0 (#713).

v0.203.2

24 Aug 11:55
c5cd20d
Compare
Choose a tag to compare

CLI:

  • Added databricks account o-auth-enrollment enable command (#687).

Bundles:

  • Do not try auto detect Python package if no Python wheel tasks defined (#674).
  • Renamed environments to targets in bundle configuration (#670).
  • Rename init project-dir flag to output-dir (#676).
  • Added support for sync.include and sync.exclude sections (#671).
  • Add template directory flag for bundle templates (#675).
  • Never ignore root directory when enumerating files in a repository (#683).
  • Improve 'mode' error message (#681).
  • Added run_as section for bundle configuration (#692).

v0.203.1

16 Aug 13:06
35e8ed3
Compare
Choose a tag to compare

CLI:

  • Always resolve .databrickscfg file (#659).

Bundles:

  • Add internal tag for bundle fields to be skipped from schema (#636).
  • Log the bundle root configuration file if applicable (#657).
  • Execute paths without the .tmpl extension as templates (#654).
  • Enable environment overrides for job clusters (#658).
  • Merge artifacts and resources block with overrides enabled (#660).
  • Locked terraform binary version to <= 1.5.5 (#666).
  • Return better error messages for invalid JSON schema types in templates (#661).
  • Use custom prompter for bundle template inputs (#663).
  • Add map and pair helper functions for bundle templates (#665).
  • Correct name for force acquire deploy flag (#656).
  • Confirm that override with a zero value doesn't work (#669).

Internal:

  • Consolidate functions in libs/git (#652).
  • Upgraded Go version to 1.21 (#664).

v0.203.0

10 Aug 09:32
979b680
Compare
Choose a tag to compare

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 create command to not return anything.
  • Added databricks account network-policy command group.

OpenAPI commit 7b57ba3a53f4de3d049b6a24391fe5474212daf8 (2023-07-28)

Dependency updates:

  • Bump OpenAPI specification & Go SDK Version (#624).
  • Bump golang.org/x/term from 0.10.0 to 0.11.0 (#643).
  • Bump golang.org/x/text from 0.11.0 to 0.12.0 (#642).
  • Bump golang.org/x/oauth2 from 0.10.0 to 0.11.0 (#641).

v0.202.0

27 Jul 14:12
3697dfc
Compare
Choose a tag to compare

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