2021-09-20 00:40:27 +00:00
4.13.1:
- Update to `with` operator, allow for no leading space on the `;`.
2021-09-12 07:01:11 +00:00
4.13.0:
BREAKING CHANGE - the `as` variable operator (e.g. `.a as $x`) now makes a _copy_ of the node(s) at the
path rather than a reference. This is in order to make it work more like the `jq` equivalent.
This means any updates made to that variable do not update the original.
There's a new operator `ref` that will make a reference (and allow multiple updates to the original path by referencing the variable).
Sorry for any inconvenience caused!.
2021-09-12 11:53:50 +00:00
- New `with` operator for making multiple changes to a given path
2021-09-15 05:18:10 +00:00
- New `contains` operator, works like the `jq` equivalent
2021-09-12 11:59:57 +00:00
- Subtract operator now supports subtracting elements from arrays!
2021-09-12 07:01:11 +00:00
- Fixed Swapping values using variables #934
- Github Action now properly supports multiline output #936, thanks @pjxiao
- Fixed missing closing bracket validation #932
2021-09-05 01:11:51 +00:00
4.12.2:
- Fix processing of hex numbers #929
- Fixed alternative and union operator issues #930
4.12.1:
- Merge comment fix #919
2021-08-20 03:35:57 +00:00
4.12.0:
2021-08-20 06:03:59 +00:00
- Can now convert yaml to properties properties format (`-o=props`), See [docs](https://mikefarah.gitbook.io/yq/v/v4.x/usage/properties) for more info.
2021-08-20 03:35:57 +00:00
- Fixed document header/footer comment handling when merging (https://github.com/mikefarah/yq/issues/919)
- pretty print yaml 1.1 compatibility (https://github.com/mikefarah/yq/issues/914)