1.1.0 release
This release contains some backwards incompatible changes.
This is also the first release with a third-party contribution. Thanks, @Sinicyn!
Changes in this release:
- Streams returned from
reduceSuccessions
andawait
now indicate whether there is a pending event. This change is source compatible, but not binary compatible with the previous release, because the return of those methods has changed. - Added cast(Class<U>) combinator to conveniently downcast the events emitted by the stream.
- Added emitOnEach(impulse) and repeatOn(impulse) combinators.
- Added EventStreams.nonNullValuesOf(ObservableValue<T>) factory method.
Sink
was renamed to EventSink.- Bi- and tri-valued EventStreams, EventSinks and EventSources are provided for convenience: BiEventStream, BiEventSink, BiEventSource, TriEventStream, TriEventSink, TriEventSource.
- zip and combine now return multi-valued streams directly. This is a backwards-incompatible change.
- Added a convenience flatMapOpt combinator.
- Added Either<A, B> type and or combinator.
- Added methods to connect an EventSink to an EventStream: EventStream.feedTo(EventSink) and EventSink.feedFrom(EventStream).
- Exposed internally used FxTimer as public API.
- Added EventStreams.ticks(interval) factory method to create a stream of periodic ticks.
- A number of deprecated APIs were removed.