Skip to content

Releases: databricks/cli

v0.212.0

11 Jan 15:14
v0.212.0
51c64ef
Compare
Choose a tag to compare

CLI:

  • Tweak command groups in CLI help (#1092).
  • Fixed storage-credentials list command in text output (#1094).
  • Allow account client auth with environment variables when no .databrickscfg file present (#1097).
  • Always log with text format by default (#1096).

Bundles:

  • Added exec.NewCommandExecutor to execute commands with correct interpreter (#1075).
  • Use resource key as name in permissions code (#1087).
  • Add support for reprompts if user input does not match template schema (#946).
  • Improve experience for multiple builtin templates (#1052).
  • Improve error when bundle root is not writable (#1093).
  • Change recommended production deployment path from /Shared to /Users (#1091).
  • Allow referencing bundle resources by name (#872).
  • Make libs/exec fallback to sh if bash cannot be found (#1114).

Internal:

  • Functionality to walk a config.Value tree (#1081).
  • Rename libs/config -> libs/dyn (#1086).
  • Added codecov integration on code push (#1095).
  • Consolidate functions to convert dyn.Value to native types (#1100).
  • Define constant for the invalid dyn.Value (#1101).

API Changes:

  • Changed databricks serving-endpoints update-config command with new required argument order.
  • Changed databricks account ip-access-lists create command with new required argument order.
  • Changed databricks account ip-access-lists replace command with new required argument order.
  • Changed databricks account ip-access-lists update command with new required argument order.
  • Changed databricks ip-access-lists create command with new required argument order.
  • Changed databricks ip-access-lists replace command with new required argument order.
  • Changed databricks ip-access-lists update command with new required argument order.

OpenAPI commit a7a9dc025bb80303e676bf3708942c6aa06689f1 (2024-01-04)

Dependency updates:

  • Bump github.com/hashicorp/terraform-exec from 0.19.0 to 0.20.0 (#1088).
  • Bump go.uber.org/mock from 0.3.0 to 0.4.0 (#1089).
  • Bump github.com/hashicorp/terraform-json from 0.18.0 to 0.20.0 (#1090).
  • Bump golang.org/x/term from 0.15.0 to 0.16.0 (#1103).
  • Bump github.com/cloudflare/circl from 1.3.3 to 1.3.7 (#1105).
  • Bump golang.org/x/sync from 0.5.0 to 0.6.0 (#1104).
  • Upgrade golang.org/x/crypto to v0.17.0 in internal module (#1110).
  • Upgrade Go SDK to v0.29.0 (#1111).

v0.211.0

21 Dec 10:14
v0.211.0
55732bc
Compare
Choose a tag to compare

CLI:

  • Upgrade Go SDK to 0.27.0 (#1064).
  • Skip profile resolution if DATABRICKS_AUTH_TYPE is set (#1068).
  • Do not allow input prompts in Git Bash terminal (#1069).
  • Added output template for list-secrets command (#1074).

Bundles:

  • Set metadata fields required to enable break-glass UI for jobs (#880).
  • Do not prompt for template values in Git Bash (#1082).
  • Tune output of bundle deploy command (#1047).

API Changes:

  • Changed databricks connections update command with new required argument order.
  • Changed databricks serving-endpoints update-config command with new required argument order.
  • Added databricks serving-endpoints put command.
  • Removed databricks account network-policy command group.

OpenAPI commit 63caa3cb0c05045e81d3dcf2451fa990d8670f36 (2023-12-12)

Dependency updates:

  • Bump github.com/google/uuid from 1.4.0 to 1.5.0 (#1073).
  • Bump golang.org/x/crypto from 0.16.0 to 0.17.0 (#1076).

v0.210.3

13 Dec 15:49
v0.210.3
dc12b3f
Compare
Choose a tag to compare

Bundles:

  • Improve default template (#1046).
  • Fix passthrough of pipeline notifications (#1058).

Internal:

  • Stub out Python virtual environment installation for labs commands (#1057).
  • Upgrade Terraform schema version to v1.31.1 (#1055).

Dependency updates:

  • Bump github.com/hashicorp/hc-install from 0.6.1 to 0.6.2 (#1054).
  • Bump github.com/databricks/databricks-sdk-go from 0.26.1 to 0.26.2 (#1053).

v0.210.2

06 Dec 14:43
2d82967
Compare
Choose a tag to compare

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-params and python_wheel_wrapper is true (#1037).
  • Change default_python template to auto-update version on each wheel build (#1034).

Internal:

  • Rewrite the friendly log handler (#1038).
  • Move bundle schema update to an internal module (#1012).

Dependency updates:

  • Bump github.com/databricks/databricks-sdk-go from 0.26.0 to 0.26.1 (#1040).

v0.210.1

30 Nov 10:55
1a1f1b1
Compare
Choose a tag to compare

This is a bugfix release to address issues with v0.210.0.

CLI:

  • Fix panic: $HOME is not set (#1027).
  • Fix databricks configure if 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-tags option in release workflows (#1025).

v0.210.0

29 Nov 14:24
09991da
Compare
Choose a tag to compare

This release includes the new databricks labs command to install, manage, and run Databricks Labs projects.

CLI:

  • Add --debug as shortcut for --log-level debug (#964).
  • Improved usability of databricks auth login ... --configure-cluster (#956).
  • Make databricks configure save only explicit fields (#973).
  • Add databricks labs command group (#914).
  • Tolerate missing .databrickscfg file during databricks auth login (#1003).
  • Add --configure-cluster flag 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 --tag and --branch options to bundle init command (#975).
  • Work around DLT issue with $PYTHONPATH not being set correctly (#999).
  • Enable spark_jar_task with local JAR libraries (#993).
  • Pass USERPROFILE environment 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 init prompt (#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 create command . New request type is .
  • Changed databricks metastores create command with new required argument order.
  • Removed databricks metastores enable-optimization command.
  • Removed databricks account o-auth-enrollment command group.
  • Removed databricks apps delete command.
  • Removed databricks apps get command.
  • Added databricks apps delete-app command.
  • Added databricks apps get-app command.
  • Added databricks apps get-app-deployment-status command.
  • Added databricks apps get-apps command.
  • Added databricks apps get-events command.
  • Added databricks account network-connectivity command 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

08 Nov 16:40
127e1ec
Compare
Choose a tag to compare

CLI:

  • Hide --progress-format global flag (#965).
  • Make configure command visible + fix bundle command description (#961).
  • Log process ID in each log entry (#949).
  • Improve error message when --json flag 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:

  • Bump golang.org/x/mod from 0.13.0 to 0.14.0 (#954).
  • Bump golang.org/x/text from 0.13.0 to 0.14.0 (#953).
  • Bump golang.org/x/sync from 0.4.0 to 0.5.0 (#951).
  • Bump github.com/spf13/cobra from 1.7.0 to 1.8.0 (#950).
  • Bump github.com/fatih/color from 1.15.0 to 1.16.0 (#952).

v0.209.0

02 Nov 16:13
v0.209.0
51d41d6
Compare
Choose a tag to compare

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 snapshot to build file in .databricks/databricks (#927).
  • Add configuration normalization code (#915).

API Changes:

  • Added databricks account network-policy command 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

23 Oct 09:51
3a055f4
Compare
Choose a tag to compare

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:

  • Skip prompt on completion hook (#888).
  • New YAML loader to support configuration location (#828).

Dependency updates:

  • Bump github.com/mattn/go-isatty from 0.0.19 to 0.0.20 (#896).

v0.208.1

19 Oct 11:55
ec94254
Compare
Choose a tag to compare

CLI:

  • Fix rendering of streaming response (#876).

Bundles:

  • Rename MLOps Stack to MLOps Stacks (#881).
  • Support Python wheels larger than 10MB (#879).
  • Improve the output of the databricks bundle init command (#795).