-
Notifications
You must be signed in to change notification settings - Fork 344
Comparing changes
Open a pull request
base repository: ruby/json
base: aa5b7d6
head repository: ruby/json
compare: 350c1fd
- 12 commits
- 7 files changed
- 4 contributors
Commits on Feb 14, 2025
-
Configuration menu - View commit details
-
Copy full SHA for bea96e0 - Browse repository at this point
Copy the full SHA bea96e0View commit details
Commits on Feb 18, 2025
-
Merge pull request #753 from ioquatix/json-dump-options
Pass through all options if present.
Configuration menu - View commit details
-
Copy full SHA for b86a47d - Browse repository at this point
Copy the full SHA b86a47dView commit details
Commits on Feb 26, 2025
-
Ensure parser error snippets are valid UTF-8
Fix: #755 Error messages now include a snippet of the document that doesn't parse to help locate the issue, however the way it was done wasn't UTF-8 aware, and it could result in exception messages with truncated characters. It would be nice to go a bit farther and actually support codepoints, but it's a lot of complexity to do it in C, perhaps if we move that logic to Ruby given it's not a performance sensitive codepath.
Configuration menu - View commit details
-
Copy full SHA for e144793 - Browse repository at this point
Copy the full SHA e144793View commit details -
Merge pull request #756 from byroot/utf8-snippets
Ensure parser error snippets are valid UTF-8
Configuration menu - View commit details
-
Copy full SHA for f3e1136 - Browse repository at this point
Copy the full SHA f3e1136View commit details
Commits on Mar 5, 2025
-
Configuration menu - View commit details
-
Copy full SHA for 2e015ff - Browse repository at this point
Copy the full SHA 2e015ffView commit details -
Merge pull request #757 from rahim/fix-generator-error-no-method-error
Fix JSON::GeneratorError#detailed_message with Ruby < 3.2
Configuration menu - View commit details
-
Copy full SHA for ac30b69 - Browse repository at this point
Copy the full SHA ac30b69View commit details
Commits on Mar 10, 2025
-
Avoid fast-path IO writes when IO has ext enc
This works around a bug in JRuby's IOOutputStream logic whereby an IO with an external encoding will always fail to write incoming bytes. We use base logic to detect if the target object is a "real IO" and if so and it has an external encoding, we drop the realIO and. This causes the rest of IOOutputStream to avoid the fast path and always use dyncall logic with RubyString wrappers. This works around the issue in jruby/jruby#8682. This should be temporary, since it will definitely degrade direct writes to such IO objects, but a longer-term fix for the encoding issues spelled out in jruby/jruby#8682 will need to come first, or else json will have to be modified to not use IOOutputStream at all.
Configuration menu - View commit details
-
Copy full SHA for c079793 - Browse repository at this point
Copy the full SHA c079793View commit details
Commits on Mar 11, 2025
-
Raise a ParserError on all incomplete unicode escape sequence.
This was the behavior until `2.10.0` unadvertently changed it. `"\u1"` would raise, but `"\u1zzz"` wouldn't.
Configuration menu - View commit details
-
Copy full SHA for 7d0637b - Browse repository at this point
Copy the full SHA 7d0637bView commit details -
Merge pull request #762 from byroot/invalid-escape
Raise a ParserError on all incomplete unicode escape sequence.
Configuration menu - View commit details
-
Copy full SHA for 57911f1 - Browse repository at this point
Copy the full SHA 57911f1View commit details -
Configuration menu - View commit details
-
Copy full SHA for cf242d8 - Browse repository at this point
Copy the full SHA cf242d8View commit details
Commits on Mar 12, 2025
-
Fix potential out of bound read in `json_string_unescape`.
Configuration menu - View commit details
-
Copy full SHA for c56db31 - Browse repository at this point
Copy the full SHA c56db31View commit details -
Configuration menu - View commit details
-
Copy full SHA for 350c1fd - Browse repository at this point
Copy the full SHA 350c1fdView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff aa5b7d6...350c1fd