Sourced from json's releases.
v2.10.2
What's Changed
- Fix a potential crash in the C extension parser.
- Raise a ParserError on all incomplete unicode escape sequence. This was the behavior until
2.10.0unadvertently changed it.- Ensure document snippets that are included in parser errors don't include truncated multibyte characters.
- Ensure parser error snippets are valid UTF-8.
- Fix
JSON::GeneratorError#detailed_messageon Ruby < 3.2Full Changelog: https://github.com/ruby/json/compare/v2.10.1...v2.10.2
Sourced from json's changelog.
2025-03-12 (2.10.2)
- Fix a potential crash in the C extension parser.
- Raise a ParserError on all incomplete unicode escape sequence. This was the behavior until
2.10.0unadvertently changed it.- Ensure document snippets that are included in parser errors don't include truncated multibyte characters.
- Ensure parser error snippets are valid UTF-8.
- Fix
JSON::GeneratorError#detailed_messageon Ruby < 3.2
350c1fd
Release 2.10.2c56db31
Merge commit from forkcf242d8
Fix potential out of bound read in
json_string_unescape.57911f1
Merge pull request #762 from
byroot/invalid-escape7d0637b
Raise a ParserError on all incomplete unicode escape sequence.c079793
Avoid fast-path IO writes when IO has ext encac30b69
Merge pull request #757 from
rahim/fix-generator-error-no-method-error2e015ff
Fix JSON::GeneratorError#detailed_message with Ruby < 3.2f3e1136
Merge pull request #756 from
byroot/utf8-snippetse144793
Ensure parser error snippets are valid UTF-8