-
Notifications
You must be signed in to change notification settings - Fork 7.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Version 0.19 #1227
Comments
I think we're close to being able to release 0.19.0 and then allow further iteration on 0.19.x releases. Is there anything outstanding that we must absolutely have done before 0.19.0 is released? In particular:
Once 0.19.0 is released I intend on only one more round (0.20.x) before we hit 1.0 Release Candidate as per plan here: #1001 (comment) |
@headinthebox @akarnokd I don't see anything blocking release of 0.19.0. Anything from your side or should I proceed? |
I'm good to go. |
Go for it! |
Alright ... I'll finish the release notes and release it. Thanks. |
Are we okay with the https://github.com/Netflix/RxJava/tree/master/rxjava-core/src/main/java/rx/subscriptions Should we change |
In 0.18.x I did it as |
Here is where this topic started being discussed: #1281 (comment) I'll hold off on releasing until we finalize this. Pull request with SubscriptionList here: #1308 This matches what was released in 0.18.4. |
@benjchristensen convinced me we cannot use |
Here is another option: #1309 I made The |
Just want to say a big "thank you" to all the contributors for this release. It is totally awesome to see the "pulse" of RxJava. |
@headinthebox 👍 its awesome to see whats going on with the project, makes me very confident I bet on the right horse for the next years to come :) |
The next release will be 0.19. Issues being tracked for it are in https://github.com/Netflix/RxJava/issues?milestone=7&page=1&state=open
Performance and Object Allocation
Fairly significant object allocation improvements are included in this release which reduce GC pressure and improve performance.
Two pull requests (amongst several) with details are:
With the following simple test code relative performance has increased as shown below:
Rx 0.19
Rx 0.18.4
Rx 0.17.6
Rx 0.16.1
Note that these numbers are relative as they depend on the JVM and hardware.
Scala Changes
Many missing operators have been added to the RxScala APIs along with fixes and other maturation.
toBlockingObservable() -> toBlocking()
The
toBlockingObservable()
method has been deprecated in favor oftoBlocking()
for brevity and fit better with possible future additions such astoParallel()
without always needing theObservable
suffix.forEach
forEach
as added as an alias forsubscribe
to match the Java 8 naming convention.This means code can now be written as:
which is an alias of this:
Since
forEach
exists onBlockingObservable
as well, moving from non-blocking to blocking looks like this:Schedulers
Thread caching is restored to
Schedulers.io()
after being lost in v0.18.A replacement for
ExecutorScheduler
(removed in 0.18) is accessible viaSchedulers.from(Executor e)
that wraps anExecutor
and complies with the Rx contract.ReplaySubject
All "replay" functionality now exists directly on the
ReplaySubject
rather than in an internal type. This means there are now several differentcreate
methods with the various overloads of size and time.Changelist
zipWithIndex
and setzip(that, selector)
public in RxScalareplay
andmulticast
variants to RxScalavoid accept
toboolean accept
The text was updated successfully, but these errors were encountered: