Monix: Version 2.0-RC5 Released
The fifth release candidate, re-introduces the
Cats integration, introduces new Task
operators doOnFinish, gather and gatherUnordered and changes
the behavior of Task.sequence. Also contains a critical bug fix.
See the published API Documentation.
Changes:
- Issue #89 - reintroducing a minimal
Cats integration, along with tests based on
cats-laws. We are splittingmonix.typeinto its own sub-project andmonix-catsdepends on it. This ensures that the pick what you use approach also works withmonix-cats, as people wanting justTaskshould not getObservable, yetObservableneeds integration as well. - Issue #149 - documentation related fixes
- Improved the description of
Task Task.unitis now a final valTask.nevernow shares the reference instead of building a new instance every time- Exposing
Task.unsafeStartNowandTask.unsafeStartAsync, as otherwiseTask.unsafeCreateis useless. So we should expose all of them, or none at all. FutureUtils.Extensions.dematerializewas named “materialize” (WTF!) and is renamed- Task should inherit just from
Serializableand not fromProduct
- Improved the description of
- Issue #150 - add a new
Task.doOnFinishoperator that executes once a task is finished. - Issue #151 - changing
Future.sequenceto be ordered in both execution and effects - Issue #152 - introduce
Task.gatherwhich behaves like the previoussequenceandTask.gatherUnorderedwhich doesn’t do ordering for results either. - Bug 153 - Task.sequence and Task.gather return a shared mutable.ListBuffer
Enjoy!