Releases: ReactiveX/RxScala
0.27.0 (EOL)
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, soscala.collection.generic.Seq
for 2.10-2.12 andscala.collection.immutable.Seq
for 2.13 - Some methods which take an implicit
CanBuildFrom[Nothing, ...]
in the 2.10-2.12 version take an implicitFactory
in the 2.13 version to follow the collection re-design.
0.26.5
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
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
- Pull 213 Add UnicastSubject
- Pull 214 Update Scala version to 2.12.0 final
- Pull 215 Bump to RxJava 1.2.2
Artifacts: Maven Central
0.26.3
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
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 Observable
s together (e.g., flatMap
, concat
), you may want to refrain from propagating error notifications until all of the Observable
s 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 Observable
s. Search for delayError
in RxScalaDemo.scala for examples.
Pull Requests
- Pull 193 Reimplement tail, to and toMultimap
- Pull 194 Bump to RxJava 1.1.5
- Pull 196 Deprecate Observable.create
- Pull 197 Bump to RxJava 1.1.6
Artifacts: Maven Central
0.26.1
0.26.0
0.25.1
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
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 labeledExperimental/Beta
in Scaladoc. - Change
error[T]
toerror: Observable[Nothing]
- Add
TestSubscriber
and its examples. Writing unit tests is much easier now. See TestSubscriberExample for examples. - Add
onBackpressureLatest
and variants offlatMap
andusing
. - 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]
toerror: 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
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