Skip to content

Commit

Permalink
Prepare version 1.2.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
JakeWharton committed May 3, 2016
1 parent a45bcb6 commit 6a0acbb
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 4 deletions.
17 changes: 17 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,22 @@
# RxAndroid Releases #

### Version 1.2.0 - May 4th 2016 ###

* Rewrite the Android-specific schedulers (main thread or custom) to greatly reduce allocation and
performance overhead of scheduling work.
* `HandlerScheduler.create` has been deprecated in favor of `AndroidSchedulers.from(Looper)` as
a `Looper` is the actual mechanism of scheduling on Android, not `Handler.
* Fix: Correct the behavior of `AndroidSchedulers.mainThread()` to only invoke the registered
`RxAndroidSchedulersHook` for creating the main thread scheduler and to cache the result instead
of invoking it every time. This behvior change eliminates a performance overhead and brings
behavior in line with RxJava. If you were relying on the ability to change the main thread
scheduler over time (such as for tests), return a delegating scheduler from the hook which allows
changing the delegate instance at will.
* RxJava dependency now points at v1.1.4.
* `RxAndroidPlugins.reset()` is now marked as `@Experimental` to match the RxJava method of the
same name and behavior.


### Version 1.1.0 - December 9th 2015 ###

* New: `MainThreadSubscription` utility class runs its `onUnsubscribe` action on the Android main
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ Since RxAndroid is part of the RxJava family the communication channels are simi
# Binaries

```groovy
compile 'io.reactivex:rxandroid:1.1.0'
compile 'io.reactivex:rxandroid:1.2.0'
// Because RxAndroid releases are few and far between, it is recommended you also
// explicitly depend on RxJava's latest version for bug fixes and new features.
compile 'io.reactivex:rxjava:1.1.3'
compile 'io.reactivex:rxjava:1.1.4'
```

* 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>
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
GROUP=io.reactivex
VERSION_NAME=1.1.1
VERSION_NAME=1.2.0
POM_NAME=RxAndroid
POM_PACKAGING=aar
POM_DESCRIPTION=RxAndroid
Expand Down
2 changes: 1 addition & 1 deletion rxandroid/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ repositories {
}

dependencies {
compile 'io.reactivex:rxjava:1.1.0'
compile 'io.reactivex:rxjava:1.1.4'

testCompile 'junit:junit:4.12'
testCompile 'org.mockito:mockito-core:1.10.19'
Expand Down

0 comments on commit 6a0acbb

Please sign in to comment.