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 of compile.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 to Stream (#1870)
    • Adjusted thread names of tcp.SocketGroup (#1862)
    • βž• Added zipWithIndex to Chunk (#1859)
    • βž• Added parZip to Stream (#1858)
    • βž• Added chunkAll to Stream (#1855)
    • βž• Added ability to construct a Stream from an F[_]: Foldable or an Iterable (#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 like parJoin) (#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