File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed
Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 11# Changes
22
3+ ### 2024-12-03 (2.9.0)
4+
5+ * Fix C implementation of ` script_safe ` escaping to not confuse some other 3 wide characters with ` \u2028 ` and ` \u2029 ` .
6+ e.g. ` JSON.generate(["倩", "瀨"], script_safe: true) ` would generate the wrong JSON.
7+ * ` JSON.dump(object, some_io) ` now write into the IO in chunks while previously it would buffer the entire JSON before writing.
8+ * ` JSON::GeneratorError ` now has a ` #invalid_object ` attribute, making it easier to understand why an object tree cannot be serialized.
9+ * Numerous improvements to the JRuby extension.
10+
311### 2024-11-14 (2.8.2)
412
513* ` JSON.load_file ` explictly read the file as UTF-8.
Original file line number Diff line number Diff line change 11# frozen_string_literal: true
22
33module JSON
4- VERSION = '2.8.2 '
4+ VERSION = '2.9.0 '
55end
You can’t perform that action at this time.
0 commit comments