All Versions
8
Latest Version
Avg Release Cycle
138 days
Latest Release
1705 days ago
Changelog History
Changelog History
-
v1.4.0 Changes
July 24, 2020 -
v1.3.0 Changes
February 26, 2020Highlights
- โ 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 Changes
January 20, 2020Highlights
- ๐ Fixed panic on encoding interface fields that contain nil pointer values
-
v1.2.1 Changes
September 09, 2018Highlights
- ๐ 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 Changes
July 31, 2018Highlights
- โ 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 Changes
May 28, 2018Decoder 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 Changes
April 01, 2018Highligths
- ๐ 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