Implement the new way of registering custom types using generics greatly improving performance and type safety (credit goes to encoding/json proposal https://github.com/golang/go/issues/5901 for API design)
Deprecate Encoder.Register in favor of Encoder.WithMarshalers
Deprecate Decoder.Register in favor of Decoder.WithUnmarshalers
Go1.18 is now the minimum supported version
v1.7.1
1 year ago
Highlights
Fix prefix order with inline tag (#54)
v1.7.0
1 year ago
Highlights
Export DecodeError that adds more context to the error message
v1.6.0
2 years ago
Highlights
Add more context info when error happens during Unmarshal
Add SetHeader to Encoder for header overrides
Add NormalizeHeader to Decoder for normalizing header/column names
Minimal Go version is now Go1.8
v1.5.1
2 years ago
Highlights
Adjust tests to pass on Go1.17+
v1.5.0
3 years ago
Highlights
Add Decoder option DisallowMissingColumns
Add MissingColumnsError type
MarshalerError now implements Unwrap method for errors package