Csvutil Versions Save

csvutil provides fast and idiomatic mapping between CSV and Go (golang) values.

v1.10.0

3 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/jszwec/csvutil/compare/v1.9.0...v1.10.0

v1.9.0

5 months ago

Highlights

  • Added AlignRecord flag to Decoder

v1.8.0

1 year ago

Highlights

  • 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

v1.4.0

3 years ago

Highlights

  • Added Encoder.Register method
  • Added Decoder.Register method
  • Value receiver Unmarshalers/TextUnmarshalers are now properly called if they are under interface value
  • Pointer receiver Marshalers/TextMarshalers are now properly called if they are under interface value

v1.3.0

4 years ago

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