Skip to content

Releases: ReactiveX/RxScala

0.27.0 (EOL)

29 Dec 15:41
Compare
Choose a tag to compare

End-of-Life (EOL) version

Adds Scala 2.13 support.

Note on compatibility:

  • Binary compatibility with 0.26.5 for Scala 2.10 - 2.12
  • The Scala major version Seq is used, so scala.collection.generic.Seq for 2.10-2.12 and scala.collection.immutable.Seq for 2.13
  • Some methods which take an implicit CanBuildFrom[Nothing, ...] in the 2.10-2.12 version take an implicit Factory in the 2.13 version to follow the collection re-design.

0.26.5

28 Dec 18:48
Compare
Choose a tag to compare

The most notable change is adding SyncOnSubscribe and AsyncOnSubscribe support. Search them in RxScalaDemo for examples. RxJava and Scala are upgraded to the latest version as well. Check the following section for other changes.

Pull Requests

  • Pull 220 Implement SyncOnSubscribe and AsyncOnSubscribe
  • Pull 222 Add FutureToObservable
  • Pull 223 Add Notification.flatMap

Artifacts: Maven Central

0.26.4

07 Nov 18:04
Compare
Choose a tag to compare

This release upgrades RxJava to 1.2.2 and adds UnicastSubject. In addition, RxScala is also published with Scala 2.12.0 since this version.

Pull Requests

Artifacts: Maven Central

0.26.3

09 Oct 01:53
Compare
Choose a tag to compare

This release upgrades RxJava to 1.2.0, adds new RxScala/RxJava converters (See
JavaConvertersDemo.scala
for examples), Scala Try and Option converters and bug fixes.

Pull Requests

  • Pull 199 Fix the wrong return type of take overload with scheduler
  • Pull 204 Upgrade to RxJava 1.1.9 and add missing operators
  • Pull 207 RxScala <-> RxJava converters
  • Pull 210 Try & Option converters
  • Pull 211 Bump to RxJava 1.2.0

Artifacts: Maven Central

0.26.2

17 Jun 17:16
Compare
Choose a tag to compare

This release upgrades RxJava to 1.1.6 and adds the new experimental ErrorDelayingObservable class.

What is the new ErrorDelayingObservable class?

ErrorDelayingObservable contains a variety of operators that support delaying errors. Sometimes when you compose multiple Observables together (e.g., flatMap, concat), you may want to refrain from propagating error notifications until all of the Observables have finished emitting items. In such cases, you can call Observable.delayError to get an ErrorDelayingObservable and use the ErrorDelayingObservable's methods to compose your Observables. Search for delayError in RxScalaDemo.scala for examples.

Pull Requests

Artifacts: Maven Central

0.26.1

15 Apr 02:56
Compare
Choose a tag to compare

This release upgrades RxJava to 1.1.1 and adds Scala 2.12 support. Now you can use RxScala with Scala 2.12.0-M4.

Pull Requests

  • Pull 189 Upgrade to RxJava 1.1.1 and add missing methods
  • Pull 191 Scala 2.12 support

Artifacts: Maven Central

0.26.0

27 Jan 04:13
Compare
Choose a tag to compare

This release upgrades RxJava to 1.1.0 and removes deprecated APIs.

Pull Requests

  • Pull 184 Bump to RxJava 1.1.0 and remove deprecated APIs

Artifacts: Maven Central

0.25.1

19 Dec 04:43
Compare
Choose a tag to compare

This release upgrades RxJava to 1.0.17 along with several experimental APIs including new interval overloads, concatEager, concatMapEager, flattenDelayError and BlockingObservable.subscribe.

Pull Requests

  • Pull 172 Fix invalid wikipedia url in AsyncWiki example
  • Pull 174 Refactor CompletenessTest to support adding completeness tests for other classes
  • Pull 176 Upgrade sbt to 0.13.8; move completeness package to scala-2.11; enable fatal-warnings
  • Pull 178 Eliminated two possible false positives from BlockingObservableTest
  • Pull 182 Upgrade to RxJava 1.0.17

Artifacts: Maven Central

0.25.0

08 Jun 10:38
Compare
Choose a tag to compare

This release upgrades RxJava to 1.0.11 along with the following enhancements:

  • Deprecate ExperimentalAPIs and use @Experimental/@Beta annotations directly. Unstable APIs wil be labeled Experimental/Beta in Scaladoc.
  • Change error[T] to error: Observable[Nothing]
  • Add TestSubscriber and its examples. Writing unit tests is much easier now. See TestSubscriberExample for examples.
  • Add onBackpressureLatest and variants of flatMap and using.
  • Add more experimental methods of Subject.
  • Move examples to examples package: https://github.com/ReactiveX/RxScala/tree/0.x/examples/src/test/scala/examples
  • Some document fixes

Migration from 0.24.1 to 0.25.0

Observable.error does not have a type parameter any more. Please remove the type parameter of Observable.error in your codes.
Sometimes removing the type parameter may break your codes. E.g.,

val x = Observable.error[Int](new RuntimeException("Oops")).toBlocking.single
println(x + 1)

It won't be compiled if Int is removed. For these cases, you can add the explicit type to the variable and make the compiler happy, such as

val x: Int = Observable.error(new RuntimeException("Oops")).toBlocking.single
println(x + 1)

ExperimentalAPIs is deprecated. It's not a breaking change, but we plan to remove ExperimentalAPIs in 0.26.0. If you are using ExperimentalAPIs,
please recompile your codes and fix them as per the deprecated messages provided by the compiler as soon as possible. Once ExperimentalAPIs is removed,
you won't get the deprecated messages.

Pull Requests

  • Pull 157 Update the out-of-date example in "Notification" doc
  • Pull 159 Correct documentation for Observable.merge
  • Pull 162 Fixed minor documentation typo
  • Pull 163 Update to Scala 2.10.5 / 2.11.6
  • Pull 164 Change error[T] to error: Observable[Nothing]
  • Pull 166 Update to using RxJava 1.0.11
  • Pull 168 Move examples
  • Pull 170 Add TestSubscriber

Artifacts: Maven Central

0.24.1

31 Mar 07:17
Compare
Choose a tag to compare

This release upgrades RxJava to 1.0.8 along with ExecutionContextScheduler and onBackpressureDropDo.

Pull Requests

  • Pull 151 Update to Rxjava 1.0.8 & add onBackpressureDropDo to ExperimentalAPIs
  • Pull 91 Add ExecutionContextScheduler for Scala ExecutionContext

Artifacts: Maven Central