Changelog History
Page 7
-
v3.8.0 Changes
July 17, 2019๐ Fixed a buffer allocation bug for
JSON.pretty_generate
.โ Added mimic
safe
option to not include the complete JSON in a parse error message.Added
use_raw_json
option for:compat
and:rails
mode to allow better performance on dump. StringWriter in particular has been optimized for this option.
-
v3.7.12 Changes
April 14, 2019- ๐
The
:omit_nil
option did not work in:rails
mode. That has been fixed.
- ๐
The
-
v3.7.11 Changes
March 19, 2019- ๐ Fix to Rails optimize that missed initializing the mimic JSON
:symbolize_names
value.
- ๐ Fix to Rails optimize that missed initializing the mimic JSON
-
v3.7.10 Changes
March 14, 2019- Corrected time dump so that the none-leap years after a 400 year period are correct.
-
v3.7.9 Changes
February 18, 2019Return correct value in
create_opt
C function.๐ Return
Oj::ParseError
if an invalid big decimal string is encountered instead of an argument error
-
v3.7.8 Changes
January 21, 2019Replace
gmtime
with a custom function.Oj::Doc crash fix.
Mark odd args to avoid GC.
-
v3.7.7 Changes
January 14, 2019Exception with other than a single argument initializer can now be decoded.
StreamWriter bug fixed that forces UTF-8 when appending to a stream. Ruby likes to convert to ASCII-8BIT but forcing the append to be UTF-8 avoids that issue.
-
v3.7.6 Changes
December 30, 2018Changed time encoding for 32 bit to work around a Ruby bug in
rb_time_timespec()
that fails for times before 1970.Addressed issue #514 by changing reserved identifiers.
Addressed issue #515 by adding return value checks on
strdup()
andpthread_mutex_init()
.
-
v3.7.5 Changes
December 27, 2018- Address issue #517 with a special escape table for mimicking the JSON gem.
-
v3.7.4 Changes
November 29, 2018- Allow
+
in front of numbers in parse as well as stream parse EXCEPT when mimicking the JSON gem.
- Allow