Skip to content

Commit 6c0e494

Browse files
committed
Prepare version 2.0.0-RC1.
1 parent cfed79e commit 6c0e494

File tree

3 files changed

+19
-112
lines changed

3 files changed

+19
-112
lines changed

CHANGES.md

Lines changed: 9 additions & 103 deletions
Original file line numberDiff line numberDiff line change
@@ -1,109 +1,15 @@
11
# RxAndroid Releases #
22

3-
### Version 1.2.1 - June 16th 2016 ###
3+
Version 1.x can be found at https://github.com/ReactiveX/RxAndroid/blob/1.x/CHANGES.md
44

5-
* New: `AndroidSchedulers.reset()` allows clearing the scheduler cache such that the next call to
6-
`AndroidSchedulers.mainThread()` will ask the `RxAndroidSchedulerHook` to re-create it. This API
7-
is experimental to match `Schedulers.reset()` in RxJava.
8-
* RxJava dependency now points at v1.1.6.
5+
### Version 2.0.0-RC! - August 25, 2016 ###
96

7+
RxAndroid 2.0 has been rewritten from scratch to support RxJava 2.0.
108

11-
### Version 1.2.0 - May 4th 2016 ###
9+
The library still offers the same APIs: a scheduler and stream cancelation callback that know about
10+
the main thread, a means of creating a scheduler from any `Looper`, and plugin support for the
11+
main thread sheduler. They just reside in a new package, `io.reactivex.android`, and may have
12+
slightly different names.
1213

