github.com/databricks/cli@v0.203.0/CHANGELOG.md (about)

     1  # Version changelog
     2  
     3  ## 0.203.0
     4  
     5  CLI:
     6   * Infer host from profile during `auth login` ([#629](https://github.com/databricks/cli/pull/629)).
     7  
     8  Bundles:
     9   * Extend deployment mode support ([#577](https://github.com/databricks/cli/pull/577)).
    10   * Add validation for Git settings in bundles ([#578](https://github.com/databricks/cli/pull/578)).
    11   * Only treat files with .tmpl extension as templates ([#594](https://github.com/databricks/cli/pull/594)).
    12   * Add JSON schema validation for input template parameters ([#598](https://github.com/databricks/cli/pull/598)).
    13   * Add DATABRICKS_BUNDLE_INCLUDE_PATHS to specify include paths through env vars ([#591](https://github.com/databricks/cli/pull/591)).
    14   * Initialise a empty default bundle if BUNDLE_ROOT and DATABRICKS_BUNDLE_INCLUDES env vars are present ([#604](https://github.com/databricks/cli/pull/604)).
    15   * Regenerate bundle resource structs from latest Terraform provider ([#633](https://github.com/databricks/cli/pull/633)).
    16   * Fixed processing jobs libraries with remote path ([#638](https://github.com/databricks/cli/pull/638)).
    17   * Add unit test for file name execution during rendering ([#640](https://github.com/databricks/cli/pull/640)).
    18   * Add bundle init command and support for prompting user for input values ([#631](https://github.com/databricks/cli/pull/631)).
    19   * Fix bundle git branch validation ([#645](https://github.com/databricks/cli/pull/645)).
    20  
    21  Internal:
    22   * Fix mkdir integration test on GCP ([#620](https://github.com/databricks/cli/pull/620)).
    23   * Fix git clone integration test for non-existing repo ([#610](https://github.com/databricks/cli/pull/610)).
    24   * Remove push to main trigger for build workflow ([#621](https://github.com/databricks/cli/pull/621)).
    25   * Remove workflow to publish binaries to S3 ([#622](https://github.com/databricks/cli/pull/622)).
    26   * Fix failing fs mkdir test on azure ([#627](https://github.com/databricks/cli/pull/627)).
    27   * Print y/n options when displaying prompts using cmdio.Ask ([#650](https://github.com/databricks/cli/pull/650)).
    28  
    29  API Changes:
    30   * Changed `databricks account metastore-assignments create` command to not return anything.
    31   * Added `databricks account network-policy` command group.
    32  
    33  OpenAPI commit 7b57ba3a53f4de3d049b6a24391fe5474212daf8 (2023-07-28)
    34  
    35  Dependency updates:
    36   * Bump OpenAPI specification & Go SDK Version ([#624](https://github.com/databricks/cli/pull/624)).
    37   * Bump golang.org/x/term from 0.10.0 to 0.11.0 ([#643](https://github.com/databricks/cli/pull/643)).
    38   * Bump golang.org/x/text from 0.11.0 to 0.12.0 ([#642](https://github.com/databricks/cli/pull/642)).
    39   * Bump golang.org/x/oauth2 from 0.10.0 to 0.11.0 ([#641](https://github.com/databricks/cli/pull/641)).
    40  
    41  ## 0.202.0
    42  
    43  Breaking Change:
    44   * Require include glob patterns to be explicitly defined ([#602](https://github.com/databricks/cli/pull/602)).
    45  
    46  Bundles:
    47   * Add support for more SDK config options ([#587](https://github.com/databricks/cli/pull/587)).
    48   * Add template renderer for Databricks templates ([#589](https://github.com/databricks/cli/pull/589)).
    49   * Fix formatting in renderer.go ([#593](https://github.com/databricks/cli/pull/593)).
    50   * Fixed python wheel test ([#608](https://github.com/databricks/cli/pull/608)).
    51   * Auto detect Python wheel packages and infer build command ([#603](https://github.com/databricks/cli/pull/603)).
    52   * Added support for artifacts building for bundles ([#583](https://github.com/databricks/cli/pull/583)).
    53   * Add support for cloning repositories ([#544](https://github.com/databricks/cli/pull/544)).
    54   * Add regexp compile helper function for templates ([#601](https://github.com/databricks/cli/pull/601)).
    55   * Add unit test that raw strings are printed as is ([#599](https://github.com/databricks/cli/pull/599)).
    56  
    57  Internal:
    58   * Fix tests under ./cmd/configure if DATABRICKS_TOKEN is set ([#605](https://github.com/databricks/cli/pull/605)).
    59   * Remove dependency on global state in generated commands ([#595](https://github.com/databricks/cli/pull/595)).
    60   * Remove dependency on global state for the root command ([#606](https://github.com/databricks/cli/pull/606)).
    61   * Add merge_group trigger for build ([#612](https://github.com/databricks/cli/pull/612)).
    62   * Added support for build command chaining and error on missing wheel ([#607](https://github.com/databricks/cli/pull/607)).
    63   * Add TestAcc prefix to filer test and fix any failing tests ([#611](https://github.com/databricks/cli/pull/611)).
    64   * Add url parse helper function for templates ([#600](https://github.com/databricks/cli/pull/600)).
    65   * Remove dependency on global state for remaining commands ([#613](https://github.com/databricks/cli/pull/613)).
    66   * Update CHANGELOG template ([#588](https://github.com/databricks/cli/pull/588)).
    67  
    68  
    69  
    70  ## 0.201.0
    71  
    72  CLI:
    73   * Support tab completion for profiles ([#572](https://github.com/databricks/cli/pull/572)).
    74   * Improve auth login experience ([#570](https://github.com/databricks/cli/pull/570)).
    75   * Integrate with auto-release infra ([#581](https://github.com/databricks/cli/pull/581)).
    76  
    77  Bundles:
    78   * Add development runs ([#522](https://github.com/databricks/cli/pull/522)).
    79   * Correctly use --profile flag passed for all bundle commands ([#571](https://github.com/databricks/cli/pull/571)).
    80   * Disallow notebooks in paths where files are expected ([#573](https://github.com/databricks/cli/pull/573)).
    81   * Remove base path checks during sync ([#576](https://github.com/databricks/cli/pull/576)).
    82   * First look for databricks.yml before falling back to bundle.yml ([#580](https://github.com/databricks/cli/pull/580)).
    83  
    84  API Changes:
    85   * Removed `databricks metastores maintenance` command.
    86   * Added `databricks metastores enable-optimization` command.
    87   * Added `databricks tables update` command.
    88   * Changed `databricks account settings delete-personal-compute-setting` command with new required argument order.
    89   * Changed `databricks account settings read-personal-compute-setting` command with new required argument order.
    90   * Added `databricks clean-rooms` command group.
    91  
    92  OpenAPI commit 850a075ed9758d21a6bc4409506b48c8b9f93ab4 (2023-07-18)
    93  
    94  Dependency updates:
    95   * Bump golang.org/x/term from 0.9.0 to 0.10.0 ([#567](https://github.com/databricks/cli/pull/567)).
    96   * Bump golang.org/x/oauth2 from 0.9.0 to 0.10.0 ([#566](https://github.com/databricks/cli/pull/566)).
    97   * Bump golang.org/x/mod from 0.11.0 to 0.12.0 ([#568](https://github.com/databricks/cli/pull/568)).
    98   * Bump github.com/databricks/databricks-sdk-go from 0.12.0 to 0.13.0 ([#585](https://github.com/databricks/cli/pull/585)).
    99  
   100  ## 0.200.2
   101  
   102  CLI:
   103  * Fix secrets put-secret command ([#545](https://github.com/databricks/cli/pull/545)).
   104  * Fixed ignoring required positional parameters when --json flag is provided ([#535](https://github.com/databricks/cli/pull/535)).
   105  * Update cp help message to not require file scheme ([#554](https://github.com/databricks/cli/pull/554)).
   106  
   107  Bundles:
   108  * Fix: bundle destroy fails when bundle.tf.json file is deleted ([#519](https://github.com/databricks/cli/pull/519)).
   109  * Fixed error reporting when included invalid files in include section ([#543](https://github.com/databricks/cli/pull/543)).
   110  * Make top level workspace optional in JSON schema ([#562](https://github.com/databricks/cli/pull/562)).
   111  * Propagate TF_CLI_CONFIG_FILE env variable ([#555](https://github.com/databricks/cli/pull/555)).
   112  * Update Terraform provider schema structs ([#563](https://github.com/databricks/cli/pull/563)).
   113  * Update inline JSON schema documentation ([#557](https://github.com/databricks/cli/pull/557)).
   114  
   115  Dependencies:
   116  * Bump Go SDK to v0.12.0 ([#540](https://github.com/databricks/cli/pull/540)).
   117  * Bump github.com/hashicorp/terraform-json from 0.17.0 to 0.17.1 ([#541](https://github.com/databricks/cli/pull/541)).
   118  
   119  ## 0.200.1
   120  
   121  CLI:
   122  * Add --absolute flag for ls command ([#508](https://github.com/databricks/cli/pull/508)).
   123  * Add dbfs scheme prefix to paths in cp command output ([#516](https://github.com/databricks/cli/pull/516)).
   124  * Add provider detection to the repos create command ([#528](https://github.com/databricks/cli/pull/528)).
   125  * Added configure-cluster flag for auth login ([#500](https://github.com/databricks/cli/pull/500)).
   126  * Added prompts for Databricks profile for auth login command ([#502](https://github.com/databricks/cli/pull/502)).
   127  * Allow specifying repo by path for repos commands ([#526](https://github.com/databricks/cli/pull/526)).
   128  * Decode contents by default in workspace export command ([#531](https://github.com/databricks/cli/pull/531)).
   129  * Fixed jobs create command to only accept JSON payload ([#498](https://github.com/databricks/cli/pull/498)).
   130  * Make local files default for fs commands ([#506](https://github.com/databricks/cli/pull/506)).
   131  * Remove \r from new line print statments ([#509](https://github.com/databricks/cli/pull/509)).
   132  * Remove extra call to filer.Stat in dbfs filer.Read ([#515](https://github.com/databricks/cli/pull/515)).
   133  * Update alerts command integration test ([#512](https://github.com/databricks/cli/pull/512)).
   134  * Update variable regex to support hyphens ([#503](https://github.com/databricks/cli/pull/503)).
   135  
   136  Bundles:
   137  * Add DATABRICKS_BUNDLE_TMP env variable ([#462](https://github.com/databricks/cli/pull/462)).
   138  * Update Terraform provider schema structs ([#504](https://github.com/databricks/cli/pull/504)).
   139  
   140  Dependencies:
   141  * Bump github.com/databricks/databricks-sdk-go from 0.9.1-0.20230614092458-b5bbc1c8dabb to 0.10.0 ([#497](https://github.com/databricks/cli/pull/497)).
   142  
   143  Internal:
   144  * Use direct download for workspace filer read ([#514](https://github.com/databricks/cli/pull/514)).
   145  
   146  ## 0.200.0
   147  
   148  This version marks the first version available as public preview.
   149  
   150  The minor bump to 200 better disambiguates between Databricks CLI "v1" (the Python version)
   151  and this version, Databricks CLI "v2". The minor version of 0.100 may look lower than 0.17
   152  to some, whereas 200 does not. This bump has no other significance.
   153  
   154  CLI:
   155   * Add filer.Filer implementation backed by the Files API ([#474](https://github.com/databricks/cli/pull/474)).
   156   * Add fs cp command ([#463](https://github.com/databricks/cli/pull/463)).
   157   * Correctly set ExactArgs if generated command has positional arguments ([#488](https://github.com/databricks/cli/pull/488)).
   158   * Do not use white color as string output ([#489](https://github.com/databricks/cli/pull/489)).
   159   * Update README to reflect public preview status ([#491](https://github.com/databricks/cli/pull/491)).
   160  
   161  Bundles:
   162   * Fix force flag not working for bundle destroy ([#434](https://github.com/databricks/cli/pull/434)).
   163   * Fix locker unlock for destroy ([#492](https://github.com/databricks/cli/pull/492)).
   164   * Use better error assertions and clean up locker API ([#490](https://github.com/databricks/cli/pull/490)).
   165  
   166  Dependencies:
   167   * Bump golang.org/x/mod from 0.10.0 to 0.11.0 ([#496](https://github.com/databricks/cli/pull/496)).
   168   * Bump golang.org/x/sync from 0.2.0 to 0.3.0 ([#495](https://github.com/databricks/cli/pull/495)).
   169  
   170  ## 0.100.4
   171  
   172  CLI:
   173   * Add workspace import-dir command ([#456](https://github.com/databricks/cli/pull/456)).
   174   * Annotate generated commands with OpenAPI package name ([#466](https://github.com/databricks/cli/pull/466)).
   175   * Associate generated commands with command groups ([#475](https://github.com/databricks/cli/pull/475)).
   176   * Disable shell completions for generated commands ([#483](https://github.com/databricks/cli/pull/483)).
   177   * Include [DEFAULT] section header when writing ~/.databrickscfg ([#464](https://github.com/databricks/cli/pull/464)).
   178   * Pass through proxy related environment variables ([#465](https://github.com/databricks/cli/pull/465)).
   179   * Restore flags to original values on test completion ([#470](https://github.com/databricks/cli/pull/470)).
   180   * Update configure command ([#482](https://github.com/databricks/cli/pull/482)).
   181  
   182  Dependencies:
   183   * Bump SDK to latest ([#473](https://github.com/databricks/cli/pull/473)).
   184  
   185  ## 0.100.3
   186  
   187  CLI:
   188   * Add directory tracking to sync ([#425](https://github.com/databricks/cli/pull/425)).
   189   * Add fs cat command for dbfs files ([#430](https://github.com/databricks/cli/pull/430)).
   190   * Add fs ls command for dbfs ([#429](https://github.com/databricks/cli/pull/429)).
   191   * Add fs mkdirs command for dbfs ([#432](https://github.com/databricks/cli/pull/432)).
   192   * Add fs rm command for dbfs ([#433](https://github.com/databricks/cli/pull/433)).
   193   * Add installation instructions ([#458](https://github.com/databricks/cli/pull/458)).
   194   * Add new line to cmdio JSON rendering ([#443](https://github.com/databricks/cli/pull/443)).
   195   * Add profile on `databricks auth login` ([#423](https://github.com/databricks/cli/pull/423)).
   196   * Add readable console logger ([#370](https://github.com/databricks/cli/pull/370)).
   197   * Add workspace export-dir command ([#449](https://github.com/databricks/cli/pull/449)).
   198   * Added secrets input prompt for secrets put-secret command ([#413](https://github.com/databricks/cli/pull/413)).
   199   * Added spinner when loading command prompts ([#420](https://github.com/databricks/cli/pull/420)).
   200   * Better error message if can not load prompts ([#437](https://github.com/databricks/cli/pull/437)).
   201   * Changed service template to correctly handle required positional arguments ([#405](https://github.com/databricks/cli/pull/405)).
   202   * Do not generate prompts for certain commands ([#438](https://github.com/databricks/cli/pull/438)).
   203   * Do not prompt for List methods ([#411](https://github.com/databricks/cli/pull/411)).
   204   * Do not use FgWhite and FgBlack for terminal output ([#435](https://github.com/databricks/cli/pull/435)).
   205   * Skip path translation of job task for jobs with a Git source ([#404](https://github.com/databricks/cli/pull/404)).
   206   * Tweak profile prompt ([#454](https://github.com/databricks/cli/pull/454)).
   207   * Update with the latest Go SDK ([#457](https://github.com/databricks/cli/pull/457)).
   208   * Use cmdio in version command for `--output` flag ([#419](https://github.com/databricks/cli/pull/419)).
   209  
   210  Bundles:
   211   * Check for nil environment before accessing it ([#453](https://github.com/databricks/cli/pull/453)).
   212  
   213  Dependencies:
   214   * Bump github.com/hashicorp/terraform-json from 0.16.0 to 0.17.0 ([#459](https://github.com/databricks/cli/pull/459)).
   215   * Bump github.com/mattn/go-isatty from 0.0.18 to 0.0.19 ([#412](https://github.com/databricks/cli/pull/412)).
   216  
   217  Internal:
   218   * Add Mkdir and ReadDir functions to filer.Filer interface ([#414](https://github.com/databricks/cli/pull/414)).
   219   * Add Stat function to filer.Filer interface ([#421](https://github.com/databricks/cli/pull/421)).
   220   * Add check for path is a directory in filer.ReadDir ([#426](https://github.com/databricks/cli/pull/426)).
   221   * Add fs.FS adapter for the filer interface ([#422](https://github.com/databricks/cli/pull/422)).
   222   * Add implementation of filer.Filer for local filesystem ([#460](https://github.com/databricks/cli/pull/460)).
   223   * Allow equivalence checking of filer errors to fs errors ([#416](https://github.com/databricks/cli/pull/416)).
   224   * Fix locker integration test ([#417](https://github.com/databricks/cli/pull/417)).
   225   * Implement DBFS filer ([#139](https://github.com/databricks/cli/pull/139)).
   226   * Include recursive deletion in filer interface ([#442](https://github.com/databricks/cli/pull/442)).
   227   * Make filer.Filer return fs.DirEntry from ReadDir ([#415](https://github.com/databricks/cli/pull/415)).
   228   * Speed up sync integration tests ([#428](https://github.com/databricks/cli/pull/428)).
   229  
   230  ## 0.100.2
   231  
   232  CLI:
   233  * Reduce parallellism in locker integration test ([#407](https://github.com/databricks/bricks/pull/407)).
   234  
   235  Bundles:
   236  * Don't pass synthesized TMPDIR if not already set ([#409](https://github.com/databricks/bricks/pull/409)).
   237  * Added support for bundle.Seq, simplified Mutator.Apply interface ([#403](https://github.com/databricks/bricks/pull/403)).
   238  * Regenerated internal schema structs based on Terraform provider schemas ([#401](https://github.com/databricks/bricks/pull/401)).
   239  
   240  ## 0.100.1
   241  
   242  CLI:
   243  * Sync: Gracefully handle broken notebook files ([#398](https://github.com/databricks/cli/pull/398)).
   244  * Add version flag to print version and exit ([#394](https://github.com/databricks/cli/pull/394)).
   245  * Pass temporary directory environment variables to subprocesses ([#395](https://github.com/databricks/cli/pull/395)).
   246  * Rename environment variables `BRICKS_` -> `DATABRICKS_` ([#393](https://github.com/databricks/cli/pull/393)).
   247  * Update to Go SDK v0.9.0 ([#396](https://github.com/databricks/cli/pull/396)).
   248  
   249  ## 0.100.0
   250  
   251  This release bumps the minor version to 100 to disambiguate between Databricks CLI "v1" (the Python version)
   252  and this version, Databricks CLI "v2". This release is a major rewrite of the CLI, and is not backwards compatible.
   253  
   254  CLI:
   255  * Rename bricks -> databricks ([#389](https://github.com/databricks/cli/pull/389)).
   256  
   257  Bundles:
   258  * Added ability for deferred mutator execution ([#380](https://github.com/databricks/cli/pull/380)).
   259  * Do not truncate local state file when pulling remote changes ([#382](https://github.com/databricks/cli/pull/382)).
   260  
   261  ## 0.0.32
   262  
   263  * Add support for variables in bundle config. Introduces 4 ways of setting variable values, which in decreasing order of priority are: ([#383](https://github.com/databricks/cli/pull/383))([#359](https://github.com/databricks/cli/pull/359)).
   264    1. Command line flag. For example: `--var="foo=bar"`
   265    2. Environment variable. eg: BUNDLE_VAR_foo=bar
   266    3. Default value as defined in the applicable environments block
   267    4. Default value defined in variable definition
   268  * Make the git details bundle config block optional ([#372](https://github.com/databricks/cli/pull/372)).
   269  * Fix api post integration tests ([#371](https://github.com/databricks/cli/pull/371)).
   270  * Fix table of content by removing not required top-level item ([#366](https://github.com/databricks/cli/pull/366)).
   271  * Fix printing the tasks in job output in DAG execution order ([#377](https://github.com/databricks/cli/pull/377)).
   272  * Improved error message when 'bricks bundle run' is executed before 'bricks bundle deploy' ([#378](https://github.com/databricks/cli/pull/378)).
   273  
   274  ## 0.0.31
   275  
   276  * Add OpenAPI command coverage (both workspace and account level APIs).
   277  
   278  ### Bundles
   279  
   280  * Automatically populate a bundle's Git repository details in its configuration tree.
   281  
   282  ## 0.0.30
   283  
   284  * Initial preview release of the Databricks CLI.