from_lists
and consequentlyfrom_dicts
now append a line ending to the end of the produced string. This is a patch release because the RFC states line endings after the final row are optional, but most people will want them.
- Improved performance of
to_lists
,to_dicts
,from_lists
andfrom_lists
. - Parsing now doesn't trim the csv fields, conforming to RFC4180.
- The
to_lists
andto_dicts
functions now return a structured error instead of aString
.
- Patch to remove some unused imports.
- Patch to fix bug with handling closing quotes before a newline.
- Patch to consider all headers in from_dicts.
- Now there are four public functions,
to_lists
,to_dicts
,from_lists
andfrom_dicts
.
- Fix bug where trailing comma was causing error
- Update to gleam_stdlib = "~> 0.34 or ~> 1.0" in preparation for 1.0
- Fix bug with double commas producing error, now produce empty string
- Add
to_lists_or_error
function
- Add a function which panics with an appropriate error message on failure to parse csv. This includes the token location.
- Init changelog w/v1 so people's stuff doesn't break.