mirror of
https://github.com/TomWright/dasel.git
synced 2022-05-22 02:32:45 +03:00
12 KiB
12 KiB
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
Unreleased
- Nothing yet.
v1.24.3 - 2022-04-23
Added
- Gzip compressed binaries on releases.
v1.24.2 - 2022-04-22
Fixed
- Update a package to avoid a High Vulnerability in golang.org/x/crypto with CVE ID CVE-2022-27191
v1.24.1 - 2022-03-28
Changed
storagepackage has been moved outside theinternalpackage.
Fixed
- New funcs added in
v1.24.0can now be used as expected since you can now access thestorage.ReadWriteOption.
v1.24.0 - 2022-03-18
Added
Node.NewFromFilefunc to load a root node from a file.Node.NewFromReaderfunc to load a root node from anio.Reader.Node.WriteToFilefunc to write results to a file.Node.Writefunc to write results to anio.Writer.
v1.23.0 - 2022-03-10
Fixed
- Update github.com/pelletier/go-toml to consume fix for https://github.com/TomWright/dasel/issues/191.
Added
- Sprig functions to output formatter template.
v1.22.1 - 2021-11-09
Fixed
- Cleaned up error output
v1.22.0 - 2021-11-09
Added
- Type selector
[@].
Fixed
- Errors are now written to stderr as expected.
v1.21.2 - 2021-10-21
Added
- Linux arm32 build target.
v1.21.1 - 2021-09-30
Changed
--escape-htmlflag now defaults to false.
v1.21.0 - 2021-09-29
Added
--escape-htmlflag.
Fixed
put documentandput objectare now aware of the--merge-input-documentsflag.
v1.20.1 - 2021-09-28
Added
buster-slimandalpinetags to built docker images.
Fixed
- Different encodings in XML files are now handled as expected.
v1.20.0 - 2021-08-30
Added
-v,--valueflag to workaround dash issue.
Fixed
- Fixed an issue in which unicode characters could cause issues when parsing selectors.
v1.19.0 - 2021-08-14
Added
--colour,--colorflag to enable colourised output in select command.
v1.18.0 - 2021-08-11
Added
--formatflag toselectcommand.
v1.17.0 - 2021-08-08
Added
- Support for
!=comparison operator in dynamic and search selectors. - Support for
-/keyValuekey in dynamic selectors.
v1.16.1 - 2021-08-02
Fixed
- Fixed a bug that stopped the delete command editing files in place.
v1.16.0 - 2021-08-01
Added
- Delete command.
v1.15.0 - 2021-05-06
Added
--merge-input-documentsflag.
Changed
- Optional
noupdaterbuild tag to disable the self-update command.
Fixed
- Empty XML documents are now parsed correctly.
v1.14.1 - 2021-04-15
Added
- arm64 build support.
v1.14.0 - 2021-04-11
Added
.[#]length selector.>comparison operator.>=comparison operator.<comparison operator.<=comparison operator.
v1.13.6 - 2021-03-29
Changed
- Development versions of dasel will now include more specific version information where possible.
Fixed
- Fix an issue that stopped dasel being able to output CSV documents when parsed from JSON.
v1.13.5 - 2021-03-22
Fixed
- Empty map values are now initialised as
map[string]interface{}rather thanmap[interface{}]interface{}.
v1.13.4 - 2021-03-11
Fixed
- Empty document input is now treated different in select and put commands.
v1.13.3 - 2021-03-05
Fixed
- Blank YAML and CSV input is now treated as an empty document.
Changed
- Blank JSON input is now treated as an empty document.
v1.13.2 - 2021-02-25
Changed
- Improved information provided in
UnsupportedTypeForSelectorerrors. - Upgrade to go 1.16.
Fixed
- Make sure the
-n,--nullflag has an effect in multi-select queries.
v1.13.1 - 2021-02-18
Fixed
- Added
CGO_ENABLED=0build flag to ensure linux_amd64 builds are statically linked.
v1.13.0 - 2021-02-11
Added
--lengthflag to select command.
v1.12.2 - 2021-01-05
Fixed
- Fix a bug that stopped the write parser being properly detected when writing to the input file.
v1.12.1 - 2021-01-05
Changed
- Build workflows now updated to run on ubuntu-latest and use a matrix to build assets for
linux,darwinandwindowsfor bothamd64and386.
Fixed
- Release asset for macos/darwin is now named
dasel_darwin_amd64instead ofdasel_macos_amd64. - Self-updater now identifies
devversion as development.
v1.12.0 - 2021-01-02
Added
- Add
-c,--compactflag to remove pretty-print formatting from JSON output. - Defined
storage.IndentOption(indent string) ReadWriteOption. - Defined
storage.PrettyPrintOption(enabled bool) ReadWriteOption.
Changed
- Changed
storage.Parserfuncs to allow the passing of...ReadWriteOption.
v1.11.0 - 2020-12-22
Added
- Benchmark info now contains graphs.
updatecommand to self-update dasel.
Changed
- Benchmark info now directly compares dasel, jq and yq.
v1.10.0 - 2020-12-19
Added
- Add
dasel put documentcommand. - Benchmark information.
Fixed
-r,--readand-w,--writeflags are now used indasel put object.- Fix issues that occurred when writing to the root node.
Changed
- Command names and descriptions.
v1.9.1 - 2020-12-12
Fixed
- Stopped parsing XML entities in strings.
v1.9.0 - 2020-12-12
Added
- Add keys/index selector in multi queries.
- Add
-n,--nullflag.
v1.8.0 - 2020-12-01
Added
- Add ability to use
ANY_INDEX([*]) andDYNAMIC((x=y)) selectors on maps/objects.
v1.7.0 - 2020-11-30
Added
- Add
-r,--readand-w,--writeflags to specifically choose input/output parsers. This allows you to convert data between formats.
v1.6.2 - 2020-11-18
Added
- Add support for multi-document JSON files.
v1.6.1 - 2020-11-17
Changed
- Remove some validation on
dasel put objectto allow you to put empty objects.
v1.6.0 - 2020-11-17
Added
- Add search selector to allow recursive searching from the current node.
v1.5.1 - 2020-11-14
Fixed
- Fixed an issue that stopped new values being saved.
v1.5.0 - 2020-11-12
Added
- Add ability to use
\as an escape character in selectors.
v1.4.1 - 2020-11-11
Fixed
- Fix an issue when parsing dynamic selectors.
v1.4.0 - 2020-11-08
Added
- Add
-m,--multipleflag to deal with multi-value queries. - Add
ANY_INDEXor[*]selector. - Add
NextMultipleproperty to theNodestruct - this is used when processing multi-value queries. - Add
Node.QueryMultiplefunc. - Add
Node.PutMultiplefunc.
v1.3.0 - 2020-11-08
Added
- Add support for CSV files.
[v1.2.0] - 2020-11-07
Added
- Add support for multi-document YAML files.
- Add CodeQL step in github actions.
Changed
- Docker image is now pushed to ghcr instead of github packages.
v1.1.0 - 2020-11-01
Added
- Add sub-selector support in dynamic selectors.
v1.0.4 - 2020-10-30
Added
- Add
--plainflag to tell dasel to output un-formatted values.
v1.0.3 - 2020-10-29
Changed
- Command output is now followed by a newline.
v1.0.2 - 2020-10-28
Added
- Docker image is now built and pushed when a new release is tagged.
v1.0.1 - 2020-10-28
Added
- Add support for XML.
Changed
- Add
-as an alias forstdin/stdoutin--fileand--outputflags. - Selector can now be given as the first argument making the flag itself optional.
selectis now the default command.
v1.0.0 - 2020-10-27
Added
- Add lots of tests.
- Add docs.
- Got accepted to go-awesome.
v0.0.5 - 2020-09-27
Added
- Add support for TOML.
v0.0.4 - 2020-09-27
Added
- Ability to check against the node value in a dynamic selector.
- Code coverage.
Changed
- Use reflection instead of fixed type checks.
v0.0.3 - 2020-09-24
Changed
- Use reflection instead of fixed type checks.
- Extract commands into their own functions to make them testable.
v0.0.2 - 2020-09-23
Added
- Add ability to pipe data in/out of dasel.
- Add dasel put command.
v0.0.1 - 2020-09-22
Added
- Everything!