winget install --id MikeFarah.yq
About yq
yq is a lightweight and portable command-line YAML, JSON and XML processor. yq uses jq like syntax but works with yaml files as well as json, xml, properties, csv and tsv.
What's new in 4.53.2
- Releases and tags now signed and immutable! - Add system(command; args) operator (disabled by default) (#2640) - TOML encoder: prefer readable table sections over inline tables (#2649) - Fix TOML encoder to quote keys containing special characters (#2648) - Add string slicing support (#2639) - Fix findInArray misuse on MappingNodes in equality and contains (#2645) Thanks @jandubois! - Fix panic on negative slice indices that underflow after adjustment (#2646) Thanks @jandubois! - Fix stack overflow from circular alias in traverse (#2647) Thanks @jandubois! - Fix panic and OOM in repeatString for large repeat counts (#2644) Thanks @jandubois! - Bumped dependencies
Version history
| Version | Updated | Notes |
|---|---|---|
| 4.53.2 | Unknown | - Releases and tags now signed and immutable! - Add system(command; args) operator (disabled by default) (#2640) - TOML encoder: prefer readable table sections over inline tables (#2649) - Fix TOML encoder to quote keys... |
| 4.52.5 | Unknown | - Fix: reset TOML decoder state between files (#2634) thanks @terminalchai - Fix: preserve original filename when using --front-matter (#2613) thanks @cobyfrombrooklyn-bot - Fix typo in filename (#2611) thanks @alexandea... |
| 4.52.4 | Unknown | - Dropping windows/arm - no longer supported in cross-compile - Fixing comments in TOML arrays (#2592) - Bumped dependencies |
| 4.52.2 | Unknown | - Fixed bad instructions file breaking go-install (#2587) Thanks @theyoprst - Fixed TOML table scope after comments (#2588) Thanks @tomers - Multiply uses a readonly context (#2558) - Fixed merge globbing wildcards in ke... |
| 4.50.1 | Unknown | - Added HCL Support - First cut - hopefully it works well! (#1844) - Fixing handling of CRLF #2352 - Bumped dependencies |
| 4.49.2 | Unknown | - Fixing escape character bugs :sweat: #2517 - Fixing snap release pipeline #2518 Thanks @aalexjo |
| 4.49.1 | Unknown | - Added --security flags to disable env and file ops #2515 - Fixing TOML ArrayTable parsing issues #1758 - Fixing parsing of escaped characters #2506 |
| 4.48.2 | Unknown | - Strip whitespace when decoding base64 #2507 - Upgraded to go-yaml v4! (thanks @ccoVeille, @ingydotnet) - Add linux/loong64 to release target (thanks @znley) - Added --shell-key-separator flag for customizable shell out... |
| 4.48.1 | Unknown | - 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 (tha... |
| 4.47.2 | Unknown | - Conversion from TOML to JSON no longer omits empty tables #2459 (thanks @louislouislouislouis) - Bumped dependencies |
| 4.46.1 | Unknown | - Added INI support - Fixed 'add' operator when piped in with no data #2378, #2383, #2384 - Fixed delete after slice problem (bad node path) #2387 Thanks @antoinedeschenes - Fixed yq small build Thanks @imzue - Switched... |
| 4.45.4 | Unknown | - Create parent directories when --split-exp is used, Thanks @rudo-thomas - Bumped dependencies |
| 4.45.1 | Unknown | - Create parent directories when --split-exp is used, Thanks @rudo-thomas - Bumped dependencies |
| 4.44.6 | Unknown | - Fixed deleting items in array bug #2027, #2172; Thanks @jandubois - Docker image for armv7 / raspberry pi3, Thanks @brianegge - Fixed no-colors regression #2218 - Fixed various panic scenarios #2211 - Bumped dependenci... |
| 4.44.5 | Unknown | - Format comments with a gray foreground (Thanks @gabe565) - Fixed handling of nulls with sort_by expressions #2164 - Force no color output when NO_COLOR env presents (Thanks @narqo) - Fixed array subtraction update bug... |
| 4.44.3 | Unknown | - Fixed upper-case file extension detection, Thanks @ryenus (#2121) - Log printing follow no-colors flag #2082 - Skip and warn when interpolating strings and theres a unclosed bracket #2083 - Fixed CSV content starting w... |
| 4.44.2 | Unknown | - Handle numbers with underscores #2039 - Unique now works on maps and arrays #2068 - Added support for short hand splat with env[] expression #2071, as well as many other operators (split,select,eval,pick..) - Bumped de... |
| 4.44.1 | Unknown | - Added min/max operators (#1992) Thanks @mbenson - Added pivot oeprator (#1993) Thanks @mbenson - Fix: shell-completion (#2006) Thanks @codekow - Handle escaped backslashes (#1997) Thanks @mbenson - Fix npe when given f... |
| 4.43.1 | Unknown | - Added omit operator #1989 thanks @mbenson! - Can now multiply strings by numbers #1988 thanks @mbenson! - Added tostring #72 - Added string interpolation #1149 - Can specify parent(n) levels #1970 - Fixed CSV line brea... |
| 4.40.5 | Unknown | - Fixing seg fault on bad XML #1888 - Fixed handling of --- #1890, #1896 - Bumped dependencies |