Skip to content

Update json requirement from 2.9.1 to 2.12.2 - #9

Closed
dependabot[bot] wants to merge 1 commit into
jonfrom
dependabot/bundler/json-2.12.2
Closed

Update json requirement from 2.9.1 to 2.12.2#9
dependabot[bot] wants to merge 1 commit into
jonfrom
dependabot/bundler/json-2.12.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github May 26, 2025

Copy link
Copy Markdown
Contributor

Updates the requirements on json to permit the latest version.

Release notes

Sourced from json's releases.

v2.12.2

  • Fix compiler optimization level.

Full Changelog: ruby/json@v2.12.1...v2.12.2

Changelog

Sourced from json's changelog.

2025-05-23 (2.12.2)

  • Fix compiler optimization level.

2025-05-23 (2.12.1)

  • Fix a potential crash in large negative floating point number generation.
  • Fix for JSON.pretty_generate to use passed state object's generate instead of state class as the required parameters aren't available.

2025-05-12 (2.12.0)

  • Improve floating point generation to not use scientific notation as much.
  • Include line and column in parser errors. Both in the message and as exception attributes.
  • Handle non-string hash keys with broken to_s implementations.
  • JSON.generate now uses SSE2 (x86) or NEON (arm64) instructions when available to escape strings.

2025-04-25 (2.11.3)

  • Fix a regression in JSON.pretty_generate that could cause indentation to be off once some #to_json has been called.

2025-04-24 (2.11.2)

  • Add back JSON::PRETTY_STATE_PROTOTYPE. This constant was private API but is used by popular gems like multi_json. It now emits a deprecation warning.

2025-04-24 (2.11.1)

  • Add back JSON.restore, JSON.unparse, JSON.fast_unparse and JSON.pretty_unparse. These were deprecated 16 years ago, but never emited warnings, only undocumented, so are still used by a few gems.

2025-04-24 (2.11.0)

  • Optimize Integer generation to be ~1.8x faster.
  • Optimize Float generation to be ~10x faster.
  • Fix JSON.load proc argument to substitute the parsed object with the return value. This better match Marshal.load behavior.
  • Deprecate JSON.fast_generate (it's not any faster, so pointless).
  • Deprecate JSON.load_default_options.
  • Deprecate JSON.unsafe_load_default_options.
  • Deprecate JSON.dump_default_options.
  • Deprecate Kernel#j
  • Deprecate Kernel#jj
  • Remove outdated JSON.iconv.
  • Remove Class#json_creatable? monkey patch.
  • Remove deprecated JSON.restore method.
  • Remove deprecated JSON.unparse method.
  • Remove deprecated JSON.fast_unparse method.
  • Remove deprecated JSON.pretty_unparse method.
  • Remove deprecated JSON::UnparserError constant.

... (truncated)

Commits
  • a29cb77 Release 2.12.2
  • 8603a57 Release 2.12.1
  • 30eacc2 Merge pull request #810 from byroot/fbuffer-bound-checks
  • 8109421 fbuffer.c: add debug mode with bound checks.
  • d695177 Merge pull request #808 from byroot/reported-segv
  • d73ae93 Fix: generate_json_float to reserve enough memory for large negative floats.
  • 60e80e1 Merge pull request #806 from GrantBirki/minor-fixes
  • 7c03ffc Remove some unnecessary top level constant lookups
  • c060943 remove redundant self.
  • f5c1b8c use . over :: for consistency
  • Additional commits viewable in compare view

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 commands and options

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)

Updates the requirements on [json](https://github.com/ruby/json) to permit the latest version.
- [Release notes](https://github.com/ruby/json/releases)
- [Changelog](https://github.com/ruby/json/blob/master/CHANGES.md)
- [Commits](ruby/json@v2.9.1...v2.12.2)

---
updated-dependencies:
- dependency-name: json
  dependency-version: 2.12.2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file ruby Pull requests that update ruby code labels May 26, 2025
@dependabot @github

dependabot Bot commented on behalf of github Jul 18, 2025

Copy link
Copy Markdown
Contributor Author

Superseded by #10.

@dependabot dependabot Bot closed this Jul 18, 2025
@dependabot
dependabot Bot deleted the dependabot/bundler/json-2.12.2 branch July 18, 2025 04:59
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 ruby Pull requests that update ruby code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants