| Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
| Name: ruby3.4-rubygem-json_pure | Distribution: openSUSE Tumbleweed |
| Version: 2.7.6 | Vendor: openSUSE |
| Release: 1.4 | Build date: Mon Nov 4 17:58:32 2024 |
| Group: Unspecified | Build host: reproducible |
| Size: 177659 | Source RPM: rubygem-json_pure-2.7.6-1.4.src.rpm |
| Packager: http://bugs.opensuse.org | |
| Url: https://ruby.github.io/json | |
| Summary: JSON Implementation for Ruby | |
This is a JSON implementation in pure Ruby.
Ruby
* Mon Nov 04 2024 Dan Čermák <dan.cermak@posteo.net>
- 2.7.6:
* Fix a regression in JSON.generate when dealing with Hash keys that are string subclasses, call `to_json` on them.
* *Full Changelog**: https://github.com/ruby/json/compare/v2.7.5...v2.7.6
2.7.5:
[#]# What's Changed
* Fix a memory leak when `#to_json` methods raise an exception.
* Gracefully handle formatting configs being set to `nil` instead of `""`.
* Workaround another issue caused by conflicting versions of both `json_pure` and `json` being loaded.
* *Full Changelog**: https://github.com/ruby/json/compare/v2.7.4...v2.7.5
2.7.4:
[#]# What's Changed
* Workaround a bug in 3.4.8 and older https://github.com/rubygems/rubygems/pull/6490.
This bug would cause some gems with native extension to fail during compilation.
* Workaround different versions of `json` and `json_pure` being loaded (not officially supported).
* Make `json_pure` Ractor compatible.
* *Full Changelog**: https://github.com/ruby/json/compare/v2.7.3...v2.7.4
2.7.3:
[#]# What's Changed
* Numerous performance optimizations in `JSON.generate` and `JSON.dump` (up to 2 times faster).
* Limit the size of ParserError exception messages, only include up to 32 bytes of the unparseable source.
* Fix json-pure's `Object#to_json` to accept non state arguments
* Fix multiline comment support in `json-pure`.
* Fix `JSON.parse` to no longer mutate the argument encoding when passed an ASCII-8BIT string.
* Fix `String#to_json` to raise on invalid encoding in `json-pure`.
* Delete code that was based on CVTUTF.
* Use the pure-Ruby generator on TruffleRuby.
* Fix `strict` mode in `json-pure` to not break on Integer.
[#]# `JSON.dump` Performance
`JSON.dump` is now much faster, and on par or faster than alternative implementations:
```
== Encoding citm_catalog.json (500298 bytes)
ruby 3.4.0preview2 (2024-10-07 master 32c733f57b) +YJIT +PRISM [arm64-darwin23]
Warming up --------------------------------------
json (2.7.3) 123.000 i/100ms
oj 124.000 i/100ms
Calculating -------------------------------------
json (2.7.3) 1.312k (± 1.8%) i/s (761.91 μs/i) - 6.642k in 5.062192s
oj 1.278k (± 2.0%) i/s (782.35 μs/i) - 6.448k in 5.046587s
Comparison:
json (2.7.2): 884.0 i/s
json (2.7.3): 1312.5 i/s - 1.48x faster
oj: 1278.2 i/s - 1.45x faster
```
```
== Encoding twitter.json (466906 bytes)
ruby 3.4.0preview2 (2024-10-07 master 32c733f57b) +YJIT +PRISM [arm64-darwin23]
Warming up --------------------------------------
json (2.7.3) 213.000 i/100ms
oj 222.000 i/100ms
Calculating -------------------------------------
json (2.7.3) 2.140k (± 2.8%) i/s (467.19 μs/i) - 10.863k in 5.079099s
oj 2.303k (± 3.2%) i/s (434.27 μs/i) - 11.544k in 5.018239s
Comparison:
json (2.7.2): 1250.5 i/s
oj: 2302.7 i/s - 1.84x faster
json (2.7.3): 2140.5 i/s - 1.71x faster
```
* *Full Changelog**: https://github.com/ruby/json/compare/v2.7.2...v2.7.3
2.7.3rc1:
* Numerous performance optimizations in `JSON.generate` and `JSON.dump`.
* Limit the size of ParserError exception messages, only include up to 32 bytes of the unparseable source.
* Fix json-pure's `Object#to_json` to accept non state arguments
* Fix multiline comment support in `json-pure`.
* Fix `JSON.parse` to no longer mutate the argument encoding when passed an ASCII-8BIT string.
* Fix `String#to_json` to raise on invalid encoding in `json-pure`.
* Delete code that was based on CVTUTF.
* Use the pure-Ruby generator on TruffleRuby.
* Fix `strict` mode in `json-pure` to not break on Integer.
* Fri Jun 21 2024 Dan Čermák <dan.cermak@posteo.net>
- 2.7.2:
[#]# What's Changed
* Use rb_sym2str instead of SYM2ID by @jhawthorn in https://github.com/flori/json/pull/561
* Fix memory leak when exception is raised during JSON generation by @peterzhu2118 in https://github.com/flori/json/pull/574
* Remove references to "19" methods in JRuby by @headius in https://github.com/flori/json/pull/576
* Make OpenStruct support as optional by @hsbt in https://github.com/flori/json/pull/565
* Autoload JSON::GenericObject to avoid require ostruct warning in Ruby 3.4 by @tompng in https://github.com/flori/json/pull/577
* Warn to install ostruct if json couldn't load it by @hsbt in https://github.com/flori/json/pull/578
[#]# New Contributors
* @mperham made their first contribution in https://github.com/flori/json/pull/571
* @peterzhu2118 made their first contribution in https://github.com/flori/json/pull/574
* *Full Changelog**: https://github.com/flori/json/compare/v2.7.1...v2.7.2
* Mon Jan 29 2024 Dan Čermák <dan.cermak@posteo.net>
- 2.7.1:
[#]# What's Changed
[#]## Improved
* [DOC] RDoc for additions by @BurdetteLamar in https://github.com/flori/json/pull/557
[#]## Fixed
* JSON.dump: handle unenclosed hashes regression by @casperisfine in https://github.com/flori/json/pull/554
* Overload kwargs in JSON.dump by @k0kubun in https://github.com/flori/json/pull/556
* Fix JSON.dump overload combination by @tompng in https://github.com/flori/json/pull/558
[#]## Misc
* Remove needless encodings by @hsbt in https://github.com/flori/json/pull/559
* Unify versions by @hsbt in https://github.com/flori/json/pull/560
[#]# New Contributors
* @k0kubun made their first contribution in https://github.com/flori/json/pull/556
* @tompng made their first contribution in https://github.com/flori/json/pull/558
* *Full Changelog**: https://github.com/flori/json/compare/v2.7.0...v2.7.1
2.7.0:
[#]# What's Changed
[#]## Improved
* Perf. improvements to Hash#to_json in pure implementation generator. by @vipulnsward in https://github.com/flori/json/pull/203
* Remove unnecessary initialization of create_id in JSON.parse() by @Watson1978 in https://github.com/flori/json/pull/454
[#]## Added
* Call `super` in `included` hook by @paracycle in https://github.com/flori/json/pull/486
* Rename escape_slash in script_safe and also escape E+2028 and E+2029 by @casperisfine in https://github.com/flori/json/pull/525
* Add a `strict` option to Generator by @casperisfine in https://github.com/flori/json/pull/519
[#]## Fixed
* Fix homepage url in gemspec by @unasuke in https://github.com/flori/json/pull/508
* Fix dead link to Ragel in README by @okuramasafumi in https://github.com/flori/json/pull/509
* [DOC] Fix yet another dead link to Ragel by @nobu in https://github.com/flori/json/pull/510
* Fix "unexpected token" offset for Infinity by @jhawthorn in https://github.com/flori/json/pull/507
* Use ruby_xfree to free buffers by @casperisfine in https://github.com/flori/json/pull/518
[#]## Compatibility changes
* JRuby requires a minimum of Java 8 by @headius in https://github.com/flori/json/pull/516
* Rename JSON::ParseError to JSON:ParserError by @dalizard in https://github.com/flori/json/pull/530
* Removed code for Ruby 1.8 by @hsbt in https://github.com/flori/json/pull/540
* alias_method is private on Ruby 2.3 and 2.4 by @hsbt in https://github.com/flori/json/pull/541
* remove_method of Module is private at Ruby 2.3 and 2.4 by @hsbt in https://github.com/flori/json/pull/544
* [jruby] avoid using deprecated BigDecimal.new by @kares in https://github.com/flori/json/pull/546
* Always indent even if empty by @headius in https://github.com/flori/json/pull/517
[#]## Misc
* Update CI matrix by @hsbt in https://github.com/flori/json/pull/521
* Add missing changelog entries for 1.8.5 and 1.8.6 by @r7kamura in https://github.com/flori/json/pull/520
* Actions workflow - Add new OS's, Ruby 3.1, Ruby master, Windows by @MSP-Greg in https://github.com/flori/json/pull/491
* Skip unsupported test on JRuby by @nobu in https://github.com/flori/json/pull/532
* Skip BigDecimal tests when it's missing to load by @hsbt in https://github.com/flori/json/pull/533
* Simplify by @nobu in https://github.com/flori/json/pull/531
* Load extension ('json/ext') consistently in test_ext by @aeroastro in https://github.com/flori/json/pull/536
* Use test-unit-ruby-core gem by @hsbt in https://github.com/flori/json/pull/539
* [CI] Add Windows mswin job by @MSP-Greg in https://github.com/flori/json/pull/545
* Exclude truffleruby-head from Actions by @hsbt in https://github.com/flori/json/pull/551
* tests/ractor_test.rb: make assert_separately available by @lucaskanashiro in https://github.com/flori/json/pull/506
* Added changes for 2.7.0 and restore entries to 2.6.3 and 2.6.2 by @hsbt in https://github.com/flori/json/pull/552
[#]# New Contributors
* @unasuke made their first contribution in https://github.com/flori/json/pull/508
* @okuramasafumi made their first contribution in https://github.com/flori/json/pull/509
* @r7kamura made their first contribution in https://github.com/flori/json/pull/520
* @MSP-Greg made their first contribution in https://github.com/flori/json/pull/491
* @paracycle made their first contribution in https://github.com/flori/json/pull/486
* @dalizard made their first contribution in https://github.com/flori/json/pull/530
* @aeroastro made their first contribution in https://github.com/flori/json/pull/536
* @jhawthorn made their first contribution in https://github.com/flori/json/pull/507
* @lucaskanashiro made their first contribution in https://github.com/flori/json/pull/506
* @Watson1978 made their first contribution in https://github.com/flori/json/pull/454
* *Full Changelog**: https://github.com/flori/json/compare/v2.6.3...v2.7.0
* Wed Dec 07 2022 Stephan Kulow <coolo@suse.com>
updated to version 2.6.3
see installed CHANGES.md
* Thu Aug 04 2022 Stephan Kulow <coolo@suse.com>
updated to version 2.6.2
see installed CHANGES.md
* Tue Jan 25 2022 Stephan Kulow <coolo@suse.com>
updated to version 2.6.1
see installed CHANGES.md
[#]## 2021-10-24 (2.6.1)
* Restore version.rb with 2.6.1
[#]## 2021-10-14 (2.6.0)
* Use `rb_enc_interned_str` if available to reduce allocations in `freeze: true` mode. #451.
* Bump required_ruby_version to 2.3.
* Fix compatibility with `GC.compact`.
* Fix some compilation warnings. #469
* Wed Jan 20 2021 Stephan Kulow <coolo@suse.com>
updated to version 2.5.1
see installed CHANGES.md
[#]# 2020-12-22 (2.5.1)
* Restore the compatibility for constants of JSON class.
[#]# 2020-12-22 (2.5.0)
* Ready to Ractor-safe at Ruby 3.0.
[#]# 2020-12-17 (2.4.1)
* Restore version.rb with 2.4.1
[#]# 2020-12-15 (2.4.0)
* Implement a freeze: parser option #447
* Fix an issue with generate_pretty and empty objects in the Ruby and Java implementations #449
* Fix JSON.load_file doc #448
* Fix pure parser with unclosed arrays / objects #425
* bundle the LICENSE file in the gem #444
* Add an option to escape forward slash character #405
* RDoc for JSON #439 #446 #442 #434 #433 #430
* Fri Sep 25 2020 Stephan Kulow <coolo@suse.com>
updated to version 2.3.1
see installed CHANGES.md
[#]# 2020-06-30 (2.3.1)
* Spelling and grammar fixes for comments. Pull request #191 by Josh
Kline.
* Enhance generic JSON and #generate docs. Pull request #347 by Victor
Shepelev.
* Add :nodoc: for GeneratorMethods. Pull request #349 by Victor Shepelev.
* Baseline changes to help (JRuby) development. Pull request #371 by Karol
Bucek.
* Add metadata for rubygems.org. Pull request #379 by Alexandre ZANNI.
* Remove invalid JSON.generate description from JSON module rdoc. Pull
request #384 by Jeremy Evans.
* Test with TruffleRuby in CI. Pull request #402 by Benoit Daloze.
* Rdoc enhancements. Pull request #413 by Burdette Lamar.
* Fixtures/ are not being tested... Pull request #416 by Marc-André
Lafortune.
* Use frozen string for hash key. Pull request #420 by Marc-André
Lafortune.
* Added :call-seq: to RDoc for some methods. Pull request #422 by Burdette
Lamar.
* Small typo fix. Pull request #423 by Marc-André Lafortune.
[#]# 2019-12-11 (2.3.0)
* 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
* Thu May 07 2020 Stephan Kulow <coolo@suse.com>
- updated to version 2.3.0
see installed CHANGES.md
* Sat Mar 02 2019 Stephan Kulow <coolo@suse.com>
- updated to version 2.2.0
see installed CHANGES.md
[#]# 2019-02-21 (2.2.0)
* Adds support for 2.6 BigDecimal and ruby standard library Set datetype.
/usr/lib/ruby/gems/3.4.0/build_info /usr/lib/ruby/gems/3.4.0/cache/json_pure-2.7.6.gem /usr/lib/ruby/gems/3.4.0/gems/json_pure-2.7.6 /usr/lib/ruby/gems/3.4.0/gems/json_pure-2.7.6/BSDL /usr/lib/ruby/gems/3.4.0/gems/json_pure-2.7.6/CHANGES.md /usr/lib/ruby/gems/3.4.0/gems/json_pure-2.7.6/COPYING /usr/lib/ruby/gems/3.4.0/gems/json_pure-2.7.6/LEGAL /usr/lib/ruby/gems/3.4.0/gems/json_pure-2.7.6/README.md /usr/lib/ruby/gems/3.4.0/gems/json_pure-2.7.6/json_pure.gemspec /usr/lib/ruby/gems/3.4.0/gems/json_pure-2.7.6/lib /usr/lib/ruby/gems/3.4.0/gems/json_pure-2.7.6/lib/json /usr/lib/ruby/gems/3.4.0/gems/json_pure-2.7.6/lib/json.rb /usr/lib/ruby/gems/3.4.0/gems/json_pure-2.7.6/lib/json/add /usr/lib/ruby/gems/3.4.0/gems/json_pure-2.7.6/lib/json/add/bigdecimal.rb /usr/lib/ruby/gems/3.4.0/gems/json_pure-2.7.6/lib/json/add/complex.rb /usr/lib/ruby/gems/3.4.0/gems/json_pure-2.7.6/lib/json/add/core.rb /usr/lib/ruby/gems/3.4.0/gems/json_pure-2.7.6/lib/json/add/date.rb /usr/lib/ruby/gems/3.4.0/gems/json_pure-2.7.6/lib/json/add/date_time.rb /usr/lib/ruby/gems/3.4.0/gems/json_pure-2.7.6/lib/json/add/exception.rb /usr/lib/ruby/gems/3.4.0/gems/json_pure-2.7.6/lib/json/add/ostruct.rb /usr/lib/ruby/gems/3.4.0/gems/json_pure-2.7.6/lib/json/add/range.rb /usr/lib/ruby/gems/3.4.0/gems/json_pure-2.7.6/lib/json/add/rational.rb /usr/lib/ruby/gems/3.4.0/gems/json_pure-2.7.6/lib/json/add/regexp.rb /usr/lib/ruby/gems/3.4.0/gems/json_pure-2.7.6/lib/json/add/set.rb /usr/lib/ruby/gems/3.4.0/gems/json_pure-2.7.6/lib/json/add/struct.rb /usr/lib/ruby/gems/3.4.0/gems/json_pure-2.7.6/lib/json/add/symbol.rb /usr/lib/ruby/gems/3.4.0/gems/json_pure-2.7.6/lib/json/add/time.rb /usr/lib/ruby/gems/3.4.0/gems/json_pure-2.7.6/lib/json/common.rb /usr/lib/ruby/gems/3.4.0/gems/json_pure-2.7.6/lib/json/ext.rb /usr/lib/ruby/gems/3.4.0/gems/json_pure-2.7.6/lib/json/generic_object.rb /usr/lib/ruby/gems/3.4.0/gems/json_pure-2.7.6/lib/json/pure /usr/lib/ruby/gems/3.4.0/gems/json_pure-2.7.6/lib/json/pure.rb /usr/lib/ruby/gems/3.4.0/gems/json_pure-2.7.6/lib/json/pure/generator.rb /usr/lib/ruby/gems/3.4.0/gems/json_pure-2.7.6/lib/json/pure/parser.rb /usr/lib/ruby/gems/3.4.0/gems/json_pure-2.7.6/lib/json/version.rb /usr/lib/ruby/gems/3.4.0/specifications/json_pure-2.7.6.gemspec /usr/share/doc/packages/ruby3.4-rubygem-json_pure /usr/share/doc/packages/ruby3.4-rubygem-json_pure/CHANGES.md /usr/share/doc/packages/ruby3.4-rubygem-json_pure/COPYING /usr/share/doc/packages/ruby3.4-rubygem-json_pure/LEGAL /usr/share/doc/packages/ruby3.4-rubygem-json_pure/README.md
Generated by rpm2html 1.8.1
Fabrice Bellet, Fri Oct 24 23:31:51 2025