All Versions
8
Latest Version
Avg Release Cycle
138 days
Latest Release
220 days ago

Changelog History

  • v1.4.0

    July 24, 2020

    Highlights

    • โž• Added Encoder.Register method
    • โž• Added Decoder.Register method
    • Value receiver Unmarshalers/TextUnmarshalers are now properly called if they are under interface value
    • Pointer receiver Marshalers/TextMarshalers are now properly called if they are under interface value
  • v1.3.0

    February 26, 2020

    Highlights

    • โž• Added inline tag
    • Decoder now sets pointer fields to nil on blank values
    • Encode and Decode now accept slices and arrays
    • Marshal and Unmarshal now accept arrays
    • ๐Ÿ›  Fixed omitempty for nil pointer values
    • ๐Ÿ›  Fixed omitempty for nil interface values
    • ๐Ÿ‘Œ Improved UnmarshalTypeError error message
  • v1.2.2

    January 20, 2020

    Highlights

    • ๐Ÿ›  Fixed panic on encoding interface fields that contain nil pointer values
  • v1.2.1

    September 09, 2018

    Highlights

    • ๐Ÿ›  Fixed panic on encoding interface fields that contain pointer values
    • โž• Added tests for potential data races on cached resources
    • โšก๏ธ Updated travis and appveyor to run with Go1.11
  • v1.2.0

    July 31, 2018

    Highlights

    • โž• Added support for older Go versions (minimum version is Go1.7)
    • Added Decoder.Map for data normalization (example)
    • Decoder can now properly handle interface values that are initialized pointers - it decodes data into these values instead of creating a string (example)
    • โž• Added go.mod file
    • ๐Ÿ›  Fixed the issue where Header and EncoderHeader were not recognizing the type properly if the value was wrapped in additional interfaces
    • ๐Ÿ‘Œ Improved internal code
    • ๐Ÿ‘Œ Improved documentation
  • v1.1.1

    May 28, 2018

    Decoder now stores its own copy of the header.

    Decoder.Header would return unexpected data if the caller was using a csv.Reader with ReuseRecord flag set to true.

  • v1.1.0

    April 01, 2018

    Highligths

    • ๐Ÿ‘Œ Improved performance
    • ๐Ÿ›  Fixed Marshal and Encode panic on nil values
    • ๐Ÿ›  Fixed panic in Go1.10 while decoding to nil pointer to unexported embedded type
    • โž• Added Header function
    • โž• Added Encoder.EncodeHeader method
    • โž• Added Encoder.AutoHeader field
  • v1.0.0

    December 03, 2017