All Versions
12
Latest Version
Avg Release Cycle
99 days
Latest Release
-

Changelog History
Page 1

  • v1.3.0 Changes

    ✨ Enhancements

    • βž• Add the Jason.OrderedObject struct
    • πŸ‘Œ Support decoding objects preserving all the keys with objects: :ordered_objects option
    • πŸ‘Œ Support decoding floats to Decimal with floats: :decimals option
    • βž• Add ~j and ~J sigils in module Jason.Sigil to support writing JSON literals in code

    πŸ›  Fixes

    • πŸ›  Fix error reporting when decoding strings (it was possible to mis-attribute the offending byte)
    • πŸ‘Œ Verify fields given to @derive
  • v1.2.2 Changes

    September 08, 2020

    1.2.2 (08.09.2020)

    ✨ Enhancements

    • πŸ‘Œ Support Decimal 2.
  • v1.2.1 Changes

    May 04, 2020

    πŸ”’ Security

    • πŸ›  Fix html_safe escaping in Jason.encode

    The <!-- sequence of characters would not be escaped in Jason.encode withhtml_escapeΒ mode, which could lead to DoS attacks when used for embedding ofΒ arbitrary, user controlled strings into HTML through JSON (e.g. inside of <script> tags).

    If you were not using the html_safe option, you are not affected.

    Affected versions: < 1.2.1 Patched versions: >= 1.2.1

  • v1.2.0 Changes

    March 17, 2020

    ✨ Enhancements

    • βž• Add Jason.Encode.keyword/2 (cb1f26a).

    πŸ› Bug fixes

    • πŸ›  Fix Jason.Helpers.json_map/1 value expansion (70b046a).
  • v1.1.2 Changes

    October 19, 2018

    πŸ› Bug fixes

    • correctly handle the pretty: false option (ba318c8).
  • v1.1.1 Changes

    July 10, 2018

    πŸ› Bug fixes

    • πŸ–¨ correctly handle escape sequences in strings when pretty printing (794bbe4).
  • v1.1.0 Changes

    July 02, 2018

    ✨ Enhancements

    • πŸ–¨ pretty-printing support through Jason.Formatter and pretty: true option in Jason.encode/2 (d758e36).

    πŸ› Bug fixes

    • ⚠ silence variable warnings for fields with underscores used during deriving (88dd85c).
    • potential incompatibility don't raise Protocol.UndefinedError in non-bang functions (ad0f57b).
  • v1.0.1 Changes

    July 02, 2018

    πŸ› Bug fixes

    • πŸ›  fix Jason.Encode.escape type (a57b430)
    • πŸ“š multiple documentation improvements
  • v1.0.0 Changes

    January 26, 2018

    2018-01-26

  • v1.0.0-rc.3 Changes

    January 26, 2018

    πŸ”„ Changes

    • ⚑️ update escape option of Jason.encode/2 to take values: :json | :unicode_safe | :html_safe | :javascript_safe for consistency. Old values of :unicode and :javascript are still supported for compatibility with Poison. (f42dcbd)