Update json 2.16.0 → 2.17.1 (minor) #330
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.
What changed?
✳️ json (2.16.0 → 2.17.1) · Repo · Changelog
Release Notes
2.17.1 (from changelog)
2.17.0
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 33 commits:
Release 2.17.1Fix a regression in parsing of unicode surogate pairsRelease 2.17.0Fix handling of depthFix duplicated test_unsafe_load_with_options test caseReproduce C ext behavior of ignoring mutated depth in arraysTest and restore behavior around to_json changing depthImprove `JSON.load` and `JSON.unsafe_load` to allow passing options as second argumentMerge pull request #909 from nobu/macro_argsFix macro argumentsDon't call to_json on the return value of as_json for Float::NANRespect Coder depth when generatingTest current behavior regarding depth for CoderStop testing on macos-13Don't copy JSON_Generator_State in generate_newDon't write depth to JSON_Generator_State in some casesAdd depth to struct generate_json_dataTest to_json using State#depthTest depthTest that depth of unfrozen State does not changeparser.c: Record escape positions while parsingFix the parser to not accept invalid escapesDon't emit deprecation warnings in State#to_h in TruffleRubyUse booleans in string_scanMove RUBY_TYPED_FROZEN_SHAREABLE macro to json.hSkip test failing with JRuby in CIRactor-shareable JSON::CoderBump actions/checkout from 5 to 6Remove unused symbolsparser.c: Remove unued JSON_ParserStruct.parsing_nameUse #if instead of #ifdef when checking for JSON_DEBUG so debugging code is not generated when JSON_DEBUG=0.Merge pull request #895 from ruby/removed-strnlenstrnlen is not used nowDepfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with
@depfu rebase.All Depfu comment commands