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.
- checksums.yaml +4 -4
- data/CHANGES.md +6 -3
- data/lib/json/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ca8c49760206c8862311dc84806ab2f5d9cb6182be1df2fc4fbd645889348a6c
|
4
|
+
data.tar.gz: 890d8dc475d75ecabc05afaa3373ba5f7d8c94f9b526a870a3db1859eec75190
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7bef8b5d523d5466da63a7d89c3bb55de9a591f604f271a1f2be8282c8ee4f416efd20faff57d0010bd0dda0c4c217fd1fd7715f4e9e5b7aaa9e07343aad76b6
|
7
|
+
data.tar.gz: 7ac43107c2bdd2acea66ab68413a138cd8df219082225ceb1effcbcc1825604e5b2d10f562aa9b1346d1ede908e5b453dfaf628bd1e512c3361f0680b46683a4
|
data/CHANGES.md
CHANGED
@@ -1,12 +1,15 @@
|
|
1
1
|
# Changes
|
2
2
|
|
3
|
-
###
|
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
|
9
|
-
*
|
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