Skip to content

Releases: typelevel/fs2

v3.1.1

25 Aug 01:37
Compare
Choose a tag to compare

Supports Cats Effect 3 and built for Scala 2.12, 2.13, and 3 final.

FS2 3.1.1 is a bug fix release which addresses a memory leak in map on certain types of streams.

Improvements:

  • Fixed memory leak in map (#2568 #2572)
  • Added special case optimization to parJoin (#2557)

Acknowledgments

➜  git shortlog -sn --no-merges "v3.1.0".."v3.1.1"
     6  Michael Pilquist
     3  Arman Bilge
     2  Diego E. Alonso Blas
     2  Scala Steward
     1  Ross A. Baker
     1  Vasil Vasilev
     1  Christopher Davenport
     1  Philipp Hoffmann
     1  Rehan Mahmood

v3.1.0

07 Aug 02:03
ad9cea3
Compare
Choose a tag to compare

Supports Cats Effect 3 and built for Scala 2.12, 2.13, and 3 final.

FS2 3.1.0 features new support for Node.js in the fs2-io module, including cross platform APIs for TCP, UDP, TLS, and file management. The fs2.io.file package has been substantially revamped, removing all dependencies on Java APIs, providing a much nicer experience (though binary compatibility with 3.0.x is provided). The biggest change is the introduction of fs2.io.file.Path as an alternative for java.nio.file.Path -- the former has an idiomatic Scala API and works on both the JVM and Node.js. See the Files section of the microsite for some examples.

Features:

  • Update fs2.io.net to build for Node.js and JVM (#2453)
  • Update fs2.io.file package to build for Node.js and JVM and remove dependencies on Java APIs (#2519)
  • Implement unchunks as the inverse of chunks (#2506)

Improvements:

  • Improve performance from Stream.fromQueueUnterminated and Stream.fromQueueNoneTerminated by @jordiolivares (#2521)
  • Miscellaneous simplifications & optimizations to main stream interpreter (#2480 #2493 #2501 #2507 #2508 #2524)
  • Add a Monoid[Chunk] instance (#2470)
  • Add text.hex.{encode, decode} (#2477)

Acknowledgments

Special thanks to @armanbilge who implemented all of the Node.js support in fs2-io as well as in a number of downstream libraries!

➜  git shortlog -sn --no-merges "v3.0.6".."v3.1.0"
   121  Arman Bilge
    89  Michael Pilquist
     9  Scala Steward
     6  Andrew Valencik
     6  Diego E. Alonso Blas
     3  Jordi Olivares Provencio
     2  Stanislav Kovalenko
     2  nikiforo
     1  Jordi Olivares
     1  Giovanni Ruggiero

v2.5.9

12 Jul 11:58
9970d71
Compare
Choose a tag to compare

Supports Cats Effect 2 and built for Scala 2.12, 2.13, and 3 final.

Fixes:

  • Backport: Fix TLS socket read stall immediately after handshake (#2469)

Acknowledgments

➜  git shortlog -sn --no-merges "v2.5.8".."v2.5.9"
     2  Vasil Vasilev
     1  Eric Meisel

v3.0.6

03 Jul 18:50
2b411c5
Compare
Choose a tag to compare

Supports Cats Effect 3 and built for Scala 2.12, 2.13, and 3 final.

Fixes:

  • Fixed regression in readOutputStream (#2459)
  • Fix TLS socket read stall immediately after handshake (#2461)
  • Avoid allocations in TLSEngine when logging is disabled (#2462)

Improvements:

Acknowledgments

➜  git shortlog -sn --no-merges "v3.0.5".."v3.0.6"
     3  Vasil Vasilev
     2  Michael Pilquist
     1  Diego E. Alonso Blas
     1  Scala Steward
     1  nikiforo

v2.5.8

03 Jul 19:54
2e3a96a
Compare
Choose a tag to compare

Supports Cats Effect 2 and built for Scala 2.12, 2.13, and 3 final.

Fixes:

  • Fixed regression in readOutputStream (#2458)

Acknowledgments

➜  git shortlog -sn --no-merges "v2.5.7".."v2.5.8"
     3  Vasil Vasilev

v3.0.5

01 Jul 13:38
10e4197
Compare
Choose a tag to compare

Supports Cats Effect 3 and built for Scala 2.12, 2.13, and 3 final.

Fixes:

  • Fixed thread handling gotcha when using readOutputStream (#2037 #2383)
  • Fixed bug in sliding that delayed output by a chunk (#2428)
  • Fixed a bug in TLSContext.insecure where TLS sessions would fail with NPE (#2431)
  • Fixed TCP socket options to server and client sockets get correct options (#2421)

Improvements:

Acknowledgments

➜  git shortlog -sn --no-merges "v3.0.4".."v3.0.5"
    24  Vasil Vasilev
    12  Scala Steward
     6  Diego E. Alonso Blas
     4  Erlend Hamnaberg
     1  Arman Bilge
     1  jilen
     1  Artem Nikiforov
     1  Ivan V. Smirnov
     1  Michael Pilquist

v2.5.7

01 Jul 13:12
f51e5bd
Compare
Choose a tag to compare

Supports Cats Effect 2 and built for Scala 2.12, 2.13, and 3 final.

Fixes:

  • Fixes thread handling gotcha when using readOutputStream (#2037 #2383 #2446) (fixed by @vasilmkd and back ported from 3.0 by @bpholt)
  • Various build cleanup and warning cleanup

Acknowledgments

➜  git shortlog -sn --no-merges "v2.5.6".."v2.5.7"
    10  Vasil Vasilev

v3.0.4

21 May 00:36
ac50b2f
Compare
Choose a tag to compare

Supports Cats Effect 3 and built for Scala 2.12, 2.13, and 3 final.

Fixes:

  • Fixed memory leak in Channel which also impacted merge and other concurrent combinators (#2408)

Acknowledgments

➜  git shortlog -sn --no-merges "v3.0.3".."v3.0.4"
     2  Scala Steward
     1  Diego E. Alonso Blas
     1  Jens Halm
     1  Juraj
     1  Michael Pilquist
     1  Rehan Mahmood
     1  nikiforo

v3.0.3

14 May 12:42
c54815f
Compare
Choose a tag to compare

Supports Cats Effect 3 and built for Scala 2.12, 2.13, and 3 final.

Fixes:

  • Fixed memory leak in Stream#map (#2394)
  • Fixed bug in file watching support when watching multiple files in same directory (#2375)
  • Fixed bug in fixedRate and derived operations where dampening was not working (#2386)
  • Fixed ClassCastException in Chunk (#2380)

New Features:

  • Added fs2.io.net.unixsocket package to fs2-io, providing support for working with unix domain sockets. Supports both JEP380 (if running on JDK16+) or JNR (if dependency is added to class path) (#2376)
  • Added Stream#meteredStartImmediately (#2369)
  • Added Pull.loopEither (#2368)

Performance

  • Reimplemented readOutputStream to avoid using JDK Piped{Input/Output}Stream (#2383)

Acknowledgments

➜  git shortlog -sn --no-merges "v3.0.2".."v3.0.3"
    36  Vasil Vasilev
    24  Michael Pilquist
     6  Christopher Davenport
     6  Scala Steward
     2  shogan
     2  Pau Alarcón
     2  nikiforo
     1  Hugo van Rijswijk
     1  Fabio Labella
     1  Diego E. Alonso Blas
     1  Rehan Mahmood

v2.5.6

14 May 12:28
Compare
Choose a tag to compare

FS2 2.5.x release built for Scala 2.12, 2.13, and 3.0 final.