json 2.8.0.alpha1 → 2.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGES.md +6 -3
  3. data/lib/json/version.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e37f288be36138ec53fe36090c7886445f097184538b33b04ce12524082f6f8f
4
- data.tar.gz: a7a4d1069d594d876cad44766c22ff3688f171b5cfa5ed636bec07daaae11b82
3
+ metadata.gz: ca8c49760206c8862311dc84806ab2f5d9cb6182be1df2fc4fbd645889348a6c
4
+ data.tar.gz: 890d8dc475d75ecabc05afaa3373ba5f7d8c94f9b526a870a3db1859eec75190
5
5
  SHA512:
6
- metadata.gz: 1025ceda0144fb3ead6b25813e994565c9fcd99573f04db11cee7fd7a8db1b7b362590d85db99176a6e0884f231e128b411f1f24f19aee77bd9413973cbcaf90
7
- data.tar.gz: 8f8c78a0ef4fc3c1334318813d1ffa944f770f5a2fca17c4b23c7ad89a29fa6a17b47d1caf1b3615ecad23ee9a0af6f80d19a72b2228af80887a4f0f51c1eed3
6
+ metadata.gz: 7bef8b5d523d5466da63a7d89c3bb55de9a591f604f271a1f2be8282c8ee4f416efd20faff57d0010bd0dda0c4c217fd1fd7715f4e9e5b7aaa9e07343aad76b6
7
+ data.tar.gz: 7ac43107c2bdd2acea66ab68413a138cd8df219082225ceb1effcbcc1825604e5b2d10f562aa9b1346d1ede908e5b453dfaf628bd1e512c3361f0680b46683a4
data/CHANGES.md CHANGED
@@ -1,12 +1,15 @@
1
1
  # Changes
2
2
 
3
- ### UNRELEASED
3
+ ### 2024-11-06 (2.8.0)
4
4
 
5
5
  * Emit a deprecation warning when `JSON.load` create custom types without the `create_additions` option being explictly enabled.
6
6
  * Prefer to use `JSON.unsafe_load(string)` or `JSON.load(string, create_additions: true)`.
7
7
  * Emit a deprecation warning when serializing valid UTF-8 strings encoded in `ASCII_8BIT` aka `BINARY`.
8
- * Bump required_ruby_version to 2.7.
9
- * More performance improvments to `JSON.dump` and `JSON.generate`.
8
+ * Bump required Ruby version to 2.7.
9
+ * Add support for optionally parsing trailing commas, via `allow_trailing_comma: true`, which in cunjunction with the
10
+ pre-existing support for comments, make it suitable to parse `jsonc` documents.
11
+ * Many performance improvements to `JSON.parse` and `JSON.load`, up to `1.7x` faster on real world documents.
12
+ * Some minor performance improvements to `JSON.dump` and `JSON.generate`.
10
13
 
11
14
  ### 2024-11-04 (2.7.6)
12
15
 
data/lib/json/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module JSON
4
- VERSION = '2.8.0.alpha1'
4
+ VERSION = '2.8.0'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: json
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.8.0.alpha1
4
+ version: 2.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Florian Frank