Fix default of create_additions to always be false for JSON(user_input)
and JSON.parse(user_input, nil).
Note that JSON.load remains with default true and is meant for internal
serialization of trusted data. [CVE-2020-10663]
Fix passing args all #to_json in json/add/*.
Fix encoding issues
Fix issues of keyword vs positional parameter
Fix JSON::Parser against bigdecimal updates
Bug fixes to JRuby port
2019-02-21 (2.2.0)
Adds support for 2.6 BigDecimal and ruby standard library Set datetype.
2017-04-18 (2.1.0)
Allow passing of decimal_class option to specify a class as which to parse
JSON float numbers.
2017-03-23 (2.0.4)
Raise exception for incomplete unicode surrogates/character escape
sequences. This problem was reported by Daniel Gollahon (dgollahon).
Fix arbitrary heap exposure problem. This problem was reported by Ahmad
Sherif (ahmadsherif).
2017-01-12 (2.0.3)
Set required_ruby_version to 1.9
Some small fixes
2016-07-26 (2.0.2)
Specify required_ruby_version for json_pure.
Fix issue #295 failure when parsing frozen strings.
2016-07-01 (2.0.1)
Fix problem when requiring json_pure and Parser constant was defined top
level.
Add RB_GC_GUARD to avoid possible GC problem via Pete Johns.
Store current_nesting on stack by Aaron Patterson.
2015-09-11 (2.0.0)
Now complies to newest JSON RFC 7159.
Implements compatibiliy to ruby 2.4 integer unification.
There were still some mentions of dual GPL licensing in the source, but JSON
has just the Ruby license that itself includes an explicit dual-licensing
clause that allows covered software to be distributed under the terms of
the Simplified BSD License instead for all ruby versions >= 1.9.3. This is
however a GPL compatible license according to the Free Software Foundation.
I changed these mentions to be consistent with the Ruby license setting in
the gemspec files which were already correct now.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/MagLev/maglev/network/alerts).
Bumps json from 1.5.4 to 2.3.0.
Changelog
Sourced from json's changelog.
Commits
92cf5c4
v2.3.0579ae85
Add some more recent jrubyacabfeb
Make tests green on jrubyc194360
Update travis config49317c1
Ignore log filesd84439f
Merge pull request #391 from headius/prep_2.3.038f68d1
Bump versions for 2.3.0.40524a9
Merge pull request #390 from flori/relax-test-unit87379e6
relax test-unit version for old ruby05de02f
Merge branch 'zenspider-zenspider/ruby-2.7'Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/MagLev/maglev/network/alerts).