FS2 v2.4.0 Release Notes
Release Date: 2020-06-08 // almost 4 years ago-
π This is the eighth release of the 2 series, featuring support for Cats 2 and Cats Effect 2.
π This release is source and binary compatible with prior 2.x releases. Note there was a breaking source change in 2.2.0 & 2.2.1 -- the
compile.to[X]
method was removed in favor ofcompile.to(X)
.π This release is built for Scala 2.12 and 2.13 and Scala.js 1.0.0 and 0.6.32.
π This release includes a couple fixes for memory leaks and hence, upgrading is highly encouraged.
Since 2.3.0, the following notable changes have occurred:
π Features:
- β Added
collectWhile
toStream
(#1870) - Adjusted thread names of
tcp.SocketGroup
(#1862) - β Added
zipWithIndex
toChunk
(#1859) - β Added
parZip
toStream
(#1858) - β Added
chunkAll
toStream
(#1855) - β Added ability to construct a
Stream
from anF[_]: Foldable
or anIterable
(#1830) - π Improved
compression.gunzip
to output chunks eagerly (#1843) - β¨ Enhanced
compression
to allow configuration of deflate flush mode (#1842)
π Bugs:
- π Fixed a memory leak in
Stream.retry
and in general, with pulls that do not consume all elements from the source (#1885) - π Fixed a memory leak in
SignallingRef
(which impacts combinators likeparJoin
) (#1889) - π Fixed a deadlock / stall in
TLSEngine
(#1877 #1873) - π Fixed a bug in
base64Decode
where final non-padding byte could be lost (#1852 #1853) - π Fixed a soundness bug that allowed a pure pull to be used on effectful streams (#1838 #1839)
π For a full list of changes in 2.4.0, see: https://github.com/functional-streams-for-scala/fs2/pulls?q=is%3Apr+milestone%3A2.4.0+is%3Aclosed
git shortlog -sn --no-merges "v2.3.0".."v2.4.0" 25 Michael Pilquist 20 Scala Steward 11 Fabio Labella 8 Greg Atkinson 4 Nick Hallstrom 4 Damien O'Reilly 2 Jakub KozΕowski 2 Paulius Imbrasas 1 Zelenya 1 d.semenov 1 geoffjohn11 1 mhughe008 1 Alex Zolotko 1 sanjiv sahayam 1 Arturas Slajus 1 FrΓ©dΓ©ric Cabestre 1 Gabriel Volpe 1 Janek Bogucki 1 Jon Alberdi 1 Jostein Gogstad 1 Zach McCoy
- β Added