Releases: databricks/cli
Releases · databricks/cli
v0.214.1
CLI:
- Improved error message when no .databrickscfg (#1223).
- Use Go SDK Iterators when listing resources with the CLI (#1202).
Bundles:
- Only set ComputeID value when
--compute-id
flag provided (#1229). - Add correct tag value for models in dev mode (#1230).
- Upgrade Terraform provider to 1.37.0 (#1235).
Internal:
v0.214.0
CLI:
- Add support for UC Volumes to the
databricks fs
commands (#1209).
Bundles:
- Use dynamic configuration model in bundles (#1098).
- Allow use of variables references in primitive non-string fields (#1219).
- Add an experimental default-sql template (#1051).
- Add an experimental dbt-sql template (#1059).
Internal:
- Add fork-user to winget release workflow (#1214).
- Use
any
as type for data sources and resources intf/schema
(#1216). - Avoid infinite recursion when normalizing a recursive type (#1213).
- Fix issue where interpolating a new ref would rewrite unrelated fields (#1217).
- Use
dyn.Value
as input to generating Terraform JSON (#1218).
API Changes:
- Changed
databricks lakehouse-monitors update
command with new required argument order. - Added
databricks online-tables
command group.
OpenAPI commit cdd76a98a4fca7008572b3a94427566dd286c63b (2024-02-19)
Dependency updates:
v0.213.0
CLI:
- Ignore environment variables for
auth profiles
(#1189). - Update LICENSE file to match Databricks license language (#1013).
Bundles:
- Added
bundle deployment bind
andunbind
command (#1131). - Use allowlist for Git-related fields to include in metadata (#1187).
- Added
--restart
flag forbundle run
command (#1191). - Generate correct YAML if
custom_tags
orspark_conf
is used for pipeline or job cluster configuration (#1210).
Internal:
- Move folders package into libs (#1184).
- Log time it takes for profile to load (#1186).
- Use mockery to generate mocks compatible with testify/mock (#1190).
- Retain partially valid structs in
convert.Normalize
(#1203). - Skip
for_each_task
when generating the bundle schema (#1204). - Regenerate the CLI using the same OpenAPI spec as the SDK (#1205).
- Avoid race-conditions while executing sub-commands (#1201).
API Changes:
- Added
databricks tables exists
command. - Added
databricks lakehouse-monitors
command group. - Removed
databricks files get-status
command. - Added
databricks files create-directory
command. - Added
databricks files delete-directory
command. - Added
databricks files get-directory-metadata
command. - Added
databricks files get-metadata
command. - Added
databricks files list-directory-contents
command. - Removed
databricks pipelines reset
command. - Changed
databricks account settings delete-personal-compute-setting
command with new required argument order. - Removed
databricks account settings read-personal-compute-setting
command. - Changed
databricks account settings update-personal-compute-setting
command with new required argument order. - Added
databricks account settings get-personal-compute-setting
command. - Removed
databricks settings delete-default-workspace-namespace
command. - Removed
databricks settings read-default-workspace-namespace
command. - Removed
databricks settings update-default-workspace-namespace
command. - Added
databricks settings delete-default-namespace-setting
command. - Added
databricks settings delete-restrict-workspace-admins-setting
command. - Added
databricks settings get-default-namespace-setting
command. - Added
databricks settings get-restrict-workspace-admins-setting
command. - Added
databricks settings update-default-namespace-setting
command. - Added
databricks settings update-restrict-workspace-admins-setting
command. - Changed
databricks token-management create-obo-token
command with new required argument order. - Changed
databricks token-management get
command to return . - Changed
databricks dashboards create
command . New request type is . - Added
databricks dashboards update
command.
OpenAPI commit c40670f5a2055c92cf0a6aac92a5bccebfb80866 (2024-02-14)
Dependency updates:
v0.212.4
Bundles:
- Allow specifying executable in artifact section and skip bash from WSL (#1169).
- Added warning when trying to deploy bundle with
--fail-on-active-runs
and running resources (#1163). - Group bundle run flags by job and pipeline types (#1174).
- Make sure grouped flags are added to the command flag set (#1180).
- Add short_name helper function to bundle init templates (#1167).
Internal:
- Fix dynamic representation of zero values in maps and slices (#1154).
- Refactor library to artifact matching to not use pointers (#1172).
- Harden
dyn.Value
equality check (#1173). - Ensure every variable reference is passed to lookup function (#1176).
- Empty struct should yield empty map in
convert.FromTyped
(#1177). - Zero destination struct in
convert.ToTyped
(#1178). - Fix integration test with invalid configuration (#1182).
- Use
acc.WorkspaceTest
helper from bundle integration tests (#1181).
v0.212.3
v0.212.2
CLI:
- Prompt for account profile only for account-level command execution instead of during
databricks labs install
flow (#1128). - Bring back
--json
flag for workspace-conf set-status command (#1151).
Bundles:
- Set
run_as
permissions after variable interpolation (#1141). - Add functionality to visit values in
dyn.Value
tree (#1142). - Add
dynvar
package for variable resolution with adyn.Value
tree (#1143). - Add support for
anyOf
toskip_prompt_if
(#1133). - Added
bundle generate pipeline
command (#1139).
Internal:
- Use MockWorkspaceClient from SDK instead of WithImpl mocking (#1134).
Dependency updates:
v0.212.1
CLI:
- Fix windows style file paths in fs cp command (#1118).
- Do not require positional arguments if they should be provided in JSON (#1125).
- Always require path parameters as positional arguments (#1129).
Bundles:
- Add debug log line for when bundle init is run from non-TTY interface (#1117).
- Added
databricks bundle generate job
command (#1043). - Support passing job parameters to bundle run (#1115).
Dependency updates:
- Bump golang.org/x/oauth2 from 0.15.0 to 0.16.0 (#1124).
v0.212.0
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
ifbash
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
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: