Skip to content

Releases: typelevel/fs2

v0.10.0-M8

v0.10.0-M8 Pre-release
Pre-release

Choose a tag to compare

@mpilquist mpilquist released this 01 Nov 15:23

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#flatMap reported by @grindvoll (#958)
  • Renamed >> to *> in order to be consistent with cats
  • Fixed a bug where runSync was accidentally requiring an Effect instance instead of a Sync instance
  • Added Segment.unfoldChunk
  • Changed Segment#run so that it requires the output type to be Nothing instead of Unit. Use drain to drop the output values
  • fs2.async.Ref constructor is now private -- use fs2.async.ref or fs2.async.refOf methods to allocate a ref
  • Added scope method to Stream for manually inserting scope boundary
  • Added streamNoScope method to Pull for converting a Pull to a Stream without inserting a scope boundary
  • Miscellaneous internal cleanup

v0.10.0-M7

v0.10.0-M7 Pre-release
Pre-release

Choose a tag to compare

@mpilquist mpilquist released this 13 Oct 21:26
  • Changed translate so that it no longer requires an implicit Effect[F] instance and removed translateSync. Modified run methods on Stream so that they require an Effect[F] and introduced weaker variants (runSync, runFoldSync, runLogSync, etc) that only require a Sync[F] and fail if they encounter an UnconsAsync step.
  • Fixed bug in dropThrough where an extra element was dropped if the last element of a segment failed the predicate (#946)
  • Fixed bug where zip and other stream interleaving combinators could result in errors indicating scope is already closed (#945)
  • Fixed bug in hash where 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 NullPointerException in Segment#flatMap - from @tscholak (#937)
  • Added Stream#observe1 as an alias for evalMap(o => f(o).as(o))
  • Changed behavior of scan so that it eagerly emits values and matches rx specification - from @avakhrenev (#931)
  • Replaced internal primitive uses of Array.ofDim with new Array[..] to avoid class manifest locking
  • Performance improvements in fs2.udp - from @sbuzzard (#927)

v0.10.0-M6

v0.10.0-M6 Pre-release
Pre-release

Choose a tag to compare

@mpilquist mpilquist released this 23 Aug 17:24
  • Added timeout support to many async data structures (Ref#timedGet, Queue#{timedEnqueue1,timedDequeue1,timedDequeueBatch}, Semaphore#{timedDecrement,timedDecrementBy})
  • Added various methods to Scheduler including fixedRate and fixedDelay
  • Added Scheduler#effect API for working with time delayed effects
  • Added fs2.io.file.watch API for watching files/directories for changes

v0.10.0-M5

v0.10.0-M5 Pre-release
Pre-release

Choose a tag to compare

@mpilquist mpilquist released this 04 Aug 14:55
  • Upgraded to cats-effect 0.4 and cats 1.0.0-MF
  • Added retry and attempts to Scheduler

v0.10.0-M4

v0.10.0-M4 Pre-release
Pre-release

Choose a tag to compare

@mpilquist mpilquist released this 18 Jul 13:57
  • Changed flatMap on Stream so that recursive flatmaps on singleton streams run in constant memory.
  • Restored Pipe.Stepper and Pipe2.Stepper (which no longer leak memory).
  • Ref#setSync now correctly sets the value before completing the returned task.
  • Fixed an intermittent bug with rare stream shapes where an IllegalArgumentException was thrown while running a stream with async uncons calls.
  • Removed the fs2.time object and moved its methods to Scheduler.
  • Added support for shutting down Schedulers on the JVM, where each scheduler is backed by a thread pool.

v0.10.0-M3

v0.10.0-M3 Pre-release
Pre-release

Choose a tag to compare

@mpilquist mpilquist released this 12 Jul 13:45
  • Fixed a memory leak in FreeC by removing ViewL caching
  • (Temporarily) removed Pipe.Stepper and Pipe2.Stepper due to an unsolved memory leak
  • Added various methods to Segment -- flatMap, flatten, mapConcat, flattenChunks

v0.10.0-M2

v0.10.0-M2 Pre-release
Pre-release

Choose a tag to compare

@mpilquist mpilquist released this 12 Jul 13:47
  • First milestone build using new API

v0.10.0-M1

v0.10.0-M1 Pre-release
Pre-release

Choose a tag to compare

@mpilquist mpilquist released this 12 Jul 13:47
  • Same design as 0.9 but with the fs2.util package replaced by a direct dependency on cats and cats-effect