From 464bf79fe1f6f11f445fcdb7e669e9b91198c6a9 Mon Sep 17 00:00:00 2001 From: Mattia Iavarone Date: Fri, 2 Jul 2021 21:09:44 +0200 Subject: [PATCH] Release 2.7.1 --- README.md | 2 +- cameraview/build.gradle.kts | 2 +- docs/_about/changelog.md | 14 ++++++++++++++ docs/_config.yml | 2 +- 4 files changed, 17 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 49e14540..db154f50 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 -api 'com.otaliastudios:cameraview:2.7.0' +api 'com.otaliastudios:cameraview:2.7.1' ``` - Fast & reliable diff --git a/cameraview/build.gradle.kts b/cameraview/build.gradle.kts index df9fa1ba..eb1ea01f 100644 --- a/cameraview/build.gradle.kts +++ b/cameraview/build.gradle.kts @@ -14,7 +14,7 @@ android { setMinSdkVersion(property("minSdkVersion") as Int) setTargetSdkVersion(property("targetSdkVersion") as Int) versionCode = 1 - versionName = "2.7.0" + versionName = "2.7.1" testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" testInstrumentationRunnerArgument("filter", "" + "com.otaliastudios.cameraview.tools.SdkExcludeFilter," + diff --git a/docs/_about/changelog.md b/docs/_about/changelog.md index 859313c9..fc8c0585 100644 --- a/docs/_about/changelog.md +++ b/docs/_about/changelog.md @@ -9,6 +9,15 @@ New versions are released through GitHub, so the reference page is the [GitHub R > Starting from 2.4.0, you can now [support development](https://github.com/sponsors/natario1) through the GitHub Sponsors program. Companies can share a tiny part of their revenue and get private support hours in return. Thanks! +##### v2.7.1 + +- Fix: fix preview issues on Pixel 4A with certain FPS, thanks to [@honzasmuk][honzasmuk] ([#1089][1089]) +- Improvement: don't catch gestures if they're turned off, thanks to [@ObsidianX][ObsidianX] ([#1068][1068]) +- New: new flag cameraDrawHardwareOverlays and setDrawHardwareOverlays() to draw overlays on hardware canvas, thanks to [@ObsidianX][ObsidianX] ([#1066][1066]) +- Publish on Maven Central instead of JCenter + + + ##### v2.7.0 - New: onPictureShutter() callback when taking pictures, thanks to [@EzequielAdrianM][EzequielAdrianM] ([#1030][1030]) @@ -359,6 +368,8 @@ This is the last release before v2. [jeffreyfjohnson]: https://github.com/jeffreyfjohnson [michaelspecht]: https://github.com/michaelspecht [EzequielAdrianM]: https://github.com/EzequielAdrianM +[honzasmuk]: https://github.com/honzasmuk +[ObsidianX]: https://github.com/ObsidianX [73]: https://github.com/natario1/CameraView/pull/73 @@ -462,3 +473,6 @@ This is the last release before v2. [1020]: https://github.com/natario1/CameraView/pull/1020 [1024]: https://github.com/natario1/CameraView/pull/1024 [1030]: https://github.com/natario1/CameraView/pull/1030 +[1089]: https://github.com/natario1/CameraView/pull/1089 +[1068]: https://github.com/natario1/CameraView/pull/1068 +[1066]: https://github.com/natario1/CameraView/pull/1066 diff --git a/docs/_config.yml b/docs/_config.yml index 40e1b35b..c54b6615 100644 --- a/docs/_config.yml +++ b/docs/_config.yml @@ -12,7 +12,7 @@ google_analytics_id: 'UA-155077779-1' google_site_verification: '4x49i17ABIrSvUl52SeL0-t0341aTnWWaC62-FYCRT4' github: [metadata] # TODO What's this? github_repo: CameraView -github_version: 2.7.0 +github_version: 2.7.1 github_branch: main baseurl: '/CameraView' # Keep as an empty string if served up at the root collections: