deps: bump github.com/itchyny/gojq from 0.12.19 to 0.12.20
Merged
DE
14d ago+7+7+0123456789-7-7-0123456789
Bumps github.com/itchyny/gojq from 0.12.19 to 0.12.20.
Release notes
Sourced from github.com/itchyny/gojq's releases.
Release v0.12.20
- implement
gojq.ToIntandgojq.ToFloat64for converting number values- fix destructuring alternative operator (
?//) to reset variables of later alternatives, and to propagatebreakandhalterrors- fix update-assignment operator against object with overlapping paths
- fix
delpathsfunction to delete ancestor paths before descendant paths- fix
getpathfunction against string input- fix indexing and slicing a number literal written after a unary operator
- fix slice indices of floating point numbers for jq compatibility
- fix date and time functions against fractional, non-finite, and out of range numbers
- fix
strptimefunction to accept the zero time instant- fix
match,test, andcapturefunctions to support array arguments- fix
matchfunction to report an empty match after a non-empty one- fix
split/1function against empty input string- fix math functions against large number literals like
1e1000- fix
jn/2andyn/2functions to avoid long recurrence on large orders- fix
absfunction against non-numbers for jq compatibility- fix
isnanfunction to return false for non-numbers for jq compatibility- fix
halt_errorfunction not to print a newline after non-string values- fix
--argjsonand--jsonargsoptions to reject empty and multiple JSON values- fix
--streamoption error message against unterminated input- fix JSON parse error message after a large value in non-seekable input like stdin
- fix offset of YAML parse error on multi-byte characters
- fix panic on continuing iteration after an invalid path error
- fix data race on input iterator when running code concurrently
- fix
addfunction to handle a nil map and slice as the first value- support destructuring alternative operator (
?//) inreduceandforeachsyntax- allow optional operator followed by alternative operator without spaces (
.a?//1)- improve performance of function calls by avoiding copies of scope values, and path tracking in
path,paths,|=, anddelby reducing allocations
Changelog
Sourced from github.com/itchyny/gojq's changelog.
v0.12.20 (2026-11-01)
- implement
gojq.ToIntandgojq.ToFloat64for converting number values- fix destructuring alternative operator (
?//) to reset variables of later alternatives, and to propagatebreakandhalterrors- fix update-assignment operator against object with overlapping paths
- fix
delpathsfunction to delete ancestor paths before descendant paths- fix
getpathfunction against string input- fix indexing and slicing a number literal written after a unary operator
- fix slice indices of floating point numbers for jq compatibility
- fix date and time functions against fractional, non-finite, and out of range numbers
- fix
strptimefunction to accept the zero time instant- fix
match,test, andcapturefunctions to support array arguments- fix
matchfunction to report an empty match after a non-empty one- fix
split/1function against empty input string- fix math functions against large number literals like
1e1000- fix
jn/2andyn/2functions to avoid long recurrence on large orders- fix
absfunction against non-numbers for jq compatibility- fix
isnanfunction to return false for non-numbers for jq compatibility- fix
halt_errorfunction not to print a newline after non-string values- fix
--argjsonand--jsonargsoptions to reject empty and multiple JSON values- fix
--streamoption error message against unterminated input- fix JSON parse error message after a large value in non-seekable input like stdin
- fix offset of YAML parse error on multi-byte characters
- fix panic on continuing iteration after an invalid path error
- fix data race on input iterator when running code concurrently
- fix
addfunction to handle a nil map and slice as the first value- support destructuring alternative operator (
?//) inreduceandforeachsyntax- allow optional operator followed by alternative operator without spaces (
.a?//1)- improve performance of function calls by avoiding copies of scope values, and path tracking in
path,paths,|=, anddelby reducing allocations
Commits
e7c14ecbump up version to 0.12.20b326bddupdate CHANGELOG.md for v0.12.20e8319c4use $(MAKE) instead of make in Makefilee169ed9fix strptime to accept the zero time instant (#333)806d7bdimprove test coverage of query string conversion045a452refactor format functions to avoid unnecessary interface conversionb984f98replace ncipollo/release-action with gh release create8b2f146update dependencies7c7e71afix JSON argument error to report the unexpected token after a valuee661b6afix --argjson and --jsonargs to reject empty and multiple JSON values (#332)- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Summary by cubic
Bumps github.com/itchyny/gojq from 0.12.19 to 0.12.20 (patch release), along with transitive github.com/itchyny/timefmt-go from 0.1.8 to 0.1.9. The release fixes many jq compatibility bugs and improves performance of function calls and path tracking.
Regenerates the Nix vendorHash in nix/package.nix to match the new dependency versions.