New Major Version! 3.0.0-beta
Pre-release
Pre-release
Major release! Upgraded underlying yaml parser, re-written majority of yq. This has brought on a number of features that have been in demand for a while (see below).
This is in beta and needs some community feedback and testing :)
Check out the (beta) docs too! https://mikefarah.gitbook.io/yq/
New Features
- Keeps yaml comments and formatting, can specify yaml tags when updating. #19, #169, #107, #171, #245, #303
- Handles anchors! #310, #178
- Can print out matching paths and values when splatting #20
- JSON output works for all commands! Yaml files with multiple documents are printed out as one JSON document per line.
- Deep splat (**) to match arbitrary paths
Breaking changes
See https://mikefarah.gitbook.io/yq/upgrading-from-v2#breaking-changes