Skip to content

chore(deps): update module github.com/goccy/go-json to v0.12.0 (9.4) - #9548

Merged
elastic-renovate-prod[bot] merged 1 commit into
9.4from
renovate/9.4-github.com-goccy-go-json-0.x
Nov 1, 2026
Merged

elastic-renovate-prod[bot] merged 1 commit into
9.4from
renovate/9.4-github.com-goccy-go-json-0.x

Conversation

@elastic-renovate-prod

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
github.com/goccy/go-json v0.11.2 → v0.12.0 age confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

goccy/go-json (github.com/goccy/go-json)

v0.12.0

Compare Source

What's Changed

  • Encoder: call a pointer-receiver marshaler with the address of a pointer-sized value by @​goccy in #​692
  • Add github.com/goccy/go-json/jsontext, faster than encoding/json/jsontext by @​goccy in #​689
  • Share number, string and formatting code between v1 and jsontext, and fix v1 deviations by @​goccy in #​693
  • Look up a type the recent opcodes miss in the shared table without a call by @​goccy in #​674
  • Prepare the encoder and jsontext for github.com/goccy/go-json/v2 by @​goccy in #​695
  • Add the compile mode of the encoding/json/v2 semantics to the encoder by @​goccy in #​696
  • Add github.com/goccy/go-json/v2 with Marshal, MarshalWrite and MarshalEncode by @​goccy in #​698
  • Add MarshalOf and MarshalWriteOf to github.com/goccy/go-json/v2, and benchmark the v2 encoder by @​goccy in #​699
  • Report the coverage by octocov instead of Codecov by @​goccy in #​700
  • Decoder: follow an embedded pointer to an unexported struct which is set by @​minhnhathoang in #​697
  • Encoder: read maps by values of their own size, and detect cycles through map values by @​goccy in #​704
  • Encoder: fix crashes on maps of keys of no size and of values of an interface type with methods by @​goccy in #​705
  • Encoder: record the values of cycle detection by their types, and a pointer in an interface by itself by @​goccy in #​706
  • v2: fix panics on keys of an interface type with methods and on misuse of a method's encoder by @​goccy in #​707
  • jsontext: fail an attached encoder which ends the level it is attached in by @​goccy in #​708
  • v2: fail the value of a method when a call of MarshalEncode within it fails by @​goccy in #​709
  • v2: detect cycles through declined values and MarshalEncode called by methods by @​goccy in #​710
  • v2: write json.Number as a number and fail time.Duration map keys by @​goccy in #​711
  • v2: rewrite only raw values by the options which rewrite raw values by @​goccy in #​712
  • Encode json.Number and pointer map keys by their names by @​goccy in #​713
  • v2: give the string option of a field to its methods and functions by @​goccy in #​714
  • v2: name keys in interfaces and behind pointers by the functions of their values by @​goccy in #​715
  • v2: escape field names for JavaScript and keep the escapes of nested calls by @​goccy in #​716
  • Fail values nested deeper than 10000 levels by @​goccy in #​717
  • v2: keep nothing of the caller's output in the state of MarshalEncode by @​goccy in #​718
  • v2: count the depth of methods, nested calls and declined values in the whole output by @​goccy in #​719
  • v2: fix the names which methods write for map keys by @​goccy in #​720
  • Count the levels a type nests in its frame for the max depth by @​goccy in #​721
  • v2: give the functions of marshaling a pointer at the top level as its value by @​goccy in #​722
  • Fix the option ,string with Colorize and on a pointer to a pointer by @​goccy in #​723
  • Write a pointer to a nil value with omitempty as null by @​goccy in #​724
  • Fix small defects found by a review of the whole encoder by @​goccy in #​725
  • Choose and indent the fields of embedded structs as encoding/json does by @​goccy in #​726
  • Fail for a value of an unsupported type only when it is encoded by @​goccy in #​727
  • Add benchmarks of decoding a stream from a chunked reader by @​goccy in #​728
  • Decode the option ,string on pointers and keys of pointer types as encoding/json of Go 1.27 does by @​goccy in #​729
  • Add benchmarks of encoding maps under every condition by @​goccy in #​732
  • Decode the keys of maps as encoding/json does by @​goccy in #​733
  • Encode the values of a sorted map in the order of the names by @​goccy in #​730
  • Name a map key of pointers by what they lead to, and fail for a cycle by @​goccy in #​735
  • Decoder: bound the memory of a stream (supersedes #​734) by @​goccy in #​736
  • Add the sonic Decoder to the stream benchmarks which had none by @​goccy in #​737
  • Decoder: match encoding/json at the depth limit wherever the reads end by @​goccy in #​739
  • Decode as encoding/json of Go 1.27 on every version of Go by @​goccy in #​740
  • Encode a pointer type which is a value of itself through what it points to by @​goccy in #​738
  • README: describe decoding as Go 1.27's on every Go version, and the stream decoder by elements by @​goccy in #​741
  • Decode recursive slice, map and array types instead of overflowing the stack by @​goccy in #​742
  • Decode the fields of embedded structs as encoding/json chooses them by @​goccy in #​743
  • Compare benchmarks of identical code as identical in the gate by @​goccy in #​744
  • Add the issues directory: the known work on go-json, one item per file by @​goccy in #​745
  • v2: add Unmarshal of bools, numbers, strings, bytes, interfaces, slices, arrays and pointers by @​goccy in #​746
  • Count a benchmark which fails in the base as new in the gate by @​goccy in #​747
  • v2: add Unmarshal of structs and maps by @​goccy in #​748
  • v2: add Unmarshal by methods, functions and the time types by @​goccy in #​749
  • v2: add Unmarshal by UnmarshalJSONFrom and UnmarshalFromFunc by @​goccy in #​750
  • v2: add UnmarshalOf, and the decoding of v2 to the benchmark report by @​goccy in #​751
  • v2: add UnmarshalRead and UnmarshalReadOf, which stream with bounded memory by @​goccy in #​752
  • Bump github.com/klauspost/compress from 1.17.11 to 1.18.7 in /benchmarks by @​dependabot[bot] in #​753
  • v2: add UnmarshalDecode and UnmarshalDecodeOf by @​goccy in #​754
  • v2: find struct member names by their words, as v1 does by @​goccy in #​755
  • v2: decode strings, and the texts of methods and times, in one read by @​goccy in #​756
  • Name the identifiers by what they do instead of "check" by @​goccy in #​757
  • v2: match folded names without folding them again, and make boolean options without an allocation by @​goccy in #​758
  • v2: decode the names of no field and skip their values faster by @​goccy in #​759
  • v2: skip the values of no field in one scan, and keep the names of a call in one stack by @​goccy in #​760
  • v2: look the folded names up in a table of the names of the fields by @​goccy in #​761
  • v2: decode bools and numbers by v1's decoders alone, and match folded names by the field of each folded name by @​goccy in #​762
  • v2: decode folded names as they are read, skip scalars once, and decode held pointers in place by @​goccy in #​763
  • v2: keep the name "" in the places of values, and decode the scalars of streams in their buffer by @​goccy in #​764
  • v2: take v1's paths where v2 decodes as v1, and make the others fast: names twice by hashes, values skipped in one read by @​goccy in #​765
  • v2: decode structs, streams and UnmarshalDecode by v1's paths where v2 decodes as v1 by @​goccy in #​766
  • Prepare v0.12.0: describe v2 and jsontext in the README, and pass the tests on Go 1.23 by @​goccy in #​767
  • Follow encoding/json of Go 1.27.3, and pin CI to it by @​goccy in #​768
  • Add the options of encoding/json, applied by the engine of v2 by @​goccy in #​771
  • Call MarshalJSONTo and UnmarshalJSONFrom from the root package by @​goccy in #​769
  • Decode a float whose digits wrap the mantissa around to 0 (#​770) by @​goccy in #​772
  • issues: drop the parts which master fixed, and state the rest as master has it by @​goccy in #​773
  • Path: return errors instead of panics, and select by .. at any depth (#​774) by @​goccy in #​776
  • Decoded values keep alive no memory but their own (#​775) by @​goccy in #​777
  • Docs: decoded values keep only their own memory, and DecodeNoCopyString keeps the input (#​775) by @​goccy in #​778

New Contributors

Full Changelog: goccy/go-json@v0.11.2...v0.12.0


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • Between 01:00 AM and 01:59 AM, Monday through Friday (* 1 * * 1-5)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

♻ 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

This PR has been generated by Mend Renovate CLI.

@mergify

mergify Bot commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

This pull request does not currently match the merge queue conditions, so it cannot be queued from here. The box comes back if it matches again.

@elastic-renovate-prod
elastic-renovate-prod Bot added this pull request to the merge queue Nov 1, 2026
@elastic-renovate-prod
elastic-renovate-prod Bot force-pushed the renovate/9.4-github.com-goccy-go-json-0.x branch from 34d9100 to 88c1703 Compare November 1, 2026 02:51
Merged via the queue into 9.4 with commit a20b5d8 Nov 1, 2026
4 checks passed
@elastic-renovate-prod
elastic-renovate-prod Bot deleted the renovate/9.4-github.com-goccy-go-json-0.x branch November 1, 2026 03:15
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