Skip to content

Releases: mikefarah/yq

4.0.0-beta1

01 Dec 04:22
Compare
Choose a tag to compare
4.0.0-beta1 Pre-release
Pre-release

More features ported from v3, a few fixes.

  • sort keys operator for comparing
  • fixed create new yaml bug
  • added exit-status flag
  • added write-in-place flag
  • fixed recursive decent on empty objects/arrays

First beta release!

4.0.0-alpha2

25 Nov 02:45
Compare
Choose a tag to compare
Pre-release

Some new features added:

  • merging between files
  • concatenating arrays
  • has operator
  • path operator
    and more....

The path expression '.a[]' is no longer accepted, you must have a dot in front of the square brackets '.a.[]'
Docs have been updated. This is to disambiguate from the empty array expression.

All things going well, this will be the final alpha build, the next one will be beta.

4.0.0-alpha1

19 Nov 11:52
Compare
Choose a tag to compare
Pre-release

First draft release of yq v4!

This is a major breaking change from v3 - yq v4 uses jq like syntax - and so has much more powerful expressions (though a bigger learning curve if you haven't used jq before.

The docs are also in alpha - here: https://mikefarah.gitbook.io/yq/v/v4.x-alpha/

In the coming weeks I'll be adding more operations, working on the docs and adding more tests.

I'd love some feedback!

Currently v4 alpha is only available via github releases, expect to see docker and snap releases soon.

3.4.1 - Json Key Ordering!

18 Oct 22:00
Compare
Choose a tag to compare

3.4.0

18 Sep 06:46
65cb472
Compare
Choose a tag to compare

Some more fixes, and one (minor) backwards incompatible change!

If you were previously using the -a flag to indicate append when merging, this flag now sets the array merge strategy, and so you need to explicitly set it to append -a=append.

  • Explode anchors now applies to map keys too (#466)
  • Fixed printing to STDERR incorrectly (#479, #486, #472, #537)
  • Fixed outputting non string keys to json (null, numbers) (#519)
  • Can now specify how you want arrays to be merged in the merge command using the -a/--arrays flag with one of update/append/overwrite. Note that this has a minor backwards incompatibility: if you were previously using the -a flag to indicate 'append', you now need to set it like so -a=append (#455)

3.3.4 - Fixed alpine build, version inconsistency

11 Sep 01:19
Compare
Choose a tag to compare

Fixes dynamic build issue (#532)

Fixes bad versioning from previous release

3.2.3 - Minor fixes and updates

09 Sep 04:49
Compare
Choose a tag to compare
  • Bumped dependency versions
  • Updated to Go 1.15

Closes:

3.3.2 - Minor update

13 Jun 23:51
Compare
Choose a tag to compare
  • Fixes existStatus bug #459
  • Automatically makes a os temporary directory if it doesn't already exist (#461 thanks @runzexia!)

3.3.1

11 Jun 23:09
Compare
Choose a tag to compare

A number of fixes and improvements in this release:

  • Unicode handling in comments has been fixed #396
  • Comments save their original positions #427, #343
  • Array indentation has been fixed #343
  • Convert to Json (andexplode yaml) speed has significantly improved #422
  • Strip comments now works for compare #450
  • Explode anchors now works for compare
  • Delete now works properly with deep splat #421
  • Add missing 'flow' style #417
  • Fixed printing errors to stdout (#440)
  • You can write aliases and anchors (#377) (https://mikefarah.gitbook.io/yq/commands/write-update#writing-anchors)
  • YQ can now generate bash/zshell/fish/powershell completions! Check out the shell-completion command

3.3.0

17 Apr 22:29
Compare
Choose a tag to compare

New features and fixes in this release:

Important: 3.3.0 Windows 386 build has been removed due to issues found in VirusTotal (despite being cleanly built several times)