All Versions
50
Latest Version
Avg Release Cycle
22 days
Latest Release
569 days ago
Changelog History
Page 4
Changelog History
Page 4
-
v1.9.1 Changes
March 21, 2021๐ Fixed
- ๐ oj.Unmarshal now supports the optional alt.Recomposer as documented.
- Recomposer handles time.Time recomposing like any other struct.
- Write writes time.Time to conform to other struct encoding.
-
v1.9.0 Changes
March 13, 2021โ Added
- The Recomposer is now more flexibly in regard to input types. It now allows json.Unmarshal() targets as well as the type create key approach.
- โ Added flag to alt.Options to determine whether embedded anonymous types whould be output as nested elements or flattened.
- โ Added oj.Unmarshal and sen.Unmarshal.
-
v1.8.0 Changes
March 05, 2021โ Added
- โ Added alignment option for pretty printing.
- โ Added alt.Diff() and alt.Compare().
- โ Added color option for encoded time.
- โ Add alt.Converter along with some built in converter for time and mongodb export maps.
-
v1.7.1 Changes
February 25, 2021โ Added
- โ Added HTMLUnsafe option to oj JSON writing to not encode &, <, and > to provide consistency
- โ Added HTMLSafe option to sen options to encode &, <, and > to provide consistency ### ๐ Fixed
- ๐ Fixed panic for
{"""":0}
. Now an error is returned.
-
v1.7.0 Changes
February 21, 2021โ Added
- โ Added support for a configuration file.
- โ Added ability to set colors when using the -c and -b option.
- โ Added ability to set HTML colors when using the -html option.
-
v1.6.0 Changes
February 19, 2021โ Added
- โ Added assembly plan package and cmd/oj option that allows assembling a new JSON from parsed data.
- โ Added sen.Parse() and sen.ParseReader() that use a new sen.DefaultParser
- โ Added the pretty package for prettier JSON layout.
- โ Added HTMLOptions for generating HTML color styled text.
-
v1.5.0 Changes
February 09, 2021๐ Fixed
- ๐ Fixed reflection bug that occurred when a struct did not have the requested field. ### โ Added
- โ Added tab option for indentation. ### ๐ Changed
- Write operations now use panic and recovery internally for more robust error handling and for a very slight performance improvement.
-
v1.4.1 Changes
February 02, 2021๐ Fixed
- ๐ The SEN parser and writer did not allow
\n
or\t
in strings. It now does as would be expected from a friendly format.
- ๐ The SEN parser and writer did not allow
-
v1.4.0 Changes
January 03, 2020๐ Fixed
- JSONPath Slice end is now exclusive as called for in the Goessner description and the consensus.
- ๐ Nested array parsing bug fixed.
-
v1.3.0 Changes
October 28, 2020โ Added
- oj.Marshal added. The function fails if an un-encodeable value is encountered.
- ๐ UseTags option added for write and decompose Options.