Releases: typelevel/fs2
Releases · typelevel/fs2
Release list
v0.10.0-M8
For cats 1.0.0-RC1 and cats-effect 0.5.
- Fixed a memory leak reported by @epellizzer where scopes were not being properly garbage collected (#962)
- Fixed a performance issue in
Stream#flatMapreported by @grindvoll (#958) - Renamed
>>to*>in order to be consistent with cats - Fixed a bug where
runSyncwas accidentally requiring anEffectinstance instead of aSyncinstance - Added
Segment.unfoldChunk - Changed
Segment#runso that it requires the output type to beNothinginstead ofUnit. Usedrainto drop the output values fs2.async.Refconstructor is now private -- usefs2.async.reforfs2.async.refOfmethods to allocate a ref- Added
scopemethod toStreamfor manually inserting scope boundary - Added
streamNoScopemethod toPullfor converting aPullto aStreamwithout inserting a scope boundary - Miscellaneous internal cleanup
v0.10.0-M7
- Changed
translateso that it no longer requires an implicitEffect[F]instance and removedtranslateSync. Modifiedrunmethods onStreamso that they require anEffect[F]and introduced weaker variants (runSync,runFoldSync,runLogSync, etc) that only require aSync[F]and fail if they encounter anUnconsAsyncstep. - Fixed bug in
dropThroughwhere an extra element was dropped if the last element of a segment failed the predicate (#946) - Fixed bug where
zipand other stream interleaving combinators could result in errors indicating scope is already closed (#945) - Fixed bug in
hashwhere chunk offsets were ignored - from @SystemFw (#944) - Added ScalaDoc regarding implicit cats instances for
Stream- from @jdnavarro (#942) - Added
Segment#flatMapResult- from @avakhrenev (#940) - Fixed typos in ScalaDoc - from @BenFradet (#938)
- Fixed
NullPointerExceptioninSegment#flatMap- from @tscholak (#937) - Added
Stream#observe1as an alias forevalMap(o => f(o).as(o)) - Changed behavior of
scanso that it eagerly emits values and matches rx specification - from @avakhrenev (#931) - Replaced internal primitive uses of
Array.ofDimwithnew Array[..]to avoid class manifest locking - Performance improvements in
fs2.udp- from @sbuzzard (#927)
v0.10.0-M6
- Added timeout support to many async data structures (
Ref#timedGet,Queue#{timedEnqueue1,timedDequeue1,timedDequeueBatch},Semaphore#{timedDecrement,timedDecrementBy}) - Added various methods to
SchedulerincludingfixedRateandfixedDelay - Added
Scheduler#effectAPI for working with time delayed effects - Added
fs2.io.file.watchAPI for watching files/directories for changes
v0.10.0-M5
- Upgraded to cats-effect 0.4 and cats 1.0.0-MF
- Added
retryandattemptstoScheduler
v0.10.0-M4
- Changed
flatMaponStreamso that recursive flatmaps on singleton streams run in constant memory. - Restored
Pipe.StepperandPipe2.Stepper(which no longer leak memory). Ref#setSyncnow correctly sets the value before completing the returned task.- Fixed an intermittent bug with rare stream shapes where an
IllegalArgumentExceptionwas thrown while running a stream with async uncons calls. - Removed the
fs2.timeobject and moved its methods toScheduler. - Added support for shutting down
Schedulers on the JVM, where each scheduler is backed by a thread pool.
v0.10.0-M3
- Fixed a memory leak in
FreeCby removingViewLcaching - (Temporarily) removed
Pipe.StepperandPipe2.Stepperdue to an unsolved memory leak - Added various methods to
Segment--flatMap,flatten,mapConcat,flattenChunks
v0.10.0-M2
- First milestone build using new API
v0.10.0-M1
- Same design as 0.9 but with the
fs2.utilpackage replaced by a direct dependency oncatsandcats-effect