diff --git a/CHANGELOG.md b/CHANGELOG.md index 28d442b..57445a0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,21 @@ # Changelog +## 0.2.0 + +* [#14](https://github.com/trello/RxLifecycle/pull/14): Use takeUntil internally (instead of a faulty custom operator) + + While this fixes some intractable problems that could occur with the old system, it also includes a major behavior + change: when the bind decides to stop subscribing, it calls `onCompleted` (whereas before it would just + unsubscribe). + + When upgrading, you should check that your usages of `onCompleted` (either in `subscribe()`, `doOnCompleted()`, + or `doOnTerminate()`) can handle the sequence ending due to the lifecycle bind. + + If you still need the old behavior in some spots, you should handle the `Subscription` yourself manually (and call + `unsubscribe()` when appropriate). + +* [#16](https://github.com/trello/RxLifecycle/pull/16): Lowered minSdkVersion to 14 + ## 0.1.0 Initial independent release (split from RxAndroid 0.25.0) diff --git a/README.md b/README.md index 5a14428..68ef58a 100644 --- a/README.md +++ b/README.md @@ -55,8 +55,8 @@ or `Fragment` lifecycle. ## Installation ```gradle -compile 'com.trello:rxlifecycle:0.1.0' -compile 'com.trello:rxlifecycle-components:0.1.0' +compile 'com.trello:rxlifecycle:0.2.0' +compile 'com.trello:rxlifecycle-components:0.2.0' ``` ## License diff --git a/gradle.properties b/gradle.properties index cd86286..70ed4b9 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,6 +1,6 @@ GROUP=com.trello -VERSION_NAME=0.1.0-SNAPSHOT -VERSION_CODE=1 +VERSION_NAME=0.2.0-SNAPSHOT +VERSION_CODE=2 POM_URL=https://github.com/trello/RxLifecycle POM_SCM_URL=https://github.com/trello/RxLifecycle