Releases: typelevel/fs2
v3.1.1
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:
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
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 ofchunks
(#2506)
Improvements:
- Improve performance from
Stream.fromQueueUnterminated
andStream.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
v3.0.6
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:
- Add
Pull.sleep
(#2456)
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
v3.0.5
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:
- Simplified implementation of
zipWithAll
(#2452) - Add partial apply factory for SignallingRef (#2406)
- Internal interpreter simplifications (#2445 #2433 #2416 #2430 #2417)
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
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
Supports Cats Effect 3 and built for Scala 2.12, 2.13, and 3 final.
Fixes:
- Fixed memory leak in
Channel
which also impactedmerge
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
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
inChunk
(#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 JDKPiped{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