Release v2.8.0 · ruby/json
08-Nov-2024 38
Emit a deprecation warning when JSON.load create custom types without the create_additions option being explictly enabled.
Prefer to use JSON.unsafe_load(string) or JSON.load(string, create_additions: true).
Emit a deprecation warning when serializing valid UTF-8 strings encoded in ASCII_8BIT aka BINARY.
Bump required Ruby version to 2.7.
Add support for optionally parsing trailing commas, via allow_trailing_comma: true, which in cunjunction with the
pre-existing support for comments, make it suitable to parse jsonc documents.
Many performance improvements to JSON.parse and JSON.load, up to 1.7x faster on real world documents.
Some minor performance improvements to JSON.dump and JSON.generate.
Release v2.8.0 · ruby/json #ruby #rubydeveloper #rubyonrails #Release #v2.8.0 #ruby/json https://rubyonrails.ba/link/release-v2-8-0-ruby-json