13-
* Rewrite the Android-specific schedulers (main thread or custom) to greatly reduce allocation and
14-
performance overhead of scheduling work.
15-
* `HandlerScheduler.create` has been deprecated in favor of `AndroidSchedulers.from(Looper)` as
16-
a `Looper` is the actual mechanism of scheduling on Android, not `Handler`.
17-
* Fix: Correct the behavior of `AndroidSchedulers.mainThread()` to only invoke the registered
18-
`RxAndroidSchedulersHook` for creating the main thread scheduler and to cache the result instead
19-
of invoking it every time. This behvior change eliminates a performance overhead and brings
20-
behavior in line with RxJava. If you were relying on the ability to change the main thread
21-
scheduler over time (such as for tests), return a delegating scheduler from the hook which allows
22-
changing the delegate instance at will.
23-
* RxJava dependency now points at v1.1.4.
24-
* `RxAndroidPlugins.reset()` is now marked as `@Experimental` to match the RxJava method of the
25-
same name and behavior.
26-
27-
28-
### Version 1.1.0 - December 9th 2015 ###
29-
30-
* New: `MainThreadSubscription` utility class runs its `onUnsubscribe` action on the Android main
31-
thread. This aids in adding tear-down actions which must be executed on the main thread without
32-
having to deal with posting to the main thread yourself.
33-
* Fix: Lazily initialize `mainThread()` scheduler so that no Android code is run when overridden.
34-
This allows unit tests overriding the implementation to work correctly.
35-
* RxJava dependency now points at v1.1.0.
36-
37-
38-
### Version 1.0.1 - August 9th 2015 ###
39-
40-
* Fix: Correctly check `isUnsubscribed()` state in `HandlerScheduler`'s worker before scheduling
41-
more work.
42-
* Fix: Eliminate a potential race condition in `HandlerScheduler` to ensure any posted work will
43-
be canceled on unsubscription.
44-
45-
46-
### Version 1.0.0 - August 5th 2015 ###
47-
48-
Initial stable release!
49-
50-
In order to provide a library that no project using RxJava would hesitate to depend on, the decision
51-
was made to remove the APIs which were not absolutely fundamental to all apps. That is what's
52-
contained in this release.
53-
54-
Functionality which was previously part of this library is being explored in separate, modular
55-
libraries:
56-
57-
* `LifecycleObservable`: https://github.com/trello/RxLifecycle
58-
* `ViewObservable` and `WidgetObservable`: https://github.com/JakeWharton/RxBinding
59-
60-
This allows for a simpler process of design, development, and experimentation for the
61-
best ways to provide features like hooks into the lifecycle, binding to UI components, and
62-
simplifying interaction with all of Android's API. Not only can these projects now have their own
63-
release schedule, but it allows developers to pick and choose which ones are appropriate for your
64-
application.
65-
66-
Applications using the various APIs which were previously in this library do not need to update
67-
immediately. Due to the number of APIs removed, switching to 1.0 and the use of these third-party
68-
libraries should be done gradually.
69-
70-
Breaking changes:
71-
72-
* `AndroidSchedulers.handlerThread()` is now `HandlerScheduler.from()`.
73-
* **All other APIs have been removed** aside from `AndroidSchedulers.mainThread()`,
74-
`RxAndroidPlugins`, and `RxAndroidSchedulersHook`.
75-
76-
77-
### Version 0.25 - June 27th 2015 ###
78-
79-
* New: `RxAndroidPlugins` and its `RxAndroidSchedulersHook` provides a mechanism similar to `RxJavaPlugins` (and its `RxJavaSchedulersHook`) for
80-
changing the scheduler returned from `AndroidSchedulers.mainThread()` as well as a callback for each subscription on any `Handler`-based scheduler.
81-
* Fix: Ensure errors are properly propagated from `ContentObservable.fromCursor`.
82-
* Fix: `LifecycleObservable` now correctly unsubscribes from its sources.
83-
84-
Breaking changes:
85-
86-
* Users of `AppObservable.bindFragment` with a support-v4 `Fragment` should now use `bindSupportFragment`.
87-
88-
89-
### Version 0.24 – January 3rd 2015 ###
90-
91-
This release has some breaking changes:
92-
93-
* `rx.android.observables.AndroidObservable` has changed to `rx.android.app.AppObservable`;
94-
* `ViewObservable` has moved from `rx.android.observables` to `rx.android.view`
95-
* (as part of RxJava's breaking changes) [`collect` has changed](https://github.com/ReactiveX/RxJava/blob/1a94d55fa8896931175896d09b86dca8d8d44f72/CHANGES.md#collect)
96-
97-
98-
### Version 0.22 – October 15th 2014 ###
99-
100-
This release adds a number of new operators:
101-
102-
* [Pull 25](https://github.com/ReactiveX/RxAndroid/pull/25) Add operator to monitor SharedPreference changes
103-
* [Pull 22](https://github.com/ReactiveX/RxAndroid/pull/22) Add view state event types to streamline ViewObservable
104-
* [Pull 20](https://github.com/ReactiveX/RxAndroid/pull/20) Add OperatorAdapterViewOnItemClick to observe OnItemClick events in AdapterViews
105-
106-
107-
### Version 0.21 – October 1st 2014 ###
108-
109-
Initial release outside the RxJava core project, no changes.
14+
For more information about RxJava 2.0 see
15+
[its RC1 release notes](https://github.com/ReactiveX/RxJava/releases/tag/v2.0.0-RC1)

README.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# RxAndroid: Reactive Extensions for Android
22

3-
Android specific bindings for [RxJava](http://github.com/ReactiveX/RxJava).
3+
Android specific bindings for [RxJava 2](http://github.com/ReactiveX/RxJava).
44

55
This module adds the minimum classes to RxJava that make writing reactive components in Android
66
applications easy and hassle-free. More specifically, it provides a `Scheduler` that schedules on
@@ -20,16 +20,16 @@ Since RxAndroid is part of the RxJava family the communication channels are simi
2020
# Binaries
2121

2222
```groovy
23-
compile 'io.reactivex:rxandroid:1.2.1'
23+
compile 'io.reactivex.rxjava2:rxandroid:2.0.0-RC1'
2424
// Because RxAndroid releases are few and far between, it is recommended you also
2525
// explicitly depend on RxJava's latest version for bug fixes and new features.
26-
compile 'io.reactivex:rxjava:1.1.6'
26+
compile 'io.reactivex.rxjava2:rxjava:2.0.0-RC1'
2727
```
2828

29-
* RxAndroid: <a href='http://search.maven.org/#search%7Cga%7C1%7Crxandroid'><img src='http://img.shields.io/maven-central/v/io.reactivex/rxandroid.svg'></a>
30-
* RxJava: <a href='http://search.maven.org/#search%7Cga%7C1%7Crxjava'><img src='http://img.shields.io/maven-central/v/io.reactivex/rxjava.svg'></a>
29+
* RxAndroid: <a href='http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22io.reactivex.rxjava2%22%20a%3A%22rxjava%22'><img src='http://img.shields.io/maven-central/v/io.reactivex.rxjava2/rxandroid.svg'></a>
30+
* RxJava: <a href='http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22io.reactivex.rxjava2%22%20a%3A%22rxjava%22'><img src='http://img.shields.io/maven-central/v/io.reactivex.rxjava2/rxjava.svg'></a>
3131

32-
Additional binaries and dependency information for can be found at [http://search.maven.org](http://search.maven.org/#search%7Cga%7C1%7Crxandroid).
32+
Additional binaries and dependency information for can be found at [http://search.maven.org](http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22io.reactivex.rxjava2%22%20a%3A%22rxandroid%22).
3333

3434

3535
## Build
@@ -39,12 +39,13 @@ To build:
3939
```bash
4040
$ git clone [email protected]:ReactiveX/RxAndroid.git
4141
$ cd RxAndroid/
42+
$ git checkout 2.x
4243
$ ./gradlew build
4344
```
4445

4546
Futher details on building can be found on the RxJava [Getting Started][start] page of the wiki.
4647

47-
<a href='https://travis-ci.org/ReactiveX/RxAndroid/builds'><img src='https://api.travis-ci.org/ReactiveX/RxAndroid.svg?branch=master'></a>
48+
<a href='https://travis-ci.org/ReactiveX/RxAndroid/builds'><img src='https://api.travis-ci.org/ReactiveX/RxAndroid.svg?branch=2.x'></a>
4849

4950
# Sample usage
5051

gradle.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
GROUP=io.reactivex.rxandroid2
2-
VERSION_NAME=2.0.0-DP0
1+
GROUP=io.reactivex.rxjava2
2+
VERSION_NAME=2.0.0-RC1
33
POM_NAME=RxAndroid
44
POM_PACKAGING=aar
55
POM_DESCRIPTION=RxAndroid

0 commit comments

Comments
 (0)