From 610f511a768bea40fe62c4fbd3b5aa9f78739d9f Mon Sep 17 00:00:00 2001 From: Mattia Iavarone Date: Sun, 12 Jul 2020 21:22:58 +0200 Subject: [PATCH] Release v2.6.3 (#912) --- README.md | 2 +- cameraview/build.gradle.kts | 2 +- docs/_about/changelog.md | 18 ++++++++++++++++++ docs/_config.yml | 2 +- 4 files changed, 21 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 04b627fb..ba7090c5 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.6.2' +api 'com.otaliastudios:cameraview:2.6.3' ``` - Fast & reliable diff --git a/cameraview/build.gradle.kts b/cameraview/build.gradle.kts index cd84fb7b..5ad2be3d 100644 --- a/cameraview/build.gradle.kts +++ b/cameraview/build.gradle.kts @@ -14,7 +14,7 @@ android { setMinSdkVersion(rootProject.property("minSdkVersion") as Int) setTargetSdkVersion(rootProject.property("targetSdkVersion") as Int) versionCode = 1 - versionName = "2.6.2" + versionName = "2.6.3" 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 2f092db9..cb6439ed 100644 --- a/docs/_about/changelog.md +++ b/docs/_about/changelog.md @@ -9,6 +9,16 @@ 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.6.3 + +- [Video] New: `setAudioCodec` and `app:cameraAudioCodec` to choose the audio encoding format, thanks to [@EverydayPineapple][EverydayPineapple] ([#861][861]) +- [Camera1, Frame processing] Fix: frame processing restarts automatically after taking a picture, thanks to [@jeffreyfjohnson][jeffreyfjohnson] ([#877][877]) +- [Camera1] Improvement: catch more errors in Camera1 lifecycle to avoid crashes, thanks to [@Namazed][Namazed] ([#851][851] and [#897][897]) +- [CameraView] Improvement: `setLifecycleOwner` is now nullable and will unbind the lifecycle, thanks to [@Namazed][Namazed] ([#798][798]) +- [Preview] Improvement: the `CameraPreview` APIs are much more friendly for subclassing ([#816][816]) + + + ##### v2.6.2 - [Frame processing] New: `frame.getRotationToUser()` and `frame.getRotationToView()` APIs to help with processing vs. rendering ([#745][745]) @@ -326,6 +336,8 @@ This is the last release before v2. [vaibhavbhandula]: https://github.com/vaibhavbhandula [sewar]: https://github.com/sewar [hualong-shen]: https://github.com/hualong-shen +[EverydayPineapple]: https://github.com/EverydayPineapple +[jeffreyfjohnson]: https://github.com/jeffreyfjohnson [73]: https://github.com/natario1/CameraView/pull/73 @@ -417,3 +429,9 @@ This is the last release before v2. [754]: https://github.com/natario1/CameraView/pull/754 [775]: https://github.com/natario1/CameraView/pull/775 [779]: https://github.com/natario1/CameraView/pull/779 +[798]: https://github.com/natario1/CameraView/pull/798 +[816]: https://github.com/natario1/CameraView/pull/816 +[851]: https://github.com/natario1/CameraView/pull/851 +[861]: https://github.com/natario1/CameraView/pull/861 +[877]: https://github.com/natario1/CameraView/pull/877 +[897]: https://github.com/natario1/CameraView/pull/897 diff --git a/docs/_config.yml b/docs/_config.yml index a6cd0d9f..c20989d4 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.6.2 +github_version: 2.6.3 github_branch: master baseurl: '/CameraView' # Keep as an empty string if served up at the root collections: