Skip to content

Bump github.com/goccy/go-json from 0.11.2 to 0.12.0 - #752

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/go_modules/github.com/goccy/go-json-0.12.0
Open

dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/go_modules/github.com/goccy/go-json-0.12.0

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Bumps github.com/goccy/go-json from 0.11.2 to 0.12.0.

Release notes

Sourced from github.com/goccy/go-json's releases.

v0.12.0

What's Changed

... (truncated)

Commits
  • c0214cb Docs: decoded values keep only their own memory, and DecodeNoCopyString keeps...
  • 8a0f087 Decoded values keep alive no memory but their own (#775) (#777)
  • 1b0ea32 Path: return errors instead of panics, and select by .. at any depth (#774) (...
  • 483eceb issues: drop the parts which master fixed, and state the rest as master has i...
  • 9adc5cb Decode a float whose digits wrap the mantissa around to 0 (#770) (#772)
  • 5c8a7dd Call MarshalJSONTo and UnmarshalJSONFrom from the root package (#769)
  • 8d26d8c Add the options of encoding/json, applied by the engine of v2 (#771)
  • 8850196 Follow encoding/json of Go 1.27.3, and pin CI to it (#768)
  • 0ceaba2 Prepare v0.12.0: describe v2 and jsontext in the README, and pass the tests o...
  • b6e231f v2: decode structs, streams and UnmarshalDecode by v1's paths where v2 decode...
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update go code labels Nov 7, 2026
@github-actions
github-actions Bot enabled auto-merge (squash) November 7, 2026 12:25
@github-actions

github-actions Bot commented Nov 7, 2026

Copy link
Copy Markdown

Gemini PR Review

Reviewed commit: 20e6df132a95e871e971d83f5999d73fd07ea9ea
Verdict: FAIL

  • Correctness bug risk: The update to github.com/goccy/go-json from v0.11.2 to v0.12.0 includes a fix titled "allow for unmarshaling of empty string to string slice". This change in unmarshaling behavior for string slice fields, when the JSON value is an empty string, could lead to correctness bugs if existing application logic differentiates between a nil slice (which might have been the prior result or an error) and an empty slice ([]string{}). Verify that all modules using go-json correctly handle this new behavior for string slices. (Files: adapters/cassandra/go.mod, adapters/redis/go.mod, ai/go.mod, go.mod, incfs/go.mod, infs/go.mod, jsondb/go.mod, search/go.mod)

This result blocks merge. Push a fix and comment /gemini review. To contest a finding, see the Gemini dispute process in CONTRIBUTING.md.

Bumps [github.com/goccy/go-json](https://github.com/goccy/go-json) from 0.11.2 to 0.12.0.
- [Release notes](https://github.com/goccy/go-json/releases)
- [Changelog](https://github.com/goccy/go-json/blob/master/CHANGELOG.md)
- [Commits](goccy/go-json@v0.11.2...v0.12.0)

---
updated-dependencies:
- dependency-name: github.com/goccy/go-json
  dependency-version: 0.12.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/go_modules/github.com/goccy/go-json-0.12.0 branch from 20e6df1 to 85362f8 Compare November 11, 2026 10:59
@github-actions

Copy link
Copy Markdown

Gemini PR Review

Reviewed commit: 85362f810c5ff62583e964524303dee4891e6cbd
Verdict: FAIL

  • The upgrade of github.com/goccy/go-json to v0.12.0 across all modified go.mod files introduces a MaxRecursionDepth option. This feature is designed to mitigate potential Denial of Service (DoS) attacks by limiting the recursion depth when parsing deeply nested JSON structures. The current diff only updates the dependency and does not include any changes to configure or utilize this new security control, leaving the application potentially vulnerable to such attacks.

This result blocks merge. Push a fix and comment /gemini review. To contest a finding, see the Gemini dispute process in CONTRIBUTING.md.

This branch has not been deployed

No deployments
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