From 3b79ff42230f232711a5ce7e2ee2f8e4e97e5397 Mon Sep 17 00:00:00 2001 From: Sandro Machado Date: Tue, 18 Apr 2017 16:36:20 +0100 Subject: [PATCH] Release 0.4.0 --- CHANGELOG.md | 13 +++++++++++-- README.md | 4 ++-- src/app/build.gradle | 4 ++-- .../client/restadapter/UpholdRestAdapterTest.java | 6 +++--- 4 files changed, 18 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8c22909..21d999e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,16 @@ # Changelog -## [3.0.0](https://github.com/uphold/uphold-sdk-android/tree/3.0.0) (2016-06-27) -[Full Changelog](https://github.com/uphold/uphold-sdk-android/compare/0.2.1...3.0.0) +## [0.4.0](https://github.com/uphold/uphold-sdk-android/tree/0.4.0) (2017-04-18) +[Full Changelog](https://github.com/uphold/uphold-sdk-android/compare/0.3.0...0.4.0) + +**Merged pull requests:** + +- Add support for the documents endpoint [\#90](https://github.com/uphold/uphold-sdk-android/pull/90) ([d-moreira](https://github.com/d-moreira)) +- Add merchant model to transaction destination [\#89](https://github.com/uphold/uphold-sdk-android/pull/89) ([SandroMachado](https://github.com/SandroMachado)) +- Update headers [\#88](https://github.com/uphold/uphold-sdk-android/pull/88) ([SandroMachado](https://github.com/SandroMachado)) + +## [0.3.0](https://github.com/uphold/uphold-sdk-android/tree/0.3.0) (2016-06-27) +[Full Changelog](https://github.com/uphold/uphold-sdk-android/compare/0.2.1...0.3.0) **Merged pull requests:** diff --git a/README.md b/README.md index aa79130..cdce2a3 100644 --- a/README.md +++ b/README.md @@ -22,8 +22,8 @@ repositories { } dependencies { - // Add the classifier `sandboxRelease`, i.e. `'com.github.uphold:uphold-sdk-android:0.3.0:sandboxRelease@aar'`, to use the sandbox environment. - compile ('com.github.uphold:uphold-sdk-android:0.3.0@aar') { + // Add the classifier `sandboxRelease`, i.e. `'com.github.uphold:uphold-sdk-android:0.4.0:sandboxRelease@aar'`, to use the sandbox environment. + compile ('com.github.uphold:uphold-sdk-android:0.4.0@aar') { transitive = true } } diff --git a/src/app/build.gradle b/src/app/build.gradle index 98f1ddf..207b448 100644 --- a/src/app/build.gradle +++ b/src/app/build.gradle @@ -19,8 +19,8 @@ android { defaultConfig { minSdkVersion 16 targetSdkVersion 22 - versionCode 11 - versionName "0.3.0" + versionCode 12 + versionName "0.4.0" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" } diff --git a/src/app/src/androidTest/java/com/uphold/uphold_android_sdk/test/integration/client/restadapter/UpholdRestAdapterTest.java b/src/app/src/androidTest/java/com/uphold/uphold_android_sdk/test/integration/client/restadapter/UpholdRestAdapterTest.java index b4aa1d7..af13d4e 100644 --- a/src/app/src/androidTest/java/com/uphold/uphold_android_sdk/test/integration/client/restadapter/UpholdRestAdapterTest.java +++ b/src/app/src/androidTest/java/com/uphold/uphold_android_sdk/test/integration/client/restadapter/UpholdRestAdapterTest.java @@ -62,7 +62,7 @@ public Promise call(UpholdRestAdapter adapter) { Assert.assertEquals(request.getHeaders().size(), 2); Assert.assertTrue(request.getHeaders().contains(new Header("Authorization", "Bearer fuz"))); - Assert.assertTrue(request.getHeaders().contains(new Header("User-Agent", "uphold-android-sdk/0.3.0 (https://github.com/uphold/uphold-sdk-android)"))); + Assert.assertTrue(request.getHeaders().contains(new Header("User-Agent", "uphold-android-sdk/0.4.0 (https://github.com/uphold/uphold-sdk-android)"))); } @Test @@ -83,7 +83,7 @@ public Promise call(UpholdRestAdapter adapter) { Request request = adapter.getRequest(); Assert.assertEquals(request.getHeaders().size(), 1); - Assert.assertTrue(request.getHeaders().contains(new Header("User-Agent", "uphold-android-sdk/0.3.0 (https://github.com/uphold/uphold-sdk-android)"))); + Assert.assertTrue(request.getHeaders().contains(new Header("User-Agent", "uphold-android-sdk/0.4.0 (https://github.com/uphold/uphold-sdk-android)"))); } @Test @@ -104,7 +104,7 @@ public Promise call(UpholdRestAdapter adapter) { Request request = adapter.getRequest(); Assert.assertEquals(request.getHeaders().size(), 1); - Assert.assertTrue(request.getHeaders().contains(new Header("User-Agent", "uphold-android-sdk/0.3.0 (https://github.com/uphold/uphold-sdk-android)"))); + Assert.assertTrue(request.getHeaders().contains(new Header("User-Agent", "uphold-android-sdk/0.4.0 (https://github.com/uphold/uphold-sdk-android)"))); } }