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.0
unadvertently 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_message
on Ruby < 3.2
Full Changelog: v2.10.1...v2.10.2