From 36d073b1979b1e7653a8d804d37e3e34d6deeef8 Mon Sep 17 00:00:00 2001 From: Mattia Iavarone Date: Mon, 4 Mar 2019 12:26:28 +0100 Subject: [PATCH] Bump version to 2.0.0-beta04 (#402) --- README.md | 2 +- cameraview/build.gradle | 2 +- docs/_posts/2018-12-20-changelog.md | 8 +++++++- docs/_posts/2018-12-20-install.md | 2 +- 4 files changed, 10 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 01f3ac6b..ac834d92 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ CameraView is a well documented, high-level library that makes capturing picture addressing most of the common issues and needs, and still leaving you with flexibility where needed. ```groovy -compile 'com.otaliastudios:cameraview:2.0.0-beta03' +compile 'com.otaliastudios:cameraview:2.0.0-beta04' ``` - Fast & reliable diff --git a/cameraview/build.gradle b/cameraview/build.gradle index 07e871c7..be1a5062 100644 --- a/cameraview/build.gradle +++ b/cameraview/build.gradle @@ -3,7 +3,7 @@ apply plugin: 'com.github.dcendents.android-maven' apply plugin: 'com.jfrog.bintray' // Required by bintray -version = '2.0.0-beta03' +version = '2.0.0-beta04' group = 'com.otaliastudios' //region android dependencies diff --git a/docs/_posts/2018-12-20-changelog.md b/docs/_posts/2018-12-20-changelog.md index 1a924184..79fa8b22 100644 --- a/docs/_posts/2018-12-20-changelog.md +++ b/docs/_posts/2018-12-20-changelog.md @@ -8,6 +8,11 @@ order: 3 New versions are released through GitHub, so the reference page is the [GitHub Releases](https://github.com/natario1/CameraView/releases) page. +### v2.0.0-beta04 + +- Renames setPreviewSize to setPreviewStreamSize (previewSize suggests it is related to the view size but it's not) ([#393][393]) +- Added new APIs `setSnapshotMaxWidth` and `setSnapshotMaxHeight` ([#393][393]). You can now have a good looking preview but still take low-res snapshots using these snapshot constraints. Before this, the two sizes were coupled. + ### v2.0.0-beta03 - Fixed a few bugs ([#392][392]) @@ -26,4 +31,5 @@ This is the first beta release. For changes with respect to v1, please take a lo [356]: https://github.com/natario1/CameraView/pull/356 [360]: https://github.com/natario1/CameraView/pull/360 [374]: https://github.com/natario1/CameraView/pull/374 -[392]: https://github.com/natario1/CameraView/pull/392 \ No newline at end of file +[392]: https://github.com/natario1/CameraView/pull/392 +[393]: https://github.com/natario1/CameraView/pull/393 \ No newline at end of file diff --git a/docs/_posts/2018-12-20-install.md b/docs/_posts/2018-12-20-install.md index 917a56e9..be6bf81d 100644 --- a/docs/_posts/2018-12-20-install.md +++ b/docs/_posts/2018-12-20-install.md @@ -24,7 +24,7 @@ allprojects { Then simply download the latest version: ```groovy -api 'com.otaliastudios:cameraview:2.0.0-beta03' +api 'com.otaliastudios:cameraview:2.0.0-beta04' ``` No other configuration steps are needed. \ No newline at end of file