Skip to content

Commit 9be0e8e

Browse files
committed
Release 2.21.0
1 parent d1299d4 commit 9be0e8e

2 files changed

Lines changed: 9 additions & 1 deletion

File tree

CHANGES.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22

33
### Unreleased
44

5+
### 2026-07-12 (2.21.0)
6+
7+
* `JSON.generate` now accept a `sort_keys` option, which takes either a boolean or a block.
8+
* Added `#empty?` and `#partial_value?` methods on `JSON::ResumableParser`.
9+
* Numerous correctness and performance fixes for `JSON::ResumableParser`.
10+
* Avoid triggering Ruby's `float out of range` warning when parsing out of range numbers.
11+
* Declare C types with Ruby 4.1 `RUBY_TYPED_THREAD_SAFE_FREE`.
12+
513
### 2026-06-23 (2.20.0)
614

715
* Both C and Java parsers are no longer recursive, so parsing very deep documents with `max_nesting: false` will no longer

lib/json/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# frozen_string_literal: true
22

33
module JSON
4-
VERSION = '2.20.0'
4+
VERSION = '2.21.0'
55
end

0 commit comments

Comments
 (0)