Skip to content

@jszwec jszwec released this Sep 9, 2018 · 10 commits to master since this release

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
Assets 2

@jszwec jszwec released this Jul 31, 2018 · 13 commits to master since this release

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
Assets 2

@jszwec jszwec released this 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.

Assets 2

@jszwec jszwec released this Apr 1, 2018 · 23 commits to master since this release

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
Assets 2

@jszwec jszwec released this Dec 3, 2017 · 36 commits to master since this release

Improve Decoder.Header documentation
Assets 2
You can’t perform that action at this time.