Fixed merge anchor behaviour (<<); #2404, #2110, #2386, #2178 Huge thanks to @stevenwdv!
Note that you will need to set --yaml-fix-merge-anchor-to-spec to see the fixes
Fixed panic for syntax error when creating a map #2423
This PR contains the following updates:
| Package | Update | Change |
|---|---|---|
| [mikefarah/yq](https://github.com/mikefarah/yq) | minor | `v4.44.6` → `v4.53.3` |
---
### Release Notes
<details>
<summary>mikefarah/yq (mikefarah/yq)</summary>
### [`v4.53.3`](https://github.com/mikefarah/yq/releases/tag/v4.53.3)
[Compare Source](https://github.com/mikefarah/yq/compare/v4.53.2...v4.53.3)
- Add `--ini-preserve-quotes` flag for INI round-trip quote preservation ([#​2728](https://github.com/mikefarah/yq/issues/2728)) Thanks [@​toller892](https://github.com/toller892)!
- Fix: reset INI decoder state on init ([#​2719](https://github.com/mikefarah/yq/issues/2719)) Thanks [@​xieby1](https://github.com/xieby1)!
- Fix: decode properties array bracket paths ([#​2693](https://github.com/mikefarah/yq/issues/2693)) Thanks [@​cyphercodes](https://github.com/cyphercodes)!
- Fix: preserve floats with trailing zero when encoding YAML to JSON ([#​2701](https://github.com/mikefarah/yq/issues/2701)) Thanks [@​ChrisJr404](https://github.com/ChrisJr404)!
- Fix: JSON to TOML root scope and null handling ([#​2689](https://github.com/mikefarah/yq/issues/2689)) Thanks [@​LovesAsuna](https://github.com/LovesAsuna)!
- Fix: reset TOML decoder finished flag on Init for multi-doc evaluation ([#​2704](https://github.com/mikefarah/yq/issues/2704)) Thanks [@​terminalchai](https://github.com/terminalchai)!
- Fix: reset TOML decoder between files when evaluating all at once ([#​2685](https://github.com/mikefarah/yq/issues/2685)) Thanks [@​terminalchai](https://github.com/terminalchai)!
- Fix: preserve TOML inline table array scope ([#​2694](https://github.com/mikefarah/yq/issues/2694)) Thanks [@​cyphercodes](https://github.com/cyphercodes)!
- Fix: preserve empty TOML arrays in tables ([#​2686](https://github.com/mikefarah/yq/issues/2686)) Thanks [@​cyphercodes](https://github.com/cyphercodes)!
- Fix: TOML encoder uses inline tables for YAML FlowStyle mappings ([#​2687](https://github.com/mikefarah/yq/issues/2687))
- Fix nested inline YAML merge explode ([#​2699](https://github.com/mikefarah/yq/issues/2699)) Thanks [@​cyphercodes](https://github.com/cyphercodes)!
- Fix repeatString overflow test on 32-bit platforms ([#​2680](https://github.com/mikefarah/yq/issues/2680)) Thanks [@​jandubois](https://github.com/jandubois)!
- Bumped dependencies
### [`v4.53.2`](https://github.com/mikefarah/yq/releases/tag/v4.53.2)
[Compare Source](https://github.com/mikefarah/yq/compare/v4.52.5...v4.53.2)
- Releases and tags now signed and immutable!
- Add system(command; args) operator (disabled by default) ([#​2640](https://github.com/mikefarah/yq/issues/2640))
- TOML encoder: prefer readable table sections over inline tables ([#​2649](https://github.com/mikefarah/yq/issues/2649))
- Fix TOML encoder to quote keys containing special characters ([#​2648](https://github.com/mikefarah/yq/issues/2648))
- Add string slicing support ([#​2639](https://github.com/mikefarah/yq/issues/2639))
- Fix findInArray misuse on MappingNodes in equality and contains ([#​2645](https://github.com/mikefarah/yq/issues/2645)) Thanks [@​jandubois](https://github.com/jandubois)!
- Fix panic on negative slice indices that underflow after adjustment ([#​2646](https://github.com/mikefarah/yq/issues/2646)) Thanks [@​jandubois](https://github.com/jandubois)!
- Fix stack overflow from circular alias in traverse ([#​2647](https://github.com/mikefarah/yq/issues/2647)) Thanks [@​jandubois](https://github.com/jandubois)!
- Fix panic and OOM in repeatString for large repeat counts ([#​2644](https://github.com/mikefarah/yq/issues/2644)) Thanks [@​jandubois](https://github.com/jandubois)!
- Bumped dependencies
### [`v4.52.5`](https://github.com/mikefarah/yq/releases/tag/v4.52.5)
[Compare Source](https://github.com/mikefarah/yq/compare/v4.52.4...v4.52.5)
- Fix: reset TOML decoder state between files ([#​2634](https://github.com/mikefarah/yq/issues/2634)) thanks [@​terminalchai](https://github.com/terminalchai)
- Fix: preserve original filename when using --front-matter ([#​2613](https://github.com/mikefarah/yq/issues/2613)) thanks [@​cobyfrombrooklyn-bot](https://github.com/cobyfrombrooklyn-bot)
- Fix typo in filename ([#​2611](https://github.com/mikefarah/yq/issues/2611)) thanks [@​alexandear](https://github.com/alexandear)
- Bumped dependencies
### [`v4.52.4`](https://github.com/mikefarah/yq/releases/tag/v4.52.4)
[Compare Source](https://github.com/mikefarah/yq/compare/v4.52.2...v4.52.4)
- Dropping windows/arm - no longer supported in cross-compile
- Fixing comments in TOML arrays ([#​2592](https://github.com/mikefarah/yq/issues/2592))
- Bumped dependencies
### [`v4.52.2`](https://github.com/mikefarah/yq/releases/tag/v4.52.2)
[Compare Source](https://github.com/mikefarah/yq/compare/v4.52.1...v4.52.2)
- Fixed bad instructions file breaking go-install ([#​2587](https://github.com/mikefarah/yq/issues/2587)) Thanks [@​theyoprst](https://github.com/theyoprst)
- Fixed TOML table scope after comments ([#​2588](https://github.com/mikefarah/yq/issues/2588)) Thanks [@​tomers](https://github.com/tomers)
- Multiply uses a readonly context ([#​2558](https://github.com/mikefarah/yq/issues/2558))
- Fixed merge globbing wildcards in keys ([#​2564](https://github.com/mikefarah/yq/issues/2564))
- Fixing TOML subarray parsing issue ([#​2581](https://github.com/mikefarah/yq/issues/2581))
### [`v4.52.1`](https://github.com/mikefarah/yq/releases/tag/v4.52.1): - TOML roundtrip and more!
[Compare Source](https://github.com/mikefarah/yq/compare/v4.50.1...v4.52.1)
- TOML encoder support - you can now roundtrip! [#​1364](https://github.com/mikefarah/yq/issues/1364)
- Parent now supports negative indices, and added a 'root' command for referencing the top level document
- Fixed scalar encoding for HCL
- Add --yaml-compact-seq-indent / -c flag for compact sequence indentation ([#​2583](https://github.com/mikefarah/yq/issues/2583)) Thanks [@​jfenal](https://github.com/jfenal)
- Add symlink check to file rename util ([#​2576](https://github.com/mikefarah/yq/issues/2576)) Thanks [@​Elias-elastisys](https://github.com/Elias-elastisys)
- Powershell fixed default command used for \_\_completeNoDesc alias ([#​2568](https://github.com/mikefarah/yq/issues/2568)) Thanks [@​teejaded](https://github.com/teejaded)
- Unwrap scalars in shell output mode. ([#​2548](https://github.com/mikefarah/yq/issues/2548)) Thanks [@​flintwinters](https://github.com/flintwinters)
- Added K8S KYAML output format support ([#​2560](https://github.com/mikefarah/yq/issues/2560)) Thanks [@​robbat2](https://github.com/robbat2)
- Bumped dependencies
- Special shout out to [@​ccoVeille](https://github.com/ccoVeille) for reviewing my PRs!
Thanks to everyone that contributed ❤️
### [`v4.50.1`](https://github.com/mikefarah/yq/releases/tag/v4.50.1): - HCL!
[Compare Source](https://github.com/mikefarah/yq/compare/v4.49.2...v4.50.1)
- Added HCL Support - First cut - hopefully it works well! ([#​1844](https://github.com/mikefarah/yq/issues/1844))
- Fixing handling of CRLF [#​2352](https://github.com/mikefarah/yq/issues/2352)
- Bumped dependencies
### [`v4.49.2`](https://github.com/mikefarah/yq/releases/tag/v4.49.2)
[Compare Source](https://github.com/mikefarah/yq/compare/v4.49.1...v4.49.2)
- Fixing escape character bugs :sweat: [#​2517](https://github.com/mikefarah/yq/issues/2517)
- Fixing snap release pipeline [#​2518](https://github.com/mikefarah/yq/issues/2518) Thanks [@​aalexjo](https://github.com/aalexjo)
### [`v4.49.1`](https://github.com/mikefarah/yq/releases/tag/v4.49.1): - Security Flags and TOML fixes
[Compare Source](https://github.com/mikefarah/yq/compare/v4.48.2...v4.49.1)
- Added `--security` flags to disable env and file ops [#​2515](https://github.com/mikefarah/yq/issues/2515)
- Fixing TOML ArrayTable parsing issues [#​1758](https://github.com/mikefarah/yq/issues/1758)
- Fixing parsing of escaped characters [#​2506](https://github.com/mikefarah/yq/issues/2506)
### [`v4.48.2`](https://github.com/mikefarah/yq/releases/tag/v4.48.2)
[Compare Source](https://github.com/mikefarah/yq/compare/v4.48.1...v4.48.2)
- Strip whitespace when decoding base64 [#​2507](https://github.com/mikefarah/yq/issues/2507)
- Upgraded to go-yaml v4! (thanks [@​ccoVeille](https://github.com/ccoVeille), [@​ingydotnet](https://github.com/ingydotnet))
- Add linux/loong64 to release target (thanks [@​znley](https://github.com/znley))
- Added --shell-key-separator flag for customizable shell output format [#​2497](https://github.com/mikefarah/yq/issues/2497) (thanks [@​rsleedbx](https://github.com/rsleedbx))
- Bumped dependencies
### [`v4.48.1`](https://github.com/mikefarah/yq/releases/tag/v4.48.1): - First and Parents Operators
[Compare Source](https://github.com/mikefarah/yq/compare/v4.47.2...v4.48.1)
- Added 'parents' operator, to return a list of all the hierarchical parents of a node
- Added 'first(exp)' operator, to return the first entry matching an expression in an array
- Fixed xml namespace prefixes [#​1730](https://github.com/mikefarah/yq/issues/1730) (thanks [@​baodrate](https://github.com/baodrate))
- Fixed out of range panic in yaml decoder [#​2460](https://github.com/mikefarah/yq/issues/2460) (thanks [@​n471d](https://github.com/n471d))
- Bumped dependencies
### [`v4.47.2`](https://github.com/mikefarah/yq/releases/tag/v4.47.2)
[Compare Source](https://github.com/mikefarah/yq/compare/v4.47.1...v4.47.2)
- Conversion from TOML to JSON no longer omits empty tables [#​2459](https://github.com/mikefarah/yq/issues/2459) (thanks [@​louislouislouislouis](https://github.com/louislouislouislouis))
- Bumped dependencies
### [`v4.47.1`](https://github.com/mikefarah/yq/releases/tag/v4.47.1): - Merge Anchor fixes (with flag)
[Compare Source](https://github.com/mikefarah/yq/compare/v4.46.1...v4.47.1)
- Fixed merge anchor behaviour (`<<`); [#​2404](https://github.com/mikefarah/yq/issues/2404), [#​2110](https://github.com/mikefarah/yq/issues/2110), [#​2386](https://github.com/mikefarah/yq/issues/2386), [#​2178](https://github.com/mikefarah/yq/issues/2178) Huge thanks to [@​stevenwdv](https://github.com/stevenwdv)!
Note that you will need to set --yaml-fix-merge-anchor-to-spec to see the fixes
- Fixed panic for syntax error when creating a map [#​2423](https://github.com/mikefarah/yq/issues/2423)
- Bumped dependencies
### [`v4.46.1`](https://github.com/mikefarah/yq/releases/tag/v4.46.1): - INI support + bug fixes
[Compare Source](https://github.com/mikefarah/yq/compare/v4.45.4...v4.46.1)
- Added INI support
- Fixed 'add' operator when piped in with no data [#​2378](https://github.com/mikefarah/yq/issues/2378), [#​2383](https://github.com/mikefarah/yq/issues/2383), [#​2384](https://github.com/mikefarah/yq/issues/2384)
- Fixed delete after slice problem (bad node path) [#​2387](https://github.com/mikefarah/yq/issues/2387) Thanks [@​antoinedeschenes](https://github.com/antoinedeschenes)
- Fixed yq small build Thanks [@​imzue](https://github.com/imzue)
- Switched to YAML org supported go-yaml!
- Bumped dependencies
### [`v4.45.4`](https://github.com/mikefarah/yq/releases/tag/v4.45.4): - Fixing wrong map() behaviour on empty map
[Compare Source](https://github.com/mikefarah/yq/compare/v4.45.3...v4.45.4)
- Fixing wrong map() behaviour on empty map [#​2359](https://github.com/mikefarah/yq/issues/2359)
- Bumped dependencies
### [`v4.45.3`](https://github.com/mikefarah/yq/releases/tag/v4.45.3): - Fixes regression bug(s)
[Compare Source](https://github.com/mikefarah/yq/compare/v4.45.2...v4.45.3)
- Fixing regression ([#​2353](https://github.com/mikefarah/yq/issues/2353), [#​2359](https://github.com/mikefarah/yq/issues/2359), [#​2325](https://github.com/mikefarah/yq/issues/2325)) introduced with in 4.45.2 with [#​2325](https://github.com/mikefarah/yq/issues/2325) fix
- Bumped dependencies
Sorry for the regression folks! 😓
fwiw I have since added automated tests to capture the scenarios provided in the regression bug tickets
### [`v4.45.2`](https://github.com/mikefarah/yq/releases/tag/v4.45.2)
[Compare Source](https://github.com/mikefarah/yq/compare/v4.45.1...v4.45.2)
- Added windows arm builds (Thanks [@​albertocavalcante](https://github.com/albertocavalcante), [@​ShukantPal](https://github.com/ShukantPal))
- Added s390x platform support (Thanks [@​ashokpariya0](https://github.com/ashokpariya0))
- Additionally push docker images to ghcr.io (Thanks [@​reegnz](https://github.com/reegnz))
- Fixing add when there is no node match [#​2325](https://github.com/mikefarah/yq/issues/2325)
- sort\_by works on maps
- Bumped dependencies
### [`v4.45.1`](https://github.com/mikefarah/yq/releases/tag/v4.45.1): - Create parent directories when --split-exp is used!
[Compare Source](https://github.com/mikefarah/yq/compare/v4.44.6...v4.45.1)
- Create parent directories when --split-exp is used, Thanks [@​rudo-thomas](https://github.com/rudo-thomas)
- Bumped dependencies
</details>
---
### Configuration
📅 **Schedule**: (UTC)
- Branch creation
- At any time (no schedule defined)
- Automerge
- At any time (no schedule defined)
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [x] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4zMC4wIiwidXBkYXRlZEluVmVyIjoiNDQuMzAuMCIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6W119-->
Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.
♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
any of the package files in this branch needs updating, or
the branch becomes conflicted, or
you click the rebase/retry checkbox if found above, or
you rename this PR's title to start with "rebase!" to trigger it manually
The artifact failure details are included below:
File name: install-yq.sh
Command failed: make readme
npm warn deprecated whatwg-encoding@3.1.1: Use @exodus/bytes instead for a more spec-conformant and faster implementation
make: *** No rule to make target 'readme/parameters', needed by 'readme'. Stop.
### ⚠️ Artifact update problem
Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.
♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
- any of the package files in this branch needs updating, or
- the branch becomes conflicted, or
- you click the rebase/retry checkbox if found above, or
- you rename this PR's title to start with "rebase!" to trigger it manually
The artifact failure details are included below:
##### File name: install-yq.sh
```
Command failed: make readme
npm warn deprecated whatwg-encoding@3.1.1: Use @exodus/bytes instead for a more spec-conformant and faster implementation
make: *** No rule to make target 'readme/parameters', needed by 'readme'. Stop.
```
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
This PR contains the following updates:
v4.44.6→v4.53.3Release Notes
mikefarah/yq (mikefarah/yq)
v4.53.3Compare Source
--ini-preserve-quotesflag for INI round-trip quote preservation (#2728) Thanks @toller892!v4.53.2Compare Source
v4.52.5Compare Source
v4.52.4Compare Source
v4.52.2Compare Source
v4.52.1: - TOML roundtrip and more!Compare Source
Parent now supports negative indices, and added a 'root' command for referencing the top level document
Fixed scalar encoding for HCL
Add --yaml-compact-seq-indent / -c flag for compact sequence indentation (#2583) Thanks @jfenal
Add symlink check to file rename util (#2576) Thanks @Elias-elastisys
Powershell fixed default command used for __completeNoDesc alias (#2568) Thanks @teejaded
Unwrap scalars in shell output mode. (#2548) Thanks @flintwinters
Added K8S KYAML output format support (#2560) Thanks @robbat2
Bumped dependencies
Special shout out to @ccoVeille for reviewing my PRs!
Thanks to everyone that contributed ❤️
v4.50.1: - HCL!Compare Source
v4.49.2Compare Source
v4.49.1: - Security Flags and TOML fixesCompare Source
--securityflags to disable env and file ops #2515v4.48.2Compare Source
v4.48.1: - First and Parents OperatorsCompare Source
v4.47.2Compare Source
v4.47.1: - Merge Anchor fixes (with flag)Compare Source
<<); #2404, #2110, #2386, #2178 Huge thanks to @stevenwdv!Note that you will need to set --yaml-fix-merge-anchor-to-spec to see the fixes
v4.46.1: - INI support + bug fixesCompare Source
v4.45.4: - Fixing wrong map() behaviour on empty mapCompare Source
v4.45.3: - Fixes regression bug(s)Compare Source
Sorry for the regression folks! 😓
fwiw I have since added automated tests to capture the scenarios provided in the regression bug tickets
v4.45.2Compare Source
v4.45.1: - Create parent directories when --split-exp is used!Compare Source
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate CLI.
⚠️ Artifact update problem
Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.
♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
The artifact failure details are included below:
File name: install-yq.sh
Pull request closed