github.com/tomwright/dasel@v1.27.3/CHANGELOG.md (about)

     1  # Changelog
     2  
     3  All notable changes to this project will be documented in this file.
     4  
     5  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
     6  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
     7  
     8  ## [Unreleased]
     9  
    10  - Nothing yet.
    11  
    12  ## [v1.27.3] - 2022-10-18
    13  
    14  ### Fixed
    15  
    16  - The compact flag now works with the XML parser.
    17  
    18  ## [v1.27.2] - 2022-10-18
    19  
    20  ### Fixed
    21  
    22  - Help text for select and delete commands now contain all available parsers.
    23  - Errors now implement the `Is` interface so they are easier to use from go.
    24  - Floats are now formatted in decimal format instead of scientific notification when writing to CSV ([Issue 245](https://github.com/TomWright/dasel/issues/245), [Issue 229](https://github.com/TomWright/dasel/issues/229))
    25  
    26  ## [v1.27.1] - 2022-09-28
    27  
    28  ### Fixed
    29  
    30  - Improved selector comparison parsing to allow matching on values containing special characters.
    31  
    32  ## [v1.27.0] - 2022-09-26
    33  
    34  ### Added
    35  
    36  - New `value-file` flag allows you to `put` values read from a file ([Issue 246](https://github.com/TomWright/dasel/issues/246))
    37  
    38  ## [v1.26.1] - 2022-08-24
    39  
    40  ### Fixed
    41  
    42  - Make the completion command available for use ([Issue 216](https://github.com/TomWright/dasel/issues/216))
    43  - Make the `__complete` command available for use
    44  
    45  ## [v1.26.0] - 2022-07-09
    46  
    47  ### Added
    48  
    49  - Search optional selector - `(#:key=value)`
    50  
    51  ## [v1.25.1] - 2022-06-29
    52  
    53  ### Added
    54  
    55  - Pre-commit hooks for validate command.
    56  
    57  ## [v1.25.0] - 2022-06-26
    58  
    59  ### Added
    60  
    61  - Support for struct type usage in go package.
    62  - Validate command.
    63  
    64  ## [v1.24.3] - 2022-04-23
    65  
    66  ### Added
    67  
    68  - Gzip compressed binaries on releases.
    69  
    70  ## [v1.24.2] - 2022-04-22
    71  
    72  ### Fixed
    73  
    74  - Update a package to avoid a High Vulnerability in golang.org/x/crypto with CVE ID [CVE-2022-27191](https://github.com/advisories/GHSA-8c26-wmh5-6g9v)
    75  
    76  ## [v1.24.1] - 2022-03-28
    77  
    78  ### Changed
    79  
    80  - `storage` package has been moved outside the `internal` package.
    81  
    82  ### Fixed
    83  
    84  - New funcs added in `v1.24.0` can now be used as expected since you can now access the `storage.ReadWriteOption`.
    85  
    86  ## [v1.24.0] - 2022-03-18
    87  
    88  ### Added
    89  
    90  - `Node.NewFromFile` func to load a root node from a file.
    91  - `Node.NewFromReader` func to load a root node from an `io.Reader`.
    92  - `Node.WriteToFile` func to write results to a file.
    93  - `Node.Write` func to write results to an `io.Writer`.
    94  
    95  ## [v1.23.0] - 2022-03-10
    96  
    97  ### Fixed
    98  
    99  - Update github.com/pelletier/go-toml to consume fix for https://github.com/TomWright/dasel/issues/191.
   100  
   101  ### Added
   102  
   103  - Sprig functions to output formatter template.
   104  
   105  ## [v1.22.1] - 2021-11-09
   106  
   107  ### Fixed
   108  
   109  - Cleaned up error output
   110  
   111  ## [v1.22.0] - 2021-11-09
   112  
   113  ### Added
   114  
   115  - Type selector `[@]`.
   116  
   117  ### Fixed
   118  
   119  - Errors are now written to stderr as expected.
   120  
   121  ## [v1.21.2] - 2021-10-21
   122  
   123  ### Added
   124  
   125  - Linux arm32 build target.
   126  
   127  ## [v1.21.1] - 2021-09-30
   128  
   129  ### Changed
   130  - `--escape-html` flag now defaults to false.
   131  
   132  ## [v1.21.0] - 2021-09-29
   133  
   134  ### Added
   135  - `--escape-html` flag.
   136  
   137  ### Fixed
   138  - `put document` and `put object` are now aware of the `--merge-input-documents` flag.
   139  
   140  ## [v1.20.1] - 2021-09-28
   141  
   142  ### Added
   143  
   144  - `buster-slim` and `alpine` tags to built docker images.
   145  
   146  ### Fixed
   147  
   148  - Different encodings in XML files are now [handled as expected](https://github.com/TomWright/dasel/issues/164).
   149  
   150  ## [v1.20.0] - 2021-08-30
   151  
   152  ### Added
   153  
   154  - `-v`, `--value` flag to workaround [dash issue](https://github.com/TomWright/dasel/issues/117).
   155  
   156  ### Fixed
   157  
   158  - Fixed an issue in which unicode characters could cause issues when parsing selectors.
   159  
   160  ## [v1.19.0] - 2021-08-14
   161  
   162  ### Added
   163  
   164  - `--colour`,`--color` flag to enable colourised output in select command.
   165  
   166  ## [v1.18.0] - 2021-08-11
   167  
   168  ### Added
   169  
   170  - `--format` flag to `select` command.
   171  
   172  ## [v1.17.0] - 2021-08-08
   173  
   174  ### Added
   175  
   176  - Support for `!=` comparison operator in dynamic and search selectors.
   177  - Support for `-`/`keyValue` key in dynamic selectors.
   178  
   179  ## [v1.16.1] - 2021-08-02
   180  
   181  ### Fixed
   182  
   183  - Fixed a bug that stopped the delete command editing files in place.
   184  
   185  ## [v1.16.0] - 2021-08-01
   186  
   187  ### Added
   188  
   189  - Delete command.
   190  
   191  ## [v1.15.0] - 2021-05-06
   192  
   193  ### Added
   194  
   195  - `--merge-input-documents` flag.
   196  
   197  ### Changed
   198  
   199  - Optional `noupdater` build tag to disable the self-update command.
   200  
   201  ### Fixed
   202  
   203  - Empty XML documents are now parsed correctly.
   204    - https://github.com/TomWright/dasel/issues/131
   205  
   206  ## [v1.14.1] - 2021-04-15
   207  
   208  ### Added
   209  
   210  - arm64 build support.
   211  
   212  ## [v1.14.0] - 2021-04-11
   213  
   214  ### Added
   215  
   216  - `.[#]` length selector.
   217  - `>` comparison operator.
   218  - `>=` comparison operator.
   219  - `<` comparison operator.
   220  - `<=` comparison operator.
   221  
   222  ## [v1.13.6] - 2021-03-29
   223  
   224  ### Changed
   225  
   226  - Development versions of dasel will now include more specific version information where possible.
   227  
   228  ### Fixed
   229  
   230  - Fix an issue that stopped dasel being able to output CSV documents when parsed from JSON. 
   231  
   232  ## [v1.13.5] - 2021-03-22
   233  
   234  ### Fixed
   235  
   236  - Empty map values are now initialised as `map[string]interface{}` rather than `map[interface{}]interface{}`.
   237  
   238  ## [v1.13.4] - 2021-03-11
   239  
   240  ### Fixed
   241  
   242  - Empty document input is now treated different in select and put commands.
   243    - https://github.com/TomWright/dasel/issues/99
   244    - https://github.com/TomWright/dasel/issues/102
   245  
   246  ## [v1.13.3] - 2021-03-05
   247  
   248  ### Fixed
   249  
   250  - Blank YAML and CSV input is now treated as an empty document.
   251  
   252  ### Changed
   253  
   254  - Blank JSON input is now treated as an empty document.
   255  
   256  ## [v1.13.2] - 2021-02-25
   257  
   258  ### Changed
   259  
   260  - Improved information provided in `UnsupportedTypeForSelector` errors.
   261  - Upgrade to go 1.16.
   262  
   263  ### Fixed
   264  
   265  - Make sure the `-n`,`--null` flag has an effect in multi-select queries.
   266  
   267  ## [v1.13.1] - 2021-02-18
   268  
   269  ### Fixed
   270  
   271  - Added `CGO_ENABLED=0` build flag to ensure linux_amd64 builds are statically linked.
   272  
   273  ## [v1.13.0] - 2021-02-11
   274  
   275  ### Added
   276  
   277  - `--length` flag to select command.
   278  
   279  ## [v1.12.2] - 2021-01-05
   280  
   281  ### Fixed
   282  
   283  - Fix a bug that stopped the write parser being properly detected when writing to the input file.
   284  
   285  ## [v1.12.1] - 2021-01-05
   286  
   287  ### Changed
   288  
   289  - Build workflows now updated to run on ubuntu-latest and use a matrix to build assets for `linux`, `darwin` and
   290  `windows` for both `amd64` and `386`.
   291  
   292  ### Fixed
   293  
   294  - Release asset for macos/darwin is now named `dasel_darwin_amd64` instead of `dasel_macos_amd64`.
   295  - Self-updater now identifies `dev` version as development.
   296  
   297  ## [v1.12.0] - 2021-01-02
   298  
   299  ### Added
   300  
   301  - Add `-c`, `--compact` flag to remove pretty-print formatting from JSON output.
   302  - Defined `storage.IndentOption(indent string) ReadWriteOption`.
   303  - Defined `storage.PrettyPrintOption(enabled bool) ReadWriteOption`.
   304  
   305  ### Changed
   306  
   307  - Changed `storage.Parser` funcs to allow the passing of `...ReadWriteOption`.
   308  
   309  ## [v1.11.0] - 2020-12-22
   310  
   311  ### Added
   312  
   313  - Benchmark info now contains graphs.
   314  - `update` command to self-update dasel.
   315  
   316  ### Changed
   317  
   318  - Benchmark info now directly compares dasel, jq and yq.
   319  
   320  ## [v1.10.0] - 2020-12-19
   321  
   322  ### Added
   323  
   324  - Add `dasel put document` command.
   325  - Benchmark information.
   326  
   327  ### Fixed
   328  
   329  - `-r`,`--read` and `-w`,`--write` flags are now used in `dasel put object`.
   330  - Fix issues that occurred when writing to the root node.
   331  
   332  ### Changed
   333  
   334  - Command names and descriptions.
   335  
   336  ## [v1.9.1] - 2020-12-12
   337  
   338  ### Fixed
   339  
   340  - Stopped parsing XML entities in strings.
   341  
   342  ## [v1.9.0] - 2020-12-12
   343  
   344  ### Added
   345  
   346  - Add keys/index selector in multi queries.
   347  - Add `-n`,`--null` flag.
   348  
   349  ## [v1.8.0] - 2020-12-01
   350  
   351  ### Added
   352  
   353  - Add ability to use `ANY_INDEX` (`[*]`) and `DYNAMIC` (`(x=y)`) selectors on maps/objects.
   354  
   355  ## [v1.7.0] - 2020-11-30
   356  
   357  ### Added
   358  
   359  - Add `-r`,`--read` and `-w`,`--write` flags to specifically choose input/output parsers. This allows you to convert data between formats.
   360  
   361  ## [v1.6.2] - 2020-11-18
   362  
   363  ### Added
   364  
   365  - Add support for multi-document JSON files.
   366  
   367  ## [v1.6.1] - 2020-11-17
   368  
   369  ### Changed
   370  
   371  - Remove some validation on `dasel put object` to allow you to put empty objects.
   372  
   373  ## [v1.6.0] - 2020-11-17
   374  
   375  ### Added
   376  
   377  - Add search selector to allow recursive searching from the current node.
   378  
   379  ## [v1.5.1] - 2020-11-14
   380  
   381  ### Fixed
   382  
   383  - Fixed an issue that stopped new values being saved.
   384  
   385  ## [v1.5.0] - 2020-11-12
   386  
   387  ### Added
   388  
   389  - Add ability to use `\` as an escape character in selectors.
   390  
   391  ## [v1.4.1] - 2020-11-11
   392  
   393  ### Fixed
   394  
   395  - Fix an issue when parsing dynamic selectors.
   396  
   397  ## [v1.4.0] - 2020-11-08
   398  
   399  ### Added
   400  
   401  - Add `-m`,`--multiple` flag to deal with multi-value queries.
   402  - Add `ANY_INDEX` or `[*]` selector.
   403  - Add `NextMultiple` property to the `Node` struct - this is used when processing multi-value queries.
   404  - Add `Node.QueryMultiple` func.
   405  - Add `Node.PutMultiple` func.
   406  
   407  ## [v1.3.0] - 2020-11-08
   408  
   409  ### Added
   410  
   411  - Add support for CSV files.
   412  
   413  ## [v1.2.0] - 2020-11-07
   414  
   415  ### Added
   416  
   417  - Add support for multi-document YAML files.
   418  - Add CodeQL step in github actions.
   419  
   420  ### Changed
   421  
   422  - Docker image is now pushed to ghcr instead of github packages.
   423  
   424  ## [v1.1.0] - 2020-11-01
   425  
   426  ### Added
   427  
   428  - Add sub-selector support in dynamic selectors.
   429  
   430  ## [v1.0.4] - 2020-10-30
   431  
   432  ### Added
   433  
   434  - Add `--plain` flag to tell dasel to output un-formatted values.
   435  
   436  ## [v1.0.3] - 2020-10-29
   437  
   438  ### Changed
   439  
   440  - Command output is now followed by a newline.
   441  
   442  ## [v1.0.2] - 2020-10-28
   443  
   444  ### Added
   445  
   446  - Docker image is now built and pushed when a new release is tagged.
   447  
   448  ## [v1.0.1] - 2020-10-28
   449  
   450  ### Added
   451  
   452  - Add support for XML.
   453  
   454  ### Changed
   455  
   456  - Add `-` as an alias for `stdin`/`stdout` in `--file` and `--output` flags.
   457  - Selector can now be given as the first argument making the flag itself optional.
   458  - `select` is now the default command.
   459  
   460  ## [v1.0.0] - 2020-10-27
   461  
   462  ### Added
   463  
   464  - Add lots of tests.
   465  - Add docs.
   466  - Got accepted to go-awesome.
   467  
   468  ## [v0.0.5] - 2020-09-27
   469  
   470  ### Added
   471  
   472  - Add support for TOML.
   473  
   474  ## [v0.0.4] - 2020-09-27
   475  
   476  ### Added
   477  
   478  - Ability to check against the node value in a dynamic selector.
   479  - Code coverage.
   480  
   481  ### Changed
   482  
   483  - Use reflection instead of fixed type checks.
   484  
   485  ## [v0.0.3] - 2020-09-24
   486  
   487  ### Changed
   488  
   489  - Use reflection instead of fixed type checks.
   490  - Extract commands into their own functions to make them testable.
   491  
   492  ## [v0.0.2] - 2020-09-23
   493  
   494  ### Added
   495  
   496  - Add ability to pipe data in/out of dasel.
   497  - Add dasel put command.
   498  
   499  ## [v0.0.1] - 2020-09-22
   500  
   501  ### Added
   502  
   503  - Everything!
   504  
   505  [unreleased]: https://github.com/TomWright/dasel/compare/v1.27.3...HEAD
   506  [v1.27.3]: https://github.com/TomWright/dasel/compare/v1.27.2...v1.27.3
   507  [v1.27.2]: https://github.com/TomWright/dasel/compare/v1.27.1...v1.27.2
   508  [v1.27.1]: https://github.com/TomWright/dasel/compare/v1.27.0...v1.27.1
   509  [v1.27.0]: https://github.com/TomWright/dasel/compare/v1.26.1...v1.27.0
   510  [v1.26.1]: https://github.com/TomWright/dasel/compare/v1.26.0...v1.26.1
   511  [v1.26.0]: https://github.com/TomWright/dasel/compare/v1.25.1...v1.26.0
   512  [v1.25.1]: https://github.com/TomWright/dasel/compare/v1.25.0...v1.25.1
   513  [v1.25.0]: https://github.com/TomWright/dasel/compare/v1.24.3...v1.25.0
   514  [v1.24.3]: https://github.com/TomWright/dasel/compare/v1.24.2...v1.24.3
   515  [v1.24.2]: https://github.com/TomWright/dasel/compare/v1.24.1...v1.24.2
   516  [v1.24.1]: https://github.com/TomWright/dasel/compare/v1.24.0...v1.24.1
   517  [v1.24.0]: https://github.com/TomWright/dasel/compare/v1.23.0...v1.24.0
   518  [v1.23.0]: https://github.com/TomWright/dasel/compare/v1.22.1...v1.23.0
   519  [v1.22.1]: https://github.com/TomWright/dasel/compare/v1.22.0...v1.22.1
   520  [v1.22.0]: https://github.com/TomWright/dasel/compare/v1.21.2...v1.22.0
   521  [v1.21.2]: https://github.com/TomWright/dasel/compare/v1.21.1...v1.21.2
   522  [v1.21.1]: https://github.com/TomWright/dasel/compare/v1.21.0...v1.21.1
   523  [v1.21.0]: https://github.com/TomWright/dasel/compare/v1.20.1...v1.21.0
   524  [v1.20.1]: https://github.com/TomWright/dasel/compare/v1.20.0...v1.20.1
   525  [v1.20.0]: https://github.com/TomWright/dasel/compare/v1.19.0...v1.20.0
   526  [v1.19.0]: https://github.com/TomWright/dasel/compare/v1.18.0...v1.19.0
   527  [v1.18.0]: https://github.com/TomWright/dasel/compare/v1.17.0...v1.18.0
   528  [v1.17.0]: https://github.com/TomWright/dasel/compare/v1.16.1...v1.17.0
   529  [v1.16.1]: https://github.com/TomWright/dasel/compare/v1.16.0...v1.16.1
   530  [v1.16.0]: https://github.com/TomWright/dasel/compare/v1.15.0...v1.16.0
   531  [v1.15.0]: https://github.com/TomWright/dasel/compare/v1.14.1...v1.15.0
   532  [v1.14.1]: https://github.com/TomWright/dasel/compare/v1.14.0...v1.14.1
   533  [v1.14.0]: https://github.com/TomWright/dasel/compare/v1.13.6...v1.14.0
   534  [v1.13.6]: https://github.com/TomWright/dasel/compare/v1.13.5...v1.13.6
   535  [v1.13.5]: https://github.com/TomWright/dasel/compare/v1.13.4...v1.13.5
   536  [v1.13.4]: https://github.com/TomWright/dasel/compare/v1.13.3...v1.13.4
   537  [v1.13.3]: https://github.com/TomWright/dasel/compare/v1.13.2...v1.13.3
   538  [v1.13.2]: https://github.com/TomWright/dasel/compare/v1.13.1...v1.13.2
   539  [v1.13.1]: https://github.com/TomWright/dasel/compare/v1.13.0...v1.13.1
   540  [v1.13.0]: https://github.com/TomWright/dasel/compare/v1.12.2...v1.13.0
   541  [v1.12.2]: https://github.com/TomWright/dasel/compare/v1.12.1...v1.12.2
   542  [v1.12.1]: https://github.com/TomWright/dasel/compare/v1.12.0...v1.12.1
   543  [v1.12.0]: https://github.com/TomWright/dasel/compare/v1.11.0...v1.12.0
   544  [v1.11.0]: https://github.com/TomWright/dasel/compare/v1.10.0...v1.11.0
   545  [v1.10.0]: https://github.com/TomWright/dasel/compare/v1.9.1...v1.10.0
   546  [v1.9.1]: https://github.com/TomWright/dasel/compare/v1.9.0...v1.9.1
   547  [v1.9.0]: https://github.com/TomWright/dasel/compare/v1.8.0...v1.9.0
   548  [v1.8.0]: https://github.com/TomWright/dasel/compare/v1.7.0...v1.8.0
   549  [v1.7.0]: https://github.com/TomWright/dasel/compare/v1.6.2...v1.7.0
   550  [v1.6.2]: https://github.com/TomWright/dasel/compare/v1.6.1...v1.6.2
   551  [v1.6.1]: https://github.com/TomWright/dasel/compare/v1.6.0...v1.6.1
   552  [v1.6.0]: https://github.com/TomWright/dasel/compare/v1.5.1...v1.6.0
   553  [v1.5.1]: https://github.com/TomWright/dasel/compare/v1.5.0...v1.5.1
   554  [v1.5.0]: https://github.com/TomWright/dasel/compare/v1.4.1...v1.5.0
   555  [v1.4.1]: https://github.com/TomWright/dasel/compare/v1.4.0...v1.4.1
   556  [v1.4.0]: https://github.com/TomWright/dasel/compare/v1.3.0...v1.4.0
   557  [v1.3.0]: https://github.com/TomWright/dasel/compare/v1.2.0...v1.3.0
   558  [v1.1.0]: https://github.com/TomWright/dasel/compare/v1.0.4...v1.1.0
   559  [v1.0.4]: https://github.com/TomWright/dasel/compare/v1.0.3...v1.0.4
   560  [v1.0.3]: https://github.com/TomWright/dasel/compare/v1.0.2...v1.0.3
   561  [v1.0.2]: https://github.com/TomWright/dasel/compare/v1.0.1...v1.0.2
   562  [v1.0.1]: https://github.com/TomWright/dasel/compare/v1.0.0...v1.0.1
   563  [v1.0.0]: https://github.com/TomWright/dasel/compare/v0.0.5...v1.0.0
   564  [v0.0.5]: https://github.com/TomWright/dasel/compare/v0.0.4...v0.0.5
   565  [v0.0.4]: https://github.com/TomWright/dasel/compare/v0.0.3...v0.0.4
   566  [v0.0.3]: https://github.com/TomWright/dasel/compare/v0.0.2...v0.0.3
   567  [v0.0.2]: https://github.com/TomWright/dasel/compare/v0.0.1...v0.0.2
   568  [v0.0.1]: https://github.com/TomWright/dasel/releases/tag/v0.0.1