All Versions
Latest Version
Avg Release Cycle
15 days
Latest Release
36 days ago

Changelog History
Page 5

  • v3.10.2 Changes

    January 30, 2020
    • ๐Ÿ›  Fixed circular array reference load.
  • v3.10.1 Changes

    January 14, 2020
    • Fixed bug where setting ActiveSupport::JSON::Encoding.use_standard_json_time_format before calling Oj.optimize_rails did not have an effect on the time format.

    • ๐Ÿ‘ Worked around the Active Support hack that branched in to_json depending on the class of the option argument.

    • โšก๏ธ Updated for Ruby 2.7.0

  • v3.10.0 Changes

    November 28, 2019
    • ๐Ÿ›  Fixed custom mode load_file to use custom mode.

    • ๐Ÿ›  Fixed rails mode output of IO objects

    • ๐Ÿ›  Fixed issue #567. Second precision is forced if set to the correct number of decimals even if zero nanoseconds.

    • ๐Ÿ›  Fixed issue #568. Dumping bigdecimal in `:rails' mode made more consistent.

    • ๐Ÿ›  Fixed issue #569. :compat mode not restricts the escape mode as indicated in the documentation.

    • ๐Ÿ›  Fixed issue #570. In :strict mode number parsing follows the JSON specification more closely as indended.

    • Added :ignore_under which when true will ignore attributes that begin with a _ when dumping in :object or :custom mode.

  • v3.9.2 Changes

    October 01, 2019
    • ๐Ÿ›  Fixed wrong exception type when mimicking the JSON gem.
  • v3.9.1 Changes

    August 31, 2019
    • ๐Ÿ‘ป Raise an exception on an invalid time represented as a decimal in :object mode.
  • v3.9.0 Changes

    August 18, 2019
    • โž• Changed custom behavior when :create_additions is true and :create_id is set to nil. Now Range, Regexp, Rational, and Complex are output as strings instead of a JSON object with members. Setting any other value for :create_id, even an empty string will result in an object being dumped.

    • ๐Ÿ‘ Detection of pthread mutex support was changed.

  • v3.8.1 Changes

    July 22, 2019
    • ๐Ÿ›  Fix replacement of JSON::Parse thanks to paracycle.
  • 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.
  • v3.7.11 Changes

    March 19, 2019
    • ๐Ÿ›  Fix to Rails optimize that missed initializing the mimic JSON :symbolize_names value.