Skip to content

v4.13.0 - Breaking change with `as` - new operators!

Compare
Choose a tag to compare
@github-actions github-actions released this 15 Sep 06:07
· 779 commits to master since this release

BREAKING CHANGE - the as variable operator (e.g. .a as $x) now makes a copy of the node(s) at the
path rather than a reference. This is in order to make it work more like the jq equivalent.

This means any updates made to that variable do not update the original.

There's a new operator ref that will make a reference (and allow multiple updates to the original path by referencing the variable).
Sorry for any inconvenience caused!.

  • New with operator for making multiple changes to a given path
  • New contains operator, works like the jq equivalent
  • Subtract operator now supports subtracting elements from arrays!
  • Fixed Swapping values using variables #934
  • Github Action now properly supports multiline output #936, thanks @pjxiao
  • Fixed missing closing bracket validation #932