Debian Codegraph @

CHANGELOG.md

raw symbols SCIP
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 ## [v3.11.2] - 2026-06-27
11
12 ### Security
13
14 - Fixed panic (index out of range) in the selector lexer when the input ends with whitespace, e.g. `dasel query 'a '` ([GHSA-65gg-g7rw-6cpc](https://github.com/TomWright/dasel/security/advisories/GHSA-65gg-g7rw-6cpc)). The whitespace-skip loop could advance the position to the end of input, after which the next character access had no bounds check.
15
16 ## [v3.11.1] - 2026-06-20
17
18 ### Security
19
20 - Fixed stack overflow (unrecoverable `fatal error`) in the JSON and XML readers when parsing deeply nested input ([GHSA-cqxr-jxr2-85pq](https://github.com/TomWright/dasel/security/advisories/GHSA-cqxr-jxr2-85pq)). Both readers now enforce a 10,000-level nesting depth limit and return a clean error (`ErrJSONMaxDepthExceeded` / `ErrXMLMaxDepthExceeded`) instead of crashing the process.
21
22 ## [v3.11.0] - 2026-05-19
23
24 ### Added
25
26 - Support for newline-delimited JSON (NDJSON) input. Multiple JSON values in a single input are now parsed as a multi-document branch, matching the existing YAML multi-document behaviour.
27
28 ### Fixed
29
30 - Strip leading "v" from version output for consistency across build methods (Docker vs Homebrew).
31
32 ## [v3.10.1] - 2026-05-13
33
34 ### Fixed
35
36 - Fixed a non-terminating loop in the selector lexer when tokenizing unterminated regex patterns (e.g. `r/abc`). The tokenizer now returns an error instead of looping indefinitely.
37 - Fix panic when selector query contains a trailing backslash in a quoted string ([GHSA-m5j3-4634-c2vq](https://github.com/TomWright/dasel/security/advisories/GHSA-m5j3-4634-c2vq)).
38
39 ## [v3.10.0] - 2026-05-13
40
41 ### Added
42
43 - KDL format support (`-i kdl` / `-o kdl`) for reading and writing [KDL](https://kdl.dev/) configuration files (#504). Supports both v1 and v2 syntax with automatic version detection. Output version is configurable via `--write-flag kdl-version=1` or `--write-flag kdl-version=2` (default).
44
45 ## [v3.9.0] - 2026-05-13
46
47 ### Added
48
49 - `groupBy(expr)` function to group array elements by a derived key expression, producing a map of key to matching elements.
50 - `reduce(expr, init, update)` function for folding arrays into a single value using an accumulator (`$acc`).
51 - `mapValues(expr)` function for transforming all values of a map/object while preserving keys.
52 - `$key` variable available in all iteration expressions (`filter`, `map`, `each`, `sortBy`, `groupBy`, `any`, `all`, `count`, `reduce`, `mapValues`, `search`, recursive descent). Provides the current index (for slices) or key name (for maps).
53
54 ## [v3.8.1] - 2026-04-30
55
56 - `dasel man` now generates a reproducible manpage based on [SOURCE_DATE_EPOCH](https://reproducible-builds.org/specs/source-date-epoch).
57
58 ## [v3.8.0] - 2026-04-26
59
60 ### Added
61
62 - `dasel completion <shell>` subcommand to generate shell completion scripts for bash, zsh, fish, and powershell (#497).
63 - `dasel man` subcommand to generate a man page (#497).
64
65 ### Fixed
66
67 - YAML string quote style (double, single, literal, folded) is now preserved on round-trip (#452).
68
69 ## [v3.7.0] - 2026-04-25
70
71 ### Changed
72
73 - `merge` function now performs deep merge, recursively merging nested maps (#133).
74
75 ## [v3.6.0] - 2026-04-25
76
77 ### Added
78
79 - `--compact` flag for compact output (no indentation/newlines).
80
81 ### Changed
82
83 - `stringify` function now produces compact output.
84
85 ### Fixed
86
87 - Compact/pretty output support for JSON, TOML, YAML, and XML writers (#457).
88
89 ## [v3.5.0] - 2026-04-25
90
91 ### Added
92
93 - `split` function that splits a string by a separator into an array of strings.
94 - `toLower` function that converts a string to lowercase.
95 - `toUpper` function that converts a string to uppercase.
96 - `trim` function that trims whitespace from both ends of a string.
97 - `trimPrefix` function that trims a prefix from a string.
98 - `trimSuffix` function that trims a suffix from a string.
99 - `startsWith` function that checks if a string starts with a given prefix.
100 - `endsWith` function that checks if a string ends with a given suffix.
101 - `indexOf` function that returns the index of the first occurrence of a substring, or -1 if not found.
102 - `abs` function that returns the absolute value of a number.
103 - `floor` function that returns the largest integer less than or equal to the input.
104 - `ceil` function that returns the smallest integer greater than or equal to the input.
105 - `round` function that rounds a number to the nearest integer.
106 - `avg` function that returns the average of the given numbers.
107 - `flatten` function that flattens a nested array by one level.
108 - `unique` function that removes duplicate values from an array.
109 - `first` function that returns the first element of an array.
110 - `last` function that returns the last element of an array.
111 - `values` function that returns the values of a map as an array.
112 - `entries` function that converts a map into an array of `{key, value}` objects.
113 - `fromEntries` function that converts an array of `{key, value}` objects into a map.
114 - `toBool` function that converts a value to a boolean.
115 - `any` expression that returns true if any element in an array matches the predicate.
116 - `all` expression that returns true if all elements in an array match the predicate.
117 - `count` expression that counts the number of elements in an array that match the predicate.
118 - `stringify` function that serializes a structured value into a format string (inverse of `parse`).
119 - Ternary operator (`condition ? then : else`).
120
121 ### Fixed
122
123 - Fixed a bug in YAML and TOML parsers that caused them to fail when parsing non-base10 numbers (e.g. hex, binary, octal).
124 - Fixed a bug in the `toInt` function that caused it to fail when parsing non-base10 numbers (e.g. hex, binary, octal).
125 - XML child element ordering now has more comprehensive round-trip handling. Thanks @takeokunn.
126 - XML writer now validates element and attribute names per the XML 1.0 spec, returning a clear error for invalid names instead of producing malformed XML. Thanks @lawrence3699.
127
128 ## [v3.4.1] - 2026-03-30
129
130 ### Fixed
131
132 - Escape characters in query strings now work as expected, e.g. `\n` will be treated as a newline character instead of the literal string `\n`.
133 - Fixed a typo in the `<=` token that could cause a display issue.
134
135 ## [v3.4.0] - 2026-03-19
136
137 ### Added
138
139 - `keys` func that returns the keys or indices of a node. [See docs](https://daseldocs.tomwright.me/functions/keys).
140
141 ## [v3.3.2] - 2026-03-18
142
143 ### Fixed
144 - Fixed a bug that caused the `get` function to return `false` instead of an error when doing an invalid lookup.
145 - Fixed an issue with reading/writing null values in YAML.
146 - Fixed a nil pointer dereference when reading/writing null YAML documents.
147 - Fixed a security issue allowing unbounded YAML expansion. Thanks to @kq5y.
148
149 ## [v3.3.1] - 2026-02-26
150
151 ### Fixed
152
153 - Fixed query selector parsing issue that incorrectly parsed array accessors when they followed a `filter` or `map` call.
154
155 ## [v3.3.0] - 2026-02-25
156
157 ### Added
158 - `replace` function to replace occurrences of a substring in a string with another string. [See docs](https://daseldocs.tomwright.me/functions/replace).
159
160 ## [v3.2.3] - 2026-02-23
161
162 ### Added
163 - XML parser now preserves comments and processing instructions during round-trip (#175).
164
165 ### Fixed
166 - Spread operator within array construction is now honoured.
167
168 ## [v3.2.2] - 2026-02-13
169
170 ### Changed
171 - Swapped to use goccy/go-json for improved performance. Thanks @imix
172 - Updated model `IsScalar` internals to improve efficiency. Thanks @imix
173 - General dependency updates.
174
175 ### Fixed
176 - TOML parser sub table parsing. Thanks @pmeier
177
178 ## [v3.2.1] - 2026-01-05
179
180 ### Fixed
181 - XML parser now correctly handles empty CDATA.
182
183 ## [v3.2.0] - 2025-12-26
184
185 ### Added
186 - `join` function to join array elements into a single string with a specified separator. [See docs](https://daseldocs.tomwright.me/functions/join).
187
188 ## [v3.1.4] - 2025-12-18
189
190 ### Fixed
191 - `Select` func in the exposed go API now correctly maps return values to the respective types.
192
193 ## [v3.1.3] - 2025-12-18
194
195 ### Fixed
196 - XML documents no longer create redundant `root` or `item` elements.
197 - Dasel no longer loses value metadata when reading/writing to internal models.
198
199 ## [v3.1.2] - 2025-12-17
200
201 ### Fixed
202
203 - Fix XML reading/writing when XML processing instructions are present.
204
205 ## [v3.1.1] - 2025-12-16
206
207 ### Fixed
208
209 - Homebrew release.
210
211 ## [v3.1.0] - 2025-12-16
212
213 ### Added
214 - `sum` function to sum numeric values in an array. [See docs](https://daseldocs.tomwright.me/functions/sum).
215
216 ## [v3.0.0] - 2025-12-15
217
218 ### Added
219 - Major new version release.
220 - INI support.
221 - HCL support.
222 - Dasel syntax now supports variables and expressions.
223 - Files can now be read and parsed inside a dasel query.
224 - Variables can now be passed to dasel from the command line.
225 - Support for comments in queries.
226 - Dasel config file to define default file format.
227 - Interactive mode for dasel CLI (alpha).
228
229 ### Changed
230 - Go module path changed to `github.com/tomwright/dasel/v3`.
231 - Internal changes to support new version.
232 - Query/selector syntax revamp. See [docs](https://daseldocs.tomwright.me) for more information.
233 - Majority of read/write operations will now maintain ordering.
234 - Migrated from Cobra to Kong for CLI parsing/processing.
235 - Removed `put` and `delete` commands. Instead, modify within the query and use `--root` flag.
236
237 ### Fixed
238 - File redirect now works in the same way as piped input.
239 - Various other bug fixes and improvements.
240 - Whitespace in query syntax is now handled correctly.
241
242 ## [v2.8.1] - 2024-06-30
243
244 ### Fixed
245 - Fixed a bug related to yaml aliases.
246
247 ## [v2.8.0] - 2024-06-28
248
249 ### Fixed
250
251 - Fixed a bug that could cause a panic.
252 - `type()` now returns `null` instead of `unknown` for null values.
253 - Added YAML support for merge tag/aliases. Thanks to [pmeier](https://github.com/pmeier). [Issue 285](https://github.com/TomWright/dasel/issues/285).
254
255 ## [v2.7.0] - 2024-03-14
256
257 ### Added
258
259 - `null()` function. [See docs](https://daseldocs.tomwright.me/functions/null)
260
261 ### Fixed
262
263 - Dasel now correctly handles `null` values.
264
265 ## [v2.6.0] - 2024-02-15
266
267 ### Added
268
269 - Support for `--indent` flag.
270 - More descriptive errors when dasel fails to open a file.
271
272 ### Changed
273
274 - Docker build improvements in workflows.
275
276 ## [v2.5.0] - 2023-11-28
277
278 ### Added
279
280 - Add `man` that generates manpages for all dasel subcommands.
281
282 ### Fixed
283
284 - Fixed an issue when [parsing empty input documents](https://github.com/TomWright/dasel/issues/374).
285
286 ## [v2.4.1] - 2023-10-18
287
288 ### Fixed
289
290 - JSON output now acts as expected regarding the EscapeHTML flag.
291
292 ## [v2.4.0] - 2023-10-18
293
294 ### Added
295
296 - `orDefault()` function. [See docs](https://daseldocs.tomwright.me/functions/ordefault)
297 - `--csv-comma` flag to change the csv separator.
298 - `--csv-write-comma` flag to change the csv separator specifically for writes.
299 - `--csv-comment` flag to change the csv comment character.
300 - `--csv-crlf` flag to enable or disable CRLF output when working with csv files.
301
302 ### Fixed
303
304 - Resolved an issue with YAML parser that was causing strings to be read as booleans.
305 - Fix a parsing issue with CSV types that forced you to expand and merge in order for it selects to work [Issue 364](https://github.com/TomWright/dasel/issues/364).
306
307 ## [v2.3.6] - 2023-08-30
308
309 ### Fixed
310
311 - XML is now formatted correctly. (https://github.com/TomWright/dasel/issues/354)
312
313 ## [v2.3.5] - 2023-08-29
314
315 ### Changed
316
317 - Small internal optimisation (https://github.com/TomWright/dasel/pull/341)
318 - Update to go 1.21
319 - Upgrade dependencies
320
321 ### Fixed
322
323 - Resolved an issue with YAML parser that was causing strings to be read as numbers.
324 - Timestamps can now be resolved as expected in YAML.
325
326 ## [v2.3.4] - 2023-06-01
327
328 ### Fixed
329
330 - `len` function now works with new map type.
331 - `keys` function now works with new map type.
332
333 ## [v2.3.3] - 2023-05-31
334
335 ### Fixed
336
337 - Errors when selecting data are now correctly handled.
338
339 ## [v2.3.2] - 2023-05-31
340
341 ### Fixed
342
343 - Restored previous octal, binary and hex number parsing support in YAML and `put` command.
344
345 ## [v2.3.1] - 2023-05-29
346
347 ### Fixed
348
349 - `version` command now outputs correct version information (only affected v2 onwards)
350
351 ## [v2.3.0] - 2023-05-29
352
353 ### Changed
354
355 - Maps are now ordered internally.
356 - JSON and YAML maps maintain ordering on read/write.
357 - `all()` func now works with strings.
358 - `index()` func now works with strings.
359
360 ### Fixed
361
362 - Multi-document output should now be displayed correctly.
363 - Index shorthand selector now works with multiple indexes.
364 - Null values are now correctly handled.
365
366 ## [v2.2.0] - 2023-04-17
367
368 ### Added
369
370 - `keys()` function.
371
372 ## [v2.1.2] - 2023-03-27
373
374 ### Added
375
376 - Join function.
377 - String function.
378
379 ### Fixed
380
381 - Null error caused by null values in arrays. See [PR 307](https://github.com/TomWright/dasel/pull/307).
382
383 ## [v2.1.1] - 2023-01-19
384
385 ### Fixed
386
387 - Changed go module to `github.com/tomwright/dasel/v3` to ensure it works correctly with go modules.
388
389 ## [v2.1.0] - 2023-01-11
390
391 ### Added
392
393 - Ability to jump to a parent x levels up with `parent(x)`. Defaults to 1 level.
394
395 ## [v2.0.2] - 2022-12-07
396
397 ### Fixed
398
399 - Argument parsing issue that caused files to be written to the wrong place. See [discussion 268](https://github.com/TomWright/dasel/discussions/268).
400
401 ## [v2.0.1] - 2022-12-07
402
403 ### Added
404
405 - `float` type in `put` command.
406
407 ### Fixed
408
409 - Output values are now correctly de-referenced. This fixed issues with encoded values not appearing correctly.
410 - Escape characters in selector strings now work as expected.
411
412 ## [v2.0.0] - 2022-12-02
413
414 See [documentation](https://daseldocs.tomwright.me) for all changes.
415
416 - Selector syntax
417
418 ## [v1.27.3] - 2022-10-18
419
420 ### Fixed
421
422 - The compact flag now works with the XML parser.
423
424 ## [v1.27.2] - 2022-10-18
425
426 ### Fixed
427
428 - Help text for select and delete commands now contain all available parsers.
429 - Errors now implement the `Is` interface so they are easier to use from go.
430 - 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))
431
432 ## [v1.27.1] - 2022-09-28
433
434 ### Fixed
435
436 - Improved selector comparison parsing to allow matching on values containing special characters.
437
438 ## [v1.27.0] - 2022-09-26
439
440 ### Added
441
442 - New `value-file` flag allows you to `put` values read from a file ([Issue 246](https://github.com/TomWright/dasel/issues/246))
443
444 ## [v1.26.1] - 2022-08-24
445
446 ### Fixed
447
448 - Make the completion command available for use ([Issue 216](https://github.com/TomWright/dasel/issues/216))
449 - Make the `__complete` command available for use
450
451 ## [v1.26.0] - 2022-07-09
452
453 ### Added
454
455 - Search optional selector - `(#:key=value)`
456
457 ## [v1.25.1] - 2022-06-29
458
459 ### Added
460
461 - Pre-commit hooks for validate command.
462
463 ## [v1.25.0] - 2022-06-26
464
465 ### Added
466
467 - Support for struct type usage in go package.
468 - Validate command.
469
470 ## [v1.24.3] - 2022-04-23
471
472 ### Added
473
474 - Gzip compressed binaries on releases.
475
476 ## [v1.24.2] - 2022-04-22
477
478 ### Fixed
479
480 - 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)
481
482 ## [v1.24.1] - 2022-03-28
483
484 ### Changed
485
486 - `storage` package has been moved outside the `internal` package.
487
488 ### Fixed
489
490 - New funcs added in `v1.24.0` can now be used as expected since you can now access the `storage.ReadWriteOption`.
491
492 ## [v1.24.0] - 2022-03-18
493
494 ### Added
495
496 - `Node.NewFromFile` func to load a root node from a file.
497 - `Node.NewFromReader` func to load a root node from an `io.Reader`.
498 - `Node.WriteToFile` func to write results to a file.
499 - `Node.Write` func to write results to an `io.Writer`.
500
501 ## [v1.23.0] - 2022-03-10
502
503 ### Fixed
504
505 - Update github.com/pelletier/go-toml to consume fix for https://github.com/TomWright/dasel/issues/191.
506
507 ### Added
508
509 - Sprig functions to output formatter template.
510
511 ## [v1.22.1] - 2021-11-09
512
513 ### Fixed
514
515 - Cleaned up error output
516
517 ## [v1.22.0] - 2021-11-09
518
519 ### Added
520
521 - Type selector `[@]`.
522
523 ### Fixed
524
525 - Errors are now written to stderr as expected.
526
527 ## [v1.21.2] - 2021-10-21
528
529 ### Added
530
531 - Linux arm32 build target.
532
533 ## [v1.21.1] - 2021-09-30
534
535 ### Changed
536 - `--escape-html` flag now defaults to false.
537
538 ## [v1.21.0] - 2021-09-29
539
540 ### Added
541 - `--escape-html` flag.
542
543 ### Fixed
544 - `put document` and `put object` are now aware of the `--merge-input-documents` flag.
545
546 ## [v1.20.1] - 2021-09-28
547
548 ### Added
549
550 - `buster-slim` and `alpine` tags to built docker images.
551
552 ### Fixed
553
554 - Different encodings in XML files are now [handled as expected](https://github.com/TomWright/dasel/issues/164).
555
556 ## [v1.20.0] - 2021-08-30
557
558 ### Added
559
560 - `-v`, `--value` flag to workaround [dash issue](https://github.com/TomWright/dasel/issues/117).
561
562 ### Fixed
563
564 - Fixed an issue in which unicode characters could cause issues when parsing selectors.
565
566 ## [v1.19.0] - 2021-08-14
567
568 ### Added
569
570 - `--colour`,`--color` flag to enable colourised output in select command.
571
572 ## [v1.18.0] - 2021-08-11
573
574 ### Added
575
576 - `--format` flag to `select` command.
577
578 ## [v1.17.0] - 2021-08-08
579
580 ### Added
581
582 - Support for `!=` comparison operator in dynamic and search selectors.
583 - Support for `-`/`keyValue` key in dynamic selectors.
584
585 ## [v1.16.1] - 2021-08-02
586
587 ### Fixed
588
589 - Fixed a bug that stopped the delete command editing files in place.
590
591 ## [v1.16.0] - 2021-08-01
592
593 ### Added
594
595 - Delete command.
596
597 ## [v1.15.0] - 2021-05-06
598
599 ### Added
600
601 - `--merge-input-documents` flag.
602
603 ### Changed
604
605 - Optional `noupdater` build tag to disable the self-update command.
606
607 ### Fixed
608
609 - Empty XML documents are now parsed correctly.
610 - https://github.com/TomWright/dasel/issues/131
611
612 ## [v1.14.1] - 2021-04-15
613
614 ### Added
615
616 - arm64 build support.
617
618 ## [v1.14.0] - 2021-04-11
619
620 ### Added
621
622 - `.[#]` length selector.
623 - `>` comparison operator.
624 - `>=` comparison operator.
625 - `<` comparison operator.
626 - `<=` comparison operator.
627
628 ## [v1.13.6] - 2021-03-29
629
630 ### Changed
631
632 - Development versions of dasel will now include more specific version information where possible.
633
634 ### Fixed
635
636 - Fix an issue that stopped dasel being able to output CSV documents when parsed from JSON.
637
638 ## [v1.13.5] - 2021-03-22
639
640 ### Fixed
641
642 - Empty map values are now initialised as `map[string]interface{}` rather than `map[interface{}]interface{}`.
643
644 ## [v1.13.4] - 2021-03-11
645
646 ### Fixed
647
648 - Empty document input is now treated different in select and put commands.
649 - https://github.com/TomWright/dasel/issues/99
650 - https://github.com/TomWright/dasel/issues/102
651
652 ## [v1.13.3] - 2021-03-05
653
654 ### Fixed
655
656 - Blank YAML and CSV input is now treated as an empty document.
657
658 ### Changed
659
660 - Blank JSON input is now treated as an empty document.
661
662 ## [v1.13.2] - 2021-02-25
663
664 ### Changed
665
666 - Improved information provided in `UnsupportedTypeForSelector` errors.
667 - Upgrade to go 1.16.
668
669 ### Fixed
670
671 - Make sure the `-n`,`--null` flag has an effect in multi-select queries.
672
673 ## [v1.13.1] - 2021-02-18
674
675 ### Fixed
676
677 - Added `CGO_ENABLED=0` build flag to ensure linux_amd64 builds are statically linked.
678
679 ## [v1.13.0] - 2021-02-11
680
681 ### Added
682
683 - `--length` flag to select command.
684
685 ## [v1.12.2] - 2021-01-05
686
687 ### Fixed
688
689 - Fix a bug that stopped the write parser being properly detected when writing to the input file.
690
691 ## [v1.12.1] - 2021-01-05
692
693 ### Changed
694
695 - Build workflows now updated to run on ubuntu-latest and use a matrix to build assets for `linux`, `darwin` and
696 `windows` for both `amd64` and `386`.
697
698 ### Fixed
699
700 - Release asset for macos/darwin is now named `dasel_darwin_amd64` instead of `dasel_macos_amd64`.
701 - Self-updater now identifies `dev` version as development.
702
703 ## [v1.12.0] - 2021-01-02
704
705 ### Added
706
707 - Add `-c`, `--compact` flag to remove pretty-print formatting from JSON output.
708 - Defined `storage.IndentOption(indent string) ReadWriteOption`.
709 - Defined `storage.PrettyPrintOption(enabled bool) ReadWriteOption`.
710
711 ### Changed
712
713 - Changed `storage.Parser` funcs to allow the passing of `...ReadWriteOption`.
714
715 ## [v1.11.0] - 2020-12-22
716
717 ### Added
718
719 - Benchmark info now contains graphs.
720 - `update` command to self-update dasel.
721
722 ### Changed
723
724 - Benchmark info now directly compares dasel, jq and yq.
725
726 ## [v1.10.0] - 2020-12-19
727
728 ### Added
729
730 - Add `dasel put document` command.
731 - Benchmark information.
732
733 ### Fixed
734
735 - `-r`,`--read` and `-w`,`--write` flags are now used in `dasel put object`.
736 - Fix issues that occurred when writing to the root node.
737
738 ### Changed
739
740 - Command names and descriptions.
741
742 ## [v1.9.1] - 2020-12-12
743
744 ### Fixed
745
746 - Stopped parsing XML entities in strings.
747
748 ## [v1.9.0] - 2020-12-12
749
750 ### Added
751
752 - Add keys/index selector in multi queries.
753 - Add `-n`,`--null` flag.
754
755 ## [v1.8.0] - 2020-12-01
756
757 ### Added
758
759 - Add ability to use `ANY_INDEX` (`[*]`) and `DYNAMIC` (`(x=y)`) selectors on maps/objects.
760
761 ## [v1.7.0] - 2020-11-30
762
763 ### Added
764
765 - Add `-r`,`--read` and `-w`,`--write` flags to specifically choose input/output parsers. This allows you to convert data between formats.
766
767 ## [v1.6.2] - 2020-11-18
768
769 ### Added
770
771 - Add support for multi-document JSON files.
772
773 ## [v1.6.1] - 2020-11-17
774
775 ### Changed
776
777 - Remove some validation on `dasel put object` to allow you to put empty objects.
778
779 ## [v1.6.0] - 2020-11-17
780
781 ### Added
782
783 - Add search selector to allow recursive searching from the current node.
784
785 ## [v1.5.1] - 2020-11-14
786
787 ### Fixed
788
789 - Fixed an issue that stopped new values being saved.
790
791 ## [v1.5.0] - 2020-11-12
792
793 ### Added
794
795 - Add ability to use `\` as an escape character in selectors.
796
797 ## [v1.4.1] - 2020-11-11
798
799 ### Fixed
800
801 - Fix an issue when parsing dynamic selectors.
802
803 ## [v1.4.0] - 2020-11-08
804
805 ### Added
806
807 - Add `-m`,`--multiple` flag to deal with multi-value queries.
808 - Add `ANY_INDEX` or `[*]` selector.
809 - Add `NextMultiple` property to the `Node` struct - this is used when processing multi-value queries.
810 - Add `Node.QueryMultiple` func.
811 - Add `Node.PutMultiple` func.
812
813 ## [v1.3.0] - 2020-11-08
814
815 ### Added
816
817 - Add support for CSV files.
818
819 ## [v1.2.0] - 2020-11-07
820
821 ### Added
822
823 - Add support for multi-document YAML files.
824 - Add CodeQL step in github actions.
825
826 ### Changed
827
828 - Docker image is now pushed to ghcr instead of github packages.
829
830 ## [v1.1.0] - 2020-11-01
831
832 ### Added
833
834 - Add sub-selector support in dynamic selectors.
835
836 ## [v1.0.4] - 2020-10-30
837
838 ### Added
839
840 - Add `--plain` flag to tell dasel to output un-formatted values.
841
842 ## [v1.0.3] - 2020-10-29
843
844 ### Changed
845
846 - Command output is now followed by a newline.
847
848 ## [v1.0.2] - 2020-10-28
849
850 ### Added
851
852 - Docker image is now built and pushed when a new release is tagged.
853
854 ## [v1.0.1] - 2020-10-28
855
856 ### Added
857
858 - Add support for XML.
859
860 ### Changed
861
862 - Add `-` as an alias for `stdin`/`stdout` in `--file` and `--output` flags.
863 - Selector can now be given as the first argument making the flag itself optional.
864 - `select` is now the default command.
865
866 ## [v1.0.0] - 2020-10-27
867
868 ### Added
869
870 - Add lots of tests.
871 - Add docs.
872 - Got accepted to go-awesome.
873
874 ## [v0.0.5] - 2020-09-27
875
876 ### Added
877
878 - Add support for TOML.
879
880 ## [v0.0.4] - 2020-09-27
881
882 ### Added
883
884 - Ability to check against the node value in a dynamic selector.
885 - Code coverage.
886
887 ### Changed
888
889 - Use reflection instead of fixed type checks.
890
891 ## [v0.0.3] - 2020-09-24
892
893 ### Changed
894
895 - Use reflection instead of fixed type checks.
896 - Extract commands into their own functions to make them testable.
897
898 ## [v0.0.2] - 2020-09-23
899
900 ### Added
901
902 - Add ability to pipe data in/out of dasel.
903 - Add dasel put command.
904
905 ## [v0.0.1] - 2020-09-22
906
907 ### Added
908
909 - Everything!
910
911 [unreleased]: https://github.com/TomWright/dasel/compare/v3.11.2...HEAD
912 [v3.11.2]: https://github.com/TomWright/dasel/compare/v3.11.1...v3.11.2
913 [v3.11.1]: https://github.com/TomWright/dasel/compare/v3.11.0...v3.11.1
914 [v3.11.0]: https://github.com/TomWright/dasel/compare/v3.10.1...v3.11.0
915 [v3.10.1]: https://github.com/TomWright/dasel/compare/v3.10.0...v3.10.1
916 [v3.10.0]: https://github.com/TomWright/dasel/compare/v3.9.0...v3.10.0
917 [v3.9.0]: https://github.com/TomWright/dasel/compare/v3.8.1...v3.9.0
918 [v3.8.1]: https://github.com/TomWright/dasel/compare/v3.8.0...v3.8.1
919 [v3.8.0]: https://github.com/TomWright/dasel/compare/v3.7.0...v3.8.0
920 [v3.7.0]: https://github.com/TomWright/dasel/compare/v3.6.0...v3.7.0
921 [v3.6.0]: https://github.com/TomWright/dasel/compare/v3.5.0...v3.6.0
922 [v3.5.0]: https://github.com/TomWright/dasel/compare/v3.4.1...v3.5.0
923 [v3.4.1]: https://github.com/TomWright/dasel/compare/v3.4.0...v3.4.1
924 [v3.4.0]: https://github.com/TomWright/dasel/compare/v3.3.2...v3.4.0
925 [v3.3.2]: https://github.com/TomWright/dasel/compare/v3.3.1...v3.3.2
926 [v3.3.1]: https://github.com/TomWright/dasel/compare/v3.3.0...v3.3.1
927 [v3.3.0]: https://github.com/TomWright/dasel/compare/v3.2.3...v3.3.0
928 [v3.2.3]: https://github.com/TomWright/dasel/compare/v3.2.2...v3.2.3
929 [v3.2.2]: https://github.com/TomWright/dasel/compare/v3.2.1...v3.2.2
930 [v3.2.1]: https://github.com/TomWright/dasel/compare/v3.2.0...v3.2.1
931 [v3.2.0]: https://github.com/TomWright/dasel/compare/v3.1.4...v3.2.0
932 [v3.1.4]: https://github.com/TomWright/dasel/compare/v3.1.3...v3.1.4
933 [v3.1.3]: https://github.com/TomWright/dasel/compare/v3.1.2...v3.1.3
934 [v3.1.2]: https://github.com/TomWright/dasel/compare/v3.1.1...v3.1.2
935 [v3.1.1]: https://github.com/TomWright/dasel/compare/v3.1.0...v3.1.1
936 [v3.1.0]: https://github.com/TomWright/dasel/compare/v3.0.0...v3.1.0
937 [v3.0.0]: https://github.com/TomWright/dasel/compare/v2.8.1...v3.0.0
938 [v2.8.1]: https://github.com/TomWright/dasel/compare/v2.8.0...v2.8.1
939 [v2.8.0]: https://github.com/TomWright/dasel/compare/v2.7.0...v2.8.0
940 [v2.7.0]: https://github.com/TomWright/dasel/compare/v2.6.0...v2.7.0
941 [v2.6.0]: https://github.com/TomWright/dasel/compare/v2.5.0...v2.6.0
942 [v2.5.0]: https://github.com/TomWright/dasel/compare/v2.4.1...v2.5.0
943 [v2.4.1]: https://github.com/TomWright/dasel/compare/v2.4.0...v2.4.1
944 [v2.4.0]: https://github.com/TomWright/dasel/compare/v2.3.6...v2.4.0
945 [v2.3.6]: https://github.com/TomWright/dasel/compare/v2.3.5...v2.3.6
946 [v2.3.5]: https://github.com/TomWright/dasel/compare/v2.3.4...v2.3.5
947 [v2.3.4]: https://github.com/TomWright/dasel/compare/v2.3.3...v2.3.4
948 [v2.3.3]: https://github.com/TomWright/dasel/compare/v2.3.2...v2.3.3
949 [v2.3.2]: https://github.com/TomWright/dasel/compare/v2.3.1...v2.3.2
950 [v2.3.1]: https://github.com/TomWright/dasel/compare/v2.3.0...v2.3.1
951 [v2.3.0]: https://github.com/TomWright/dasel/compare/v2.2.0...v2.3.0
952 [v2.2.0]: https://github.com/TomWright/dasel/compare/v2.1.2...v2.2.0
953 [v2.1.2]: https://github.com/TomWright/dasel/compare/v2.1.1...v2.1.2
954 [v2.1.1]: https://github.com/TomWright/dasel/compare/v2.1.0...v2.1.1
955 [v2.1.0]: https://github.com/TomWright/dasel/compare/v2.0.2...v2.1.0
956 [v2.0.2]: https://github.com/TomWright/dasel/compare/v2.0.1...v2.0.2
957 [v2.0.1]: https://github.com/TomWright/dasel/compare/v2.0.0...v2.0.1
958 [v2.0.0]: https://github.com/TomWright/dasel/compare/v1.27.3...v2.0.0
959 [v1.27.3]: https://github.com/TomWright/dasel/compare/v1.27.2...v1.27.3
960 [v1.27.2]: https://github.com/TomWright/dasel/compare/v1.27.1...v1.27.2
961 [v1.27.1]: https://github.com/TomWright/dasel/compare/v1.27.0...v1.27.1
962 [v1.27.0]: https://github.com/TomWright/dasel/compare/v1.26.1...v1.27.0
963 [v1.26.1]: https://github.com/TomWright/dasel/compare/v1.26.0...v1.26.1
964 [v1.26.0]: https://github.com/TomWright/dasel/compare/v1.25.1...v1.26.0
965 [v1.25.1]: https://github.com/TomWright/dasel/compare/v1.25.0...v1.25.1
966 [v1.25.0]: https://github.com/TomWright/dasel/compare/v1.24.3...v1.25.0
967 [v1.24.3]: https://github.com/TomWright/dasel/compare/v1.24.2...v1.24.3
968 [v1.24.2]: https://github.com/TomWright/dasel/compare/v1.24.1...v1.24.2
969 [v1.24.1]: https://github.com/TomWright/dasel/compare/v1.24.0...v1.24.1
970 [v1.24.0]: https://github.com/TomWright/dasel/compare/v1.23.0...v1.24.0
971 [v1.23.0]: https://github.com/TomWright/dasel/compare/v1.22.1...v1.23.0
972 [v1.22.1]: https://github.com/TomWright/dasel/compare/v1.22.0...v1.22.1
973 [v1.22.0]: https://github.com/TomWright/dasel/compare/v1.21.2...v1.22.0
974 [v1.21.2]: https://github.com/TomWright/dasel/compare/v1.21.1...v1.21.2
975 [v1.21.1]: https://github.com/TomWright/dasel/compare/v1.21.0...v1.21.1
976 [v1.21.0]: https://github.com/TomWright/dasel/compare/v1.20.1...v1.21.0
977 [v1.20.1]: https://github.com/TomWright/dasel/compare/v1.20.0...v1.20.1
978 [v1.20.0]: https://github.com/TomWright/dasel/compare/v1.19.0...v1.20.0
979 [v1.19.0]: https://github.com/TomWright/dasel/compare/v1.18.0...v1.19.0
980 [v1.18.0]: https://github.com/TomWright/dasel/compare/v1.17.0...v1.18.0
981 [v1.17.0]: https://github.com/TomWright/dasel/compare/v1.16.1...v1.17.0
982 [v1.16.1]: https://github.com/TomWright/dasel/compare/v1.16.0...v1.16.1
983 [v1.16.0]: https://github.com/TomWright/dasel/compare/v1.15.0...v1.16.0
984 [v1.15.0]: https://github.com/TomWright/dasel/compare/v1.14.1...v1.15.0
985 [v1.14.1]: https://github.com/TomWright/dasel/compare/v1.14.0...v1.14.1
986 [v1.14.0]: https://github.com/TomWright/dasel/compare/v1.13.6...v1.14.0
987 [v1.13.6]: https://github.com/TomWright/dasel/compare/v1.13.5...v1.13.6
988 [v1.13.5]: https://github.com/TomWright/dasel/compare/v1.13.4...v1.13.5
989 [v1.13.4]: https://github.com/TomWright/dasel/compare/v1.13.3...v1.13.4
990 [v1.13.3]: https://github.com/TomWright/dasel/compare/v1.13.2...v1.13.3
991 [v1.13.2]: https://github.com/TomWright/dasel/compare/v1.13.1...v1.13.2
992 [v1.13.1]: https://github.com/TomWright/dasel/compare/v1.13.0...v1.13.1
993 [v1.13.0]: https://github.com/TomWright/dasel/compare/v1.12.2...v1.13.0
994 [v1.12.2]: https://github.com/TomWright/dasel/compare/v1.12.1...v1.12.2
995 [v1.12.1]: https://github.com/TomWright/dasel/compare/v1.12.0...v1.12.1
996 [v1.12.0]: https://github.com/TomWright/dasel/compare/v1.11.0...v1.12.0
997 [v1.11.0]: https://github.com/TomWright/dasel/compare/v1.10.0...v1.11.0
998 [v1.10.0]: https://github.com/TomWright/dasel/compare/v1.9.1...v1.10.0
999 [v1.9.1]: https://github.com/TomWright/dasel/compare/v1.9.0...v1.9.1
1000 [v1.9.0]: https://github.com/TomWright/dasel/compare/v1.8.0...v1.9.0
1001 [v1.8.0]: https://github.com/TomWright/dasel/compare/v1.7.0...v1.8.0
1002 [v1.7.0]: https://github.com/TomWright/dasel/compare/v1.6.2...v1.7.0
1003 [v1.6.2]: https://github.com/TomWright/dasel/compare/v1.6.1...v1.6.2
1004 [v1.6.1]: https://github.com/TomWright/dasel/compare/v1.6.0...v1.6.1
1005 [v1.6.0]: https://github.com/TomWright/dasel/compare/v1.5.1...v1.6.0
1006 [v1.5.1]: https://github.com/TomWright/dasel/compare/v1.5.0...v1.5.1
1007 [v1.5.0]: https://github.com/TomWright/dasel/compare/v1.4.1...v1.5.0
1008 [v1.4.1]: https://github.com/TomWright/dasel/compare/v1.4.0...v1.4.1
1009 [v1.4.0]: https://github.com/TomWright/dasel/compare/v1.3.0...v1.4.0
1010 [v1.3.0]: https://github.com/TomWright/dasel/compare/v1.2.0...v1.3.0
1011 [v1.1.0]: https://github.com/TomWright/dasel/compare/v1.0.4...v1.1.0
1012 [v1.0.4]: https://github.com/TomWright/dasel/compare/v1.0.3...v1.0.4
1013 [v1.0.3]: https://github.com/TomWright/dasel/compare/v1.0.2...v1.0.3
1014 [v1.0.2]: https://github.com/TomWright/dasel/compare/v1.0.1...v1.0.2
1015 [v1.0.1]: https://github.com/TomWright/dasel/compare/v1.0.0...v1.0.1
1016 [v1.0.0]: https://github.com/TomWright/dasel/compare/v0.0.5...v1.0.0
1017 [v0.0.5]: https://github.com/TomWright/dasel/compare/v0.0.4...v0.0.5
1018 [v0.0.4]: https://github.com/TomWright/dasel/compare/v0.0.3...v0.0.4
1019 [v0.0.3]: https://github.com/TomWright/dasel/compare/v0.0.2...v0.0.3
1020 [v0.0.2]: https://github.com/TomWright/dasel/compare/v0.0.1...v0.0.2
1021 [v0.0.1]: https://github.com/TomWright/dasel/releases/tag/v0.0.1