Skip to content

deps: bump github.com/itchyny/gojq from 0.12.19 to 0.12.20 - #637

Merged
github-actions[bot] merged 3 commits into
mainfrom
dependabot/go_modules/github.com/itchyny/gojq-0.12.20
Nov 14, 2026
Merged

github-actions[bot] merged 3 commits into
mainfrom
dependabot/go_modules/github.com/itchyny/gojq-0.12.20

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

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.ToInt and gojq.ToFloat64 for converting number values
  • fix destructuring alternative operator (?//) to reset variables of later alternatives, and to propagate break and halt errors
  • fix update-assignment operator against object with overlapping paths
  • fix delpaths function to delete ancestor paths before descendant paths
  • fix getpath function 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 strptime function to accept the zero time instant
  • fix match, test, and capture functions to support array arguments
  • fix match function to report an empty match after a non-empty one
  • fix split/1 function against empty input string
  • fix math functions against large number literals like 1e1000
  • fix jn/2 and yn/2 functions to avoid long recurrence on large orders
  • fix abs function against non-numbers for jq compatibility
  • fix isnan function to return false for non-numbers for jq compatibility
  • fix halt_error function not to print a newline after non-string values
  • fix --argjson and --jsonargs options to reject empty and multiple JSON values
  • fix --stream option 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 add function to handle a nil map and slice as the first value
  • support destructuring alternative operator (?//) in reduce and foreach syntax
  • 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, |=, and del by reducing allocations
Changelog

Sourced from github.com/itchyny/gojq's changelog.

v0.12.20 (2026-11-01)

  • implement gojq.ToInt and gojq.ToFloat64 for converting number values
  • fix destructuring alternative operator (?//) to reset variables of later alternatives, and to propagate break and halt errors
  • fix update-assignment operator against object with overlapping paths
  • fix delpaths function to delete ancestor paths before descendant paths
  • fix getpath function 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 strptime function to accept the zero time instant
  • fix match, test, and capture functions to support array arguments
  • fix match function to report an empty match after a non-empty one
  • fix split/1 function against empty input string
  • fix math functions against large number literals like 1e1000
  • fix jn/2 and yn/2 functions to avoid long recurrence on large orders
  • fix abs function against non-numbers for jq compatibility
  • fix isnan function to return false for non-numbers for jq compatibility
  • fix halt_error function not to print a newline after non-string values
  • fix --argjson and --jsonargs options to reject empty and multiple JSON values
  • fix --stream option 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 add function to handle a nil map and slice as the first value
  • support destructuring alternative operator (?//) in reduce and foreach syntax
  • 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, |=, and del by reducing allocations
Commits
  • e7c14ec bump up version to 0.12.20
  • b326bdd update CHANGELOG.md for v0.12.20
  • e8319c4 use $(MAKE) instead of make in Makefile
  • e169ed9 fix strptime to accept the zero time instant (#333)
  • 806d7bd improve test coverage of query string conversion
  • 045a452 refactor format functions to avoid unnecessary interface conversion
  • b984f98 replace ncipollo/release-action with gh release create
  • 8b2f146 update dependencies
  • 7c7e71a fix JSON argument error to report the unexpected token after a value
  • e661b6a fix --argjson and --jsonargs to reject empty and multiple JSON values (#332)
  • Additional commits viewable in compare view

Dependabot compatibility score

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 rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will 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 version will 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 dependency will 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.

Written for commit 059f7e3. Summary will update on new commits.

View guided diff Turn on auto-fix

@dependabot
dependabot Bot requested a review from a team as a code owner November 10, 2026 09:14
Copilot AI balanced review requested due to automatic review settings November 10, 2026 09:14
@dependabot dependabot Bot added the go Pull requests that update go code label Nov 10, 2026
@github-actions github-actions Bot added the deps label Nov 10, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approved

No active review issues are reported for the gojq and timefmt-go dependency updates.

No open issues 🎉

What changed in this PR

Updates the jq engine used by hey-cli to pick up upstream compatibility fixes and performance improvements. No application code changes are included.

Changes:

  • Bumps github.com/itchyny/gojq from v0.12.19 to v0.12.20.
  • Updates the transitive timefmt-go dependency from v0.1.8 to v0.1.9 and refreshes module checksums.

[!TIP]
If you aren't ready for review, convert to a draft PR.
Click "Convert to draft" or run gh pr ready --undo.
Click "Ready for review" or run gh pr ready to reengage.

File Description
go.sum Updates checksums for both dependency versions.
go.mod Pins the updated gojq and timefmt-go versions.

Review effort: Balanced

cli-release-bot Bot added a commit that referenced this pull request Nov 10, 2026
go.sum changed in #637, so buildGoModule's fixed-output hash over the vendored modules moved from sha256-cEJ+g/S+XS5yLggl/MnHQhaOVFCb9+jPqKA1y3kqbw8= to sha256-kwiSlKAxoYG06ksX2RUsGlwpN869vCD8sb3eIjW+Kfw=. Computed by nix build at the merge of af0a6ac; this PR's own Nix flake check verifies it.
cursor Bot pushed a commit that referenced this pull request Nov 14, 2026
go.sum changed in #637, so buildGoModule's fixed-output hash over the vendored modules moved from sha256-cEJ+g/S+XS5yLggl/MnHQhaOVFCb9+jPqKA1y3kqbw8= to sha256-kwiSlKAxoYG06ksX2RUsGlwpN869vCD8sb3eIjW+Kfw=. Computed by nix build at the merge of af0a6ac; this PR's own Nix flake check verifies it.
@cursor
cursor Bot force-pushed the dependabot/go_modules/github.com/itchyny/gojq-0.12.20 branch 3 times, most recently from 4cb50d8 to b3d4d43 Compare November 14, 2026 01:28
dependabot Bot and others added 2 commits November 14, 2026 01:36
Bumps [github.com/itchyny/gojq](https://github.com/itchyny/gojq) from 0.12.19 to 0.12.20.
- [Release notes](https://github.com/itchyny/gojq/releases)
- [Changelog](https://github.com/itchyny/gojq/blob/main/CHANGELOG.md)
- [Commits](itchyny/gojq@v0.12.19...v0.12.20)

---
updated-dependencies:
- dependency-name: github.com/itchyny/gojq
  dependency-version: 0.12.20
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Rob Zolkos <robzolkos@hey.com>
@cursor
cursor Bot force-pushed the dependabot/go_modules/github.com/itchyny/gojq-0.12.20 branch from 56b4dea to 2c12afc Compare November 14, 2026 01:36
Co-authored-by: Rob Zolkos <robzolkos@hey.com>
@github-actions
github-actions Bot merged commit db4b27e into main Nov 14, 2026
35 checks passed
@dependabot
dependabot Bot deleted the dependabot/go_modules/github.com/itchyny/gojq-0.12.20 branch November 14, 2026 01:48
jeremy added a commit that referenced this pull request Nov 14, 2026
* origin/main:
  nix: add a CPE for hey-cli (#605)
  An app profile writes drafts and asks HEY to send, which waits for you (#648)
  A profile whose endpoint is the HEY app answers the reads from it (#646)
  deps: bump golang.org/x/sys from 0.49.0 to 0.50.0
  deps: bump github.com/spf13/pflag from 1.0.10 to 1.1.0 (#635)
  deps: bump github.com/itchyny/gojq from 0.12.19 to 0.12.20 (#637)
  deps: bump golang.org/x/sync from 0.24.0 to 0.25.0 (#638)
  deps: bump github.com/sigstore/sigstore-go from 1.3.0 to 1.4.0 (#611)
  deps: bump github.com/yuin/goldmark from 1.8.6 to 1.8.7 (#612)
  ci: bump the github-actions group across 1 directory with 7 updates
  deps: bump go.opentelemetry.io/otel/trace from 1.44.0 to 1.47.0 in the go_modules group across 1 directory (#651)
  Check smoke cleanup across switched-off calendars
  Fail smoke tests when fixture cleanup fails

# Conflicts:
#	internal/cmd/profile.go
#	internal/config/profiles.go
#	internal/config/profiles_test.go
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies deps go Pull requests that update go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants