Skip to content

Update module github.com/itchyny/gojq to v0.12.18#1008

Open
red-hat-konflux[bot] wants to merge 1 commit intomainfrom
konflux/mintmaker/main/github.com-itchyny-gojq-0.x
Open

Update module github.com/itchyny/gojq to v0.12.18#1008
red-hat-konflux[bot] wants to merge 1 commit intomainfrom
konflux/mintmaker/main/github.com-itchyny-gojq-0.x

Conversation

@red-hat-konflux
Copy link
Contributor

@red-hat-konflux red-hat-konflux bot commented Nov 6, 2025

This PR contains the following updates:

Package Change Age Confidence
github.com/itchyny/gojq v0.12.9 -> v0.12.18 age confidence

Warning

Some dependencies could not be looked up. Check the warning logs for more information.


Release Notes

itchyny/gojq (github.com/itchyny/gojq)

v0.12.18

Compare Source

  • implement trimstr/1, toboolean/0 function
  • fix last/1 to be included in builtins/0
  • fix --indent 0 to preserve newlines
  • fix string repetition to emit error when the result is too large
  • increase the array index limit to 5368709 (2^29)
  • stop numeric normalization for concurrent execution (see 1ace748)
  • support binding expressions with binary operators (1 + 2 as $x | -$x)
  • improve gojq.NewIter to be a generic function
  • improve logic for getting file contents on JSON parse error
  • improve JSON parsing to preserve the precision of floating-point numbers
  • improve YAML parsing performance and preserve the precision of large integers
  • improve performance and reduce memory allocation of long-running queries

v0.12.17

Compare Source

  • implement add/1, skip/2 functions
  • implement --library-path option as the alias of -L option
  • fix reduce syntax to emit results for each initial value
  • fix last/1 to yield no values when the argument yields no values
  • fix limit/2 to emit an error on negative count
  • fix @uri and @urid formats not to convert space between plus sign
  • fix resolving search paths of import statements in the query
  • improve time functions to accept fewer element arrays

v0.12.16

Compare Source

  • fix offset of query parsing error on multi-byte characters
  • fix tests of exp10 and atan2 failing on some platforms
  • fix debug/1 to be available only when debug/0 is defined
  • improve parser to allow binary operators as object values
  • improve compiler to emit error if query is missing

v0.12.15

Compare Source

  • implement ltrim, rtrim, and trim functions
  • implement gojq.ParseError for getting the offset and token of query parsing error
  • implement gojq.HaltError for detecting halt errors and stopping outer iteration
  • fix object construction with duplicate keys ({x:0,y:1} | {a:.x,a:.y})
  • fix halt and halt_error functions to stop the command execution immediately
  • fix variable scope of binding syntax ("a" as $v | def f: $v; "b" as $v | f)
  • fix pre-defined variables to be available in initial modules ($ARGS in ~/.jq)
  • fix ltrimstr and rtrimstr functions to emit error on non-string input
  • fix nearbyint and rint functions to round ties to even
  • improve parser to allow reduce, foreach, if, try-catch syntax as object values
  • remove pow10 in favor of exp10, define scalbn and scalbln by ldexp

v0.12.14

Compare Source

  • implement abs, pick, and debug/1 functions
  • implement --raw-output0 option, and remove --nul-output (-0) option
  • fix string multiplication by zero to emit an empty string
  • fix zero divided by zero to emit an error, not nan
  • fix modulo operator to emit nan if either side is nan
  • fix implode function to emit replacement characters on invalid code points
  • fix stderr function to output strings in raw format
  • fix error function to throw an error even for null
  • fix walk function on multiple outputs arguments
  • fix --from-file option to work with --args and --jsonargs options
  • fix the default module search path ../lib relative to the executable
  • improve query parser to support comment continuation with backslash
  • improve modulemeta function to include defined function names in the module
  • improve search path of import and include directives to support $ORIGIN expansion
  • remove deprecated leaf_paths function

v0.12.13

Compare Source

  • implement @urid format string to decode URI values
  • fix functions returning arrays not to emit nil slices (flatten, group_by,
    unique, unique_by, nth, indices, path, and modulemeta.deps)

v0.12.12

Compare Source

  • fix assignment operator (=) with overlapping paths and multiple values ([[]] | .. = ..)
  • fix crash on multiplying large numbers to an empty string (9223372036854775807 * "")
  • improve zsh completion file

v0.12.11

Compare Source

  • fix crash on assignment operator (=) with multiple values (. = (0,0))
  • fix isnormal and normals functions against subnormal numbers

v0.12.10

