Skip to content

Releases: mikefarah/yq

v4.26.1

15 Jul 00:43
Compare
Choose a tag to compare
  • Switched to new expression parser (#1264)
  • Don't clobber anchor when adding nodes (#1269)
  • New error operator for custom validation (#1259)
  • Added support for --wrapScalar=false in properties encoder (#1241) Thanks @dcarbone
  • Fix error on multiple assign (#1257) Thanks @care0717
  • Bumped dependency versions

v4.25.3

23 Jun 09:56
Compare
Choose a tag to compare
  • xml decoder now maintains namespaces by default. Use new flags to disable if required. Thanks @rndmit
  • Length and other similar operators no longer return comments (#1231)
  • When split expression includes an extension, dont add .yml automatically (#1165)
  • Map -r to --unwrapScalar to be more a drop in replacement for jq (#1245) Thanks @SuperSandro2000
  • Fixing usage of quoted numeric keys #1247
  • Bumped dependency versions

v4.25.2

28 May 04:22
Compare
Choose a tag to compare
  • Fixed comments disappearing from end of file (#1217)
  • Fixed empty base64 decoding error (#1209)
  • JSON output now in colors (#1208)
  • Added codeql and fixed minor issues
  • Bumped go-yaml library
  • Bumped go dependency

v4.25.1

29 Apr 02:16
Compare
Choose a tag to compare
  • Can specify a split expression file via the new --split-exp-file flag #1194
  • Fixed append map bug when key matches value in existing map #1200
  • Nicer error message when trying to use merge anchor tags other than maps #1184
  • Fixed Don't automatically read stdin when the null input flag is used
  • Added type as an alias for tag #1195
  • Fixes bug when using write in-place with no expression and multiple files #1193

Note There was a bug where the last file instead of the first was being updated when using eval-all with write inplace, and no expression (or expression via --from-file. This has been fixed to the first file is updated, as per the documentation.

v4.24.5

14 Apr 23:12
Compare
Choose a tag to compare
  • Fixed scenarios that dropped the first line if it's a comment (#1181)
  • Fixed updating existing empty map resulting in single line styling (#1176)
  • Fixed with operation bug (#1174)
  • Bumped go compiler

v4.24.4

12 Apr 06:08
Compare
Choose a tag to compare
  • Fixing docker release

v4.24.3

12 Apr 00:18
Compare
Choose a tag to compare
  • Added from_props
  • Re-releasing, 4.24.2 release failed to publish correctly.

v4.24.2 - Comparison Operators!

28 Mar 03:50
Compare
Choose a tag to compare

v4.23.1

20 Mar 02:49
Compare
Choose a tag to compare
  • Can now supply the envsubst operator with parameters (nounset, noempty, failfast). See envsubst for details (#1137)
  • Bumped dependencies
  • Fixed '+=' problem with multiple matches #1145
  • Fixed bug with "and", "or" evaluating the RHS when not needed
  • Fixed potential panic (thanks @mkatychev)
  • Tweaked CLI help (thanks @justin-f-perez)

v4.22.1

10 Mar 04:42
Compare
Choose a tag to compare