[src/api] Update json 2.15.2 → 2.16.0 (minor) #18795
Open
+1
−1
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?
Release Notes
2.16.0
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 50 commits:
Release 2.16.0Deprecate `JSON::State#[]` and `JSON::State#[]=`Get rid of JSON.deep_const_get (private API)Tentative fix for RHEL8 compilerMicro-optimize `rstring_cache_fetch`Extract `JSON_CPU_LITTLE_ENDIAN_64BITS` definitionext/json/ext/json.h: Add missing newline at end of fileFix duplicate 'inline' declaration specifierparser.c: Always inline `json_eat_whitespace`parser.c: use `rb_str_to_interned_str` over `rb_funcall`parser.c: Extract `json_string_cacheable_p`parser.c: simplify sorted insert loop in rstring_cache_fetchMerge pull request #890 from byroot/remove-useless-checkparser.c: Skip checking for escape sequences in `rstring_cache_fetch`Merge pull request #889 from byroot/cleanup-macrosCentralize macro definitionsAvoid power_assert 3.0 on Ruby 3.0 and olderMerge pull request #877 from byroot/json-coder-encodingInvoke `as_json` callback for strings with invalid encodingUpdate changelogUpdate changelogMerge pull request #887 from byroot/improve-consecutive-digitsEnable JSON_DEBUG for parser/extconf.rbEnable JSON_DEBUG for parser/extconf.rbparser.c: Appease GCC warningMerge pull request #886 from byroot/parser-whitespace-switchparser.c: Use SWAR to skip consecutive spacesMerge pull request #885 from byroot/parse-digits-swarUse SWAR for parsing integers on little endian machinesparser.c: Introduce `rest()` helperAdd test coverage for T_BIGNUM parsingMerge pull request #884 from byroot/refactor-parser-peekparser.c: Introduce `peek()` and `eos()` helpersMerge pull request #883 from byroot/refactor-number-parsingparser.c: Extract json_parse_digitsparser.c: Extract `json_parse_number`Merge pull request #882 from rhenium/ky/generate-fix-fbuffer-leakFix memory leak when exception is raised during JSON generation part 2Merge pull request #880 from nobu/typo-legalMerge pull request #879 from nobu/dependsUpdate depend files[DOC] Fix typos in LEGALMerge pull request #875 from RubyElders/ryu-float-parserAdd ryu float parser.Fix GeneratorError messages to be UTF-8 encodedMerge pull request #824 from samyron/sm/java-vector-simdUse Vector API in the Java Extensionparser.c: Fix indentation in json_decode_integerMerge pull request #876 from byroot/isalpha-localeUse locale indepenent version of `islapha`Depfu 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