Skip to content

Releases: mikefarah/yq

v4.13.2

20 Sep 02:13
Compare
Choose a tag to compare
  • Update to with operator, allow for no leading space on the ;.
  • Fixing Docker build timeout issues when attempting to release

Note: there is no code difference between 4.13.1 and 4.13.2 - just had to update the Docker file to get it to publish.

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

15 Sep 06:07
Compare
Choose a tag to compare

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

v4.12.2

05 Sep 02:48
Compare
Choose a tag to compare
  • Fix processing of hex numbers #929
  • Fixed alternative and union operator issues #930

v4.12.1 - Merge comment fix

27 Aug 00:22
Compare
Choose a tag to compare

v4.12.0 - Properties Output, bug fixes

20 Aug 22:12
Compare
Choose a tag to compare
  • Can now convert yaml to properties properties format (-o=props), See docs for more info.
  • Fixed document header/footer comment handling when merging (#919)
  • pretty print yaml 1.1 compatibility (#914)

v4.11.2

24 Jul 05:14
Compare
Choose a tag to compare
  • Fixed merge bug #899
  • Fixed github action failure bug #901

v4.11.1 - Critical Bug Fixes

20 Jul 01:18
Compare
Choose a tag to compare
  • Fixes printing of doc separators / comments when extracting field data (#896)
  • Fixes #351
  • More efficient front-matter processing

v4.11.0 - Front matter processing!

18 Jul 03:52
Compare
Choose a tag to compare
  • Now supports yaml front matter files! See docs for more detail (#794)
  • eval and eval-all now run as expected against empty files (#869)
  • Fixed EOF bug when reading files less than 3 characters long

v4.10.0

16 Jul 00:21
Compare
Choose a tag to compare
  • Added new RegEx operators (match, capture and test). These work like the jq counterparts, although there are differences. See https://mikefarah.gitbook.io/yq/operators/string-operators for more details.
  • yq now persists the top level document separator ---! #879
  • Fixed issue with safelyRename file in github actions (docker user issue) #890
  • Fixed #878

v4.9.8

08 Jul 00:46
Compare
Choose a tag to compare
  • Fixes safelyRenameFile bug #884