From ffd5cffa7c5b55afee15f03ffab7de900a89bc09 Mon Sep 17 00:00:00 2001 From: patloew Date: Mon, 23 May 2016 13:58:16 +0200 Subject: [PATCH] Prepare 1.2.0 release. --- CHANGELOG.md | 7 +++++++ README.md | 2 +- library/build.gradle | 6 +++--- sample/build.gradle | 2 +- wearsample/build.gradle | 2 +- 5 files changed, 13 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 99ebd35..7ce64c6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## Version 1.2.0 + +* Added `PutDataMap.toObservable()`. +* Deprecated `RxWear.Data.getSingle()`. Use `RxWear.Data.get()` instead. +* Added convenience methods to `RxWear.Data` and `RxWear.Message` to directly filter out DataItems/MessageEvents by path. +* Fixed issue #1, which was caused by Wearable API issue [74204](https://code.google.com/p/android/issues/detail?id=74204) + ## Version 1.1.0 * BREAKING CHANGE: The lib now uses Singles instead of Observables if only one item is emitted. diff --git a/README.md b/README.md index bd02d30..82a1d77 100644 --- a/README.md +++ b/README.md @@ -79,7 +79,7 @@ A basic sample app is available in the `sample` and `wearsample` projects. The lib is available on jCenter. Add the following to your `build.gradle`: dependencies { - compile 'com.patloew.rxwear:rxwear:1.1.0' + compile 'com.patloew.rxwear:rxwear:1.2.0' } # Credits diff --git a/library/build.gradle b/library/build.gradle index 4752a2d..28659d4 100644 --- a/library/build.gradle +++ b/library/build.gradle @@ -3,7 +3,7 @@ apply plugin: 'com.jfrog.bintray' apply plugin: 'com.github.dcendents.android-maven' group = 'com.patloew.rxwear' -version = '1.1.0' +version = '1.2.0' project.archivesBaseName = 'rxwear' android { @@ -13,8 +13,8 @@ android { defaultConfig { minSdkVersion 9 targetSdkVersion 23 - versionCode 2 - versionName "1.1.0" + versionCode 3 + versionName "1.2.0" } buildTypes { release { diff --git a/sample/build.gradle b/sample/build.gradle index 2486e99..630ddd6 100644 --- a/sample/build.gradle +++ b/sample/build.gradle @@ -38,7 +38,7 @@ dependencies { compile "com.android.support:gridlayout-v7:23.4.0" compile project(':library') - //compile 'com.patloew.rxwear:rxwear:1.1.0' + //compile 'com.patloew.rxwear:rxwear:1.2.0' compile 'io.reactivex:rxjava:1.1.5' compile 'io.reactivex:rxandroid:1.2.0' diff --git a/wearsample/build.gradle b/wearsample/build.gradle index 9e5bb2c..7d80f02 100644 --- a/wearsample/build.gradle +++ b/wearsample/build.gradle @@ -35,7 +35,7 @@ dependencies { compile 'com.google.android.gms:play-services-wearable:8.4.0' compile project(':library') - //compile 'com.patloew.rxwear:rxwear:1.1.0' + //compile 'com.patloew.rxwear:rxwear:1.2.0' compile 'io.reactivex:rxjava:1.1.5' compile 'io.reactivex:rxandroid:1.2.0'