Compare Source

  • fix break in try-catch query (label $x | try break $x catch .)
  • fix path value validation for getpath function (path(getpath([[0]][0])))
  • fix path value validation for custom iterator functions
  • fix walk function with argument emitting multiple values ([1],{x:1} | walk(.,0))
  • fix @csv, @tsv, @sh to escape the null character (["\u0000"] | @​csv,@​tsv,@​sh)
  • improve performance of assignment operator (=), update-assignment operator (|=),
    map_values, del, delpaths, walk, ascii_downcase, and ascii_upcase functions

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

To execute skipped test pipelines write comment /ok-to-test.


Documentation

Find out how to configure dependency updates in MintMaker documentation or see all available configuration options in Renovate documentation.

@openshift-ci
Copy link

openshift-ci bot commented Nov 6, 2025

Hi @red-hat-konflux[bot]. Thanks for your PR.

I'm waiting for a github.com member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@red-hat-konflux red-hat-konflux bot changed the title Update module github.com/itchyny/gojq to v0.12.17 Update module github.com/itchyny/gojq to v0.12.17 - autoclosed Nov 9, 2025
@red-hat-konflux red-hat-konflux bot closed this Nov 9, 2025
@red-hat-konflux red-hat-konflux bot deleted the konflux/mintmaker/main/github.com-itchyny-gojq-0.x branch November 9, 2025 13:10
@red-hat-konflux red-hat-konflux bot changed the title Update module github.com/itchyny/gojq to v0.12.17 - autoclosed Update module github.com/itchyny/gojq to v0.12.17 Nov 9, 2025
@red-hat-konflux red-hat-konflux bot reopened this Nov 9, 2025
@red-hat-konflux red-hat-konflux bot force-pushed the konflux/mintmaker/main/github.com-itchyny-gojq-0.x branch from 44a50d1 to 812c723 Compare November 9, 2025 20:39
@red-hat-konflux
Copy link
Contributor Author

red-hat-konflux bot commented Nov 9, 2025

ℹ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 3 additional dependencies were updated

Details:

Package Change
github.com/mattn/go-runewidth v0.0.13 -> v0.0.19
golang.org/x/sys v0.36.0 -> v0.38.0
github.com/itchyny/timefmt-go v0.1.4 -> v0.1.7

