github 01mf02/jaq v2.3.0
2.3

2 months ago

This release brings many new filters, adapts a few existing filters to behave more like in original jq, and squashes a few bugs.

New filters

My personal highlight for this release is the new repl filter. It allows you to capture the current input and run different filters interactively.
Apart from this, a few new filters from upstream jq are now available in jaq. Thanks to @dnelson-1901 and @wader for contributing!

Behaviour changes

This release changes the behaviour of the recursion operator .. in updates: Previously, this operator could easily cause infinite loops if the right-hand side of an update with .. would produce a value that could be iterated over, such as an array or an object. With this release, this is now avoided, by performing .. updates from the leafs to the root instead of from the root to the leafs.

  • New update semantics for .. (recursion) by @01mf02 in #285
  • Convert inputs of join to strings by @01mf02 in #302

Bugs fixed

  • Correctly handle labels inside of native function arguments by @01mf02 in #301
  • Allow negation directly after a binary operator by @01mf02 in #298
  • Ensure no file handles remain open during in-place persist by @fgimian in #300

Miscellaneous

  • Implement try-catch without label $x | ... by @01mf02 in #297
  • Make Debug format load::parse::Def like a tuple by @01mf02 in #291

New Contributors

Full Changelog: v2.2.0...v2.3.0

Don't miss a new jaq release

NewReleases is sending notifications on new releases.