Skip to content

Commit a29cb77

Browse files
committed
Release 2.12.2
1 parent 8603a57 commit a29cb77

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

CHANGES.md

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

33
### Unreleased
44

5+
### 2025-05-23 (2.12.2)
6+
7+
* Fix compiler optimization level.
8+
59
### 2025-05-23 (2.12.1)
610

711
* Fix a potential crash in large negative floating point number generation.

ext/json/ext/generator/extconf.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# The pure-Ruby generator is faster on TruffleRuby, so skip compiling the generator extension
55
File.write('Makefile', dummy_makefile("").join)
66
else
7-
append_cflags("-std=c99 -O0")
7+
append_cflags("-std=c99")
88
$defs << "-DJSON_GENERATOR"
99
$defs << "-DJSON_DEBUG" if ENV["JSON_DEBUG"]
1010

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

0 commit comments

Comments
 (0)