This release brings a few path-related changes:
- New filters:
paths/1
,getpath/1
#280 - Updates with
reduce
/foreach
on left-hand side #281:
This allows writing things likereduce xs as $x (.; .[$x]) |= f
, which is currently not possible in jq. The meaning of this is described in my formal jq language specification.
Since last release, jaq's core has been audited by Radically Open Security as part of an NLnet grant --- thanks to both organisations for their support! As part of this audit, jaq's jq parser was fuzzed #262, which required exposing the Tok
type in jaq_core
, hence a minor version bump. The audit found one bug (panic on invalid UTF-8 characters), which was fixed. Thanks in particular to @pcwizz for having contributed the fuzzer and for having performed the audit!
Finally, this release increases output performance when not writing to stdout #278.
Full Changelog: v2.1.1...v2.2.0