Skip to content

Commit 1316292

Browse files
committed
Release 2.20.0
1 parent 1443265 commit 1316292

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

CHANGES.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,12 @@
22

33
### Unreleased
44

5-
* Changed the C parser to no longer be recursive, so parsing very deep documents with `max_nesting: false` will no longer
5+
### 2026-06-23 (2.20.0)
6+
7+
* Both C and Java parsers are no longer recursive, so parsing very deep documents with `max_nesting: false` will no longer
68
result in `SystemStackError stack level too deep` errors.
9+
* The `:max_nesting` option still defaults to `100`.
10+
* Optimized floating point number parsing further by replacing the ryu algorithm by a port of Eisel-Lemire Fast Float.
711
* Added `JSON::ResumableParser` to parse streams of JSON documents. Not yet available on JRuby.
812
* Deprecate default support of JavaScript comments in the parser and add `allow_comments: true` parsing option.
913
* Integrate with Ruby 4.1 `ruby_sized_xfree`.

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.19.9'
4+
VERSION = '2.20.0'
55
end

0 commit comments

Comments
 (0)