All Versions
50
Latest Version
Avg Release Cycle
22 days
Latest Release
569 days ago

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.
  • 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.