Releases: ruby/json
Releases · ruby/json
v2.7.0
What's Changed
Improved
- Perf. improvements to Hash#to_json in pure implementation generator. by @vipulnsward in #203
- Remove unnecessary initialization of create_id in JSON.parse() by @Watson1978 in #454
Added
- Call
super
inincluded
hook by @paracycle in #486 - Rename escape_slash in script_safe and also escape E+2028 and E+2029 by @casperisfine in #525
- Add a
strict
option to Generator by @casperisfine in #519
Fixed
- Fix homepage url in gemspec by @unasuke in #508
- Fix dead link to Ragel in README by @okuramasafumi in #509
- [DOC] Fix yet another dead link to Ragel by @nobu in #510
- Fix "unexpected token" offset for Infinity by @jhawthorn in #507
- Use ruby_xfree to free buffers by @casperisfine in #518
Compatibility changes
- JRuby requires a minimum of Java 8 by @headius in #516
- Rename JSON::ParseError to JSON:ParserError by @dalizard in #530
- Removed code for Ruby 1.8 by @hsbt in #540
- alias_method is private on Ruby 2.3 and 2.4 by @hsbt in #541
- remove_method of Module is private at Ruby 2.3 and 2.4 by @hsbt in #544
- [jruby] avoid using deprecated BigDecimal.new by @kares in #546
- Always indent even if empty by @headius in #517
Misc
- Update CI matrix by @hsbt in #521
- Add missing changelog entries for 1.8.5 and 1.8.6 by @r7kamura in #520
- Actions workflow - Add new OS's, Ruby 3.1, Ruby master, Windows by @MSP-Greg in #491
- Skip unsupported test on JRuby by @nobu in #532
- Skip BigDecimal tests when it's missing to load by @hsbt in #533
- Simplify by @nobu in #531
- Load extension ('json/ext') consistently in test_ext by @aeroastro in #536
- Use test-unit-ruby-core gem by @hsbt in #539
- [CI] Add Windows mswin job by @MSP-Greg in #545
- Exclude truffleruby-head from Actions by @hsbt in #551
- tests/ractor_test.rb: make assert_separately available by @lucaskanashiro in #506
- Added changes for 2.7.0 and restore entries to 2.6.3 and 2.6.2 by @hsbt in #552
New Contributors
- @unasuke made their first contribution in #508
- @okuramasafumi made their first contribution in #509
- @r7kamura made their first contribution in #520
- @MSP-Greg made their first contribution in #491
- @paracycle made their first contribution in #486
- @dalizard made their first contribution in #530
- @aeroastro made their first contribution in #536
- @jhawthorn made their first contribution in #507
- @lucaskanashiro made their first contribution in #506
- @Watson1978 made their first contribution in #454
Full Changelog: v2.6.3...v2.7.0
v2.6.3
What's Changed
- bugfix json/pure mixing escaped with literal unicode raises Encoding::CompatibilityError by @notEthan in #483
- Stop including the parser source LINE in exceptions by @casperisfine in #470
New Contributors
Full Changelog: v2.6.2...v2.6.3
v2.6.2
v2.6.1
v2.6.0
What's Changed
- Use GitHub Actions for CI by @mrkn in #463
- Use
rb_enc_interned_str
if available by @casperisfine in #451 - Fix incorrect
#
position in API doc by @ybiquitous in #461 - Fix some typos by @kamipo in #467
- parser: fix warnings against code generated by ragel by @nobu in #469
- Fix GitHub Actions by @hsbt in #471
- Cleanup gemspec by @hsbt in #473
New Contributors
- @ybiquitous made their first contribution in #461
- @kamipo made their first contribution in #467
Full Changelog: v2.5.1...v2.6.0
v2.5.1
v2.5.0
v2.4.1
What's Changed
- Move options from #generate and #parse to common area by @BurdetteLamar in #430
- Do not add a relative path to $LOAD_PATH by @mame in #431
- test/json/json_fixtures_test.rb: Prevent an "out of range" warning by @mame in #432
- Enhance RDoc for JSON.parse by @BurdetteLamar in #433
- [CI] setup supported JRubies to test against by @kares in #372
- Fixed unexpected illegal/malformed utf-8 error by @nobu in #385
- RDoc example for JSON.load by @BurdetteLamar in #434
- unify json-java gemspec with the baseline by @kares in #435
- [test] properly 'skip' test on JRuby by @kares in #436
- RDoc for JSON.load with proc by @BurdetteLamar in #439
- Nodoc for recurse_proc by @BurdetteLamar in #442
- Add an option to escape forward slash character by @casperisfine in #405
- bundle the LICENSE file in the gem by @jfeltesse-mdsol in #444
- Enhanced RDoc for JSON.dump by @BurdetteLamar in #443
- Fix pure parser with unclosed arrays / objects [Fix #314] by @marcandre in #425
- Partial compliance with doc/method_documentation.rdoc by @BurdetteLamar in #446
- Fix JSON.load_file doc by @casperisfine in #448
- Fix an issue with generate_pretty and empty objects in the Ruby and Java implementations by @chrisseaton in #449
- Implement a freeze: parser option by @casperisfine in #447
- Backport ruby core by @hsbt in #450
- gemspec: Fix a typo in RDoc title by @olleolleolle in #455
New Contributors
- @mame made their first contribution in #431
- @jfeltesse-mdsol made their first contribution in #444
- @chrisseaton made their first contribution in #449
Full Changelog: v2.3.1...v2.4.1
v2.4.0
What's Changed
- Move options from #generate and #parse to common area by @BurdetteLamar in #430
- Do not add a relative path to $LOAD_PATH by @mame in #431
- test/json/json_fixtures_test.rb: Prevent an "out of range" warning by @mame in #432
- Enhance RDoc for JSON.parse by @BurdetteLamar in #433
- [CI] setup supported JRubies to test against by @kares in #372
- Fixed unexpected illegal/malformed utf-8 error by @nobu in #385
- RDoc example for JSON.load by @BurdetteLamar in #434
- unify json-java gemspec with the baseline by @kares in #435
- [test] properly 'skip' test on JRuby by @kares in #436
- RDoc for JSON.load with proc by @BurdetteLamar in #439
- Nodoc for recurse_proc by @BurdetteLamar in #442
- Add an option to escape forward slash character by @casperisfine in #405
- bundle the LICENSE file in the gem by @jfeltesse-mdsol in #444
- Enhanced RDoc for JSON.dump by @BurdetteLamar in #443
- Fix pure parser with unclosed arrays / objects [Fix #314] by @marcandre in #425
- Partial compliance with doc/method_documentation.rdoc by @BurdetteLamar in #446
- Fix JSON.load_file doc by @casperisfine in #448
- Fix an issue with generate_pretty and empty objects in the Ruby and Java implementations by @chrisseaton in #449
- Implement a freeze: parser option by @casperisfine in #447
- Backport ruby core by @hsbt in #450
New Contributors
- @mame made their first contribution in #431
- @jfeltesse-mdsol made their first contribution in #444
- @chrisseaton made their first contribution in #449
Full Changelog: v2.3.1...v2.4.0
v2.3.1
What's Changed
- keyword argument is provided after Ruby 2.0+ by @hsbt in #396
- Remove invalid JSON.generate description from JSON module rdoc by @jeremyevans in #384
- Update gemspec by @hsbt in #398
- Add :nodoc: for GeneratorMethods by @zverok in #349
- add metadata for rubygems.org by @noraj in #379
- Enhance generic JSON and #generate docs by @zverok in #347
- Test with TruffleRuby in CI by @eregon in #402
- Spelling and grammar fixes for comments. by @jkanywhere in #191
- baseline changes to help (JRuby) development by @kares in #371
- fixtures/ are not being tested... by @marcandre in #416
- Cleanup gemspec by @marcandre in #415
- Sync ruby by @nobu in #418
- Use frozen string for hash key by @marcandre in #420
- Rdoc enhancements by @BurdetteLamar in #413
- Added :call-seq: to RDoc for some methods by @BurdetteLamar in #422
- Small typo fix by @marcandre in #423
- Update Changes for 2.3.0 [Fixes #397] by @marcandre in #424
- Make changes more precise [#424] by @marcandre in #428
- Trivial whitespace fix by @marcandre in #426
- Remove generate task for gemspec by @hsbt in #429
- Add
load_file
andload_file!
methods, with tests. Fixes issue #386. by @keithrbennett in #387
New Contributors
- @jeremyevans made their first contribution in #384
- @zverok made their first contribution in #349
- @noraj made their first contribution in #379
- @eregon made their first contribution in #402
- @jkanywhere made their first contribution in #191
- @keithrbennett made their first contribution in #387
Full Changelog: v2.3.0...v2.3.1