@red-hat-konflux red-hat-konflux bot force-pushed the konflux/mintmaker/main/github.com-itchyny-gojq-0.x branch 2 times, most recently from 6985f36 to 42002d8 Compare November 19, 2025 21:01
@red-hat-konflux red-hat-konflux bot changed the title Update module github.com/itchyny/gojq to v0.12.17 Update module github.com/itchyny/gojq to v0.12.17 - autoclosed Nov 20, 2025
@red-hat-konflux red-hat-konflux bot closed this Nov 20, 2025
@red-hat-konflux red-hat-konflux bot changed the title Update module github.com/itchyny/gojq to v0.12.17 - autoclosed Update module github.com/itchyny/gojq to v0.12.17 Nov 20, 2025
@red-hat-konflux red-hat-konflux bot reopened this Nov 20, 2025
@red-hat-konflux red-hat-konflux bot force-pushed the konflux/mintmaker/main/github.com-itchyny-gojq-0.x branch from 0e737f6 to 42002d8 Compare November 20, 2025 21:05
@red-hat-konflux red-hat-konflux bot changed the title Update module github.com/itchyny/gojq to v0.12.17 Update module github.com/itchyny/gojq to v0.12.17 - autoclosed Nov 24, 2025
@red-hat-konflux red-hat-konflux bot closed this Nov 24, 2025
@red-hat-konflux red-hat-konflux bot changed the title Update module github.com/itchyny/gojq to v0.12.17 - autoclosed Update module github.com/itchyny/gojq to v0.12.17 Nov 24, 2025
@red-hat-konflux red-hat-konflux bot reopened this Nov 24, 2025
@red-hat-konflux red-hat-konflux bot force-pushed the konflux/mintmaker/main/github.com-itchyny-gojq-0.x branch from 77cd56a to 42002d8 Compare November 24, 2025 17:18
@red-hat-konflux red-hat-konflux bot force-pushed the konflux/mintmaker/main/github.com-itchyny-gojq-0.x branch from 42002d8 to 9b6cb09 Compare December 2, 2025 01:01
@red-hat-konflux red-hat-konflux bot changed the title Update module github.com/itchyny/gojq to v0.12.17 Update module github.com/itchyny/gojq to v0.12.18 Dec 2, 2025
@red-hat-konflux red-hat-konflux bot changed the title Update module github.com/itchyny/gojq to v0.12.18 Update module github.com/itchyny/gojq to v0.12.18 - autoclosed Dec 12, 2025
@red-hat-konflux red-hat-konflux bot closed this Dec 12, 2025
@red-hat-konflux red-hat-konflux bot changed the title Update module github.com/itchyny/gojq to v0.12.18 - autoclosed Update module github.com/itchyny/gojq to v0.12.18 Dec 12, 2025
@red-hat-konflux red-hat-konflux bot reopened this Dec 12, 2025
@red-hat-konflux red-hat-konflux bot force-pushed the konflux/mintmaker/main/github.com-itchyny-gojq-0.x branch from 32e9288 to 9b6cb09 Compare December 12, 2025 13:07
@red-hat-konflux red-hat-konflux bot changed the title Update module github.com/itchyny/gojq to v0.12.18 Update module github.com/itchyny/gojq to v0.12.18 - autoclosed Dec 22, 2025
@red-hat-konflux red-hat-konflux bot closed this Dec 22, 2025
@red-hat-konflux red-hat-konflux bot changed the title Update module github.com/itchyny/gojq to v0.12.18 - autoclosed Update module github.com/itchyny/gojq to v0.12.18 Dec 22, 2025
@red-hat-konflux red-hat-konflux bot reopened this Dec 22, 2025
@red-hat-konflux red-hat-konflux bot force-pushed the konflux/mintmaker/main/github.com-itchyny-gojq-0.x branch from 1e0268d to 9b6cb09 Compare December 22, 2025 13:03
@red-hat-konflux red-hat-konflux bot changed the title Update module github.com/itchyny/gojq to v0.12.18 Update module github.com/itchyny/gojq to v0.12.18 - autoclosed Dec 26, 2025
@red-hat-konflux red-hat-konflux bot closed this Dec 26, 2025
@red-hat-konflux red-hat-konflux bot changed the title Update module github.com/itchyny/gojq to v0.12.18 - autoclosed Update module github.com/itchyny/gojq to v0.12.18 Dec 26, 2025
@red-hat-konflux red-hat-konflux bot reopened this Dec 26, 2025
@red-hat-konflux red-hat-konflux bot force-pushed the konflux/mintmaker/main/github.com-itchyny-gojq-0.x branch from 72eb9a0 to 9b6cb09 Compare December 26, 2025 05:15
@red-hat-konflux red-hat-konflux bot changed the title Update module github.com/itchyny/gojq to v0.12.18 Update module github.com/itchyny/gojq to v0.12.18 - autoclosed Dec 30, 2025
@red-hat-konflux red-hat-konflux bot closed this Dec 30, 2025
@red-hat-konflux red-hat-konflux bot changed the title Update module github.com/itchyny/gojq to v0.12.18 - autoclosed Update module github.com/itchyny/gojq to v0.12.18 Dec 31, 2025
@red-hat-konflux red-hat-konflux bot reopened this Dec 31, 2025
@red-hat-konflux red-hat-konflux bot force-pushed the konflux/mintmaker/main/github.com-itchyny-gojq-0.x branch from a3f18a4 to 9b6cb09 Compare December 31, 2025 05:11
@red-hat-konflux red-hat-konflux bot force-pushed the konflux/mintmaker/main/github.com-itchyny-gojq-0.x branch from 9b6cb09 to 27b5840 Compare January 14, 2026 21:01
@red-hat-konflux red-hat-konflux bot changed the title Update module github.com/itchyny/gojq to v0.12.18 Update module github.com/itchyny/gojq to v0.12.18 - autoclosed Jan 17, 2026
@red-hat-konflux red-hat-konflux bot closed this Jan 17, 2026
@red-hat-konflux red-hat-konflux bot changed the title Update module github.com/itchyny/gojq to v0.12.18 - autoclosed Update module github.com/itchyny/gojq to v0.12.18 Jan 18, 2026
@red-hat-konflux red-hat-konflux bot reopened this Jan 18, 2026
@red-hat-konflux red-hat-konflux bot force-pushed the konflux/mintmaker/main/github.com-itchyny-gojq-0.x branch 2 times, most recently from 27b5840 to 513db86 Compare January 18, 2026 01:15
@red-hat-konflux red-hat-konflux bot force-pushed the konflux/mintmaker/main/github.com-itchyny-gojq-0.x branch from 513db86 to ae320b3 Compare March 9, 2026 19:13
@openshift-ci
Copy link

openshift-ci bot commented Mar 9, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign olucasfreitas for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com>
@red-hat-konflux red-hat-konflux bot force-pushed the konflux/mintmaker/main/github.com-itchyny-gojq-0.x branch from ae320b3 to dd85b57 Compare March 10, 2026 18:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants