Skip to content

chore(deps): bump the go-dependencies group across 1 directory with 7 updates - #97

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/go-dependencies-7f345f154e
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/go-dependencies-7f345f154e

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Bumps the go-dependencies group with 7 updates in the / directory:

Package From To
github.com/itchyny/gojq 0.12.19 0.12.20
github.com/mattn/go-runewidth 0.0.30 0.0.31
github.com/oapi-codegen/runtime 1.7.0 1.9.0
github.com/spf13/pflag 1.0.10 1.1.0
go.yaml.in/yaml/v3 3.0.5 3.0.6
golang.org/x/sys 0.48.0 0.50.0
golang.org/x/term 0.46.0 0.48.0

Updates 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

Updates github.com/mattn/go-runewidth from 0.0.30 to 0.0.31

Commits
  • 466251b Merge pull request #118 from mattn/more-format-controls
  • 180bd26 Treat the remaining invisible format controls as zero width
  • cffa69d Merge pull request #117 from abo3losh1/fix/nonprint-format-chars
  • 4b4e798 Treat bidi isolates and other invisible format characters as zero width
  • 8445f99 Merge pull request #116 from mattn/latin-letters-narrow
  • f46a7b3 Update the East Asian width totals in the benchmarks
  • a3ce759 Measure ambiguous Latin letters as one cell in East Asian locales
  • d74f63e Merge pull request #115 from mattn/hegel-fixes
  • ea10d6a Cap only the part of a cluster that is drawn as one glyph
  • 471864b Measure an incomplete UTF-8 sequence at the end of the text
  • Additional commits viewable in compare view

Updates github.com/oapi-codegen/runtime from 1.7.0 to 1.9.0

Release notes

Sourced from github.com/oapi-codegen/runtime's releases.

v1.9.0: Slimmer dependencies and a pluggable JSON codec

This release removes the strictmiddleware packages, which pulled every supported web framework into the dependency graph of every program that imports the runtime, and which generated code has not used since oapi-codegen v2.7.0. It adds a process-wide JSON codec that the upcoming oapi-codegen v2.9.0 will route all generated JSON encoding and decoding through, binds uuid.UUID fields in deepObject parameters, and fixes label and matrix path parameters whose value contains the style's delimiter. The minimum Go version is now 1.26.

Notable Changes

☢️ Breaking: the strictmiddleware packages are gone

