File tree 2 files changed +7
-4
lines changed
2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments