Releases: mikefarah/yq
Releases · mikefarah/yq
3.4.1 - Json Key Ordering!
3.4.0
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 ofupdate/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
Fixes dynamic build issue (#532)
Fixes bad versioning from previous release
3.2.3 - Minor fixes and updates
3.3.2 - Minor update
3.3.1
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
New features and fixes in this release:
- You can control string styles (quotes) using the new
--style
flag (https://mikefarah.gitbook.io/yq/usage/value-parsing#the-style-flag). Fixes: #413, #387) - String values now always have quotes when outputting to JSON. Fixes: (#392, #388, #341) and you can optionally turn off unwrapping of scalars when outputting to yaml by setting
--unwrapScalar=false
(https://mikefarah.gitbook.io/yq/usage/output-format#unwrap-scalars) - Negative array indices now traverse the array backwards https://mikefarah.gitbook.io/yq/usage/path-expressions#arrays. Fixes: (#398)
- Added a
--stripComments
flag to print yaml without any comments (https://mikefarah.gitbook.io/yq/usage/output-format#strip-comments), Fixes: #385 - Bumped go version to 1.14 (#409)