All Versions
7
Latest Version
Avg Release Cycle
136 days
Latest Release
34 days ago

Changelog History

  • 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