Skip to content

Releases: mikefarah/yq

v4.30.2 - Actually updated the default xml prefix :facepalm:

13 Nov 00:43
Compare
Choose a tag to compare

v4.30.1 - XML users note: the default attribute prefix has changed

11 Nov 04:15
Compare
Choose a tag to compare
  • XML users note: the default attribute prefix has change to +@ to avoid naming conflicts!
  • Can use expressions in slice #1419
  • Fixed unhandled exception when decoding CSV thanks @washanhanzi
  • Added array_to_map operator for #1415
  • Fixed sorting by date #1412
  • Added check to ensure only maps can be encoded to XML #1408
  • Check merge alias is a map #1425
  • Explicity setting unwrap flag works for json output #437, #1409
  • Bumped go version

v4.29.2 - CSV Empty field fix

30 Oct 22:42
Compare
Choose a tag to compare
  • Fixed null pointer exception when parsing CSV with empty field #1404

v4.29.1

29 Oct 07:47
Compare
Choose a tag to compare
  • Fixed Square brackets removing update #1342
  • Added slice array operator (.[10:15]) #44
  • XML decoder/encoder now parses directives and proc instructions (#1344). Please use the new skip flags documented here to ignore them.
  • XML users note that the default attribute prefix will change to +@ in the 4.30 release to avoid naming conflicts!
  • Improved comment handling of decoders (breaking change for yqlib users sorry)
  • Fixed load operator bug when loading yaml file with multiple documents
  • Bumped Go compiler version #1394
  • Bumped dependencies

v4.28.2

19 Oct 00:36
Compare
Choose a tag to compare
  • Fixed Github Actions issues (thanks @mattphelps-8451)
  • yq Github action docker image is now built as part of the release
  • Fixed bug - can now delete documents #1377
  • Fixed handling of UTF8 encoded CSVs #1373
  • Detect and fail on missing closing brackets #1366
  • Bumped dependencies

v4.28.1

05 Oct 09:35
Compare
Choose a tag to compare
  • Added setpath and delpaths operators, like jq (#1374)
  • Added is_key operator, to check if a match was a key when recursing
  • Added validation when attempting to add sequences to maps (#1341)

v4.27.5

09 Sep 04:22
Compare
Choose a tag to compare

4.27.5:

  • Fixed relative merge bug #1333
  • Fixed bug in alternative (//) operator, RHS being evaluated when it didn't need to be
  • Fixed footer comment issue #1231
  • Github action now runs as root (as recommended by Github Actions doc)
  • Updated dependencies

Skipped over 4.27.4 to get the #1333 bug fix in.

v4.27.3

29 Aug 08:27
Compare
Choose a tag to compare
  • Added new 'c' merge and assign flag that clobbers custom tags
  • Bumped go dependency to fix CVE (#1316)
  • Updated dependencies

v4.27.2 - Multi json document handling, CSV decoding and more!

01 Aug 06:44
Compare
Choose a tag to compare

4.27.2:

  • Fixed JSON decoder to maintain object key order.

4.27.1:

  • Added 'json' decoder for support for multiple JSON documents in a single file (e.g. NDJSON)
  • Added 'csv' decoding, array of objects encoding, and round-triping
  • New StringEvaluator when using yq as a lib (thanks @leviliangtw)
  • Fixed XML decoding issue (#1284)

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