1
0
mirror of https://github.com/TomWright/dasel.git synced 2022-05-22 02:32:45 +03:00
Files
dasel-data-selector/CHANGELOG.md
2022-04-23 14:20:50 +01:00

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

  • storage package has been moved outside the internal package.

Fixed

  • New funcs added in v1.24.0 can now be used as expected since you can now access the storage.ReadWriteOption.

v1.24.0 - 2022-03-18

Added

  • Node.NewFromFile func to load a root node from a file.
  • Node.NewFromReader func to load a root node from an io.Reader.
  • Node.WriteToFile func to write results to a file.
  • Node.Write func to write results to an io.Writer.

v1.23.0 - 2022-03-10

Fixed

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-html flag now defaults to false.

v1.21.0 - 2021-09-29

Added

  • --escape-html flag.

Fixed

  • put document and put object are now aware of the --merge-input-documents flag.

v1.20.1 - 2021-09-28

Added

  • buster-slim and alpine tags to built docker images.

Fixed

v1.20.0 - 2021-08-30

Added

Fixed

  • Fixed an issue in which unicode characters could cause issues when parsing selectors.

v1.19.0 - 2021-08-14

Added

  • --colour,--color flag to enable colourised output in select command.

v1.18.0 - 2021-08-11

Added

  • --format flag to select command.

v1.17.0 - 2021-08-08

Added

  • Support for != comparison operator in dynamic and search selectors.
  • Support for -/keyValue key 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-documents flag.

Changed

  • Optional noupdater build tag to disable the self-update command.

Fixed

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 than map[interface{}]interface{}.

v1.13.4 - 2021-03-11

Fixed

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 UnsupportedTypeForSelector errors.
  • Upgrade to go 1.16.

Fixed

  • Make sure the -n,--null flag has an effect in multi-select queries.

v1.13.1 - 2021-02-18

Fixed

  • Added CGO_ENABLED=0 build flag to ensure linux_amd64 builds are statically linked.

v1.13.0 - 2021-02-11

Added

  • --length flag 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, darwin and windows for both amd64 and 386.

Fixed

  • Release asset for macos/darwin is now named dasel_darwin_amd64 instead of dasel_macos_amd64.
  • Self-updater now identifies dev version as development.

v1.12.0 - 2021-01-02

Added

  • Add -c, --compact flag to remove pretty-print formatting from JSON output.
  • Defined storage.IndentOption(indent string) ReadWriteOption.
  • Defined storage.PrettyPrintOption(enabled bool) ReadWriteOption.

Changed

  • Changed storage.Parser funcs to allow the passing of ...ReadWriteOption.

v1.11.0 - 2020-12-22

Added

  • Benchmark info now contains graphs.
  • update command to self-update dasel.

Changed

  • Benchmark info now directly compares dasel, jq and yq.

v1.10.0 - 2020-12-19

Added

  • Add dasel put document command.
  • Benchmark information.

Fixed

  • -r,--read and -w,--write flags are now used in dasel 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,--null flag.

v1.8.0 - 2020-12-01

Added

  • Add ability to use ANY_INDEX ([*]) and DYNAMIC ((x=y)) selectors on maps/objects.

v1.7.0 - 2020-11-30

Added

  • Add -r,--read and -w,--write flags 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 object to 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,--multiple flag to deal with multi-value queries.
  • Add ANY_INDEX or [*] selector.
  • Add NextMultiple property to the Node struct - this is used when processing multi-value queries.
  • Add Node.QueryMultiple func.
  • Add Node.PutMultiple func.

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 --plain flag 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 for stdin/stdout in --file and --output flags.
  • Selector can now be given as the first argument making the flag itself optional.
  • select is 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!