Skip to content

Releases: ReactiveX/RxJava

0.12.0

06 Sep 02:56
Compare
Choose a tag to compare

This version adds to the static typing changes in 0.11 and adds covariant/contravariant typing via super/extends generics.

Additional cleanup was done, particularly related to BlockingObservable. Also the window operator was added.

The largest breaking change is that Observable.create now accepts an OnSubscribeFunc rather than a Func1.

This means that instead of this:

public static <T> Observable<T> create(Func1<? super Observer<? super T>, ? extends Subscription> func)

it is now:

public static <T> Observable<T> create(OnSubscribeFunc<T> func)

This was done to simplify the usage of Observable.create which was already verbose but made far worse by the ? super generics.

For example, instead of writing this:

Observable.create(new Func1<Observer<? super SomeType>, Subscription>() {
   /// body here
}

it is now written as:

Observable.create(new OnSubscribeFunc<SomeType>() {
   /// body here
}
  • Pull 343 Covariant Support with super/extends and OnSubscribeFunc as type for Observable.create
  • Pull 337 Operator: window
  • Pull 348 Rename switchDo to switchOnNext (deprecate switchDo for eventual deletion)
  • Pull 348 Delete switchDo instance method in preference for static
  • Pull 346 Remove duplicate static methods from BlockingObservable
  • Pull 346 BlockingObservable no longer extends from Observable
  • Pull 345 Remove unnecessary constructor from Observable

Artifacts: Maven Central

0.11.3

04 Sep 15:33
Compare
Choose a tag to compare

Re-release of 0.11.2 to fix the Maven Central ID that accidentally got camel-cased.

  • 05672ef Change RxJava to rxjava for Maven Central

This includes the previous version 0.11.2 change:

Artifacts: Maven Central

0.11.2

03 Sep 22:15
Compare
Choose a tag to compare

Artifacts: Maven Central