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.
- Nothing yet.
v1.12.2 - 2021-01-05
- Fix a bug that stopped the write parser being properly detected when writing to the input file.
v1.12.1 - 2021-01-05
- Build workflows now updated to run on ubuntu-latest and use a matrix to build assets for
linux
,darwin
andwindows
for bothamd64
and386
.
- Release asset for macos/darwin is now named
dasel_darwin_amd64
instead ofdasel_macos_amd64
. - Self-updater now identifies
dev
version as development.
v1.12.0 - 2021-01-02
- 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
storage.Parser
funcs to allow the passing of...ReadWriteOption
.
v1.11.0 - 2020-12-22
- Benchmark info now contains graphs.
update
command to self-update dasel.
- Benchmark info now directly compares dasel, jq and yq.
v1.10.0 - 2020-12-19
- Add
dasel put document
command. - Benchmark information.
-r
,--read
and-w
,--write
flags are now used indasel put object
.- Fix issues that occurred when writing to the root node.
- Command names and descriptions.
v1.9.1 - 2020-12-12
- Stopped parsing XML entities in strings.
v1.9.0 - 2020-12-12
- Add keys/index selector in multi queries.
- Add
-n
,--null
flag.
v1.8.0 - 2020-12-01
- Add ability to use
ANY_INDEX
([*]
) andDYNAMIC
((x=y)
) selectors on maps/objects.
v1.7.0 - 2020-11-30
- 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
- Add support for multi-document JSON files.
v1.6.1 - 2020-11-17
- Remove some validation on
dasel put object
to allow you to put empty objects.
v1.6.0 - 2020-11-17
- Add search selector to allow recursive searching from the current node.
v1.5.1 - 2020-11-14
- Fixed an issue that stopped new values being saved.
v1.5.0 - 2020-11-12
- Add ability to use
\
as an escape character in selectors.
v1.4.1 - 2020-11-11
- Fix an issue when parsing dynamic selectors.
v1.4.0 - 2020-11-08
- Add
-m
,--multiple
flag to deal with multi-value queries. - Add
ANY_INDEX
or[*]
selector. - Add
NextMultiple
property to theNode
struct - this is used when processing multi-value queries. - Add
Node.QueryMultiple
func. - Add
Node.PutMultiple
func.
v1.3.0 - 2020-11-08
- Add support for CSV files.
- Add support for multi-document YAML files.
- Add CodeQL step in github actions.
- Docker image is now pushed to ghcr instead of github packages.
v1.1.0 - 2020-11-01
- Add sub-selector support in dynamic selectors.
v1.0.4 - 2020-10-30
- Add
--plain
flag to tell dasel to output un-formatted values.
v1.0.3 - 2020-10-29
- Command output is now followed by a newline.
v1.0.2 - 2020-10-28
- Docker image is now built and pushed when a new release is tagged.
v1.0.1 - 2020-10-28
- Add support for XML.
- Add
-
as an alias forstdin
/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
- Add lots of tests.
- Add docs.
- Got accepted to go-awesome.
v0.0.5 - 2020-09-27
- Add support for TOML.
v0.0.4 - 2020-09-27
- Ability to check against the node value in a dynamic selector.
- Code coverage.
- Use reflection instead of fixed type checks.
v0.0.3 - 2020-09-24
- Use reflection instead of fixed type checks.
- Extract commands into their own functions to make them testable.
v0.0.2 - 2020-09-23
- Add ability to pipe data in/out of dasel.
- Add dasel put command.
v0.0.1 - 2020-09-22
- Everything!