Skip to content

Releases: ReactiveX/RxJava

2.2.12

25 Aug 18:31
13772a1
Compare
Choose a tag to compare

Maven

Bugfixes

  • Pull 6618: Fix switchMap incorrect sync-fusion & error management.
  • Pull 6627: Fix blockingIterable hang when force-disposed.
  • Pull 6629: Fix refCount not resetting when cross-canceled.

3.0.0-RC2

20 Aug 07:39
a1693ec
Compare
Choose a tag to compare
3.0.0-RC2 Pre-release
Pre-release

Version 3.0.0-RC2 - August 20, 2019 (Maven)

Javadocs

This is an early release for 3.0.0 to allow preparations for the breaking API changes and cleanups.

Please check out the wiki page What's different in 3.0 from time to time for the details and migration guide.

Major change

After considering several factors, the components of RxJava 3 have been moved to a new base package to avoid class file conflicts due to having v2 and v3 in the same project. The new base package is io.reactivex.rxjava3 and the base types will live in io.reactivex.rxjava3.core:

Name v2 v3
Base package io.reactivex io.reactivex.rxjava3
Flowable io.reactivex.Flowable io.reactivex.rxjava3.core.Flowable
PublishSubject io.reactivex.subjects.PublishSubject io.reactivex.rxjava3.subjects.PublishSubject
ConnectableObservable io.reactivex.observables.ConnectableObservable io.reactivex.rxjava3.observables.ConnectableObservable
Function io.reactivex.functions.Function io.reactivex.rxjava3.functions.Function
etc.

Flowables of the two versions can talk to each other without bridges because both implement the Reactive Streams' interfaces such as Publisher:

io.reactivex.Flowable.range(1, 10)
    .flatMap(v -> io.reactivex.rxjava3.core.Flowable.just(v * 10))
    .subscribeWith(new io.reactivex.rxjava3.subscribers.TestSubscriber<>())
    .assertResult(10, 20, 30, 40, 50, 60, 70, 80, 90, 100);

The other reactive types do not share such base interfaces (they have their own respective copies) and will require bridges, likely provided via 3rd party libraries as with v1->v2 or v1->v3 bridges.

