Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency yq to v4.44.3 #49

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 12, 2024

This PR contains the following updates:

Package Update Change
yq minor 4.6.0 -> 4.44.3

Release Notes

mikefarah/yq (yq)

v4.44.3

Compare Source

  • 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 with # issue #​2076
    • Bumped dependencies

v4.44.2

Compare Source

  • 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 dependencies

v4.44.1: - min/max/pivot!

Compare Source

v4.43.1

Compare Source

v4.42.1

Compare Source

  • Can execute yq expression files directly with shebang #​1851

v4.41.1

Compare Source

  • Can now comment in yq expressions! #​1919
    • Added new CSV option to turn off auto-parsing #​1947
    • Can now retrieve the alias names of merge anchors #​1942
    • Fixed Toml decoding when table array defined before parent #​1922
    • Fixing with_entries context #​1925

v4.40.7

Compare Source

v4.40.5

Compare Source

v4.40.4: - Fixed bug with creating maps with values based off keys

Compare Source

  • Fixed bug with creating maps with values based off keys #​1886, #​1889
    • Bumped dependencies

v4.40.3: - Fixes JSON empty array bug

Compare Source

  • Fixed JSON output issue with empty arrays #​1880

v4.40.2: - Official

Compare Source

Thank you for all your support! I've fixed some of the issues that were kindly raised :) Happy to make the release official!

  • Do not panic when StdIn is closed (#​1867) Thanks @​aleskandro!
  • Fixed issue when update against self #​1869
  • Fixed multi doc anchor bug #​1861
  • Fixes doc line separator issue when reading expression file #​1860
  • Bumped dependencies

v4.40.1: - Engine refactor

Compare Source

I've done some overdue work on refactoring the core engine - pulling out the dependency on go-yaml. There are a couple of slight output changes (whitespace / document separators) in some niche scenarios - I think they are improvements, Bit nervous on releasing this, but all the tests are passing and I've added more tests! Love some early feedback :)

  • Added tonumber support
  • Added kind operator
  • Lua output fixes (#​1811) - Thanks @​Zash!
  • Add support for Lua input (#​1810) - Thanks @​Zash!
  • Bumped dependencies

v4.35.2: - Minor fixes

Compare Source

  • Fix various typos #​1798
    • Fixed number parsing as float bug in JSON #​1756
    • Fixed string, null concatenation consistency #​1712
    • Fixed expression parsing issue #​1711
    • Bumped dependencies

v4.35.1: - Lua Output!

Compare Source

  • Added Lua output support (Thanks @​Zash)!
    • Added BSD checksum format (Thanks @​viq)!
    • Bumped dependencies

v4.34.2

Compare Source

Bumped depedencies

v4.34.1

Compare Source

v4.33.3

Compare Source

  • Fixed bug when splatting empty array #​1613
    • Added scalar output for TOML (#​1617)
    • Fixed passing of read-only context in pipe (partial fix for #​1631)
    • Bumped dependency versions

v4.33.2: - Null seperated output and snap removable media

Compare Source

  • Add --nul-output|-0 flag to separate element with NUL character (#​1550) Thanks @​vaab!
    • Add removable-media interface plug declaration to the snap packaging(#​1618) Thanks @​brlin-tw!
    • Scalar output now handled in csv, tsv and property files
    • Bumped dependency versions

v4.33.1: - TOML! (readonly)

Compare Source

  • Added read-only TOML support! #​1364. Thanks @​pelletier for making your API available in your toml lib :)
    • Added warning when auto detect by file type is outputs JSON (#​1608)

v4.32.2: - Fixes parsing unknown file format issue

Compare Source

Fixes parsing terraform tfstate files results in "unknown" format

v4.32.1

Compare Source

  • Added divide and modulo operators (#​1593) - thanks @​teejaded!
    • Add support for decoding base64 strings without padding (#​1555) - thanks @​teejaded!
    • Add filter operation (#​1588) - thanks @​rbren!
    • Detect input format based on file name extension (#​1582) - thanks @​ryenus!
    • Auto output format when input format is automatically detected
    • Fixed npe in log #​1596
    • Improved binary file size!
    • Bumped dependency versions

v4.31.2

Compare Source

v4.31.1: - New operators!

Compare Source

v4.30.8: - Snap fix

Compare Source

  • Log info message instead of erroring when unable to chown file in linux (e.g. snap confinement) #​1521

v4.30.7

Compare Source

4.30.7:

v4.30.6

Compare Source

  • Fixed xml comment in array of scalars #​1465
  • Include blank new lines in leading header preprocessing #​1462
  • Bumped dependency versions (#​1453)

v4.30.5

Compare Source

  • XML Decoder: Comment parsing tweak
  • XML Decoder: Fixed processing comments in empty XML #​1446
  • XML Decoder: Checking for invalid content outside of a root node #​1448
  • XML Decoder: Fixed issue where content surrounding tags are lost #​1447
  • XML Decoder: Fixed xml decode bug when there is content after a comment
  • Fixed loading yaml with header issue #​1445
  • guessTagFromCustomType warning log is now a debug.
    Special thanks to @​Kopfbremse for reporting XML issues!

v4.30.4: - Fixed missing version in brew/snap

Compare Source

Fixing missing version in brew/snap due to bug in automated versioning

v4.30.3

Compare Source

  • Updated release process (automated versioning)
    • Fixed handling of yaml directives (#​1424)
    • Fixed parsing of newline character in string expression #​1430
    • Fixed length compares to null instead of 0 issue #​1427

v4.30.2: - Actually updated the default xml prefix 🤦

Compare Source

  • Actually updated the default xml prefix 🤦

v4.30.1: - XML users note: the default attribute prefix has changed

Compare Source

  • XML users note: the default attribute prefix has change to +@​ to avoid naming conflicts!
    • Can use expressions in slice #​1419
    • Fixed unhandled exception when decoding CSV thanks @​washanhanzi
    • Added array_to_map operator for #​1415
    • Fixed sorting by date #​1412
    • Added check to ensure only maps can be encoded to XML #​1408
    • Check merge alias is a map #​1425
    • Explicity setting unwrap flag works for json output #​437, #​1409
    • Bumped go version

v4.29.2: - CSV Empty field fix

Compare Source

  • Fixed null pointer exception when parsing CSV with empty field #​1404

v4.29.1

Compare Source

  • Fixed Square brackets removing update #​1342
    • Added slice array operator (.[10:15]) #​44
    • XML decoder/encoder now parses directives and proc instructions (#​1344). Please use the new skip flags documented here to ignore them.
    • XML users note that the default attribute prefix will change to +@​ in the 4.30 release to avoid naming conflicts!
    • Improved comment handling of decoders (breaking change for yqlib users sorry)
    • Fixed load operator bug when loading yaml file with multiple documents
    • Bumped Go compiler version #​1394
    • Bumped dependencies

v4.28.2

Compare Source

  • Fixed Github Actions issues (thanks @​mattphelps-8451)
    • yq Github action docker image is now built as part of the release
    • Fixed bug - can now delete documents #​1377
    • Fixed handling of UTF8 encoded CSVs #​1373
    • Detect and fail on missing closing brackets #​1366
    • Bumped dependencies

v4.28.1

Compare Source

  • Added setpath and delpaths operators, like jq (#​1374)
    • Added is_key operator, to check if a match was a key when recursing
    • Added validation when attempting to add sequences to maps (#​1341)

v4.27.5

Compare Source

4.27.5:

  • Fixed relative merge bug #​1333
  • Fixed bug in alternative (//) operator, RHS being evaluated when it didn't need to be
  • Fixed footer comment issue #​1231
  • Github action now runs as root (as recommended by Github Actions doc)
  • Updated dependencies

Skipped over 4.27.4 to get the #​1333 bug fix in.

v4.27.3

Compare Source

  • Added new 'c' merge and assign flag that clobbers custom tags
    • Bumped go dependency to fix CVE (#​1316)
    • Updated dependencies

v4.27.2: - Multi json document handling, CSV decoding and more!

Compare Source

4.27.2:

  • Fixed JSON decoder to maintain object key order.

4.27.1:

  • Added 'json' decoder for support for multiple JSON documents in a single file (e.g. NDJSON)
  • Added 'csv' decoding, array of objects encoding, and round-triping
  • New StringEvaluator when using yq as a lib (thanks @​leviliangtw)
  • Fixed XML decoding issue (#​1284)

v4.26.1

Compare Source

  • Switched to new expression parser (#​1264)
    • Don't clobber anchor when adding nodes (#​1269)
    • New error operator for custom validation (#​1259)
    • Added support for --wrapScalar=false in properties encoder (#​1241) Thanks @​dcarbone
    • Fix error on multiple assign (#​1257) Thanks @​care0717
    • Bumped dependency versions

v4.25.3

Compare Source

  • xml decoder now maintains namespaces by default. Use new flags to disable if required. Thanks @​rndmit
    • Length and other similar operators no longer return comments (#​1231)
    • When split expression includes an extension, dont add .yml automatically (#​1165)
    • Map -r to --unwrapScalar to be more a drop in replacement for jq (#​1245) Thanks @​SuperSandro2000
    • Fixing usage of quoted numeric keys #​1247
    • Bumped dependency versions

v4.25.2

Compare Source

  • Fixed comments disappearing from end of file (#​1217)
    • Fixed empty base64 decoding error (#​1209)
    • JSON output now in colors (#​1208)
    • Added codeql and fixed minor issues
    • Bumped go-yaml library
    • Bumped go dependency

v4.25.1

Compare Source

  • Can specify a split expression file via the new --split-exp-file flag #​1194
  • Fixed append map bug when key matches value in existing map #​1200
  • Nicer error message when trying to use merge anchor tags other than maps #​1184
  • Fixed Don't automatically read stdin when the null input flag is used
  • Added type as an alias for tag #​1195
  • Fixes bug when using write in-place with no expression and multiple files #​1193

Note There was a bug where the last file instead of the first was being updated when using eval-all with write inplace, and no expression (or expression via --from-file. This has been fixed to the first file is updated, as per the documentation.

v4.24.5

Compare Source

  • Fixed scenarios that dropped the first line if it's a comment (#​1181)
    • Fixed updating existing empty map resulting in single line styling (#​1176)
    • Fixed with operation bug (#​1174)
    • Bumped go compiler

v4.24.4

Compare Source

  • Fixing docker release

v4.24.3

Compare Source

  • Added from_props
  • Re-releasing, 4.24.2 release failed to publish correctly.

v4.24.2: - Comparison Operators!

Compare Source

v4.23.1

Compare Source

  • Can now supply the envsubst operator with parameters (nounset, noempty, failfast). See envsubst for details (#​1137)
    • Bumped dependencies
    • Fixed '+=' problem with multiple matches #​1145
    • Fixed bug with "and", "or" evaluating the RHS when not needed
    • Fixed potential panic (thanks @​mkatychev)
    • Tweaked CLI help (thanks @​justin-f-perez)

v4.22.1

Compare Source

v4.21.1

Compare Source

v4.20.2: - Bug Fixes

Compare Source

  • Fixed self assignment issue (#​1107)
    • Fixed bad capture groups with multiple matches (#​1114)
    • No longer auto-read from STDIN if there are files given (#​1115)
    • Added missing load_props operator

v4.20.1: - Date Operators + Decode property files

Compare Source

  • New Date Operators (now, tz, add and subtract durations from dates)
  • Can now decode property files!
  • New flag to manually set expression if required
  • ZSH completion bug fix (#​1108) thanks @​whi-tw
  • Fixed SEGV error (#​1096)
  • Fixed Github actions issues (it pipes in /dev/null) for XML
  • Fixed bug - handle expressions that match a directory (e.g. ".")

v4.19.1: - Eval Operator

Compare Source

  • New eval operator that allows dynamic expression evaluation (e.g. from a env variable) (#​1087)
    • Adding new elements to array now automatically applies styling of existing elements (#​722)

v4.18.1: - New features, more consice usage

Compare Source

  • eval is now the default command, you can leave it out 👯 #​113
    • - no longer needs to be specified as STDIN, (unless you are also working with multiple files) 👯 #​113
    • Adding to empty maps / arrays now uses idiomatic yaml styling by default
    • Fixed seg fault on bad input #​1086
    • New envsubst operator! (thanks @​sciyoshi)
    • Added support for *=, relative multiply/merge
    • Custom tag types now autocast to there actual types #​933

v4.17.2: - XML Support!

Compare Source

  • Added XML support (#​491)
  • New merge flag (n) to only merge new fields (#​1038)
  • Fixed exit status bug for permission denied error (#​1062)
  • Fixed using multiple variables with union (,) operator (#​1048)
  • Bumped some versions of dependencies
  • Fixed manpath issue (thanks @​mr-pmillz)

v4.16.2

Compare Source

  • Bumped go-lang compiler to fix CVE-2021-44717 (#​1037)
    • Dependency version bumps via dependabot
    • Added extract-checksum.sh to make it easier to validate checksums (#​1011)
    • Report filename on parsing error (#​1030)

v4.16.1

Compare Source

  • Added csv, tsv output formats docs
    • Added map, map_values operators docs
    • Added sort, sort_by operators (#​947, #​1024) docs
    • Fixed bug in collect
    • Fixed permissions issue in Dockerfile (#​1014)
    • Fixed assignment operator to no longer overwrite anchor (#​1029)

v4.15.1

Compare Source

  • Added 'load/strload' operators for dynamically loading content from files
    • Added 'key' operator
    • Added 'parent' operator
    • Smarter MAN page installation script (thanks @​coolaj86)
    • Dockerfile improvements (thanks @​actualben)
    • Error handling improvements (thanks @​mmorel-35)

v4.14.2

Compare Source

  • Fixed header preprocessing issue (#​1000)
    • Bumped version dependencies

v4.14.1

Compare Source

v4.13.5

Compare Source

  • Performance improvement for deepMatch (thanks @​pmatseykanets)
    • Added manpage, included in tar.gz downloads as well as a separate tar.gz (#​961)
    • Fixed expression parsing bug #​970
    • Fixes CVE (#​964)
    • Bumped docker alpine version

v4.13.4

Compare Source

  • Fixed select bug (#​958)
    • Improved performance of explode (also speeds up json conversion)
    • Improved performance of merge (significantly if your merging a small file into a big one)

v4.13.3: - Updated go to fix CVE

Compare Source

  • Updated go compiler to 1.17 to fix CVE (#​944)

v4.13.2

Compare Source

  • Update to with operator, allow for no leading space on the ;.
  • Fixing Docker build timeout issues when attempting to release

Note: there is no code difference between 4.13.1 and 4.13.2 - just had to update the Docker file to get it to publish.

v4.13.0: - Breaking change with as - new operators!

Compare Source

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!.

  • New with operator for making multiple changes to a given path
  • New contains operator, works like the jq equivalent
  • Subtract operator now supports subtracting elements from arrays!
  • Fixed Swapping values using variables #​934
  • Github Action now properly supports multiline output #​936, thanks @​pjxiao
  • Fixed missing closing bracket validation #​932

v4.12.2

Compare Source

  • Fix processing of hex numbers #​929
  • Fixed alternative and union operator issues #​930

v4.12.1: - Merge comment fix

Compare Source

v4.12.0: - Properties Output, bug fixes

Compare Source

v4.11.2

Compare Source

v4.11.1: - Critical Bug Fixes

Compare Source

v4.11.0: - Front matter processing!

Compare Source

v4.10.0

Compare Source

v4.9.8

Compare Source

v4.9.7

Compare Source

v4.9.6

Compare Source

v4.9.5: - Alternative Operator Fix

Compare Source

v4.9.4: - Improved GitHub Action, minor bug fix

Compare Source

v4.9.3

Compare Source

Fixes:

v4.9.2

Compare Source

Bug Fixes:

  • Fixed nested array referencing (#​814)
  • Fixed a number of readonly ops not to inadvertently modify the yaml context

v4.9.1

Compare Source

  • Added ability to escape double quotes within a string expression (e.g. "cat"dog")
  • Fixed handling of empty matches in equals op (when one of lhs or rhs expressions do not match anything and the other is null)

v4.9.0

Compare Source

v4.8.0: - Entries!

Compare Source

v4.7.1: - Delete bug fix

Compare Source

Fixes #​793

v4.7.0: - String substitution (and a bug fix)

Compare Source

v4.6.3: - Subtract numbers

Compare Source

v4.6.2: - Bug Fixes

Compare Source

v4.6.1: - Performance fix

Compare Source

Fixed performance of yq https://github.com/mikefarah/yq/issues/717!


Configuration

📅 Schedule: 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 becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot changed the title Update dependency yq to v4.44.1 Update dependency yq to v4.44.2 Jun 16, 2024
@renovate renovate bot changed the title Update dependency yq to v4.44.2 Update dependency yq to v4.44.3 Aug 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants