cassava-conduit 0.5.1 → 0.6.0
raw patch · 3 files changed
+6/−2 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- CHANGELOG.md +4/−0
- cassava-conduit.cabal +1/−1
- src/Data/Csv/Conduit.hs +1/−1
CHANGELOG.md view
@@ -1,3 +1,7 @@+# 0.6.x++- `streamParser` and functions using it would swallow certain runaway errors. This is fixed.+ # 0.5.x ## 0.4.0.2 -> 0.5.0
cassava-conduit.cabal view
@@ -1,5 +1,5 @@ name: cassava-conduit-version: 0.5.1+version: 0.6.0 license: BSD3 license-file: etc/LICENCE.md author: Dom De Re
src/Data/Csv/Conduit.hs view
@@ -121,7 +121,7 @@ mapM_ (yield . first (CsvStreamRecordParseError . T.pack)) rs -- wait for more.. more <- await- maybe (return ()) (streamParser f . p) more+ streamParser f . p $ fromMaybe BS.empty more streamParser _ (Done rs) = {-# SCC streamParser_Done_p #-} mapM_ (yield . first (CsvStreamRecordParseError . T.pack)) rs terminatingStreamHeaderParser