Skip to content

Releases: databricks/cli

v0.226.0

19 Aug 11:34
v0.226.0
beced9f
Compare
Choose a tag to compare

CLI:

  • Add command line autocomplete to the fs commands (#1622).
  • Add trailing slash to directory to produce completions for (#1666).
  • Fix ability to import the CLI repository as module (#1671).
  • Fix host resolution order in auth login (#1370).
  • Print text logs in import-dir and export-dir commands (#1682).

Bundles:

  • Expand and upload local wheel libraries for all task types (#1649).
  • Clarify file format required for the config-file flag in bundle init (#1651).
  • Fixed incorrectly cleaning up python wheel dist folder (#1656).
  • Merge job parameters based on their name (#1659).
  • Fix glob expansion after running a generic build command (#1662).
  • Upload local libraries even if they don't have artifact defined (#1664).

Internal:

  • Fix python wheel task integration tests (#1648).
  • Skip pushing Terraform state after destroy (#1667).
  • Enable Spark JAR task test (#1658).
  • Run Spark JAR task test on multiple DBR versions (#1665).
  • Stop tracking file path locations in bundle resources (#1673).
  • Update VS Code settings to match latest value from IDE plugin (#1677).
  • Use service.NamedIdMap to make lookup generation deterministic (#1678).
  • [Internal] Remove dependency to the openapi package of the Go SDK (#1676).
  • Upgrade TF provider to 1.50.0 (#1681).
  • Upgrade Go SDK to 0.44.0 (#1679).

API Changes:

  • Changed databricks account budgets create command . New request type is .
  • Changed databricks account budgets create command to return .
  • Changed databricks account budgets delete command . New request type is .
  • Changed databricks account budgets delete command to return .
  • Changed databricks account budgets get command . New request type is .
  • Changed databricks account budgets get command to return .
  • Changed databricks account budgets list command to require request of .
  • Changed databricks account budgets list command to return .
  • Changed databricks account budgets update command . New request type is .
  • Changed databricks account budgets update command to return .
  • Added databricks account usage-dashboards command group.
  • Changed databricks model-versions get command to return .
  • Changed databricks cluster-policies create command with new required argument order.
  • Changed databricks cluster-policies edit command with new required argument order.
  • Added databricks clusters update command.
  • Added databricks genie command group.
  • Changed databricks permission-migration migrate-permissions command . New request type is .
  • Changed databricks permission-migration migrate-permissions command to return .
  • Changed databricks account workspace-assignment delete command to return .
  • Changed databricks account workspace-assignment update command with new required argument order.
  • Changed databricks account custom-app-integration create command with new required argument order.
  • Changed databricks account custom-app-integration list command to require request of .
  • Changed databricks account published-app-integration list command to require request of .
  • Removed databricks apps command group.
  • Added databricks notification-destinations command group.
  • Changed databricks shares list command to require request of .
  • Changed databricks alerts create command . New request type is .
  • Changed databricks alerts delete command . New request type is .
  • Changed databricks alerts delete command to return .
  • Changed databricks alerts get command with new required argument order.
  • Changed databricks alerts list command to require request of .
  • Changed databricks alerts list command to return .
  • Changed databricks alerts update command . New request type is .
  • Changed databricks alerts update command to return .
  • Changed databricks queries create command . New request type is .
  • Changed databricks queries delete command . New request type is .
  • Changed databricks queries delete command to return .
  • Changed databricks queries get command with new required argument order.
  • Changed databricks queries list command to return .
  • Removed databricks queries restore command.
  • Changed databricks queries update command . New request type is .
  • Added databricks queries list-visualizations command.
  • Changed databricks query-visualizations create command . New request type is .
  • Changed databricks query-visualizations delete command . New request type is .
  • Changed databricks query-visualizations delete command to return .
  • Changed databricks query-visualizations update command . New request type is .
  • Changed databricks statement-execution execute-statement command to return .
  • Changed databricks statement-execution get-statement command to return .
  • Added databricks alerts-legacy command group.
  • Added databricks queries-legacy command group.
  • Added databricks query-visualizations-legacy command group.

OpenAPI commit f98c07f9c71f579de65d2587bb0292f83d10e55d (2024-08-12)
Dependency updates:

  • Bump github.com/hashicorp/hc-install from 0.7.0 to 0.8.0 (#1652).
  • Bump golang.org/x/sync from 0.7.0 to 0.8.0 (#1655).
  • Bump golang.org/x/mod from 0.19.0 to 0.20.0 (#1654).
  • Bump golang.org/x/oauth2 from 0.21.0 to 0.22.0 (#1653).
  • Bump golang.org/x/text from 0.16.0 to 0.17.0 (#1670).
  • Bump golang.org/x/term from 0.22.0 to 0.23.0 (#1669).

Snapshot

12 Apr 20:07
ab4e809
Compare
Choose a tag to compare
Snapshot Pre-release
Pre-release

Snapshot build of the main branch. Updated automatically on each commit.

v0.225.0

31 Jul 17:07
630a56e
Compare
Choose a tag to compare

Bundles:

  • Add resource for UC schemas to DABs (#1413).

Internal:

  • Use dynamic walking to validate unique resource keys (#1614).
  • Regenerate TF schema (#1635).
  • Add upgrade and upgrade eager flags to pip install call (#1636).
  • Added test for negation pattern in sync include exclude section (#1637).
  • Use precomputed terraform plan for bundle deploy (#1640).

v0.224.1

26 Jul 09:44
383d580
Compare
Choose a tag to compare

Bundles:

  • Add UUID function to bundle template functions (#1612).
  • Upgrade TF provider to 1.49.0 (#1617).
  • Upgrade TF provider to 1.49.1 (#1626).
  • Support multiple locations for diagnostics (#1610).
  • Split artifact cleanup into prepare step before build (#1618).
  • Move to a single prompt during bundle destroy (#1583).

Internal:

  • Add tests for the Workspace API readahead cache (#1605).
  • Update Python dependencies before install when upgrading a labs project (#1624).

v0.224.0

18 Jul 15:27
c8ce18f
Compare
Choose a tag to compare

CLI:

  • Do not buffer files in memory when downloading (#1599).

Bundles:

  • Allow artifacts (JARs, wheels) to be uploaded to UC Volumes (#1591).
  • Upgrade TF provider to 1.48.3 (#1600).
  • Fixed job name normalisation for bundle generate (#1601).

Internal:

  • Add UUID to uniquely identify a deployment state (#1595).
  • Track multiple locations associated with a dyn.Value (#1510).
  • Attribute Terraform API requests the CLI (#1598).
  • Implement readahead cache for Workspace API calls (#1582).
  • Add read-only mode for extension aware workspace filer (#1609).

Dependency updates:

  • Bump github.com/databricks/databricks-sdk-go from 0.43.0 to 0.43.2 (#1594).

v0.223.2

10 Jul 12:13
v0.223.2
61cb0f2
Compare
Choose a tag to compare

Bundles:

  • Override complex variables with target overrides instead of merging (#1567).
  • Rewrite local path for libraries in foreach tasks (#1569).
  • Change SetVariables mutator to mutate dynamic configuration instead (#1573).
  • Return early in bundle destroy if no deployment exists (#1581).
  • Let notebook detection code use underlying metadata if available (#1574).
  • Remove schema override for variable default value (#1536).
  • Print diagnostics in 'bundle deploy' (#1579).

Internal:

  • Update actions/upload-artifact to v4 (#1559).
  • Use Go 1.22 to build and test (#1562).
  • Move bespoke status call to main workspace files filer (#1570).
  • Add new template (#1578).
  • Add regression tests for CLI error output (#1566).

Dependency updates:

  • Bump golang.org/x/mod from 0.18.0 to 0.19.0 (#1576).
  • Bump golang.org/x/term from 0.21.0 to 0.22.0 (#1577).

v0.223.1

03 Jul 16:49
v0.223.1
bf27542
Compare
Choose a tag to compare

This bugfix release fixes missing error messages in v0.223.0.

CLI:

v0.223.0

03 Jul 12:34
v0.223.0
2a73d77
Compare
Choose a tag to compare

Bundles:

As of this release you can interact with bundles when running the CLI on DBR (e.g. via the Web Terminal).

  • Fix non-default project names not working in dbt-sql template (#1500).
  • Improve bundle validate output (#1532).
  • Fixed resolving variable references inside slice variable (#1550).
  • Fixed bundle not loading when empty variable is defined (#1552).
  • Use vfs.Path for filesystem interaction (#1554).
  • Replace vfs.Path with extension-aware filer when running on DBR (#1556).

Internal:

  • merge.Override: Fix handling of dyn.NilValue (#1530).
  • Compare .Kind() instead of direct equality checks on a dyn.Value (#1520).
  • PythonMutator: register product in user agent extra (#1533).
  • Ignore dyn.NilValue when traversing value from dyn.Map (#1547).
  • Add extra tests for the sync block (#1548).
  • PythonMutator: add diagnostics (#1531).
  • PythonMutator: support omitempty in PyDABs (#1513).
  • PythonMutator: allow insert 'resources' and 'resources.jobs' (#1555).

v0.222.0

26 Jun 12:32
v0.222.0
cdd6fe8
Compare
Choose a tag to compare

CLI:

  • Add link to documentation for Homebrew installation to README (#1505).
  • Fix databricks configure to use DATABRICKS_CONFIG_FILE environment variable if exists as config file (#1325).

Bundles:

The Terraform upgrade to v1.48.0 includes a fix for library order not being respected.

  • Fix conditional in query in default-sql template (#1479).
  • Remove user credentials specified in the Git origin URL (#1494).
  • Serialize dynamic value for bundle validate output (#1499).
  • Override variables with lookup value even if values has default value set (#1504).
  • Pause quality monitors when "mode: development" is used (#1481).
  • Return fs.ModeDir for Git folders in the workspace (#1521).
  • Upgrade TF provider to 1.48.0 (#1527).
  • Added support for complex variables (#1467).

Internal:

  • Add randIntn function (#1475).
  • Avoid multiple file tree traversals on bundle deploy (#1493).
  • Clean up unused code (#1502).
  • Use dyn.InvalidValue to indicate absence (#1507).
  • Add ApplyPythonMutator (#1430).
  • Set bool pointer to disable lock (#1516).
  • Allow the any type to be set to nil in convert.FromTyped (#1518).
  • Properly deal with nil values in convert.FromTyped (#1511).
  • Return dyn.InvalidValue instead of dyn.NilValue when errors happen (#1514).
  • PythonMutator: replace stdin/stdout with files (#1512).
  • Add context type and value to path rewriting (#1525).

API Changes:

  • Added schedule CRUD commands to databricks lakeview.
  • Added subscription CRUD commands to databricks lakeview.
  • Added databricks apps start command.

OpenAPI commit 7437dabb9dadee402c1fc060df4c1ce8cc5369f0 (2024-06-24)

Dependency updates:

  • Bump golang.org/x/text from 0.15.0 to 0.16.0 (#1482).
  • Bump golang.org/x/term from 0.20.0 to 0.21.0 (#1483).
  • Bump golang.org/x/mod from 0.17.0 to 0.18.0 (#1484).
  • Bump golang.org/x/oauth2 from 0.20.0 to 0.21.0 (#1485).
  • Bump github.com/briandowns/spinner from 1.23.0 to 1.23.1 (#1495).
  • Bump github.com/spf13/cobra from 1.8.0 to 1.8.1 (#1496).
  • Bump github.com/databricks/databricks-sdk-go from 0.42.0 to 0.43.0 (#1522).

v0.221.1

05 Jun 12:37
v0.221.1
8c9fff3
Compare
Choose a tag to compare

Bundles:

This releases fixes an issue introduced in v0.221.0 where managing jobs with a single-node cluster would fail.

  • Fix SQL schema selection in default-sql template (#1471).
  • Copy-editing for SQL templates (#1474).
  • Upgrade TF provider to 1.47.0 (#1476).

Internal:

  • Use latest version of goreleaser action (#1477).