Dependency changes

  • Upgrade to Reactive Streams 1.0.3-RC1 (#6621)

API changes

  • Widen throws on the XOnSubscribe interfaces (#6579)

Behavior changes

  • Constrain upstream requests of elementAt and first operators (#6620)

Bugfixes

  • Fix switchMaps inconsistency swallowing errors when cancelled (#6572)
  • Fix ObservableBlockingSubscribe compares TERMINATED with wrong object (#6577)
  • Fix truncation bugs in replay() and ReplaySubject/Processor (#6582)
  • Fix mergeWith not cancelling the other source if the main errors (#6598)
  • Fix refCount not resetting when termination triggers cross-cancel (#6609)
  • Fix many operators swallowing undeliverable exceptions (#6612)
  • Fix switchMap incorrect sync-fusion & error management (#6616)

Documentation enhancements

No changes in this release.

Other

2.2.11

02 Aug 06:25
17a8eef
Compare
Choose a tag to compare

Maven

Bugfixes

  • Pull 6560: Fix NPE when debouncing an empty source.
  • Pull 6599: Fix mergeWith not canceling other when the main fails.
  • Pull 6601: ObservableBlockingSubscribe compares with wrong object.
  • Pull 6602: Fix truncation bugs in replay() and ReplaySubject/Processor.

Documentation changes

  • Pull 6565: Fix JavaDocs of Single.doOnTerminate refer to onComplete notification.

3.0.0-RC1

12 Jul 06:30
58b0014
Compare
Choose a tag to compare
3.0.0-RC1 Pre-release
Pre-release

Maven

This is an early release for 3.0.0 to allow preparations for the breaking API changes and cleanups.

Please check out the wiki page What's different in 3.0 from time to time for the details and migration guide.

API changes

  • Rename onErrorResumeNext(<source>) to onErrorResumeWith(<source>) to avoid lambda ambiguity with onErrorResumeNext(Function). (#6550)
  • Remove buffer(Supplier) variants (#6564)
  • Remove window(Supplier) variants (#6564)
  • Remove onExceptionResumeNext (#6564)

Behavior changes

No behavior changes in this release.

Bugfixes

  • Fix NPE when debouncing empty source (#6559)

Documentation enhancements

  • Fix wording in Single javadocs (#6566)

Other

  • Fixing version tag since Schedulers.from(Executor, boolean) has been promoted. (#6544)
  • Simplify JUnit tests with more appropriate assert methods (#6549)
  • Remove unnecessary static imports from unit tests (#6550)

3.0.0-RC0

25 Jun 07:37
fb37226
Compare
Choose a tag to compare
3.0.0-RC0 Pre-release
Pre-release

Maven

This is an early release for 3.0.0 to verify the release process still works for the new artifact location.

This release note does not detail the changes since 2.2.x. Please check out the wiki page What's different in 3.0 from time to time for the details and migration guide.

API changes

  • Add eager truncation to bounded replay() to avoid item retention (#6532)
  • Add X.fromSupplier() (#6529)
  • Add concatMap with Scheduler guaranteeing where the mapper function runs (#6538)
  • Add startWithItem & startWithIterable (#6530)
  • ConnectableFlowable/ConnetableFlowable redesign (#6519)
  • Merge as() into to() (#6514)
  • Change Maybe.defaultIfEmpty() to return Single (#6517)
  • Widen functional interface throws, replace Callable with Supplier in operator signatures (#6511)
  • Promote Beta/Experimental operators to Standard (#6537)
  • Remove getValues() from some subjects/processors (#6516)
  • Remove methods from test consumers, make internal versions (#6526)
  • Remove replay(Scheduler) and its overloads (#6539)
  • Remove dematerialize() (#6539)
  • Remove startWith(T|Iterable) (#6530)
  • Remove as() (#6514)
  • Remove Maybe.toSingle(T) (#6517)
  • Remove Flowable.subscribe(4 args) (#6517)
  • Remove Observable.subscribe(4 args) (#6517)
  • Remove Single.toCompletable() (#6517)
  • Remove Completable.blockingGet() (#6517)

Behavior changes

  • Make using() resource disposal order consistent with eager-mode (#6534)
  • ConnectableFlowable/ConnetableFlowable redesign (#6519)
  • Add eager truncation to bounded replay() to avoid item retention (#6532)

Bugfixes

  • Fix concatMapDelayError not continuing on fused inner source crash (#6523)
  • Sync up with 2.2.10 snapshot (#6507)
  • Merge in changes from 2.x since the initial branching (#6498)

Documentation enhancements

  • Clarify create emitters are per consumer (#6535)
  • Add marbles to X.fromSupplier (#6531)
  • Sync up with 2.2.10 snapshot (#6507)
  • Merge in changes from 2.x since the initial branching (#6498)

Other

  • Remove Changes.md (#6533)
  • Remove test from testXXX method names, create a validator (#6525)
  • Sync up with 2.2.10 snapshot (#6507)
  • Merge in changes from 2.x since the initial branching (#6498)

2.2.10

21 Jun 05:34
0df3285
Compare
Choose a tag to compare

Maven

Bugfixes

  • Pull 6499: Add missing null check to BufferExactBoundedObserver.
  • Pull 6505: Fix publish().refCount() hang due to race.
  • Pull 6522: Fix concatMapDelayError not continuing on fused inner source crash.

Documentation changes

  • Pull 6496: Fix outdated links in Additional-Reading.md.
  • Pull 6497: Fix links in Alphabetical-List-of-Observable-Operators.md.
  • Pull 6504: Fix various Javadocs & imports.
  • Pull 6506: Expand the Javadoc of Flowable.
  • Pull 6510: Correct "Reactive-Streams" to "Reactive Streams" in documentation.

2.2.9

30 May 07:09
86048e1
Compare
Choose a tag to compare

Maven

Bugfixes

  • Pull 6488: Fix zip not stopping the subscription upon eager error.

Documentation changes

  • Pull 6453: Fixed wrong type referenced in Maybe and Single JavaDocs.
  • Pull 6458: Update the Javadoc of the retry operator.

Other

  • Pull 6452: Remove dependency of Schedulers from ObservableRefCount.
  • Pull 6461: Change error message in ObservableFromArray.
  • Pull 6469: Remove redundant methods from sample(Observable).
  • Pull 6470: Remove unused import from Flowable.java.
  • Pull 6485: Remove unused else from the Observable.

2.2.8

26 Mar 15:12
4a78cfc
Compare
Choose a tag to compare

Maven

Bugfixes

  • Pull 6442: Add missing undeliverable error handling logic for Completable.fromRunnable & fromAction operators.

Documentation changes

  • Pull 6432: Improve the docs of CompositeDisposable.
  • Pull 6434: Improve subjects and processors package doc.
  • Pull 6436: Improve Creating-Observables wiki doc.

Other

  • Pull 6433: Make error messages of parameter checks consistent.

2.2.7

23 Feb 08:38
9a74adf
Compare
Choose a tag to compare

Maven

API enhancements

  • Pull 6386: Add doOnTerminate to Single/Maybe for consistency.

Bugfixes

  • Pull 6405: Fix concatEager to dispose sources & clean up properly.
  • Pull 6398: Fix window() with start/end selector not disposing/cancelling properly.

Documentation changes

  • Pull 6377: Expand Observable#debounce and Flowable#debounce javadoc.
  • Pull 6408: Improving Javadoc of flattenAsFlowable and flattenAsObservable methods.

2.2.6

23 Jan 09:54
1484106
Compare
Choose a tag to compare

Maven

API enhancements

  • Pull 6370: Add interruptible mode via the new Schedulers.from(Executor, boolean) overload.

Bugfixes

  • Pull 6359: Fix the error/race in Observable.repeatWhen due to flooding repeat signal.
  • Pull 6362 : Fix Completable.andThen(Completable) not running on observeOn's Scheduler.
  • Pull 6364: Fix Flowable.publish not requesting upon client change.
  • Pull 6371: Fix bounded replay() memory leak due to bad node retention.
  • Pull 6375: Don't dispose the winner of {Single|Maybe|Completable}.amb().
  • Pull 6380: Fix CompositeException.getRootCause() detecting loops in the cause graph.

Documentation changes

  • Pull 6365: Indicate source disposal in timeout(fallback).

Other changes

  • Pull 6353: Use ignoreElement to convert Single to Completable in the README.md.