Skip to content

Update dependency json to v3 - #160

Open
renovate[bot] wants to merge 1 commit into
productionfrom
renovate/json-3.x
Open

renovate[bot] wants to merge 1 commit into
productionfrom
renovate/json-3.x

Conversation

@renovate

@renovate renovate Bot commented Sep 7, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
json (changelog) '= 2.21.2' → '= 3.1.0' age confidence

Release Notes

ruby/json (json)

v3.1.0

Compare Source

  • Added rfc8785 generator option to canonicalize the output. Replaces the json-canonicalization with numerous correctness fixes.
  • Use the rb_len_t type introduced in Ruby 4.1 to allow for proper 64bit support on LP64 platforms (Windows).
  • JRuby: parser errors now include the position (line, column and the message suffix) as well as json_path, matching the C extension.
  • Improved the accuracy of parser error's line, column and snipets in presence of multibyte characters.
  • Fix JSON.load to work correctly when provided a Zlib::GzipReader as IO source.
  • Reject non-ASCII BINARY strings during JSON generation. This was deprecated since a long time and scheduled to be removed for 3.0.

v3.0.2

Compare Source

  • Fix JSON.load_file and JSON.load_file! to load on Ruby 2.7.0 through 2.7.2, which cannot parse a leading parameter before ....

v3.0.1

Compare Source

  • Restore the limit positional argument of JSON.dump.

v3.0.0

Compare Source

  • Add JSON::ParserError#json_path to locate parse errors in the document as a JSONPath-style string (e.g. $.foo[0].bar). For duplicate key errors it points at the duplicated key itself.
  • Fix the parser to also reject lone trailing UTF-16 surrogates (\uDCxx with no leading partner), symmetric to the leading-surrogate case. The Java parser already rejected these; this closes the CRuby/JRuby parity gap.

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ 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 was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot force-pushed the renovate/json-3.x branch 2 times, most recently from d69485d to f64f77a Compare September 9, 2026 18:49
@renovate
renovate Bot force-pushed the renovate/json-3.x branch from f64f77a to 9b6acce Compare September 25, 2026 02:53
@renovate
renovate Bot force-pushed the renovate/json-3.x branch from 9b6acce to bc9f7e2 Compare October 13, 2026 12:29
@renovate
renovate Bot force-pushed the renovate/json-3.x branch from bc9f7e2 to 3364a3c Compare October 23, 2026 16:51
@renovate
renovate Bot force-pushed the renovate/json-3.x branch from 3364a3c to bdd4b9f Compare October 27, 2026 01:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants