Commit Graph

79 Commits

Author SHA1 Message Date
Andrew Nester 6b4b908682
[Release] Release v0.237.0 ()
Bundles:
* Allow overriding compute for non-development mode targets
([](https://github.com/databricks/cli/pull/1899)).
* Show an error when using a cluster override with 'mode: production'
([](https://github.com/databricks/cli/pull/1994)).

API Changes:
 * Added `databricks account federation-policy` command group.
* Added `databricks account service-principal-federation-policy` command
group.
* Added `databricks aibi-dashboard-embedding-access-policy delete`
command.
* Added `databricks aibi-dashboard-embedding-approved-domains delete`
command.

OpenAPI commit a6a317df8327c9b1e5cb59a03a42ffa2aabeef6d (2024-12-16)
Dependency updates:
* Upgrade TF provider to 1.62.0
([](https://github.com/databricks/cli/pull/2030)).
* Upgrade Go SDK to 0.54.0
([](https://github.com/databricks/cli/pull/2029)).
* Bump TF codegen dependencies to latest
([](https://github.com/databricks/cli/pull/1961)).
* Bump golang.org/x/term from 0.26.0 to 0.27.0
([](https://github.com/databricks/cli/pull/1983)).
* Bump golang.org/x/sync from 0.9.0 to 0.10.0
([](https://github.com/databricks/cli/pull/1984)).
* Bump github.com/databricks/databricks-sdk-go from 0.52.0 to 0.53.0
([](https://github.com/databricks/cli/pull/1985)).
* Bump golang.org/x/crypto from 0.24.0 to 0.31.0
([](https://github.com/databricks/cli/pull/2006)).
* Bump golang.org/x/crypto from 0.30.0 to 0.31.0 in
/bundle/internal/tf/codegen
([](https://github.com/databricks/cli/pull/2005)).
2024-12-18 17:17:02 +01:00
Pieter Noordhuis 7ffe93e4d0
[Release] Release v0.236.0 ()
**New features for Databricks Asset Bundles:**

This release adds support for managing Unity Catalog volumes as part of
your bundle configuration.

Bundles:
* Add DABs support for Unity Catalog volumes
([](https://github.com/databricks/cli/pull/1762)).
* Support lookup by name of notification destinations
([](https://github.com/databricks/cli/pull/1922)).
* Extend "notebook not found" error to warn about missing extension
([](https://github.com/databricks/cli/pull/1920)).
* Skip sync warning if no sync paths are defined
([](https://github.com/databricks/cli/pull/1926)).
* Add validation for single node clusters
([](https://github.com/databricks/cli/pull/1909)).
* Fix segfault in bundle summary command
([](https://github.com/databricks/cli/pull/1937)).
* Add the `bundle_uuid` helper function for templates
([](https://github.com/databricks/cli/pull/1947)).
* Add default value for `volume_type` for DABs
([](https://github.com/databricks/cli/pull/1952)).
* Properly read Git metadata when running inside workspace
([](https://github.com/databricks/cli/pull/1945)).
* Upgrade TF provider to 1.59.0
([](https://github.com/databricks/cli/pull/1960)).

Internal:
* Breakout variable lookup into separate files and tests
([](https://github.com/databricks/cli/pull/1921)).
* Add golangci-lint v1.62.2
([](https://github.com/databricks/cli/pull/1953)).

Dependency updates:
* Bump golang.org/x/term from 0.25.0 to 0.26.0
([](https://github.com/databricks/cli/pull/1907)).
* Bump github.com/Masterminds/semver/v3 from 3.3.0 to 3.3.1
([](https://github.com/databricks/cli/pull/1930)).
* Bump github.com/stretchr/testify from 1.9.0 to 1.10.0
([](https://github.com/databricks/cli/pull/1932)).
* Bump github.com/databricks/databricks-sdk-go from 0.51.0 to 0.52.0
([](https://github.com/databricks/cli/pull/1931)).
2024-12-05 14:39:26 +00:00
Pieter Noordhuis ade95d9649
[Release] Release v0.235.0 ()
**Note:** the `bundle generate` command now uses the
`.<resource-type>.yml`
sub-extension for the configuration files it writes. Existing
configuration
files that do not use this sub-extension are renamed to include it.

Bundles:
* Make `TableName` field part of quality monitor schema
([](https://github.com/databricks/cli/pull/1903)).
* Do not prepend paths starting with ~ or variable reference
([](https://github.com/databricks/cli/pull/1905)).
* Fix workspace extensions filer accidentally reading notebooks
([](https://github.com/databricks/cli/pull/1891)).
* Fix template initialization when running on Databricks
([](https://github.com/databricks/cli/pull/1912)).
* Source-linked deployments for bundles in the workspace
([](https://github.com/databricks/cli/pull/1884)).
* Added integration test to deploy bundle to /Shared root path
([](https://github.com/databricks/cli/pull/1914)).
* Update filenames used by bundle generate to use `.<resource-type>.yml`
([](https://github.com/databricks/cli/pull/1901)).

Internal:
* Extract functionality to detect if the CLI is running on DBR
([](https://github.com/databricks/cli/pull/1889)).
* Consolidate test helpers for `io/fs`
([](https://github.com/databricks/cli/pull/1906)).
* Use `fs.FS` interface to read template
([](https://github.com/databricks/cli/pull/1910)).
* Use `filer.Filer` to write template instantiation
([](https://github.com/databricks/cli/pull/1911)).
2024-11-20 14:48:18 +00:00
Andrew Nester 2edfb6cfea
[Release] Release v0.234.0 ()
Bundles:
* Do not execute build on bundle destroy
([](https://github.com/databricks/cli/pull/1882)).
* Add support for non-Python ipynb notebooks to DABs
([](https://github.com/databricks/cli/pull/1827)).

API Changes:
 * Added `databricks credentials` command group.
* Changed `databricks lakeview create` command with new required
argument order.

OpenAPI commit d25296d2f4aa7bd6195c816fdf82e0f960f775da (2024-11-07)
Dependency updates:
* Upgrade TF provider to 1.58.0
([](https://github.com/databricks/cli/pull/1900)).
* Bump golang.org/x/sync from 0.8.0 to 0.9.0
([](https://github.com/databricks/cli/pull/1892)).
* Bump golang.org/x/text from 0.19.0 to 0.20.0
([](https://github.com/databricks/cli/pull/1893)).
* Bump golang.org/x/mod from 0.21.0 to 0.22.0
([](https://github.com/databricks/cli/pull/1895)).
* Bump golang.org/x/oauth2 from 0.23.0 to 0.24.0
([](https://github.com/databricks/cli/pull/1894)).
* Bump github.com/databricks/databricks-sdk-go from 0.49.0 to 0.51.0
([](https://github.com/databricks/cli/pull/1878)).
2024-11-14 14:38:52 +00:00
Andrew Nester b6a376bf8a
[Release] Release v0.233.0 ()
CLI:
* Clean host URL in the `auth login` command
([](https://github.com/databricks/cli/pull/1879)).

Bundles:
* Fix bundle run when run interactively
([](https://github.com/databricks/cli/pull/1880)).
* Fix relative path resolution for dashboards on Windows
([](https://github.com/databricks/cli/pull/1881)).

Internal:
* Address goreleaser deprecation warning
([](https://github.com/databricks/cli/pull/1872)).
* Update actions/github-script to v7
([](https://github.com/databricks/cli/pull/1873)).
 * Use Go 1.23 ([](https://github.com/databricks/cli/pull/1871)).
* [Internal] Always write message for manual integration test trigger
([](https://github.com/databricks/cli/pull/1874)).
* Add `cmd-exec-id` to user agent
([](https://github.com/databricks/cli/pull/1808)).
* Added E2E test to run Python wheels on interactive cluster created in
bundle ([](https://github.com/databricks/cli/pull/1864)).


Dependency updates:
* Bump github.com/hashicorp/terraform-json from 0.22.1 to 0.23.0
([](https://github.com/databricks/cli/pull/1877)).
2024-11-06 14:03:54 +00:00
Andrew Nester a56d082910
[Release] Release v0.232.1 ()
This patch release fixes the following error observed when deploying to
/Shared root folder
"Error: Path (/Shared/.bundle/.../resources) doesn't exist"

Bundles:
* Fixed adding /Workspace prefix for resource paths
([](https://github.com/databricks/cli/pull/1866)).
2024-10-30 18:02:49 +00:00
Andrew Nester 001a8da882
[Release] Release v0.232.0 ()
**New features for Databricks Asset Bundles:**

This release adds support for managing AI/BI dashboards as part of your
bundle configuration. The `bundle generate` command is updated to
support producing dashboard bundle configuration as well as a serialized
JSON representation of the dashboard.
You can find an example configuration and walkthrough at
https://github.com/databricks/bundle-examples/tree/main/knowledge_base/dashboard_nyc_taxi

CLI:
* Add privacy notice to README
([](https://github.com/databricks/cli/pull/1841)).

Bundles:
* Add support for AI/BI dashboards
([](https://github.com/databricks/cli/pull/1743)).
* Added validator for folder permissions
([](https://github.com/databricks/cli/pull/1824)).
* Add bundle generate variant for dashboards
([](https://github.com/databricks/cli/pull/1847)).
* Use SetPermissions instead of UpdatePermissions when setting folder
permissions based on top-level ones
([](https://github.com/databricks/cli/pull/1822)).

Internal:
* Attempt to reduce test flakiness on Windows
([](https://github.com/databricks/cli/pull/1845)).
* Reuse resource resolution code for the run command
([](https://github.com/databricks/cli/pull/1858)).
* [Internal] Automatically trigger integration tests on PR
([](https://github.com/databricks/cli/pull/1857)).
* [Internal] Add test instructions for external contributors
([](https://github.com/databricks/cli/pull/1863)).
* Add `libs/dyn/jsonsaver`
([](https://github.com/databricks/cli/pull/1862)).


Dependency updates:
* Bump github.com/fatih/color from 1.17.0 to 1.18.0
([](https://github.com/databricks/cli/pull/1861)).

---------

Co-authored-by: Pieter Noordhuis <pieter.noordhuis@databricks.com>
2024-10-30 14:39:02 +00:00
Andrew Nester ab622e65bb
[Release] Release v0.231.0 ()
CLI:
* Added JSON input validation for CLI commands
([](https://github.com/databricks/cli/pull/1771)).
* Support Git worktrees for `sync`
([](https://github.com/databricks/cli/pull/1831)).

Bundles:
* Add `bundle summary` to display URLs for deployed resources
([](https://github.com/databricks/cli/pull/1731)).
* Added a warning when incorrect permissions used for
`/Workspace/Shared` bundle root
([](https://github.com/databricks/cli/pull/1821)).
* Show actionable errors for collaborative deployment scenarios
([](https://github.com/databricks/cli/pull/1386)).
* Fix path to repository-wide exclude file
([](https://github.com/databricks/cli/pull/1837)).
* Fixed typo in converting cluster permissions
([](https://github.com/databricks/cli/pull/1826)).
* Ignore metastore permission error during template generation
([](https://github.com/databricks/cli/pull/1819)).
* Handle normalization of `dyn.KindTime` into an any type
([](https://github.com/databricks/cli/pull/1836)).
* Added support for pip options in environment dependencies
([](https://github.com/databricks/cli/pull/1842)).
* Fix race condition when restarting continuous jobs
([](https://github.com/databricks/cli/pull/1849)).
* Fix pipeline in default-python template not working for certain
workspaces ([](https://github.com/databricks/cli/pull/1854)).
* Add "output" flag to the bundle sync command
([](https://github.com/databricks/cli/pull/1853)).

Internal:
* Move utility functions dealing with IAM to libs/iamutil
([](https://github.com/databricks/cli/pull/1820)).
* Remove unused `IS_OWNER` constant
([](https://github.com/databricks/cli/pull/1823)).
* Assert SDK version is consistent in the CLI generation process
([](https://github.com/databricks/cli/pull/1814)).
* Fixed unmarshalling json input into `interface{}` type
([](https://github.com/databricks/cli/pull/1832)).
* Fix `TestAccFsMkdirWhenFileExistsAtPath` in isolated Azure
environments ([](https://github.com/databricks/cli/pull/1833)).
* Add behavioral tests for examples from the YAML spec
([](https://github.com/databricks/cli/pull/1835)).
* Remove Terraform conversion function that's no longer used
([](https://github.com/databricks/cli/pull/1840)).
* Encode assumptions about the dashboards API in a test
([](https://github.com/databricks/cli/pull/1839)).
* Add script to make testing of code on branches easier
([](https://github.com/databricks/cli/pull/1844)).

API Changes:
 * Added `databricks disable-legacy-dbfs` command group.

OpenAPI commit cf9c61453990df0f9453670f2fe68e1b128647a2 (2024-10-14)
Dependency updates:
* Upgrade TF provider to 1.54.0
([](https://github.com/databricks/cli/pull/1852)).
* Bump github.com/databricks/databricks-sdk-go from 0.48.0 to 0.49.0
([](https://github.com/databricks/cli/pull/1843)).
2024-10-23 14:08:27 +00:00
Andrew Nester c92c67afc9
[Release] Release v0.230.0 ()
Notable changes for Databricks Asset Bundles:

Workspace paths are automatically prefixed with `/Workspace`. In
addition, all usage of path strings such as
`/Workspace/${workspace.root_path}/...` in bundle configuration is
automatically replaced with `${workspace.root_path}/...` and generates a
warning as part of bundle validate.

More details can be find here:
https://docs.databricks.com/en/release-notes/dev-tools/bundles.html#workspace-paths-will-be-automatically-prefixed

Bundles:
* Add an error if state files grow bigger than the export limit
([](https://github.com/databricks/cli/pull/1795)).
* Always prepend bundle remote paths with /Workspace
([](https://github.com/databricks/cli/pull/1724)).
* Add resource path field to bundle workspace configuration
([](https://github.com/databricks/cli/pull/1800)).
* Add validation for files with a `.(resource-name).yml` extension
([](https://github.com/databricks/cli/pull/1780)).

Internal:
* Remove deprecated or readonly fields from the bundle schema
([](https://github.com/databricks/cli/pull/1809)).

API Changes:
* Changed `databricks git-credentials create`, `databricks
git-credentials delete`, `databricks git-credentials get`, `databricks
git-credentials list`, `databricks git-credentials update` commands .
* Changed `databricks repos create`, `databricks repos delete`,
`databricks repos get`, `databricks repos update` command .

OpenAPI commit 0c86ea6dbd9a730c24ff0d4e509603e476955ac5 (2024-10-02)
Dependency updates:
* Upgrade TF provider to 1.53.0
([](https://github.com/databricks/cli/pull/1815)).
* Bump golang.org/x/term from 0.24.0 to 0.25.0
([](https://github.com/databricks/cli/pull/1811)).
* Bump golang.org/x/text from 0.18.0 to 0.19.0
([](https://github.com/databricks/cli/pull/1812)).
* Bump github.com/databricks/databricks-sdk-go from 0.47.0 to 0.48.0
([](https://github.com/databricks/cli/pull/1810)).

---------

Co-authored-by: Pieter Noordhuis <pieter.noordhuis@databricks.com>
2024-10-09 13:06:57 +00:00
Andrew Nester c28d64f2dc
[Release] Release v0.229.0 ()
Bundles:
* Added support for creating all-purpose clusters
([](https://github.com/databricks/cli/pull/1698)).
* Reduce time until the prompt is shown for bundle run
([](https://github.com/databricks/cli/pull/1727)).
* Use Unity Catalog for pipelines in the default-python template
([](https://github.com/databricks/cli/pull/1766)).
* Add verbose flag to the "bundle deploy" command
([](https://github.com/databricks/cli/pull/1774)).
* Fixed full variable override detection
([](https://github.com/databricks/cli/pull/1787)).
* Add sub-extension to resource files in built-in templates
([](https://github.com/databricks/cli/pull/1777)).
* Fix panic in `apply_presets.go`
([](https://github.com/databricks/cli/pull/1796)).

Internal:
* Assert tokens are redacted in origin URL when username is not
specified ([](https://github.com/databricks/cli/pull/1785)).
* Refactor jobs path translation
([](https://github.com/databricks/cli/pull/1782)).
* Add JobTaskClusterSpec validate mutator
([](https://github.com/databricks/cli/pull/1784)).
* Pin Go toolchain to 1.22.7
([](https://github.com/databricks/cli/pull/1790)).
* Modify SetLocation test utility to take full locations as argument
([](https://github.com/databricks/cli/pull/1788)).
* Simplified isFullVariableOverrideDef implementation
([](https://github.com/databricks/cli/pull/1791)).
* Sort tasks by `task_key` before generating the Terraform configuration
([](https://github.com/databricks/cli/pull/1776)).
* Trim trailing whitespace
([](https://github.com/databricks/cli/pull/1794)).
* Move trampoline code into trampoline package
([](https://github.com/databricks/cli/pull/1793)).
* Rename `RootPath` -> `BundleRootPath`
([](https://github.com/databricks/cli/pull/1792)).

API Changes:
 * Changed `databricks apps delete` command to return .
* Changed `databricks apps deploy` command with new required argument
order.
 * Changed `databricks apps start` command to return .
 * Changed `databricks apps stop` command to return .
 * Added `databricks temporary-table-credentials` command group.
 * Added `databricks serving-endpoints put-ai-gateway` command.
 * Added `databricks disable-legacy-access` command group.
 * Added `databricks account disable-legacy-features` command group.

OpenAPI commit 6f6b1371e640f2dfeba72d365ac566368656f6b6 (2024-09-19)
Dependency updates:
* Upgrade to Go SDK 0.47.0
([](https://github.com/databricks/cli/pull/1799)).
* Upgrade to TF provider 1.52
([](https://github.com/databricks/cli/pull/1781)).
* Bump golang.org/x/mod from 0.20.0 to 0.21.0
([](https://github.com/databricks/cli/pull/1758)).
* Bump github.com/hashicorp/hc-install from 0.7.0 to 0.9.0
([](https://github.com/databricks/cli/pull/1772)).
2024-10-01 13:20:17 +00:00
Andrew Nester e2c1d51d84
[Release] Release v0.228.1 ()
Bundles:
* Added listing cluster filtering for cluster lookups
([](https://github.com/databricks/cli/pull/1754)).
* Expand library globs relative to the sync root
([](https://github.com/databricks/cli/pull/1756)).
* Fixed generated YAML missing 'default' for empty values
([](https://github.com/databricks/cli/pull/1765)).
* Use periodic triggers in all templates
([](https://github.com/databricks/cli/pull/1739)).
* Use the friendly name of service principals when shortening their name
([](https://github.com/databricks/cli/pull/1770)).
* Fixed detecting full syntax variable override which includes type
field ([](https://github.com/databricks/cli/pull/1775)).

Internal:
* Pass copy of `dyn.Path` to callback function
([](https://github.com/databricks/cli/pull/1747)).
* Make bundle JSON schema modular with `$defs`
([](https://github.com/databricks/cli/pull/1700)).
* Alias variables block in the `Target` struct
([](https://github.com/databricks/cli/pull/1748)).
* Add end to end integration tests for bundle JSON schema
([](https://github.com/databricks/cli/pull/1726)).
* Fix artifact upload integration tests
([](https://github.com/databricks/cli/pull/1767)).

API Changes:
 * Added `databricks quality-monitors regenerate-dashboard` command.

OpenAPI commit d05898328669a3f8ab0c2ecee37db2673d3ea3f7 (2024-09-04)
Dependency updates:
* Bump golang.org/x/term from 0.23.0 to 0.24.0
([](https://github.com/databricks/cli/pull/1757)).
* Bump golang.org/x/oauth2 from 0.22.0 to 0.23.0
([](https://github.com/databricks/cli/pull/1761)).
* Bump golang.org/x/text from 0.17.0 to 0.18.0
([](https://github.com/databricks/cli/pull/1759)).
* Bump github.com/databricks/databricks-sdk-go from 0.45.0 to 0.46.0
([](https://github.com/databricks/cli/pull/1760)).
2024-09-18 11:26:16 +00:00
Andrew Nester f71d9e7649
[Release] Release v0.228.0 ()
CLI:
* Do not error if we cannot prompt for a profile in `auth login`
([](https://github.com/databricks/cli/pull/1745)).

Bundles:

As of this release CLI will show a prompt is if there are configuration
changes which will lead to a DLT recreation.
Users can skip the prompt by specifying the `--auto-approve` flag

* Pass along $AZURE_CONFIG_FILE to Terraform process
([](https://github.com/databricks/cli/pull/1734)).
* Add prompt when a pipeline recreation happens
([](https://github.com/databricks/cli/pull/1672)).
* Use materialized views in the default-sql template
([](https://github.com/databricks/cli/pull/1709)).
* Update templates to latest LTS DBR
([](https://github.com/databricks/cli/pull/1715)).
* Make lock optional in the JSON schema
([](https://github.com/databricks/cli/pull/1738)).
* Do not suppress normalisation diagnostics for resolving variables
([](https://github.com/databricks/cli/pull/1740)).
* Include a permissions section in all templates
([](https://github.com/databricks/cli/pull/1713)).
* Fixed complex variables are not being correctly merged from include
files ([](https://github.com/databricks/cli/pull/1746)).
* Fixed variable override in target with full variable syntax
([](https://github.com/databricks/cli/pull/1749)).

Internal:
* Consider serverless clusters as compatible for Python wheel tasks
([](https://github.com/databricks/cli/pull/1733)).
* PythonMutator: explain missing package error
([](https://github.com/databricks/cli/pull/1736)).
* Add `dyn.Time` to box a timestamp with its original string value
([](https://github.com/databricks/cli/pull/1732)).
* Fix streaming of stdout, stdin, stderr in cobra test runner
([](https://github.com/databricks/cli/pull/1742)).

Dependency updates:
* Bump github.com/Masterminds/semver/v3 from 3.2.1 to 3.3.0
([](https://github.com/databricks/cli/pull/1741)).

---------

Co-authored-by: Pieter Noordhuis <pieter.noordhuis@databricks.com>
2024-09-05 08:56:52 +00:00
Andrew Nester 7dcc791b05
[Release] Release v0.227.1 ()
CLI:
* Disable prompt for storage-credentials get command
([](https://github.com/databricks/cli/pull/1723)).

Bundles:
* Do not treat empty path as a local path
([](https://github.com/databricks/cli/pull/1717)).
* Correctly mark PyPI package name specs with multiple specifiers as
remote libraries ([](https://github.com/databricks/cli/pull/1725)).
* Improve error handling for /Volumes paths in mode: development
([](https://github.com/databricks/cli/pull/1716)).

Internal:
* Ignore CLI version check on development builds of the CLI
([](https://github.com/databricks/cli/pull/1714)).

API Changes:
 * Added `databricks resource-quotas` command group.
 * Added `databricks policy-compliance-for-clusters` command group.
 * Added `databricks policy-compliance-for-jobs` command group.

OpenAPI commit 3eae49b444cac5a0118a3503e5b7ecef7f96527a (2024-08-21)
Dependency updates:
* Bump github.com/databricks/databricks-sdk-go from 0.44.0 to 0.45.0
([](https://github.com/databricks/cli/pull/1719)).
* Revert hc-install version to 0.7.0
([](https://github.com/databricks/cli/pull/1711)).
2024-08-28 13:09:07 +00:00
Andrew Nester 35e48be81c
[Release] Release v0.227.0 ()
CLI:
* Added filtering flags for cluster list commands
([](https://github.com/databricks/cli/pull/1703)).

Bundles:
* Remove reference to "dbt" in the default-sql template
([](https://github.com/databricks/cli/pull/1696)).
* Pause continuous pipelines when 'mode: development' is used
([](https://github.com/databricks/cli/pull/1590)).
* Add configurable presets for name prefixes, tags, etc.
([](https://github.com/databricks/cli/pull/1490)).
* Report all empty resources present in error diagnostic
([](https://github.com/databricks/cli/pull/1685)).
* Improves detection of PyPI package names in environment dependencies
([](https://github.com/databricks/cli/pull/1699)).
* [DAB] Add support for requirements libraries in Job Tasks
([](https://github.com/databricks/cli/pull/1543)).
* Add paths field to bundle sync configuration
([](https://github.com/databricks/cli/pull/1694)).

Internal:
* Add `import` option for PyDABs
([](https://github.com/databricks/cli/pull/1693)).
* Make fileset take optional list of paths to list
([](https://github.com/databricks/cli/pull/1684)).
* Pass through paths argument to libs/sync
([](https://github.com/databricks/cli/pull/1689)).
* Correctly mark package names with versions as remote libraries
([](https://github.com/databricks/cli/pull/1697)).
* Share test initializer in common helper function
([](https://github.com/databricks/cli/pull/1695)).
* Make `pydabs/venv_path` optional
([](https://github.com/databricks/cli/pull/1687)).
* Use API mocks for duplicate path errors in workspace files extensions
client ([](https://github.com/databricks/cli/pull/1690)).
* Fix prefix preset used for UC schemas
([](https://github.com/databricks/cli/pull/1704)).
2024-08-22 08:44:22 +00:00
Andrew Nester beced9f1b5
[Release] Release v0.226.0 ()
CLI:
* Add command line autocomplete to the fs commands
([](https://github.com/databricks/cli/pull/1622)).
* Add trailing slash to directory to produce completions for
([](https://github.com/databricks/cli/pull/1666)).
* Fix ability to import the CLI repository as module
([](https://github.com/databricks/cli/pull/1671)).
* Fix host resolution order in `auth login`
([](https://github.com/databricks/cli/pull/1370)).
* Print text logs in `import-dir` and `export-dir` commands
([](https://github.com/databricks/cli/pull/1682)).

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

Internal:
* Fix python wheel task integration tests
([](https://github.com/databricks/cli/pull/1648)).
* Skip pushing Terraform state after destroy
([](https://github.com/databricks/cli/pull/1667)).
* Enable Spark JAR task test
([](https://github.com/databricks/cli/pull/1658)).
* Run Spark JAR task test on multiple DBR versions
([](https://github.com/databricks/cli/pull/1665)).
* Stop tracking file path locations in bundle resources
([](https://github.com/databricks/cli/pull/1673)).
* Update VS Code settings to match latest value from IDE plugin
([](https://github.com/databricks/cli/pull/1677)).
* Use `service.NamedIdMap` to make lookup generation deterministic
([](https://github.com/databricks/cli/pull/1678)).
* [Internal] Remove dependency to the `openapi` package of the Go SDK
([](https://github.com/databricks/cli/pull/1676)).
* Upgrade TF provider to 1.50.0
([](https://github.com/databricks/cli/pull/1681)).
* Upgrade Go SDK to 0.44.0
([](https://github.com/databricks/cli/pull/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
([](https://github.com/databricks/cli/pull/1652)).
* Bump golang.org/x/sync from 0.7.0 to 0.8.0
([](https://github.com/databricks/cli/pull/1655)).
* Bump golang.org/x/mod from 0.19.0 to 0.20.0
([](https://github.com/databricks/cli/pull/1654)).
* Bump golang.org/x/oauth2 from 0.21.0 to 0.22.0
([](https://github.com/databricks/cli/pull/1653)).
* Bump golang.org/x/text from 0.16.0 to 0.17.0
([](https://github.com/databricks/cli/pull/1670)).
* Bump golang.org/x/term from 0.22.0 to 0.23.0
([](https://github.com/databricks/cli/pull/1669)).
2024-08-19 11:27:05 +00:00
Andrew Nester 630a56e41e
Release v0.225.0 ()
Bundles:
* Add resource for UC schemas to DABs
([](https://github.com/databricks/cli/pull/1413)).

Internal:
* Use dynamic walking to validate unique resource keys
([](https://github.com/databricks/cli/pull/1614)).
* Regenerate TF schema
([](https://github.com/databricks/cli/pull/1635)).
* Add upgrade and upgrade eager flags to pip install call
([](https://github.com/databricks/cli/pull/1636)).
* Added test for negation pattern in sync include exclude section
([](https://github.com/databricks/cli/pull/1637)).
* Use precomputed terraform plan for `bundle deploy`
([](https://github.com/databricks/cli/pull/1640)).
2024-07-31 16:47:00 +00:00
Andrew Nester 383d580917
Release v0.224.1 ()
Bundles:
* Add UUID function to bundle template functions
([](https://github.com/databricks/cli/pull/1612)).
* Upgrade TF provider to 1.49.0
([](https://github.com/databricks/cli/pull/1617)).
* Upgrade TF provider to 1.49.1
([](https://github.com/databricks/cli/pull/1626)).
* Support multiple locations for diagnostics
([](https://github.com/databricks/cli/pull/1610)).
* Split artifact cleanup into prepare step before build
([](https://github.com/databricks/cli/pull/1618)).
* Move to a single prompt during bundle destroy
([](https://github.com/databricks/cli/pull/1583)).

Internal:
* Add tests for the Workspace API readahead cache
([](https://github.com/databricks/cli/pull/1605)).
* Update Python dependencies before install when upgrading a labs
project ([](https://github.com/databricks/cli/pull/1624)).
2024-07-26 09:33:36 +00:00
Andrew Nester c8ce18ffa1
Release v0.224.0 ()
CLI:
* Do not buffer files in memory when downloading
([](https://github.com/databricks/cli/pull/1599)).

Bundles:
* Allow artifacts (JARs, wheels) to be uploaded to UC Volumes
([](https://github.com/databricks/cli/pull/1591)).
* Upgrade TF provider to 1.48.3
([](https://github.com/databricks/cli/pull/1600)).
* Fixed job name normalisation for bundle generate
([](https://github.com/databricks/cli/pull/1601)).

Internal:
* Add UUID to uniquely identify a deployment state
([](https://github.com/databricks/cli/pull/1595)).
* Track multiple locations associated with a `dyn.Value`
([](https://github.com/databricks/cli/pull/1510)).
* Attribute Terraform API requests the CLI
([](https://github.com/databricks/cli/pull/1598)).
* Implement readahead cache for Workspace API calls
([](https://github.com/databricks/cli/pull/1582)).
* Use local Terraform state only when lineage match
([](https://github.com/databricks/cli/pull/1588)).
* Add read-only mode for extension aware workspace filer
([](https://github.com/databricks/cli/pull/1609)).


Dependency updates:
* Bump github.com/databricks/databricks-sdk-go from 0.43.0 to 0.43.2
([](https://github.com/databricks/cli/pull/1594)).
2024-07-18 15:07:43 +00:00
Andrew Nester 61cb0f2695
Release v0.223.2 ()
Bundles:
* Override complex variables with target overrides instead of merging
([](https://github.com/databricks/cli/pull/1567)).
* Rewrite local path for libraries in foreach tasks
([](https://github.com/databricks/cli/pull/1569)).
* Change SetVariables mutator to mutate dynamic configuration instead
([](https://github.com/databricks/cli/pull/1573)).
* Return early in bundle destroy if no deployment exists
([](https://github.com/databricks/cli/pull/1581)).
* Let notebook detection code use underlying metadata if available
([](https://github.com/databricks/cli/pull/1574)).
* Remove schema override for variable default value
([](https://github.com/databricks/cli/pull/1536)).
* Print diagnostics in 'bundle deploy'
([](https://github.com/databricks/cli/pull/1579)).

Internal:
* Update actions/upload-artifact to v4
([](https://github.com/databricks/cli/pull/1559)).
* Use Go 1.22 to build and test
([](https://github.com/databricks/cli/pull/1562)).
* Move bespoke status call to main workspace files filer
([](https://github.com/databricks/cli/pull/1570)).
* Add new template
([](https://github.com/databricks/cli/pull/1578)).
* Add regression tests for CLI error output
([](https://github.com/databricks/cli/pull/1566)).

Dependency updates:
* Bump golang.org/x/mod from 0.18.0 to 0.19.0
([](https://github.com/databricks/cli/pull/1576)).
* Bump golang.org/x/term from 0.21.0 to 0.22.0
([](https://github.com/databricks/cli/pull/1577)).
2024-07-10 12:04:59 +00:00
Pieter Noordhuis bf275428b6
Release v0.223.1 ()
This bugfix release fixes missing error messages in v0.223.0.

CLI:
* Fix logic error in
[](https://github.com/databricks/cli/pull/1532)
([](https://github.com/databricks/cli/pull/1564)).
2024-07-03 16:41:55 +00:00
Pieter Noordhuis 2a73d7788b
Release v0.223.0 ()
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
([](https://github.com/databricks/cli/pull/1500)).
* Improve `bundle validate` output
([](https://github.com/databricks/cli/pull/1532)).
* Fixed resolving variable references inside slice variable
([](https://github.com/databricks/cli/pull/1550)).
* Fixed bundle not loading when empty variable is defined
([](https://github.com/databricks/cli/pull/1552)).
* Use `vfs.Path` for filesystem interaction
([](https://github.com/databricks/cli/pull/1554)).
* Replace `vfs.Path` with extension-aware filer when running on DBR
([](https://github.com/databricks/cli/pull/1556)).

Internal:
* merge.Override: Fix handling of dyn.NilValue
([](https://github.com/databricks/cli/pull/1530)).
* Compare `.Kind()` instead of direct equality checks on a `dyn.Value`
([](https://github.com/databricks/cli/pull/1520)).
* PythonMutator: register product in user agent extra
([](https://github.com/databricks/cli/pull/1533)).
* Ignore `dyn.NilValue` when traversing value from `dyn.Map`
([](https://github.com/databricks/cli/pull/1547)).
* Add extra tests for the sync block
([](https://github.com/databricks/cli/pull/1548)).
* PythonMutator: add diagnostics
([](https://github.com/databricks/cli/pull/1531)).
* PythonMutator: support omitempty in PyDABs
([](https://github.com/databricks/cli/pull/1513)).
* PythonMutator: allow insert 'resources' and 'resources.jobs'
([](https://github.com/databricks/cli/pull/1555)).
2024-07-03 12:24:42 +00:00
Pieter Noordhuis cdd6fe8cb9
Release v0.222.0 ()
CLI:
* Add link to documentation for Homebrew installation to README
([](https://github.com/databricks/cli/pull/1505)).
* Fix `databricks configure` to use `DATABRICKS_CONFIG_FILE` environment
variable if exists as config file
([](https://github.com/databricks/cli/pull/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
([](https://github.com/databricks/cli/pull/1479)).
* Remove user credentials specified in the Git origin URL
([](https://github.com/databricks/cli/pull/1494)).
* Serialize dynamic value for `bundle validate` output
([](https://github.com/databricks/cli/pull/1499)).
* Override variables with lookup value even if values has default value
set ([](https://github.com/databricks/cli/pull/1504)).
* Pause quality monitors when "mode: development" is used
([](https://github.com/databricks/cli/pull/1481)).
* Return `fs.ModeDir` for Git folders in the workspace
([](https://github.com/databricks/cli/pull/1521)).
* Upgrade TF provider to 1.48.0
([](https://github.com/databricks/cli/pull/1527)).
* Added support for complex variables
([](https://github.com/databricks/cli/pull/1467)).

Internal:
* Add randIntn function
([](https://github.com/databricks/cli/pull/1475)).
* Avoid multiple file tree traversals on bundle deploy
([](https://github.com/databricks/cli/pull/1493)).
* Clean up unused code
([](https://github.com/databricks/cli/pull/1502)).
* Use `dyn.InvalidValue` to indicate absence
([](https://github.com/databricks/cli/pull/1507)).
* Add ApplyPythonMutator
([](https://github.com/databricks/cli/pull/1430)).
* Set bool pointer to disable lock
([](https://github.com/databricks/cli/pull/1516)).
* Allow the any type to be set to nil in `convert.FromTyped`
([](https://github.com/databricks/cli/pull/1518)).
* Properly deal with nil values in `convert.FromTyped`
([](https://github.com/databricks/cli/pull/1511)).
* Return `dyn.InvalidValue` instead of `dyn.NilValue` when errors happen
([](https://github.com/databricks/cli/pull/1514)).
* PythonMutator: replace stdin/stdout with files
([](https://github.com/databricks/cli/pull/1512)).
* Add context type and value to path rewriting
([](https://github.com/databricks/cli/pull/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
([](https://github.com/databricks/cli/pull/1482)).
* Bump golang.org/x/term from 0.20.0 to 0.21.0
([](https://github.com/databricks/cli/pull/1483)).
* Bump golang.org/x/mod from 0.17.0 to 0.18.0
([](https://github.com/databricks/cli/pull/1484)).
* Bump golang.org/x/oauth2 from 0.20.0 to 0.21.0
([](https://github.com/databricks/cli/pull/1485)).
* Bump github.com/briandowns/spinner from 1.23.0 to 1.23.1
([](https://github.com/databricks/cli/pull/1495)).
* Bump github.com/spf13/cobra from 1.8.0 to 1.8.1
([](https://github.com/databricks/cli/pull/1496)).
* Bump github.com/databricks/databricks-sdk-go from 0.42.0 to 0.43.0
([](https://github.com/databricks/cli/pull/1522)).
2024-06-26 12:24:31 +00:00
Pieter Noordhuis 8c9fff3cb9
Release v0.221.1 ()
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
([](https://github.com/databricks/cli/pull/1471)).
* Copy-editing for SQL templates
([](https://github.com/databricks/cli/pull/1474)).
* Upgrade TF provider to 1.47.0
([](https://github.com/databricks/cli/pull/1476)).

Internal:
* Use latest version of goreleaser action
([](https://github.com/databricks/cli/pull/1477)).
2024-06-05 12:29:20 +00:00
Pieter Noordhuis f8b2cb89d5
Release v0.221.0 ()
CLI:
* Update OpenAPI spec
([](https://github.com/databricks/cli/pull/1466)).

Bundles:
* Upgrade TF provider to 1.46.0
([](https://github.com/databricks/cli/pull/1460)).
* Add support for Lakehouse monitoring
([](https://github.com/databricks/cli/pull/1307)).
* Make dbt-sql and default-sql templates public
([](https://github.com/databricks/cli/pull/1463)).

Internal:
* Abstract over filesystem interaction with libs/vfs
([](https://github.com/databricks/cli/pull/1452)).
* Add `filer.Filer` to read notebooks from WSFS without omitting their
extension ([](https://github.com/databricks/cli/pull/1457)).
* Fix listing notebooks in a subdirectory
([](https://github.com/databricks/cli/pull/1468)).

API Changes:
* Changed `databricks account storage-credentials list` command to
return .
 * Added `databricks consumer-listings batch-get` command.
 * Added `databricks consumer-providers batch-get` command.
 * Removed `databricks apps create-deployment` command.
 * Added `databricks apps deploy` command.

OpenAPI commit 37b925eba37dfb3d7e05b6ba2d458454ce62d3a0 (2024-06-03)

Dependency updates:
* Bump github.com/hashicorp/go-version from 1.6.0 to 1.7.0
([](https://github.com/databricks/cli/pull/1454)).
* Bump github.com/hashicorp/hc-install from 0.6.4 to 0.7.0
([](https://github.com/databricks/cli/pull/1453)).
2024-06-04 11:03:19 +00:00
Pieter Noordhuis 46f6cbcfc3
Release v0.220.0 ()
CLI:
* Add line about Docker installation to README.md
([](https://github.com/databricks/cli/pull/1363)).
* Improve token refresh flow
([](https://github.com/databricks/cli/pull/1434)).

Bundles:
* Upgrade Terraform provider to v1.42.0
([](https://github.com/databricks/cli/pull/1418)).
* Upgrade Terraform provider to v1.43.0
([](https://github.com/databricks/cli/pull/1429)).
* Don't merge-in remote resources during deployments
([](https://github.com/databricks/cli/pull/1432)).
* Remove dependency on `ConfigFilePath` from path translation mutator
([](https://github.com/databricks/cli/pull/1437)).
* Add `merge.Override` transform
([](https://github.com/databricks/cli/pull/1428)).
* Fixed panic when loading incorrectly defined jobs
([](https://github.com/databricks/cli/pull/1402)).
* Add more tests for `merge.Override`
([](https://github.com/databricks/cli/pull/1439)).
* Fixed seg fault when specifying environment key for tasks
([](https://github.com/databricks/cli/pull/1443)).
* Fix conversion of zero valued scalar pointers to a dynamic value
([](https://github.com/databricks/cli/pull/1433)).

Internal:
* Don't hide commands of services that are already hidden
([](https://github.com/databricks/cli/pull/1438)).

API Changes:
 * Renamed `lakehouse-monitors` command group to `quality-monitors`.
 * Added `apps` command group.
* Renamed `csp-enablement` command group to
`compliance-security-profile`.
* Renamed `esm-enablement` command group to
`enhanced-security-monitoring`.
 * Added `databricks vector-search-indexes scan-index` command.

OpenAPI commit 7eb5ad9a2ed3e3f1055968a2d1014ac92c06fe92 (2024-05-21)

Dependency updates:
* Bump golang.org/x/text from 0.14.0 to 0.15.0
([](https://github.com/databricks/cli/pull/1419)).
* Bump golang.org/x/oauth2 from 0.19.0 to 0.20.0
([](https://github.com/databricks/cli/pull/1421)).
* Bump golang.org/x/term from 0.19.0 to 0.20.0
([](https://github.com/databricks/cli/pull/1422)).
* Bump github.com/databricks/databricks-sdk-go from 0.39.0 to 0.40.1
([](https://github.com/databricks/cli/pull/1431)).
* Bump github.com/fatih/color from 1.16.0 to 1.17.0
([](https://github.com/databricks/cli/pull/1441)).
* Bump github.com/hashicorp/terraform-json from 0.21.0 to 0.22.1
([](https://github.com/databricks/cli/pull/1440)).
* Bump github.com/hashicorp/terraform-exec from 0.20.0 to 0.21.0
([](https://github.com/databricks/cli/pull/1442)).
* Update Go SDK to v0.41.0
([](https://github.com/databricks/cli/pull/1445)).
2024-05-22 09:08:27 +00:00
Andrew Nester 4724ecb324
Release v0.219.0 ()
Bundles:
* Don't fail while parsing outdated terraform state
([](https://github.com/databricks/cli/pull/1404)).
* Annotate DLT pipelines when deployed using DABs
([](https://github.com/databricks/cli/pull/1410)).


API Changes:
* Changed `databricks libraries cluster-status` command. New request
type is compute.ClusterStatus.
 * Changed `databricks libraries cluster-status` command to return .
 * Added `databricks serving-endpoints get-open-api` command.

OpenAPI commit 21f9f1482f9d0d15228da59f2cd9f0863d2a6d55 (2024-04-23)
Dependency updates:
* Bump github.com/databricks/databricks-sdk-go from 0.38.0 to 0.39.0
([](https://github.com/databricks/cli/pull/1405)).
2024-05-01 12:09:06 +00:00
Pieter Noordhuis a292eefc2e
Release v0.218.1 ()
This is a bugfix release.

CLI:
* Pass `DATABRICKS_CONFIG_FILE` for `auth profiles`
([](https://github.com/databricks/cli/pull/1394)).

Bundles:
* Show a better error message for using wheel tasks with older DBR
versions ([](https://github.com/databricks/cli/pull/1373)).
* Allow variable references in non-string fields in the JSON schema
([](https://github.com/databricks/cli/pull/1398)).
* Fix variable overrides in targets for non-string variables
([](https://github.com/databricks/cli/pull/1397)).
* Fix bundle schema for variables
([](https://github.com/databricks/cli/pull/1396)).
* Fix bundle documentation URL
([](https://github.com/databricks/cli/pull/1399)).

Internal:
* Removed autogenerated docs for the CLI commands
([](https://github.com/databricks/cli/pull/1392)).
* Remove `JSON.parse` call from homebrew-tap action
([](https://github.com/databricks/cli/pull/1393)).
* Ensure that Python dependencies are installed during upgrade
([](https://github.com/databricks/cli/pull/1390)).
2024-04-25 13:19:23 +00:00
Pieter Noordhuis 27d35d5e1c
Release v0.218.0 ()
This release marks the general availability of Databricks Asset Bundles.

CLI:
* Publish Docker images
([](https://github.com/databricks/cli/pull/1353)).
* Add support for multi-arch Docker images
([](https://github.com/databricks/cli/pull/1362)).
* Do not prefill https:// in prompt for Databricks Host
([](https://github.com/databricks/cli/pull/1364)).
* Add better documentation for the `auth login` command
([](https://github.com/databricks/cli/pull/1366)).
* Add URLs for authentication documentation to the auth command help
([](https://github.com/databricks/cli/pull/1365)).

Bundles:
* Fix compute override for foreach tasks
([](https://github.com/databricks/cli/pull/1357)).
* Transform artifact files source patterns in build not upload stage
([](https://github.com/databricks/cli/pull/1359)).
* Convert between integer and float in normalization
([](https://github.com/databricks/cli/pull/1371)).
* Disable locking for development mode
([](https://github.com/databricks/cli/pull/1302)).
* Resolve variable references inside variable lookup fields
([](https://github.com/databricks/cli/pull/1368)).
* Added validate mutator to surface additional bundle warnings
([](https://github.com/databricks/cli/pull/1352)).
* Upgrade terraform-provider-databricks to 1.40.0
([](https://github.com/databricks/cli/pull/1376)).
* Print host in `bundle validate` when passed via profile or environment
variables ([](https://github.com/databricks/cli/pull/1378)).
* Cleanup remote file path on bundle destroy
([](https://github.com/databricks/cli/pull/1374)).
* Add docs URL for `run_as` in error message
([](https://github.com/databricks/cli/pull/1381)).
* Enable job queueing by default
([](https://github.com/databricks/cli/pull/1385)).
* Added support for job environments
([](https://github.com/databricks/cli/pull/1379)).
* Processing and completion of positional args to bundle run
([](https://github.com/databricks/cli/pull/1120)).
* Add legacy option for `run_as`
([](https://github.com/databricks/cli/pull/1384)).

API Changes:
* Changed `databricks lakehouse-monitors cancel-refresh` command with
new required argument order.
* Changed `databricks lakehouse-monitors create` command with new
required argument order.
* Changed `databricks lakehouse-monitors delete` command with new
required argument order.
* Changed `databricks lakehouse-monitors get` command with new required
argument order.
* Changed `databricks lakehouse-monitors get-refresh` command with new
required argument order.
* Changed `databricks lakehouse-monitors list-refreshes` command with
new required argument order.
* Changed `databricks lakehouse-monitors run-refresh` command with new
required argument order.
* Changed `databricks lakehouse-monitors update` command with new
required argument order.
* Changed `databricks account workspace-assignment update` command to
return response.

OpenAPI commit 94684175b8bd65f8701f89729351f8069e8309c9 (2024-04-11)

Dependency updates:
* Bump github.com/databricks/databricks-sdk-go from 0.37.0 to 0.38.0
([](https://github.com/databricks/cli/pull/1361)).
* Bump golang.org/x/net from 0.22.0 to 0.23.0
([](https://github.com/databricks/cli/pull/1380)).
2024-04-23 10:54:40 +00:00
Andrew Nester 9e1738deee
Release v0.217.1 ()
CLI:
* Don't attempt auth in `auth profiles --skip-validate`
([](https://github.com/databricks/cli/pull/1282)).
* Fixed typo in error template for auth describe
([](https://github.com/databricks/cli/pull/1341)).

Bundles:
* Correctly transform libraries in for_each_task block
([](https://github.com/databricks/cli/pull/1340)).
* Do not emit warning on YAML anchor blocks
([](https://github.com/databricks/cli/pull/1354)).
* Fixed pre-init script order
([](https://github.com/databricks/cli/pull/1348)).
* Execute preinit after entry point to make sure scripts are loaded
([](https://github.com/databricks/cli/pull/1351)).


Dependency updates:
* Bump internal terraform provider version to `1.39`
([](https://github.com/databricks/cli/pull/1339)).
* Bump golang.org/x/term from 0.18.0 to 0.19.0
([](https://github.com/databricks/cli/pull/1343)).
* Bump github.com/hashicorp/hc-install from 0.6.3 to 0.6.4
([](https://github.com/databricks/cli/pull/1344)).
* Bump golang.org/x/mod from 0.16.0 to 0.17.0
([](https://github.com/databricks/cli/pull/1345)).
* Bump golang.org/x/oauth2 from 0.18.0 to 0.19.0
([](https://github.com/databricks/cli/pull/1347)).
* Bump golang.org/x/sync from 0.6.0 to 0.7.0
([](https://github.com/databricks/cli/pull/1346)).
2024-04-10 11:17:21 +00:00
Andrew Nester 6ac45e8bae
Release v0.217.0 ()
Breaking Change:
* Add allow list for resources when bundle `run_as` is set
([](https://github.com/databricks/cli/pull/1233)).
* Make bundle validation print text output by default
([](https://github.com/databricks/cli/pull/1335)).

CLI:
* Added `auth describe` command
([](https://github.com/databricks/cli/pull/1244)).
* Fixed message for successful auth describe run
([](https://github.com/databricks/cli/pull/1336)).

Bundles:
* Use UserName field to identify if service principal is used
([](https://github.com/databricks/cli/pull/1310)).
* Allow unknown properties in the config file for template
initialization ([](https://github.com/databricks/cli/pull/1315)).
* Remove support for DATABRICKS_BUNDLE_INCLUDES
([](https://github.com/databricks/cli/pull/1317)).
* Make `bundle.deployment` optional in the bundle schema
([](https://github.com/databricks/cli/pull/1321)).
* Fix the generated DABs JSON schema
([](https://github.com/databricks/cli/pull/1322)).
* Make bundle loaders return diagnostics
([](https://github.com/databricks/cli/pull/1319)).
* Add `bundle debug terraform` command
([](https://github.com/databricks/cli/pull/1294)).
* Allow specifying CLI version constraints required to run the bundle
([](https://github.com/databricks/cli/pull/1320)).

Internal:
* Retain location information of variable reference
([](https://github.com/databricks/cli/pull/1333)).
* Define `dyn.Mapping` to represent maps
([](https://github.com/databricks/cli/pull/1301)).
* Return `diag.Diagnostics` from mutators
([](https://github.com/databricks/cli/pull/1305)).
* Fix flaky test in `libs/process`
([](https://github.com/databricks/cli/pull/1314)).
* Move path field to bundle type
([](https://github.com/databricks/cli/pull/1316)).
* Load bundle configuration from mutator
([](https://github.com/databricks/cli/pull/1318)).
* Return diagnostics from `config.Load`
([](https://github.com/databricks/cli/pull/1324)).
* Return warning for nil primitive types during normalization
([](https://github.com/databricks/cli/pull/1329)).
* Include `dyn.Path` in normalization warnings and errors
([](https://github.com/databricks/cli/pull/1332)).
* Make normalization return warnings instead of errors
([](https://github.com/databricks/cli/pull/1334)).
API Changes:
 * Added `databricks lakeview migrate` command.
 * Added `databricks lakeview unpublish` command.
* Changed `databricks ip-access-lists get` command . New request type is
.

OpenAPI commit e316cc3d78d087522a74650e26586088da9ac8cb (2024-04-03)
Dependency updates:
* Bump github.com/databricks/databricks-sdk-go from 0.36.0 to 0.37.0
([](https://github.com/databricks/cli/pull/1326)).
2024-04-03 17:07:23 +00:00
Pieter Noordhuis 1efebabbf9
Release v0.216.0 ()
CLI:
* Propagate correct `User-Agent` for CLI during OAuth flow
([](https://github.com/databricks/cli/pull/1264)).
* Add usage string when command fails with incorrect arguments
([](https://github.com/databricks/cli/pull/1276)).

Bundles:
* Include `dyn.Path` as argument to the visit callback function
([](https://github.com/databricks/cli/pull/1260)).
* Inline logic to set a value in `dyn.SetByPath`
([](https://github.com/databricks/cli/pull/1261)).
* Add assertions for the `dyn.Path` argument to the visit callback
([](https://github.com/databricks/cli/pull/1265)).
* Add `dyn.MapByPattern` to map a function to values with matching paths
([](https://github.com/databricks/cli/pull/1266)).
* Filter current user from resource permissions
([](https://github.com/databricks/cli/pull/1262)).
* Retain location annotation when expanding globs for pipeline libraries
([](https://github.com/databricks/cli/pull/1274)).
* Added deployment state for bundles
([](https://github.com/databricks/cli/pull/1267)).
* Do CheckRunningResource only after terraform.Write
([](https://github.com/databricks/cli/pull/1292)).
* Rewrite relative paths using `dyn.Location` of the underlying value
([](https://github.com/databricks/cli/pull/1273)).
* Push deployment state right after files upload
([](https://github.com/databricks/cli/pull/1293)).
* Make `Append` function to `dyn.Path` return independent slice
([](https://github.com/databricks/cli/pull/1295)).
* Move bundle tests into bundle/tests
([](https://github.com/databricks/cli/pull/1299)).
* Upgrade Terraform provider to 1.38.0
([](https://github.com/databricks/cli/pull/1308)).

Internal:
* Add integration test for mlops-stacks initialization
([](https://github.com/databricks/cli/pull/1155)).
* Update actions/setup-python to v5
([](https://github.com/databricks/cli/pull/1290)).
* Update codecov/codecov-action to v4
([](https://github.com/databricks/cli/pull/1291)).

API Changes:
 * Changed `databricks catalogs list` command.
 * Changed `databricks online-tables create` command.
 * Changed `databricks lakeview publish` command.
 * Added `databricks lakeview create` command.
 * Added `databricks lakeview get` command.
 * Added `databricks lakeview get-published` command.
 * Added `databricks lakeview trash` command.
 * Added `databricks lakeview update` command.
* Moved settings related commands to `databricks settings` and
`databricks account settings`.

OpenAPI commit 93763b0d7ae908520c229c786fff28b8fd623261 (2024-03-20)

Dependency updates:
* Bump golang.org/x/oauth2 from 0.17.0 to 0.18.0
([](https://github.com/databricks/cli/pull/1270)).
* Bump golang.org/x/mod from 0.15.0 to 0.16.0
([](https://github.com/databricks/cli/pull/1271)).
* Update Go SDK to v0.35.0
([](https://github.com/databricks/cli/pull/1300)).
* Update Go SDK to v0.36.0
([](https://github.com/databricks/cli/pull/1304)).
2024-03-25 10:43:16 +00:00
Andrew Nester a44c52a399
Fixed --fail-on-active-runs in Changelog ()
## Changes
Fixed --fail-on-active-runs in Changelog
2024-03-11 15:22:33 +00:00
Pieter Noordhuis a467d01f6f
Release v0.215.0 ()
CLI:
* The SDK update fixes `fs cp` calls timing out when copying large
files.

Bundles:
* Fix summary command when internal Terraform config doesn't exist
([](https://github.com/databricks/cli/pull/1242)).
* Configure cobra.NoArgs for bundle commands where applicable
([](https://github.com/databricks/cli/pull/1250)).
* Fixed building Python artifacts on Windows with WSL
([](https://github.com/databricks/cli/pull/1249)).
* Add `--validate-only` flag to run validate-only pipeline update
([](https://github.com/databricks/cli/pull/1251)).
* Only transform wheel libraries when using trampoline
([](https://github.com/databricks/cli/pull/1248)).
* Return `application_id` for service principal lookups
([](https://github.com/databricks/cli/pull/1245)).
* Support relative paths in artifact files source section and always
upload all artifact files
([](https://github.com/databricks/cli/pull/1247)).
* Fix DBConnect support in VS Code
([](https://github.com/databricks/cli/pull/1253)).

Internal:
* Added test to verify scripts.Execute mutator works correctly
([](https://github.com/databricks/cli/pull/1237)).

API Changes:
* Added `databricks permission-migration` command group.
* Updated nesting of the `databricks settings` and `databricks account
settings commands`
* Changed `databricks vector-search-endpoints delete-endpoint` command
with new required argument order.
* Changed `databricks vector-search-indexes create-index` command with
new required argument order.
* Changed `databricks vector-search-indexes delete-data-vector-index`
command with new required argument order.
* Changed `databricks vector-search-indexes upsert-data-vector-index`
command with new required argument order.

OpenAPI commit d855b30f25a06fe84f25214efa20e7f1fffcdf9e (2024-03-04)

Dependency updates:
* Bump github.com/stretchr/testify from 1.8.4 to 1.9.0
([](https://github.com/databricks/cli/pull/1252)).
* Update Go SDK to v0.34.0
([](https://github.com/databricks/cli/pull/1256)).
2024-03-06 11:30:23 +00:00
Andrew Nester fb8f415e29
Release v0.214.1 ()
CLI:
* Improved error message when no .databrickscfg
([](https://github.com/databricks/cli/pull/1223)).
* Use Go SDK Iterators when listing resources with the CLI
([](https://github.com/databricks/cli/pull/1202)).

Bundles:
* Only set ComputeID value when `--compute-id` flag provided
([](https://github.com/databricks/cli/pull/1229)).
* Add correct tag value for models in dev mode
([](https://github.com/databricks/cli/pull/1230)).
* Upgrade Terraform provider to 1.37.0
([](https://github.com/databricks/cli/pull/1235)).

Internal:
* Fix CLI nightlies on our UC workspaces
([](https://github.com/databricks/cli/pull/1225)).
* Handle alias types for map keys in toTyped conversion
([](https://github.com/databricks/cli/pull/1232)).
2024-02-23 13:57:37 +00:00
Andrew Nester 26833418c3
Release v0.214.0 ()
CLI:
* Add support for UC Volumes to the `databricks fs` commands
([](https://github.com/databricks/cli/pull/1209)).

Bundles:
* Use dynamic configuration model in bundles
([](https://github.com/databricks/cli/pull/1098)).
* Allow use of variables references in primitive non-string fields
([](https://github.com/databricks/cli/pull/1219)).
* Add an experimental default-sql template
([](https://github.com/databricks/cli/pull/1051)).
* Add an experimental dbt-sql template
([](https://github.com/databricks/cli/pull/1059)).

Internal:
* Add fork-user to winget release workflow
([](https://github.com/databricks/cli/pull/1214)).
* Use `any` as type for data sources and resources in `tf/schema`
([](https://github.com/databricks/cli/pull/1216)).
* Avoid infinite recursion when normalizing a recursive type
([](https://github.com/databricks/cli/pull/1213)).
* Fix issue where interpolating a new ref would rewrite unrelated fields
([](https://github.com/databricks/cli/pull/1217)).
* Use `dyn.Value` as input to generating Terraform JSON
([](https://github.com/databricks/cli/pull/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:
* Bump Terraform provider to v1.36.2
([](https://github.com/databricks/cli/pull/1215)).
* Bump github.com/databricks/databricks-sdk-go from 0.32.0 to 0.33.0
([](https://github.com/databricks/cli/pull/1222)).
2024-02-20 20:53:59 +00:00
Andrew Nester 961d04d4f0
Release v0.213.0 ()
CLI:
* Ignore environment variables for `auth profiles`
([](https://github.com/databricks/cli/pull/1189)).
* Update LICENSE file to match Databricks license language
([](https://github.com/databricks/cli/pull/1013)).

Bundles:
* Added `bundle deployment bind` and `unbind` command
([](https://github.com/databricks/cli/pull/1131)).
* Use allowlist for Git-related fields to include in metadata
([](https://github.com/databricks/cli/pull/1187)).
* Added `--restart` flag for `bundle run` command
([](https://github.com/databricks/cli/pull/1191)).
* Generate correct YAML if `custom_tags` or `spark_conf` is used for
pipeline or job cluster configuration
([](https://github.com/databricks/cli/pull/1210)).

Internal:
* Move folders package into libs
([](https://github.com/databricks/cli/pull/1184)).
* Log time it takes for profile to load
([](https://github.com/databricks/cli/pull/1186)).
* Use mockery to generate mocks compatible with testify/mock
([](https://github.com/databricks/cli/pull/1190)).
* Retain partially valid structs in `convert.Normalize`
([](https://github.com/databricks/cli/pull/1203)).
* Skip `for_each_task` when generating the bundle schema
([](https://github.com/databricks/cli/pull/1204)).
* Regenerate the CLI using the same OpenAPI spec as the SDK
([](https://github.com/databricks/cli/pull/1205)).
* Avoid race-conditions while executing sub-commands
([](https://github.com/databricks/cli/pull/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:
* Bump github.com/hashicorp/hc-install from 0.6.2 to 0.6.3
([](https://github.com/databricks/cli/pull/1200)).
* Bump golang.org/x/term from 0.16.0 to 0.17.0
([](https://github.com/databricks/cli/pull/1197)).
* Bump golang.org/x/oauth2 from 0.16.0 to 0.17.0
([](https://github.com/databricks/cli/pull/1198)).
* Bump github.com/databricks/databricks-sdk-go from 0.30.1 to 0.32.0
([](https://github.com/databricks/cli/pull/1199)).

---------

Co-authored-by: Pieter Noordhuis <pieter.noordhuis@databricks.com>
2024-02-15 17:34:17 +00:00
Andrew Nester f6cdc75825
Release v0.212.4 ()
Bundles:
* Allow specifying executable in artifact section and skip bash from WSL
([](https://github.com/databricks/cli/pull/1169)).
* Added warning when trying to deploy bundle with `--fail-if-running`
and running resources
([](https://github.com/databricks/cli/pull/1163)).
* Group bundle run flags by job and pipeline types
([](https://github.com/databricks/cli/pull/1174)).
* Make sure grouped flags are added to the command flag set
([](https://github.com/databricks/cli/pull/1180)).
* Add short_name helper function to bundle init templates
([](https://github.com/databricks/cli/pull/1167)).

Internal:
* Fix dynamic representation of zero values in maps and slices
([](https://github.com/databricks/cli/pull/1154)).
* Refactor library to artifact matching to not use pointers
([](https://github.com/databricks/cli/pull/1172)).
* Harden `dyn.Value` equality check
([](https://github.com/databricks/cli/pull/1173)).
* Ensure every variable reference is passed to lookup function
([](https://github.com/databricks/cli/pull/1176)).
* Empty struct should yield empty map in `convert.FromTyped`
([](https://github.com/databricks/cli/pull/1177)).
* Zero destination struct in `convert.ToTyped`
([](https://github.com/databricks/cli/pull/1178)).
* Fix integration test with invalid configuration
([](https://github.com/databricks/cli/pull/1182)).
* Use `acc.WorkspaceTest` helper from bundle integration tests
([](https://github.com/databricks/cli/pull/1181)).
2024-02-07 15:05:03 +00:00
Andrew Nester 359f5f4468
Release v0.212.3 ()
CLI:
* Release Windows packages to winget-pkgs
([](https://github.com/databricks/cli/pull/1144)).

Bundles:
* Add `--key` flag for generate commands to specify resource key
([](https://github.com/databricks/cli/pull/1165)).


Dependency updates:
* Bump github.com/google/uuid from 1.5.0 to 1.6.0
([](https://github.com/databricks/cli/pull/1160)).
* Update Go SDK to v0.30.1
([](https://github.com/databricks/cli/pull/1162)).
2024-01-31 12:36:01 +00:00
Pieter Noordhuis 6fcf6ba76b
Release v0.212.2 ()
CLI:
* Prompt for account profile only for account-level command execution
instead of during `databricks labs install` flow
([](https://github.com/databricks/cli/pull/1128)).
* Bring back `--json` flag for workspace-conf set-status command
([](https://github.com/databricks/cli/pull/1151)).

Bundles:
* Set `run_as` permissions after variable interpolation
([](https://github.com/databricks/cli/pull/1141)).
* Add functionality to visit values in `dyn.Value` tree
([](https://github.com/databricks/cli/pull/1142)).
* Add `dynvar` package for variable resolution with a `dyn.Value` tree
([](https://github.com/databricks/cli/pull/1143)).
* Add support for `anyOf` to `skip_prompt_if`
([](https://github.com/databricks/cli/pull/1133)).
* Added `bundle generate pipeline` command
([](https://github.com/databricks/cli/pull/1139)).

Internal:
* Use MockWorkspaceClient from SDK instead of WithImpl mocking
([](https://github.com/databricks/cli/pull/1134)).

Dependency updates:
* Bump github.com/databricks/databricks-sdk-go from 0.29.0 to 0.29.1
([](https://github.com/databricks/cli/pull/1137)).
* Bump github.com/hashicorp/terraform-json from 0.20.0 to 0.21.0
([](https://github.com/databricks/cli/pull/1138)).
* Update actions/setup-go to v5
([](https://github.com/databricks/cli/pull/1148)).
* Update codecov/codecov-action to v3
([](https://github.com/databricks/cli/pull/1149)).
* Use latest patch release of Go toolchain
([](https://github.com/databricks/cli/pull/1152)).
2024-01-25 14:32:32 +00:00
Andrew Nester 57abf157cc
Release v0.212.1 ()
CLI:
* Fix windows style file paths in fs cp command
([](https://github.com/databricks/cli/pull/1118)).
* Do not require positional arguments if they should be provided in JSON
([](https://github.com/databricks/cli/pull/1125)).
* Always require path parameters as positional arguments
([](https://github.com/databricks/cli/pull/1129)).

Bundles:
* Add debug log line for when bundle init is run from non-TTY interface
([](https://github.com/databricks/cli/pull/1117)).
* Added `databricks bundle generate job` command
([](https://github.com/databricks/cli/pull/1043)).
* Support passing job parameters to bundle run
([](https://github.com/databricks/cli/pull/1115)).

Dependency updates:
* Bump golang.org/x/oauth2 from 0.15.0 to 0.16.0
([](https://github.com/databricks/cli/pull/1124)).
2024-01-17 14:44:42 +00:00
Pieter Noordhuis 51c64ef82a
Release v0.212.0 ()
CLI:
* Tweak command groups in CLI help
([](https://github.com/databricks/cli/pull/1092)).
* Fixed storage-credentials list command in text output
([](https://github.com/databricks/cli/pull/1094)).
* Allow account client auth with environment variables when no
`.databrickscfg` file present
([](https://github.com/databricks/cli/pull/1097)).
* Always log with text format by default
([](https://github.com/databricks/cli/pull/1096)).

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

Internal:
* Functionality to walk a `config.Value` tree
([](https://github.com/databricks/cli/pull/1081)).
* Rename libs/config -> libs/dyn
([](https://github.com/databricks/cli/pull/1086)).
* Added codecov integration on code push
([](https://github.com/databricks/cli/pull/1095)).
* Consolidate functions to convert `dyn.Value` to native types
([](https://github.com/databricks/cli/pull/1100)).
* Define constant for the invalid `dyn.Value`
([](https://github.com/databricks/cli/pull/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
([](https://github.com/databricks/cli/pull/1088)).
* Bump go.uber.org/mock from 0.3.0 to 0.4.0
([](https://github.com/databricks/cli/pull/1089)).
* Bump github.com/hashicorp/terraform-json from 0.18.0 to 0.20.0
([](https://github.com/databricks/cli/pull/1090)).
* Bump golang.org/x/term from 0.15.0 to 0.16.0
([](https://github.com/databricks/cli/pull/1103)).
* Bump github.com/cloudflare/circl from 1.3.3 to 1.3.7
([](https://github.com/databricks/cli/pull/1105)).
* Bump golang.org/x/sync from 0.5.0 to 0.6.0
([](https://github.com/databricks/cli/pull/1104)).
* Upgrade golang.org/x/crypto to v0.17.0 in internal module
([](https://github.com/databricks/cli/pull/1110)).
* Upgrade Go SDK to v0.29.0
([](https://github.com/databricks/cli/pull/1111)).
2024-01-11 15:09:11 +00:00
shreyas-goenka 55732bc6ac
Release v0.211.0 ()
CLI:
* Upgrade Go SDK to 0.27.0
([](https://github.com/databricks/cli/pull/1064)).
* Skip profile resolution if `DATABRICKS_AUTH_TYPE` is set
([](https://github.com/databricks/cli/pull/1068)).
* Do not allow input prompts in Git Bash terminal
([](https://github.com/databricks/cli/pull/1069)).
* Added output template for list-secrets command
([](https://github.com/databricks/cli/pull/1074)).

Bundles:
* Set metadata fields required to enable break-glass UI for jobs
([](https://github.com/databricks/cli/pull/880)).
* Do not prompt for template values in Git Bash
([](https://github.com/databricks/cli/pull/1082)).
* Tune output of bundle deploy command
([](https://github.com/databricks/cli/pull/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
([](https://github.com/databricks/cli/pull/1073)).
* Bump golang.org/x/crypto from 0.16.0 to 0.17.0
([](https://github.com/databricks/cli/pull/1076)).
2023-12-21 09:53:08 +00:00
Andrew Nester dc12b3f1cf
Release v0.210.3 ()
Bundles:
* Improve default template
([](https://github.com/databricks/cli/pull/1046)).
* Fix passthrough of pipeline notifications
([](https://github.com/databricks/cli/pull/1058)).

Internal:
* Stub out Python virtual environment installation for `labs` commands
([](https://github.com/databricks/cli/pull/1057)).
* Upgrade Terraform schema version to v1.31.1
([](https://github.com/databricks/cli/pull/1055)).


Dependency updates:
* Bump github.com/hashicorp/hc-install from 0.6.1 to 0.6.2
([](https://github.com/databricks/cli/pull/1054)).
* Bump github.com/databricks/databricks-sdk-go from 0.26.1 to 0.26.2
([](https://github.com/databricks/cli/pull/1053)).
2023-12-13 15:43:03 +00:00
Andrew Nester 2d829678a0
Release v0.210.2 ()
CLI:
* Add documentation for positional args in commands generated from the
Databricks OpenAPI specification
([](https://github.com/databricks/cli/pull/1033)).
* Ask for host when .databrickscfg doesn't exist
([](https://github.com/databricks/cli/pull/1041)).
* Add list of supported values for flags that represent an enum field
([](https://github.com/databricks/cli/pull/1036)).

Bundles:
* Fix panic when bundle auth resolution fails
([](https://github.com/databricks/cli/pull/1002)).
* Add versioning for bundle templates
([](https://github.com/databricks/cli/pull/972)).
* Add support for conditional prompting in bundle init
([](https://github.com/databricks/cli/pull/971)).
* Pass parameters to task when run with `--python-params` and
`python_wheel_wrapper` is true
([](https://github.com/databricks/cli/pull/1037)).
* Change default_python template to auto-update version on each wheel
build ([](https://github.com/databricks/cli/pull/1034)).

Internal:
* Rewrite the friendly log handler
([](https://github.com/databricks/cli/pull/1038)).
* Move bundle schema update to an internal module
([](https://github.com/databricks/cli/pull/1012)).


Dependency updates:
* Bump github.com/databricks/databricks-sdk-go from 0.26.0 to 0.26.1
([](https://github.com/databricks/cli/pull/1040)).
2023-12-06 14:37:38 +00:00
Pieter Noordhuis 1a1f1b1b4d
Release v0.210.1 ()
This is a bugfix release to address issues with v0.210.0.

CLI:
* Fix `panic: $HOME is not set`
([](https://github.com/databricks/cli/pull/1027)).
* Fix `databricks configure` if new profile is specified
([](https://github.com/databricks/cli/pull/1030)).
* Filter out system clusters for `--configure-cluster`
([](https://github.com/databricks/cli/pull/1031)).

Bundles:
* Fixed panic when job has trigger and in development mode
([](https://github.com/databricks/cli/pull/1026)).

Internal:
* Use `fetch-tags` option in release workflows
([](https://github.com/databricks/cli/pull/1025)).
2023-11-30 10:49:22 +00:00
Pieter Noordhuis 09991da534
Release v0.210.0 ()
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`
([](https://github.com/databricks/cli/pull/964)).
* Improved usability of `databricks auth login ... --configure-cluster`
([](https://github.com/databricks/cli/pull/956)).
* Make `databricks configure` save only explicit fields
([](https://github.com/databricks/cli/pull/973)).
* Add `databricks labs` command group
([](https://github.com/databricks/cli/pull/914)).
* Tolerate missing .databrickscfg file during `databricks auth login`
([](https://github.com/databricks/cli/pull/1003)).
* Add `--configure-cluster` flag to configure command
([](https://github.com/databricks/cli/pull/1005)).
* Fix bug where the account or workspace client could be `nil`
([](https://github.com/databricks/cli/pull/1020)).

Bundles:
* Do not allow empty descriptions for bundle template inputs
([](https://github.com/databricks/cli/pull/967)).
* Added support for top-level permissions
([](https://github.com/databricks/cli/pull/928)).
* Allow jobs to be manually unpaused in development mode
([](https://github.com/databricks/cli/pull/885)).
* Fix template initialization from current working directory
([](https://github.com/databricks/cli/pull/976)).
* Add `--tag` and `--branch` options to bundle init command
([](https://github.com/databricks/cli/pull/975)).
* Work around DLT issue with `$PYTHONPATH` not being set correctly
([](https://github.com/databricks/cli/pull/999)).
* Enable `spark_jar_task` with local JAR libraries
([](https://github.com/databricks/cli/pull/993)).
* Pass `USERPROFILE` environment variable to Terraform
([](https://github.com/databricks/cli/pull/1001)).
* Improve error message when path is not a bundle template
([](https://github.com/databricks/cli/pull/985)).
* Correctly overwrite local state if remote state is newer
([](https://github.com/databricks/cli/pull/1008)).
* Add mlops-stacks to the default `databricks bundle init` prompt
([](https://github.com/databricks/cli/pull/988)).
* Do not add wheel content hash in uploaded Python wheel path
([](https://github.com/databricks/cli/pull/1015)).
* Do not replace pipeline libraries if there are no matches for pattern
([](https://github.com/databricks/cli/pull/1021)).

Internal:
* Update CLI version in the VS Code extension during release
([](https://github.com/databricks/cli/pull/1014)).

API Changes:
 * Changed `databricks functions create` command.
* 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
([](https://github.com/databricks/cli/pull/981)).
* Bump github.com/hashicorp/terraform-json from 0.17.1 to 0.18.0
([](https://github.com/databricks/cli/pull/979)).
* Bump golang.org/x/oauth2 from 0.13.0 to 0.14.0
([](https://github.com/databricks/cli/pull/982)).
* Bump github.com/databricks/databricks-sdk-go from 0.24.0 to 0.25.0
([](https://github.com/databricks/cli/pull/980)).
* Bump github.com/databricks/databricks-sdk-go from 0.25.0 to 0.26.0
([](https://github.com/databricks/cli/pull/1019)).
2023-11-29 14:19:20 +00:00
Andrew Nester b72f2a9604
Release v0.209.1 ()
CLI:
* Hide `--progress-format` global flag
([](https://github.com/databricks/cli/pull/965)).
* Make configure command visible + fix bundle command description
([](https://github.com/databricks/cli/pull/961)).
* Log process ID in each log entry
([](https://github.com/databricks/cli/pull/949)).
* Improve error message when `--json` flag is specified
([](https://github.com/databricks/cli/pull/933)).

Bundles:
* Remove validation for default value against pattern
([](https://github.com/databricks/cli/pull/959)).
* Bundle path rewrites for dbt and SQL file tasks
([](https://github.com/databricks/cli/pull/962)).
* Initialize variable definitions that are defined without properties
([](https://github.com/databricks/cli/pull/966)).

Internal:
* Function to merge two instances of `config.Value`
([](https://github.com/databricks/cli/pull/938)).
* Make to/from string methods private to the jsonschema package
([](https://github.com/databricks/cli/pull/942)).
* Make Cobra runner compatible with testing interactive flows
([](https://github.com/databricks/cli/pull/957)).
* Added `env.UserHomeDir(ctx)` for parallel-friendly tests
([](https://github.com/databricks/cli/pull/955)).


Dependency updates:
* Bump golang.org/x/mod from 0.13.0 to 0.14.0
([](https://github.com/databricks/cli/pull/954)).
* Bump golang.org/x/text from 0.13.0 to 0.14.0
([](https://github.com/databricks/cli/pull/953)).
* Bump golang.org/x/sync from 0.4.0 to 0.5.0
([](https://github.com/databricks/cli/pull/951)).
* Bump github.com/spf13/cobra from 1.7.0 to 1.8.0
([](https://github.com/databricks/cli/pull/950)).
* Bump github.com/fatih/color from 1.15.0 to 1.16.0
([](https://github.com/databricks/cli/pull/952)).
2023-11-08 16:30:48 +00:00
shreyas-goenka 401ae3dc99
Remove mention of Lakehouse apps from the changelog () 2023-11-02 17:35:17 +00:00
shreyas-goenka 51d41d6c44
Release v0.209.0 ()
CLI:
* Added GitHub issue templates for CLI and DABs issues
([](https://github.com/databricks/cli/pull/925)).
* Added override to support YAML inputs for apps
([](https://github.com/databricks/cli/pull/921)).
* Simplified code generation logic for handling path and request body
parameters and JSON input
([](https://github.com/databricks/cli/pull/905)).


Bundles:
* Fixed URL for bundle template documentation in init command help docs
([](https://github.com/databricks/cli/pull/903)).
* Fixed pattern validation for input parameters in a bundle template
([](https://github.com/databricks/cli/pull/912)).
* Fixed multiline description rendering for enum input parameters in
bundle templates ([](https://github.com/databricks/cli/pull/916)).
* Changed production mode check for whether identity used is a service
principal to use UserName
([](https://github.com/databricks/cli/pull/924)).
* Changed bundle deploy to upload partial terraform state even if
deployment fails ([](https://github.com/databricks/cli/pull/923)).
* Added support for welcome messages to bundle templates
([](https://github.com/databricks/cli/pull/907)).
* Added support for uploading bundle deployment metadata to WSFS
([](https://github.com/databricks/cli/pull/845)).


Internal:
* Loading an empty yaml file yields a nil
([](https://github.com/databricks/cli/pull/906)).
* Library to convert config.Value to Go struct
([](https://github.com/databricks/cli/pull/904)).
* Remove default resolution of repo names against the Databricks Github
account([](https://github.com/databricks/cli/pull/940)).
* Run make fmt from fmt job
([](https://github.com/databricks/cli/pull/929)).
* `make snapshot` to build file in `.databricks/databricks`
([](https://github.com/databricks/cli/pull/927)).
* Add configuration normalization code
([](https://github.com/databricks/cli/pull/915)).

API Changes:
 * Added `databricks apps` command group.
 * Added `databricks account network-policy` command group.

Dependency updates:
* Bump Terraform provider from v1.28.0 to v1.29.0
([](https://github.com/databricks/cli/pull/926)).
* Bump the Go SDK in the CLI from v0.23 to v0.24
([](https://github.com/databricks/cli/pull/919)).
* Bump google.golang.org/grpc from 1.58.2 to 1.58.3
([](https://github.com/databricks/cli/pull/920)).
* Bump github.com/google/uuid from 1.3.1 to 1.4.0
([](https://github.com/databricks/cli/pull/932)).

OpenAPI commit 5903bb39137fd76ac384b2044e425f9c56840e00 (2023-10-23)
2023-11-02 15:43:41 +00:00
Pieter Noordhuis 3a055f4774
Release v0.208.2 ()
CLI:
* Never load authentication configuration from bundle for sync command
([](https://github.com/databricks/cli/pull/889)).
* Fixed requiring positional arguments for API URL parameters
([](https://github.com/databricks/cli/pull/878)).

Bundles:
* Add support for validating CLI version when loading a jsonschema
object ([](https://github.com/databricks/cli/pull/883)).
* Do not emit wheel wrapper error when python_wheel_wrapper setting is
true ([](https://github.com/databricks/cli/pull/894)).
* Resolve configuration before performing verification
([](https://github.com/databricks/cli/pull/890)).
* Fix wheel task not working with with 13.x clusters
([](https://github.com/databricks/cli/pull/898)).

Internal:
* Skip prompt on completion hook
([](https://github.com/databricks/cli/pull/888)).
* New YAML loader to support configuration location
([](https://github.com/databricks/cli/pull/828)).

Dependency updates:
* Bump github.com/mattn/go-isatty from 0.0.19 to 0.0.20
([](https://github.com/databricks/cli/pull/896)).
2023-10-23 09:42:38 +00:00