dependabot[bot] opened a new pull request, #1357: URL: https://github.com/apache/arrow-go/pull/1357
Bumps [github.com/goccy/go-json](https://github.com/goccy/go-json) from 0.10.6 to 0.11.2. <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.11.2</h2> <h2>What's Changed</h2> <ul> <li>Trust the marshalers and the unmarshalers of the standard library by <a href="https://github.com/goccy"><code>@goccy</code></a> in <a href="https://redirect.github.com/goccy/go-json/pull/675">goccy/go-json#675</a></li> <li>Encoder: escape and check strings faster by <a href="https://github.com/goccy"><code>@goccy</code></a> in <a href="https://redirect.github.com/goccy/go-json/pull/676">goccy/go-json#676</a></li> <li>Encoder: range over larger map values as words, and write the entries of a sorted map directly by <a href="https://github.com/goccy"><code>@goccy</code></a> in <a href="https://redirect.github.com/goccy/go-json/pull/677">goccy/go-json#677</a></li> <li>Encoder: write the digits of an integer where they go in the buffer by <a href="https://github.com/goccy"><code>@goccy</code></a> in <a href="https://redirect.github.com/goccy/go-json/pull/679">goccy/go-json#679</a></li> <li>Look the methods of the marshalers up by their names as constants by <a href="https://github.com/goccy"><code>@goccy</code></a> in <a href="https://redirect.github.com/goccy/go-json/pull/680">goccy/go-json#680</a></li> <li>Encoder: sort the keys of a map with the comparisons inlined by <a href="https://github.com/goccy"><code>@goccy</code></a> in <a href="https://redirect.github.com/goccy/go-json/pull/681">goccy/go-json#681</a></li> <li>Encoder: write integers of up to sixteen digits by the lookups of their digits by <a href="https://github.com/goccy"><code>@goccy</code></a> in <a href="https://redirect.github.com/goccy/go-json/pull/682">goccy/go-json#682</a></li> <li>Encoder: find the quotes of a marshaler output in memory order on big-endian machines by <a href="https://github.com/goccy"><code>@goccy</code></a> in <a href="https://redirect.github.com/goccy/go-json/pull/683">goccy/go-json#683</a></li> <li>CI: run the tests on a big-endian machine (s390x under QEMU) by <a href="https://github.com/goccy"><code>@goccy</code></a> in <a href="https://redirect.github.com/goccy/go-json/pull/684">goccy/go-json#684</a></li> <li>Encoder: look at a short string and write it in one pass by <a href="https://github.com/goccy"><code>@goccy</code></a> in <a href="https://redirect.github.com/goccy/go-json/pull/685">goccy/go-json#685</a></li> <li>Encoder: escape strings of characters which are not ASCII faster when UTF-8 is normalized by <a href="https://github.com/goccy"><code>@goccy</code></a> in <a href="https://redirect.github.com/goccy/go-json/pull/686">goccy/go-json#686</a></li> <li>Raise the Go version of the module to 1.23 by <a href="https://github.com/goccy"><code>@goccy</code></a> in <a href="https://redirect.github.com/goccy/go-json/pull/687">goccy/go-json#687</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/goccy/go-json/compare/v0.11.1...v0.11.2">https://github.com/goccy/go-json/compare/v0.11.1...v0.11.2</a></p> <h2>v0.11.1</h2> <h2>What's Changed</h2> <ul> <li>Handle the reported pull requests: omitzero, nil TextMarshaler pointers, the generated-code marker and a godoc fix by <a href="https://github.com/goccy"><code>@goccy</code></a> in <a href="https://redirect.github.com/goccy/go-json/pull/671">goccy/go-json#671</a></li> <li>Encoder: jump to one code of a large struct which is a value in many places by <a href="https://github.com/goccy"><code>@goccy</code></a> in <a href="https://redirect.github.com/goccy/go-json/pull/672">goccy/go-json#672</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/goccy/go-json/compare/v0.11.0...v0.11.1">https://github.com/goccy/go-json/compare/v0.11.0...v0.11.1</a></p> <h2>v0.11.0</h2> <h2>Highlights</h2> <ul> <li><strong>Compatible with encoding/json of the Go version in use</strong>: values are decoded and encoded, and errors are reported (their types, messages and offsets), as <code>encoding/json</code> does, including Go 1.27, whose <code>encoding/json</code> is built on <code>encoding/json/v2</code>. Many reported compatibility issues are fixed.</li> <li><strong>Much faster</strong>: with the same behavior as <code>encoding/json</code> ( a live heap of 64 MB, geometric mean over the payloads of the report ), go-json decodes about 4.2–4.4x and encodes about 2.7–2.8x as fast as <code>encoding/json</code>, on amd64 and arm64 ( the results of this release are at <a href="https://goccy.github.io/go-json/">https://goccy.github.io/go-json/</a> ).</li> <li><strong>A benchmark report of the JSON libraries of Go</strong>, measured on GitHub Actions for every change and published at <a href="https://goccy.github.io/go-json/">https://goccy.github.io/go-json/</a>: the libraries are compared by category of behavior ( the behavior of <code>encoding/json</code>, of <code>encoding/json/v2</code>, without HTML escaping, key sorting and string copying, and every library at its fastest ), which every run checks, and the result files are attested with GitHub Artifact Attestations.</li> <li><strong>No more <code>go:linkname</code></strong>: go-json no longer links to the internals of the runtime or of <code>reflect</code>, so it builds with the restrictions of newer Go versions on <code>go:linkname</code>.</li> </ul> <h2>New APIs</h2> <ul> <li><code>MarshalOf[T]</code>: encodes a value of type <code>T</code> without copying it to the heap ( <a href="https://redirect.github.com/goccy/go-json/issues/632">#632</a> ).</li> <li><code>UnmarshalOf[T]</code>: decodes into a <code>*T</code> which may stay on the stack of the caller, without an allocation for the argument ( <a href="https://redirect.github.com/goccy/go-json/issues/658">#658</a> ).</li> <li><code>OptimizeFieldOrder()</code>: lets the encoder order the fields of a struct as it encodes them fastest, when the order of the keys doesn't matter ( <a href="https://redirect.github.com/goccy/go-json/issues/646">#646</a> ).</li> <li><code>DecodeNoCopyString()</code>: lets the decoded strings refer to the input instead of copying them ( <a href="https://redirect.github.com/goccy/go-json/issues/658">#658</a> ).</li> </ul> <h2>Changes of behavior</h2> <p>These follow <code>encoding/json</code>, and may change what a program which relied on the previous behavior gets:</p> <ul> <li>The values of the keys which match no field are validated: invalid JSON anywhere in the input is a syntax error, as with <code>encoding/json</code> ( <a href="https://redirect.github.com/goccy/go-json/issues/664">#664</a> ).</li> <li>Syntax errors and type errors are reported as <code>encoding/json</code> of the Go version reports them: their types, messages and offsets ( <a href="https://redirect.github.com/goccy/go-json/issues/661">#661</a>, <a href="https://redirect.github.com/goccy/go-json/issues/664">#664</a> ).</li> <li>A decoded string is a copy of its bytes, and doesn't keep the input alive; short strings share buffers of up to 16 KB ( <a href="https://redirect.github.com/goccy/go-json/issues/658">#658</a> ). Use <code>DecodeNoCopyString()</code> to refer to the input instead.</li> <li>The elements of an array are decoded into the existing elements of a slice, including the ones after its length within its capacity, as <code>encoding/json</code> does ( <a href="https://redirect.github.com/goccy/go-json/issues/666">#666</a> ).</li> <li><code>MarshalNoEscape</code> and <code>UnmarshalNoEscape</code> are deprecated: use <code>Marshal</code> and <code>UnmarshalOf</code> ( <a href="https://redirect.github.com/goccy/go-json/issues/631">#631</a>, <a href="https://redirect.github.com/goccy/go-json/issues/658">#658</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/3ce7333e2c03dcb8801817bf516c60545154a66c"><code>3ce7333</code></a> Raise the Go version of the module to 1.23 (<a href="https://redirect.github.com/goccy/go-json/issues/687">#687</a>)</li> <li><a href="https://github.com/goccy/go-json/commit/cfcddf0aa569354adb5b2bf65670dfc9a482d80e"><code>cfcddf0</code></a> Encoder: escape strings of characters which are not ASCII faster when UTF-8 i...</li> <li><a href="https://github.com/goccy/go-json/commit/054ed21b1a12809d9bcefe353dafc446c76604a1"><code>054ed21</code></a> Encoder: look at a short string and write it in one pass (<a href="https://redirect.github.com/goccy/go-json/issues/685">#685</a>)</li> <li><a href="https://github.com/goccy/go-json/commit/09cea77332bf1b4b9036a978b177950c9cf228d0"><code>09cea77</code></a> CI: run the tests on a big-endian machine (s390x under QEMU) (<a href="https://redirect.github.com/goccy/go-json/issues/684">#684</a>)</li> <li><a href="https://github.com/goccy/go-json/commit/2df131eb9077027fb514cd0b5149bed393cf8006"><code>2df131e</code></a> Encoder: find the quotes of a marshaler output in memory order on big-endian ...</li> <li><a href="https://github.com/goccy/go-json/commit/738c309f067d453e345c879978056f028a0340f3"><code>738c309</code></a> Encoder: write integers of up to sixteen digits by the lookups of their digit...</li> <li><a href="https://github.com/goccy/go-json/commit/d7bede4aba274b1c031c335927221f2632452b21"><code>d7bede4</code></a> Encoder: sort the keys of a map with the comparisons inlined (<a href="https://redirect.github.com/goccy/go-json/issues/681">#681</a>)</li> <li><a href="https://github.com/goccy/go-json/commit/c5f8edbb924e2a14bebf9c489a6963bb0f7fa70d"><code>c5f8edb</code></a> Look the methods of the marshalers up by their names as constants (<a href="https://redirect.github.com/goccy/go-json/issues/680">#680</a>)</li> <li><a href="https://github.com/goccy/go-json/commit/0f0a08fa72cde29c6dee33b29af2addc8beb9f1f"><code>0f0a08f</code></a> Encoder: write the digits of an integer where they go in the buffer (<a href="https://redirect.github.com/goccy/go-json/issues/679">#679</a>)</li> <li><a href="https://github.com/goccy/go-json/commit/d8cec748d970af20781584a4e8b12bc2265e9855"><code>d8cec74</code></a> Encoder: range over larger map values as words, and write the entries of a so...</li> <li>Additional commits viewable in <a href="https://github.com/goccy/go-json/compare/v0.10.6...v0.11.2">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> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
