Releases: jszwec/csvutil
Releases · jszwec/csvutil
Release v1.10.0
Release v1.9.0
Highlights
- Added AlignRecord flag to Decoder
Release v1.8.0
Highlights
- Implement the new way of registering custom types using generics greatly improving performance and type safety (credit goes to encoding/json proposal golang/go#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
Release v1.7.1
Highlights
- Fix prefix order with inline tag (#54)
Release v1.7.0
Highlights
- Export DecodeError that adds more context to the error message
Release v1.6.0
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
Release v1.5.1
Highlights
- Adjust tests to pass on Go1.17+
Release v1.5.0
Highlights
- Add Decoder option DisallowMissingColumns
- Add MissingColumnsError type
- MarshalerError now implements Unwrap method for errors package
Release v1.4.0
Release v1.3.0
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 initialized pointers with default values
- Fixed omitempty for initialized interface with default values
- Improved UnmarshalTypeError error message