Skip to content

Commit a15b2ba

Browse files
committed
Release 3.1.0
1 parent d09e383 commit a15b2ba

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

‎CHANGES.md‎

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

33
### Unreleased
44

5+
### 2026-10-13 (3.1.0)
6+
7+
* Added `rfc8785` generator option to canonicalize the output. Replaces the `json-canonicalization` with numerous correctness fixes.
8+
* Use the `rb_len_t` type introduced in Ruby 4.1 to allow for proper 64bit support on LP64 platforms (Windows).
59
* JRuby: parser errors now include the position (`line`, `column` and the message suffix) as well as `json_path`, matching the C extension.
10+
* Improved the accuracy of parser error's `line`, `column` and snipets in presence of multibyte characters.
11+
* Fix `JSON.load` to work correctly when provided a `Zlib::GzipReader` as IO source.
12+
* Reject non-ASCII BINARY strings during JSON generation. This was deprecated since a long time and scheduled to be removed for 3.0.
613

714
### 2026-09-09 (3.0.2)
815

‎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 = '3.0.2'
4+
VERSION = '3.1.0'
55
end

0 commit comments

Comments
 (0)