All Versions
Latest Version
Avg Release Cycle
17 days
Latest Release
45 days ago

Changelog History
Page 17

  • v2.11.2 Changes

    January 10, 2015
    • ๐Ÿ”„ Changed the defaults for mimic_JSON to use 16 significant digits instead of the default 15.
    • ๐Ÿ›  Fixed bug where a subclass of Array would be serialized as if in object mode instead of compat when in compat mode.
  • v2.11.1 Changes

    November 09, 2014
    • Changed the use_to_json option to still allow as_json even when set to false.
  • v2.11.0 Changes

    November 02, 2014
    • ๐Ÿ‘ป Restricted strict dump to not dump NaN nor Infinity but instead raise an exception.
    • Changed compat mode so that the :bigdecimal_as_decimal option over-rides the to_json method if the option is true. The default for mimic_JSON is to leave the option off.
    • โž• Added support for Module encoding in compat mode.
    • ๐Ÿ‘Œ Added ActiveSupportHelper so that require 'active_support_helper' will added a helper for serializing ActiveSupport::TimeWithZone.
    • โž• Added float_precision option to control the number of digits used for floats when dumping.
  • v2.10.4 Changes

    October 22, 2014
    • ๐Ÿ›  Fixed Range encoding in compat mode to not use the object mode encoding.
    • ๐Ÿ›  Fixed serialization problem with timestamps.
    • ๐Ÿ›  Fixed compat parser to accept NaN and Infinity.
  • v2.10.3 Changes

    October 04, 2014
    • Using the xmlschema option with :object mode now saves time as a string and preserves the timezone.
    • ๐Ÿ›  Rational recursive loop caused by active support fixed.
    • ๐Ÿ’Ž Time in mimic_JSON mode are now the ruby string representation of a date.
  • v2.10.2 Changes

    August 20, 2014
    • ๐Ÿ›  Fixed string corruption bug due to an uncommented assignment used for debugging.
  • v2.10.1 Changes

    August 17, 2014
    • ๐Ÿ”„ Changed parse argument error to be a Ruby ArgError instead of a general Exception.
  • v2.10.0 Changes

    August 03, 2014
    • Using an indent of less than zero will not place newline characters between JSON elements when using the string or stream writer.
    • ๐Ÿ“œ A new options callback method was added to the Simple Callback Parser. If defined the prepare_key() method will be called when an JSON object ket is first encountered. The return value is then used as the key in the key-value pair.
    • Increased significants digits to 16 from 15. On occasion there may be unexpected round off results. Tou avoid those use the bigdecimal options.
  • v2.9.9 Changes

    July 07, 2014
    • Missed a character map entry. / in ascii mode is now output as / and not \/
    • ๐Ÿ›  Fixed SC parser to not treat all IO that respond to fileno as a file. It not checks stat and asks if it is a file.
    • ๐Ÿ“œ Tightened object parsing of non-string hash keys so that just "#x" is parsed as a hash pair and not "~#x".
    • ๐Ÿ‘ป Using echo to STDIN as an IO input works around the exception raised when asking the IO for it's position (IO.pos).
    • ๐Ÿ“œ Simple Callback Parser now uses the new stream parser for handling files and IO so that larger files are handled more efficiently and streams are read as data arrives instead of on close.
    • ๐Ÿ– Handles file FIFO pipes correctly now.
  • v2.9.8 Changes

    June 25, 2014
    • ๐Ÿš€ Changed escaping back to previous release and added a new escape mode.
    • ๐Ÿ“œ Strict mode and compat mode no longer parse Infinity or NaN as a valid number. Both are valid in object mode still.