FS2 v0.9.5 Release Notes
-
- Fixed memory leak in
concurrent.join
where up tomaxOpen
streams that had finished executing were kept in memory until the end of the outer stream was reached. #834 - Fixed a bug in
fs2.io.JavaInputOutputStream
, ensuring bytes are converted to 0-255 before being returned. - Added
pipe2.pause
andStream#pause
combinators -- similar tointerrupt
but allows the stream to be resumed. - Added
Stream#evalScan
- a variant ofscan
where the supplied function returns an effectful value. - Added
pipe.unNone
andStream#unNone
, which converts aStream[F, Option[A]]
to aStream[F, A]
, ignoring anyNone
values.
- Fixed memory leak in