Skip to content

Commit b2f63d7

Browse files
[Dependency] Bump json from 2.10.1 to 2.11.3 (#674)
Bumps [json](https://github.com/ruby/json) from 2.10.1 to 2.11.3. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/ruby/json/releases">json's releases</a>.</em></p> <blockquote> <h2>v2.11.1</h2> <h2>What's Changed</h2> <ul> <li>Add back <code>JSON.restore</code>, <code>JSON.unparse</code>, <code>JSON.fast_unparse</code> and <code>JSON.pretty_unparse</code>. These were deprecated 16 years ago, but never emited warnings, only undocumented, so are still used by a few gems.</li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/ruby/json/compare/v2.11.0...v2.11.1">https://github.com/ruby/json/compare/v2.11.0...v2.11.1</a></p> <h2>v2.11.0</h2> <h2>What's Changed</h2> <ul> <li>Optimize Integer generation to be ~1.8x faster.</li> <li>Optimize Float generation to be ~10x faster.</li> <li>Fix <code>JSON.load</code> proc argument to substitute the parsed object with the return value. This better match <code>Marshal.load</code> behavior.</li> <li>Deprecate <code>JSON.fast_generate</code> (it's not any faster, so pointless).</li> <li>Deprecate <code>JSON.load_default_options</code>.</li> <li>Deprecate <code>JSON.unsafe_load_default_options</code>.</li> <li>Deprecate <code>JSON.dump_default_options</code>.</li> <li>Deprecate <code>Kernel#j</code></li> <li>Deprecate <code>Kernel#jj</code></li> <li>Remove outdated <code>JSON.iconv</code>.</li> <li>Remove <code>Class#json_creatable?</code> monkey patch.</li> <li>Remove deprecated <code>JSON.restore</code> method.</li> <li>Remove deprecated <code>JSON.unparse</code> method.</li> <li>Remove deprecated <code>JSON.fast_unparse</code> method.</li> <li>Remove deprecated <code>JSON.pretty_unparse</code> method.</li> <li>Remove deprecated <code>JSON::UnparserError</code> constant.</li> <li>Remove outdated <code>JSON::MissingUnicodeSupport</code> constant.</li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/ruby/json/compare/v2.10.2...v2.11.0">https://github.com/ruby/json/compare/v2.10.2...v2.11.0</a></p> <h2>v2.10.2</h2> <h2>What's Changed</h2> <ul> <li>Fix a potential crash in the C extension parser.</li> <li>Raise a ParserError on all incomplete unicode escape sequence. This was the behavior until <code>2.10.0</code> unadvertently changed it.</li> <li>Ensure document snippets that are included in parser errors don't include truncated multibyte characters.</li> <li>Ensure parser error snippets are valid UTF-8.</li> <li>Fix <code>JSON::GeneratorError#detailed_message</code> on Ruby &lt; 3.2</li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/ruby/json/compare/v2.10.1...v2.10.2">https://github.com/ruby/json/compare/v2.10.1...v2.10.2</a></p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/ruby/json/blob/master/CHANGES.md">json's changelog</a>.</em></p> <blockquote> <h3>2025-04-25 (2.11.3)</h3> <ul> <li>Fix a regression in <code>JSON.pretty_generate</code> that could cause indentation to be off once some <code>#to_json</code> has been called.</li> </ul> <h3>2025-04-24 (2.11.2)</h3> <ul> <li>Add back <code>JSON::PRETTY_STATE_PROTOTYPE</code>. This constant was private API but is used by popular gems like <code>multi_json</code>. It now emits a deprecation warning.</li> </ul> <h3>2025-04-24 (2.11.1)</h3> <ul> <li>Add back <code>JSON.restore</code>, <code>JSON.unparse</code>, <code>JSON.fast_unparse</code> and <code>JSON.pretty_unparse</code>. These were deprecated 16 years ago, but never emited warnings, only undocumented, so are still used by a few gems.</li> </ul> <h3>2025-04-24 (2.11.0)</h3> <ul> <li>Optimize Integer generation to be ~1.8x faster.</li> <li>Optimize Float generation to be ~10x faster.</li> <li>Fix <code>JSON.load</code> proc argument to substitute the parsed object with the return value. This better match <code>Marshal.load</code> behavior.</li> <li>Deprecate <code>JSON.fast_generate</code> (it's not any faster, so pointless).</li> <li>Deprecate <code>JSON.load_default_options</code>.</li> <li>Deprecate <code>JSON.unsafe_load_default_options</code>.</li> <li>Deprecate <code>JSON.dump_default_options</code>.</li> <li>Deprecate <code>Kernel#j</code></li> <li>Deprecate <code>Kernel#jj</code></li> <li>Remove outdated <code>JSON.iconv</code>.</li> <li>Remove <code>Class#json_creatable?</code> monkey patch.</li> <li>Remove deprecated <code>JSON.restore</code> method.</li> <li>Remove deprecated <code>JSON.unparse</code> method.</li> <li>Remove deprecated <code>JSON.fast_unparse</code> method.</li> <li>Remove deprecated <code>JSON.pretty_unparse</code> method.</li> <li>Remove deprecated <code>JSON::UnparserError</code> constant.</li> <li>Remove outdated <code>JSON::MissingUnicodeSupport</code> constant.</li> </ul> <h3>2025-03-12 (2.10.2)</h3> <ul> <li>Fix a potential crash in the C extension parser.</li> <li>Raise a ParserError on all incomplete unicode escape sequence. This was the behavior until <code>2.10.0</code> unadvertently changed it.</li> <li>Ensure document snippets that are included in parser errors don't include truncated multibyte characters.</li> <li>Ensure parser error snippets are valid UTF-8.</li> <li>Fix <code>JSON::GeneratorError#detailed_message</code> on Ruby &lt; 3.2</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/ruby/json/commit/3e025f76d77e323b30f6f6d2d8d06e787d497a0c"><code>3e025f7</code></a> Release 2.11.3</li> <li><a href="https://github.com/ruby/json/commit/d316f930eee9263f9b39583437fd0e8b06d5cd7e"><code>d316f93</code></a> Merge pull request <a href="https://redirect.github.com/ruby/json/issues/791">#791</a> from byroot/fix-pretty-generate</li> <li><a href="https://github.com/ruby/json/commit/2ffa4ea46bb9dd4ac19eb2ea20c17119b6065feb"><code>2ffa4ea</code></a> Stop caching the generator state pointer</li> <li><a href="https://github.com/ruby/json/commit/c985e8c6ea1b1bfe1e571edce0a32066254c2a11"><code>c985e8c</code></a> Release 2.11.2</li> <li><a href="https://github.com/ruby/json/commit/c8ae2c5ebcef28096c8d4772b91630718dd3cd65"><code>c8ae2c5</code></a> Merge pull request <a href="https://redirect.github.com/ruby/json/issues/789">#789</a> from byroot/deprecated-pretty-prototype</li> <li><a href="https://github.com/ruby/json/commit/123121bba2bd1bd01acdb2a778e84caa881613c2"><code>123121b</code></a> Bring back JSON::PRETTY_STATE_PROTOTYPE with a deprecation</li> <li><a href="https://github.com/ruby/json/commit/84443e881df0a2a5f86abf95aaec1e43d5fba957"><code>84443e8</code></a> Release 2.11.1</li> <li><a href="https://github.com/ruby/json/commit/fa3b55c3e596891dd7905076c00ca65fec9dc3ca"><code>fa3b55c</code></a> Merge pull request <a href="https://redirect.github.com/ruby/json/issues/787">#787</a> from byroot/deprecate-aliases</li> <li><a href="https://github.com/ruby/json/commit/0dee9bdad937a74a5667b7781c10e6aab22abee2"><code>0dee9bd</code></a> Bring back the numerous deprecated alias</li> <li><a href="https://github.com/ruby/json/commit/a6949f8656abd533451491ba9f5c851f5cb5d070"><code>a6949f8</code></a> Release 2.11.0</li> <li>Additional commits viewable in <a href="https://github.com/ruby/json/compare/v2.10.1...v2.11.3">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=json&package-manager=bundler&previous-version=2.10.1&new-version=2.11.3)](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 merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@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>
1 parent f6512cb commit b2f63d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Gemfile.lock

+1-1
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ GEM
219219
gemoji (>= 3, < 5)
220220
html-pipeline (~> 2.2)
221221
jekyll (>= 3.0, < 5.0)
222-
json (2.10.1)
222+
json (2.11.3)
223223
kramdown (2.4.0)
224224
rexml
225225
kramdown-parser-gfm (1.1.0)

0 commit comments

Comments
 (0)