The strictmiddleware/{echo,echo-v5,gin,iris,nethttp} packages held a handful of StrictHandlerFunc and StrictMiddlewareFunc type definitions, and nothing else. To define them, the runtime had to import Echo, Gin and Iris, so every program importing github.com/oapi-codegen/runtime dragged all three frameworks and their transitive dependencies into its go.mod, whether it used them or not. Removing the packages (#181, closes #180) takes the root module from 5 direct and 66 indirect requirements down to 4 direct and 1 indirect, with no web framework among them. The separate strictmiddleware/echo-v5 module is removed as well.

Code generated by oapi-codegen v2.7.0 and later declares these types itself and never imports the packages, so for anyone on a current generator the upgrade is a go get and a go mod tidy that deletes a lot of lines. Code generated by oapi-codegen v2.6.0 or earlier still imports them and will not compile against this release.

[!IMPORTANT] If your project uses generated code from oapi-codegen v2.6.0 or earlier, stay on runtime v1.8.0 until you have regenerated with v2.7.0 or later. Do not upgrade the runtime first.

Pluggable JSON codec

Everything the runtime encodes or decodes as JSON now goes through a single, process-wide codec (#183). The default is encoding/json, unchanged, and a program can replace it in its main package:

runtime.SetJSONCodec(myCodec) // any value with Marshal(any) ([]byte, error) and Unmarshal([]byte, any) error

The API is:

  • JSONCodec: the two-method interface a replacement implements. StdJSONCodec is encoding/json's pair, and can be embedded to override just one method, for instance to turn off HTML escaping.
  • StreamingJSONCodec: an optional second interface, MarshalWrite(io.Writer, any) and UnmarshalRead(io.Reader, any), for codecs that can stream request and response bodies instead of buffering them. A codec without it is buffered through Marshal and Unmarshal.
  • JSONMarshal, JSONUnmarshal, JSONMarshalWrite and JSONUnmarshalRead: the functions that generated code and the runtime itself call. JSONUnmarshalRead returns io.EOF for an empty body whichever codec is in use, which is how strict servers detect an optional body that was left out.
  • SetJSONCodec(nil) restores the default.

Within the runtime, deepObject and form parameter encoding, BindJSONBody, and the types package's Date, Duration, Email and File all use the codec already. Generated code still calls encoding/json directly today. oapi-codegen v2.9.0 will switch every generated json.Marshal, json.Unmarshal and strict response encoder over to these functions, at which point one SetJSONCodec call covers a whole program: models, clients and servers. This replaces the per-package json-encoding configuration proposed in oapi-codegen/oapi-codegen#2371, where the design discussion lives, and it is the intended path to encoding/json/v2. Thanks to @​CRaLFa for the implementation.

uuid.UUID fields bind in deepObject parameters

A deepObject query parameter with a format: uuid field, such as ?filter[entity]=6ba7b810-9dad-11d1-80b4-00c04fd430c8, failed with unhandled type: uuid.UUID. uuid.UUID is a [16]byte, so it never reached the branch that checks for encoding.TextUnmarshaler. Array-kind types that implement UnmarshalText now bind, as they already did everywhere else in the runtime; uuid.UUID, *uuid.UUID, slices and map values all work. Other fixed-size arrays are still rejected as before. Thanks to @​youdie006 (#171).

label and matrix scalar path parameters are no longer split

A scalar label or matrix path parameter whose value contained the style's delimiter, such as big,red sent as .big%2Cred, was rejected with "expected single value, got N parts" once the router had decoded the segment. The primitive branch now strips only the style prefix and never splits the value, matching the fix #114 made for the simple style. Arrays, structs and maps are unchanged (#182, closes #175).

Go 1.26

The module now requires Go 1.26, the oldest supported Go release, and all remaining dependencies are at their latest versions (#178).

☢️ Breaking changes

🚀 New features and improvements

... (truncated)

Commits
  • 1b74ca8 fix: bind uuid.UUID fields in deepObject parameters (#171)
  • 171731d Remove strictmiddleware type definitions (#181)
  • 2de32b1 feat: add process-wide JSON codec (#183)
  • 754d5c0 Stop splitting label and matrix scalar path parameters (#182)
  • 108a45d Update Go to 1.26 and all dependencies to their latest versions (#178)
  • ce3e04f fix(deps): update module github.com/gin-gonic/gin to v1.11.0 (#168)
  • b2e1019 fix(deps): update module github.com/oapi-codegen/nullable to v1.2.0 (#169)
  • 694cd4a chore(deps): update module github.com/klauspost/compress to v1.18.7 [security...
  • a99390d fix(deps): update module github.com/stretchr/testify to v1.12.1 (#170)
  • e8d61e2 fix(deps): update module github.com/labstack/echo/v5 to v5.4.4 (#172)
  • Additional commits viewable in compare view

Updates github.com/spf13/pflag from 1.0.10 to 1.1.0

Release notes

Sourced from github.com/spf13/pflag's releases.

v1.1.0

It's been long enough, and enough things have been fixed, that it might be time to release a new version, even if there isn't any particular big new issue to market as the reason for this release.

If you notice anything breaking, it is entirely un-intentional, but you might also have been relying on undocumented or buggy behavior. Please file an issue describing what you're doing, how it worked before this release and why it doesn't work anymore, and pin your projects to v1.0.10 (the latest release before this one) while we decide how to address your concerns.

What's Changed

New Contributors

... (truncated)

Commits
  • f8a9906 Merge pull request #533 from gdpu11/fix/count-preserve-value-on-error
  • f3a68a1 Merge pull request #534 from gdpu11/fix/native-integer-ranges
  • 70f7745 fix: reject native integer flag overflow on 32-bit systems
  • 2084408 test: cover native integer flag bounds on 32-bit systems
  • 7d0f377 fix: preserve count flag values when parsing fails
  • d26a4dc Merge pull request #526 from dewanshshekhar/fix/text-flag-type-check
  • 2d401c7 Fix type identification for text flags
  • fa584ba Merge pull request #520 from adenzhou1350/codex/fix-copy-go-string-value
  • cc9e689 Merge upstream master and retain its linter version
  • 70f284b Merge pull request #521 from Harshil-1603/fix/string-map-records
  • Additional commits viewable in compare view

Updates go.yaml.in/yaml/v3 from 3.0.5 to 3.0.6

Commits
  • 5a62aba resolve: hint-class literal merge-key string "<<" so it's quoted on encode
  • See full diff in compare view

Updates golang.org/x/sys from 0.48.0 to 0.50.0

Commits
  • 00227f1 unix: avoid using stale written count from sendfile on freebsd/386 after EINVAL
  • aa1b965 unix: don't skip directory entries with zero inodes on Linux
  • 37845fb unix: reject a short SCM_CREDENTIALS payload in ParseUnixCredentials
  • 313c631 unix: add IoctlGetUint64
  • 4a36a34 cpu: add wasm32 "architecture"
  • 908ab59 windows: use SyscallN consistently for Windows system calls
  • f5cb030 unix: set R12 before the ppc64x syscall branch
  • 0e9e10f windows: remove MemoryBasicInformation.PartitionId field on windows/386
  • 9b24ac0 windows: fix PSAPI_WORKING_SET_EX_BLOCK bit accessors
  • 69a6691 windows/mkwinsyscall: read 32-bit results from the low half of the return reg...
  • Additional commits viewable in compare view

Updates golang.org/x/term from 0.46.0 to 0.48.0

Commits

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update go code labels Nov 13, 2026
… updates

Bumps the go-dependencies group with 7 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [github.com/itchyny/gojq](https://github.com/itchyny/gojq) | `0.12.19` | `0.12.20` |
| [github.com/mattn/go-runewidth](https://github.com/mattn/go-runewidth) | `0.0.30` | `0.0.31` |
| [github.com/oapi-codegen/runtime](https://github.com/oapi-codegen/runtime) | `1.7.0` | `1.9.0` |
| [github.com/spf13/pflag](https://github.com/spf13/pflag) | `1.0.10` | `1.1.0` |
| [go.yaml.in/yaml/v3](https://github.com/yaml/go-yaml) | `3.0.5` | `3.0.6` |
| [golang.org/x/sys](https://github.com/golang/sys) | `0.48.0` | `0.50.0` |
| [golang.org/x/term](https://github.com/golang/term) | `0.46.0` | `0.48.0` |



Updates `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)

Updates `github.com/mattn/go-runewidth` from 0.0.30 to 0.0.31
- [Commits](mattn/go-runewidth@v0.0.30...v0.0.31)

Updates `github.com/oapi-codegen/runtime` from 1.7.0 to 1.9.0
- [Release notes](https://github.com/oapi-codegen/runtime/releases)
- [Commits](oapi-codegen/runtime@v1.7.0...v1.9.0)

Updates `github.com/spf13/pflag` from 1.0.10 to 1.1.0
- [Release notes](https://github.com/spf13/pflag/releases)
- [Commits](spf13/pflag@v1.0.10...v1.1.0)

Updates `go.yaml.in/yaml/v3` from 3.0.5 to 3.0.6
- [Release notes](https://github.com/yaml/go-yaml/releases)
- [Commits](yaml/go-yaml@v3.0.5...v3.0.6)

Updates `golang.org/x/sys` from 0.48.0 to 0.50.0
- [Commits](golang/sys@v0.48.0...v0.50.0)

Updates `golang.org/x/term` from 0.46.0 to 0.48.0
- [Commits](golang/term@v0.46.0...v0.48.0)

---
updated-dependencies:
- dependency-name: github.com/itchyny/gojq
  dependency-version: 0.12.20
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-dependencies
- dependency-name: github.com/mattn/go-runewidth
  dependency-version: 0.0.31
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-dependencies
- dependency-name: github.com/oapi-codegen/runtime
  dependency-version: 1.8.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-dependencies
- dependency-name: github.com/spf13/pflag
  dependency-version: 1.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-dependencies
- dependency-name: go.yaml.in/yaml/v3
  dependency-version: 3.0.6
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-dependencies
- dependency-name: golang.org/x/sys
  dependency-version: 0.50.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-dependencies
- dependency-name: golang.org/x/term
  dependency-version: 0.48.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/go_modules/go-dependencies-7f345f154e branch from 786e7d1 to c71cb2e Compare November 20, 2026 00:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file go Pull requests that update go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants