Changelog for streaming-bytestring-0.3.4
streaming-bytestring
0.3.4 (2025-02-11)
Changed
- Ensure support for GHC 9.12.
0.3.3 (2024-10-01)
Fixed
- A subtle bug involving conversion to lazy bytestrings.
0.3.2 (2023-11-17)
Changed
- Ensure support for GHC 9.8.
0.3.1 (2023-06-28)
Changed
- Ensure support for GHC 9.6.
0.3.0 (2023-04-24)
Changed
- Dropped support for GHC 7.
- Tightened PVP version bounds, for GHC 8.0 through to GHC 9.4.4.
0.2.4 (2022-08-26)
Changed
- Changed
for's callback to returnByteStream m x, to clarify that it is not used.
0.2.3 (2022-08-18)
Added
- Add
for :: Monad m => ByteStream m r -> (P.ByteString -> ByteStream m r) -> ByteStream m r
0.2.2 (2022-05-18)
Changed
- Dependency adjustments.
0.2.1 (2021-06-23)
Changed
- Performance improvement when using GHC 9.
0.2.0 (2020-10-26)
Note: The deprecations added in 0.1.7 have not been removed in this
version. Instead of 0.1.7, that release should have been 0.2 in the first
place.
Added
- Add missing exports of
zipWithStream,materialize, anddematerialize.
Changed
- Breaking: Switched names of
foldandfold_in the non-Char8modules. The correspondingChar8functions and the rest of the library uses_for the variant that forgets thervalue. - Breaking: Unified
nextByte/nextCharwithuncons. The oldunconsreturnedMaybeinstead of the more naturalEither r. - Breaking: Similarly,
unconsChunkandnextChunkhave been unified. nextByte,nextChar, andnextChunkhave been deprecated.- Relaxed signature of
toStrict_to allow anyr, not just(). - Permance improvements for
packCharsanddenull. - Various documentation improvements.
- Improved performance of
w8IsSpaceto more quickly filter out non-whitespace characters, and updatedwordsto use it instead of the internal functionisSpaceWord8from thebytestringpackage. See also bytestring#315.
Fixed
- An edge case involving overflow in
readInt. - A potential crash in
uncons. interspersenow ignores any initial empty chunks.intercalatenow does not insert anything between the final substream and the outer stream end.unlinesnow correctly handlesChunk "" (Empty r)andEmpty r.
0.1.7 (2020-10-14)
Thanks to Viktor Dukhovni and Colin Woodbury for their contributions to this release.
Added
- The
skipSomeWSfunction for efficiently skipping leading whitespace of both ASCII and non-ASCII.
Changed
- The
ByteStringtype has been renamed toByteStream. This fixes a well-reported confusion from users. An alias to the old name has been provided for back-compatibility, but is deprecated and be removed in the next major release. - Modules have been renamed to match the precedent set by the main
streaminglibrary. Aliases to the old names have been provided, but will be removed in the next major release.Data.ByteString.Streaming->Streaming.ByteStringData.ByteString.Streaming.Char8->Streaming.ByteString.Char8
- An order-of-magnitude performance improvement in line splitting. #18
- Performance and correctness improvements for the
readIntfunction. #31 - Documentation improved, and docstring coverage is now 100%. #27
Fixed
- An incorrect comment about
Handles being automatically closed upon EOF withhGetContentsandhGetContentsN. #9 - A crash in
groupandgroupBywhen reading too many bytes. #22 groupByincorrectly ordering its output elements. #4
0.1.6
Semigroupinstance forByteString m radded- New function
lineSplit
0.1.5
- Update for
streaming-0.2