Monix: Version 2.0.4 Released for Bug Fixing

This release is binary compatible with 2.0.x, being a bug fix release for Issue #244: AsyncScheduler.scheduleAtFixedRate and scheduleWithFixedDelay on the JVM have incorrect behavior.

In order to upgrade, just increment the version number in build.sbt:

libraryDependencies += "io.monix" %% "monix" % "2.0.4"
Read more →

Monix: Version 2.0.3 Released for Bug Fixing

This release is binary compatible with 2.0.x, being a bug fix release release for Issue #230: Deadlocks when blocking threads due to LocalBatchingExecutor (affects Task usage).

Read more →

Monix: Version 2.0.2 Released for Bug Fixing

This release is binary compatible with 2.0.x, being a bug fix release release:

  • Bug #224: IllegalStateException logged in parallel consumer, when streaming gets canceled due to a subscriber triggering an error

This bug if basically harmless, it’s only effect being to log unnecessary IllegalStateExceptions by means of Scheduler.reportError.

Enjoy!

Read more →

Monix: Version 2.0.1 Released for Maintenance

This release is binary compatible with 2.0.0, being just a maintenance release that upgrades Cats to version 0.7.2, Scalaz to 7.2.6 and Scala to 2.12.0-RC1.

The upgrade isn’t necessary, unless you’re using monix-cats and are affected by Cats #1346.

Read more →

Monix: Version 2.0.0 Final Release

Monix is a library for composing asynchronous, event-based programs. Work on version 2.0 started since December last year, after version 1.0 was released.

Today marks the release of the 2.0.0 version. Here’s what happened since 1.0:

  1. the project went through a rename (from Monifu to Monix)
  2. the underlying protocol of Observable has been reviewed and changed quite significantly, making observable streams cancelable
  3. many of the Observable operators where refactored and improved
  4. the project was split into multiple sub-projects, such that users can pick and choose what they need
  5. the Task and Coeval types were introduced
  6. the project’s code coverage has been raised over 83%
  7. the project is in Typelevel’s Incubator, which for you it means that it plays nice with the other Typelevel projects
  8. it now integrates with Typelevel Cats and with Scalaz, which are THE standard libraries for doing functional programming and yes, Task, Coeval and Observable are provably Monads :-)
  9. we initiated a documentation website at Monix.io, with an initial batch of useful articles, though there’s still a lot of ground left to cover for observables

Today Monix 2.0.0 is being released for Scala 2.10.6, 2.11.8 and 2.12.0-M5, Scala.js 0.6.11, Cats 0.7.0 and Scalaz 7.2.5.

You can hit the documentation, or experiment in ScalaFiddle and see Monix in your browser, or take a look at monix-sample, a client/server communication sample with both sides handled by Monix (see it running).

Read more →