Skip to content

Commit b9c8024

Browse files
authored
Merge pull request #693 from casperisfine/update-changelog
Release 2.8.0
2 parents f5812d8 + 8071cc6 commit b9c8024

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

CHANGES.md

+6-3
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
# Changes
22

3-
### UNRELEASED
3+
### 2024-11-06 (2.8.0)
44

55
* Emit a deprecation warning when `JSON.load` create custom types without the `create_additions` option being explictly enabled.
66
* Prefer to use `JSON.unsafe_load(string)` or `JSON.load(string, create_additions: true)`.
77
* 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`.
1013

1114
### 2024-11-04 (2.7.6)
1215

lib/json/version.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# frozen_string_literal: true
22

33
module JSON
4-
VERSION = '2.8.0.alpha1'
4+
VERSION = '2.8.0'
55
end

0 commit comments

Comments
 (0)