This is an automated email from the ASF dual-hosted git repository.
zeroshade pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-go.git
The following commit(s) were added to refs/heads/main by this push:
new 39f03b99 chore: Bump github.com/goccy/go-json from 0.11.2 to 0.12.0
(#1441)
39f03b99 is described below
commit 39f03b99056198fe62d3b7c629b261baf65f335d
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
AuthorDate: Mon Nov 2 15:24:19 2026 -0500
chore: Bump github.com/goccy/go-json from 0.11.2 to 0.12.0 (#1441)
Bumps [github.com/goccy/go-json](https://github.com/goccy/go-json) from
0.11.2 to 0.12.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/goccy/go-json/releases">github.com/goccy/go-json's
releases</a>.</em></p>
<blockquote>
<h2>v0.12.0</h2>
<h2>What's Changed</h2>
<ul>
<li>Encoder: call a pointer-receiver marshaler with the address of a
pointer-sized value by <a
href="https://github.com/goccy"><code>@goccy</code></a> in <a
href="https://redirect.github.com/goccy/go-json/pull/692">goccy/go-json#692</a></li>
<li>Add github.com/goccy/go-json/jsontext, faster than
encoding/json/jsontext by <a
href="https://github.com/goccy"><code>@goccy</code></a> in <a
href="https://redirect.github.com/goccy/go-json/pull/689">goccy/go-json#689</a></li>
<li>Share number, string and formatting code between v1 and jsontext,
and fix v1 deviations by <a
href="https://github.com/goccy"><code>@goccy</code></a> in <a
href="https://redirect.github.com/goccy/go-json/pull/693">goccy/go-json#693</a></li>
<li>Look up a type the recent opcodes miss in the shared table without a
call by <a href="https://github.com/goccy"><code>@goccy</code></a> in
<a
href="https://redirect.github.com/goccy/go-json/pull/674">goccy/go-json#674</a></li>
<li>Prepare the encoder and jsontext for github.com/goccy/go-json/v2 by
<a href="https://github.com/goccy"><code>@goccy</code></a> in <a
href="https://redirect.github.com/goccy/go-json/pull/695">goccy/go-json#695</a></li>
<li>Add the compile mode of the encoding/json/v2 semantics to the
encoder by <a href="https://github.com/goccy"><code>@goccy</code></a>
in <a
href="https://redirect.github.com/goccy/go-json/pull/696">goccy/go-json#696</a></li>
<li>Add github.com/goccy/go-json/v2 with Marshal, MarshalWrite and
MarshalEncode by <a
href="https://github.com/goccy"><code>@goccy</code></a> in <a
href="https://redirect.github.com/goccy/go-json/pull/698">goccy/go-json#698</a></li>
<li>Add MarshalOf and MarshalWriteOf to github.com/goccy/go-json/v2, and
benchmark the v2 encoder by <a
href="https://github.com/goccy"><code>@goccy</code></a> in <a
href="https://redirect.github.com/goccy/go-json/pull/699">goccy/go-json#699</a></li>
<li>Report the coverage by octocov instead of Codecov by <a
href="https://github.com/goccy"><code>@goccy</code></a> in <a
href="https://redirect.github.com/goccy/go-json/pull/700">goccy/go-json#700</a></li>
<li>Decoder: follow an embedded pointer to an unexported struct which is
set by <a
href="https://github.com/minhnhathoang"><code>@minhnhathoang</code></a>
in <a
href="https://redirect.github.com/goccy/go-json/pull/697">goccy/go-json#697</a></li>
<li>Encoder: read maps by values of their own size, and detect cycles
through map values by <a
href="https://github.com/goccy"><code>@goccy</code></a> in <a
href="https://redirect.github.com/goccy/go-json/pull/704">goccy/go-json#704</a></li>
<li>Encoder: fix crashes on maps of keys of no size and of values of an
interface type with methods by <a
href="https://github.com/goccy"><code>@goccy</code></a> in <a
href="https://redirect.github.com/goccy/go-json/pull/705">goccy/go-json#705</a></li>
<li>Encoder: record the values of cycle detection by their types, and a
pointer in an interface by itself by <a
href="https://github.com/goccy"><code>@goccy</code></a> in <a
href="https://redirect.github.com/goccy/go-json/pull/706">goccy/go-json#706</a></li>
<li>v2: fix panics on keys of an interface type with methods and on
misuse of a method's encoder by <a
href="https://github.com/goccy"><code>@goccy</code></a> in <a
href="https://redirect.github.com/goccy/go-json/pull/707">goccy/go-json#707</a></li>
<li>jsontext: fail an attached encoder which ends the level it is
attached in by <a
href="https://github.com/goccy"><code>@goccy</code></a> in <a
href="https://redirect.github.com/goccy/go-json/pull/708">goccy/go-json#708</a></li>
<li>v2: fail the value of a method when a call of MarshalEncode within
it fails by <a href="https://github.com/goccy"><code>@goccy</code></a>
in <a
href="https://redirect.github.com/goccy/go-json/pull/709">goccy/go-json#709</a></li>
<li>v2: detect cycles through declined values and MarshalEncode called
by methods by <a
href="https://github.com/goccy"><code>@goccy</code></a> in <a
href="https://redirect.github.com/goccy/go-json/pull/710">goccy/go-json#710</a></li>
<li>v2: write json.Number as a number and fail time.Duration map keys by
<a href="https://github.com/goccy"><code>@goccy</code></a> in <a
href="https://redirect.github.com/goccy/go-json/pull/711">goccy/go-json#711</a></li>
<li>v2: rewrite only raw values by the options which rewrite raw values
by <a href="https://github.com/goccy"><code>@goccy</code></a> in <a
href="https://redirect.github.com/goccy/go-json/pull/712">goccy/go-json#712</a></li>
<li>Encode json.Number and pointer map keys by their names by <a
href="https://github.com/goccy"><code>@goccy</code></a> in <a
href="https://redirect.github.com/goccy/go-json/pull/713">goccy/go-json#713</a></li>
<li>v2: give the string option of a field to its methods and functions
by <a href="https://github.com/goccy"><code>@goccy</code></a> in <a
href="https://redirect.github.com/goccy/go-json/pull/714">goccy/go-json#714</a></li>
<li>v2: name keys in interfaces and behind pointers by the functions of
their values by <a
href="https://github.com/goccy"><code>@goccy</code></a> in <a
href="https://redirect.github.com/goccy/go-json/pull/715">goccy/go-json#715</a></li>
<li>v2: escape field names for JavaScript and keep the escapes of nested
calls by <a href="https://github.com/goccy"><code>@goccy</code></a> in
<a
href="https://redirect.github.com/goccy/go-json/pull/716">goccy/go-json#716</a></li>
<li>Fail values nested deeper than 10000 levels by <a
href="https://github.com/goccy"><code>@goccy</code></a> in <a
href="https://redirect.github.com/goccy/go-json/pull/717">goccy/go-json#717</a></li>
<li>v2: keep nothing of the caller's output in the state of
MarshalEncode by <a
href="https://github.com/goccy"><code>@goccy</code></a> in <a
href="https://redirect.github.com/goccy/go-json/pull/718">goccy/go-json#718</a></li>
<li>v2: count the depth of methods, nested calls and declined values in
the whole output by <a
href="https://github.com/goccy"><code>@goccy</code></a> in <a
href="https://redirect.github.com/goccy/go-json/pull/719">goccy/go-json#719</a></li>
<li>v2: fix the names which methods write for map keys by <a
href="https://github.com/goccy"><code>@goccy</code></a> in <a
href="https://redirect.github.com/goccy/go-json/pull/720">goccy/go-json#720</a></li>
<li>Count the levels a type nests in its frame for the max depth by <a
href="https://github.com/goccy"><code>@goccy</code></a> in <a
href="https://redirect.github.com/goccy/go-json/pull/721">goccy/go-json#721</a></li>
<li>v2: give the functions of marshaling a pointer at the top level as
its value by <a href="https://github.com/goccy"><code>@goccy</code></a>
in <a
href="https://redirect.github.com/goccy/go-json/pull/722">goccy/go-json#722</a></li>
<li>Fix the option ,string with Colorize and on a pointer to a pointer
by <a href="https://github.com/goccy"><code>@goccy</code></a> in <a
href="https://redirect.github.com/goccy/go-json/pull/723">goccy/go-json#723</a></li>
<li>Write a pointer to a nil value with omitempty as null by <a
href="https://github.com/goccy"><code>@goccy</code></a> in <a
href="https://redirect.github.com/goccy/go-json/pull/724">goccy/go-json#724</a></li>
<li>Fix small defects found by a review of the whole encoder by <a
href="https://github.com/goccy"><code>@goccy</code></a> in <a
href="https://redirect.github.com/goccy/go-json/pull/725">goccy/go-json#725</a></li>
<li>Choose and indent the fields of embedded structs as encoding/json
does by <a href="https://github.com/goccy"><code>@goccy</code></a> in
<a
href="https://redirect.github.com/goccy/go-json/pull/726">goccy/go-json#726</a></li>
<li>Fail for a value of an unsupported type only when it is encoded by
<a href="https://github.com/goccy"><code>@goccy</code></a> in <a
href="https://redirect.github.com/goccy/go-json/pull/727">goccy/go-json#727</a></li>
<li>Add benchmarks of decoding a stream from a chunked reader by <a
href="https://github.com/goccy"><code>@goccy</code></a> in <a
href="https://redirect.github.com/goccy/go-json/pull/728">goccy/go-json#728</a></li>
<li>Decode the option ,string on pointers and keys of pointer types as
encoding/json of Go 1.27 does by <a
href="https://github.com/goccy"><code>@goccy</code></a> in <a
href="https://redirect.github.com/goccy/go-json/pull/729">goccy/go-json#729</a></li>
<li>Add benchmarks of encoding maps under every condition by <a
href="https://github.com/goccy"><code>@goccy</code></a> in <a
href="https://redirect.github.com/goccy/go-json/pull/732">goccy/go-json#732</a></li>
<li>Decode the keys of maps as encoding/json does by <a
href="https://github.com/goccy"><code>@goccy</code></a> in <a
href="https://redirect.github.com/goccy/go-json/pull/733">goccy/go-json#733</a></li>
<li>Encode the values of a sorted map in the order of the names by <a
href="https://github.com/goccy"><code>@goccy</code></a> in <a
href="https://redirect.github.com/goccy/go-json/pull/730">goccy/go-json#730</a></li>
<li>Name a map key of pointers by what they lead to, and fail for a
cycle by <a href="https://github.com/goccy"><code>@goccy</code></a> in
<a
href="https://redirect.github.com/goccy/go-json/pull/735">goccy/go-json#735</a></li>
<li>Decoder: bound the memory of a stream (supersedes <a
href="https://redirect.github.com/goccy/go-json/issues/734">#734</a>) by
<a href="https://github.com/goccy"><code>@goccy</code></a> in <a
href="https://redirect.github.com/goccy/go-json/pull/736">goccy/go-json#736</a></li>
<li>Add the sonic Decoder to the stream benchmarks which had none by <a
href="https://github.com/goccy"><code>@goccy</code></a> in <a
href="https://redirect.github.com/goccy/go-json/pull/737">goccy/go-json#737</a></li>
<li>Decoder: match encoding/json at the depth limit wherever the reads
end by <a href="https://github.com/goccy"><code>@goccy</code></a> in <a
href="https://redirect.github.com/goccy/go-json/pull/739">goccy/go-json#739</a></li>
<li>Decode as encoding/json of Go 1.27 on every version of Go by <a
href="https://github.com/goccy"><code>@goccy</code></a> in <a
href="https://redirect.github.com/goccy/go-json/pull/740">goccy/go-json#740</a></li>
<li>Encode a pointer type which is a value of itself through what it
points to by <a href="https://github.com/goccy"><code>@goccy</code></a>
in <a
href="https://redirect.github.com/goccy/go-json/pull/738">goccy/go-json#738</a></li>
<li>README: describe decoding as Go 1.27's on every Go version, and the
stream decoder by elements by <a
href="https://github.com/goccy"><code>@goccy</code></a> in <a
href="https://redirect.github.com/goccy/go-json/pull/741">goccy/go-json#741</a></li>
<li>Decode recursive slice, map and array types instead of overflowing
the stack by <a href="https://github.com/goccy"><code>@goccy</code></a>
in <a
href="https://redirect.github.com/goccy/go-json/pull/742">goccy/go-json#742</a></li>
<li>Decode the fields of embedded structs as encoding/json chooses them
by <a href="https://github.com/goccy"><code>@goccy</code></a> in <a
href="https://redirect.github.com/goccy/go-json/pull/743">goccy/go-json#743</a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/goccy/go-json/commit/c0214cb91f1b089efa0b90ba6fc858dbeae133a2"><code>c0214cb</code></a>
Docs: decoded values keep only their own memory, and DecodeNoCopyString
keeps...</li>
<li><a
href="https://github.com/goccy/go-json/commit/8a0f08795e36df71f15d6f7b197c9a1107ec4a38"><code>8a0f087</code></a>
Decoded values keep alive no memory but their own (<a
href="https://redirect.github.com/goccy/go-json/issues/775">#775</a>)
(<a
href="https://redirect.github.com/goccy/go-json/issues/777">#777</a>)</li>
<li><a
href="https://github.com/goccy/go-json/commit/1b0ea329f1dcf5074d259181a2cb36d6663c179c"><code>1b0ea32</code></a>
Path: return errors instead of panics, and select by .. at any depth (<a
href="https://redirect.github.com/goccy/go-json/issues/774">#774</a>)
(...</li>
<li><a
href="https://github.com/goccy/go-json/commit/483eceb62892f22d948ba86760202d9cd28c3264"><code>483eceb</code></a>
issues: drop the parts which master fixed, and state the rest as master
has i...</li>
<li><a
href="https://github.com/goccy/go-json/commit/9adc5cb942670c56976c04c3c7a4ab37c3c87177"><code>9adc5cb</code></a>
Decode a float whose digits wrap the mantissa around to 0 (<a
href="https://redirect.github.com/goccy/go-json/issues/770">#770</a>)
(<a
href="https://redirect.github.com/goccy/go-json/issues/772">#772</a>)</li>
<li><a
href="https://github.com/goccy/go-json/commit/5c8a7ddcc8bc8936480e07cce4a2820c94adc428"><code>5c8a7dd</code></a>
Call MarshalJSONTo and UnmarshalJSONFrom from the root package (<a
href="https://redirect.github.com/goccy/go-json/issues/769">#769</a>)</li>
<li><a
href="https://github.com/goccy/go-json/commit/8d26d8c9aa0ce98fa0e92f83db86b9a8d3db86ee"><code>8d26d8c</code></a>
Add the options of encoding/json, applied by the engine of v2 (<a
href="https://redirect.github.com/goccy/go-json/issues/771">#771</a>)</li>
<li><a
href="https://github.com/goccy/go-json/commit/8850196c817bf6ad05711edd81d8683103d22224"><code>8850196</code></a>
Follow encoding/json of Go 1.27.3, and pin CI to it (<a
href="https://redirect.github.com/goccy/go-json/issues/768">#768</a>)</li>
<li><a
href="https://github.com/goccy/go-json/commit/0ceaba22b739c30c19e54ce2a5e71efce0b326cf"><code>0ceaba2</code></a>
Prepare v0.12.0: describe v2 and jsontext in the README, and pass the
tests o...</li>
<li><a
href="https://github.com/goccy/go-json/commit/b6e231f8c17fb641baedb6795ce427e047173779"><code>b6e231f</code></a>
v2: decode structs, streams and UnmarshalDecode by v1's paths where v2
decode...</li>
<li>Additional commits viewable in <a
href="https://github.com/goccy/go-json/compare/v0.11.2...v0.12.0">compare
view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
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-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
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)
</details>
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot]
<49699333+dependabot[bot]@users.noreply.github.com>
---
go.mod | 2 +-
go.sum | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/go.mod b/go.mod
index 8c9e2806..f3fcbce6 100644
--- a/go.mod
+++ b/go.mod
@@ -30,7 +30,7 @@ require (
github.com/andybalholm/brotli v1.2.7
github.com/apache/thrift v0.25.0
github.com/cespare/xxhash/v2 v2.3.0
- github.com/goccy/go-json v0.11.2
+ github.com/goccy/go-json v0.12.0
github.com/google/flatbuffers v25.12.19+incompatible
github.com/google/uuid v1.6.0
github.com/hamba/avro/v2 v2.31.0
diff --git a/go.sum b/go.sum
index 842ca5b5..2ad04341 100644
--- a/go.sum
+++ b/go.sum
@@ -34,8 +34,8 @@ github.com/dustin/go-humanize v1.1.0
h1:dbKTrvD0klcbBV/h4AWJdMuZogJACoMlvWIWZ5b2
github.com/dustin/go-humanize v1.1.0/go.mod
h1:hc1CvRkJMsgxqjmjMQF3QNRAZBwY8AXBAzKYoSX9sFI=
github.com/go-viper/mapstructure/v2 v2.4.0
h1:EBsztssimR/CONLSZZ04E8qAkxNYq4Qp9LvH92wZUgs=
github.com/go-viper/mapstructure/v2 v2.4.0/go.mod
h1:oJDH3BJKyqBA2TXFhDsKDGDTlndYOZ6rGS0BRZIxGhM=
-github.com/goccy/go-json v0.11.2
h1:jdZv93Tt4ioR8yW1CoNsvSxrcZlCXAUU1aZXN7gpXUA=
-github.com/goccy/go-json v0.11.2/go.mod
h1:3NdmfEkZlB7YI5UFw/qdFKq8XN1aiWR0YyRPWZNQltY=
+github.com/goccy/go-json v0.12.0
h1:pD+oWouAiz4yruwXIt/iT+lOMeyhr1aTtxzaMP/RgVI=
+github.com/goccy/go-json v0.12.0/go.mod
h1:3NdmfEkZlB7YI5UFw/qdFKq8XN1aiWR0YyRPWZNQltY=
github.com/goccy/go-yaml v1.17.1
h1:LI34wktB2xEE3ONG/2Ar54+/HJVBriAGJ55PHls4YuY=
github.com/goccy/go-yaml v1.17.1/go.mod
h1:XBurs7gK8ATbW4ZPGKgcbrY1Br56PdM69F7LkFRi1kA=
github.com/golang/protobuf v1.5.4
h1:i7eJL8qZTpSEXOPTxNKhASYpMn+8e5Q6AdndVa1dWek=