All Versions
12
Latest Version
Avg Release Cycle
99 days
Latest Release
-
Changelog History
Page 1
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
withfloats: :decimals
option - β Add
~j
and~J
sigils in moduleJason.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
- β Add the
-
v1.2.2 Changes
September 08, 20201.2.2 (08.09.2020)
β¨ Enhancements
- π Support Decimal 2.
-
v1.2.1 Changes
May 04, 2020π Security
- π Fix
html_safe
escaping inJason.encode
The
<!--
sequence of characters would not be escaped inJason.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
- π Fix
-
v1.2.0 Changes
March 17, 2020 -
v1.1.2 Changes
October 19, 2018π Bug fixes
- correctly handle the
pretty: false
option (ba318c8).
- correctly handle the
-
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
andpretty: true
option inJason.encode/2
(d758e36).
π Bug fixes
- π¨ pretty-printing support through
-
v1.0.1 Changes
July 02, 2018π Bug fixes
- π fix
Jason.Encode.escape
type (a57b430) - π multiple documentation improvements
- π fix
-
v1.0.0 Changes
January 26, 20182018-01-26
-
v1.0.0-rc.3 Changes
January 26, 2018π Changes
- β‘οΈ update
escape
option ofJason.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)
- β‘οΈ update