diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c575244e4..c00f10834 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -110,6 +110,5 @@ jobs: - name: Upload merged coverage report (Codecov) uses: codecov/codecov-action@v1 with: - token: ${{ secrets.CODECOV_KEY }} file: ./cameraview/build/reports/mergedCoverageReport/* fail_ci_if_error: true \ No newline at end of file diff --git a/README.md b/README.md index 13107a242..04b627fbf 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.1' +api 'com.otaliastudios:cameraview:2.6.2' ``` - Fast & reliable diff --git a/cameraview/build.gradle b/cameraview/build.gradle index c561ffc00..deba5dcac 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.6.1' +version = '2.6.2' group = 'com.otaliastudios' //region android dependencies diff --git a/docs/_about/changelog.md b/docs/_about/changelog.md index b8522c8af..2f092db90 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.6.2 + +- [Frame processing] New: `frame.getRotationToUser()` and `frame.getRotationToView()` APIs to help with processing vs. rendering ([#745][745]) +- [Camera1, Camera2] New: `cameraPreviewFrameRateExact="true|false"` to tell whether the desired preview frame rate should be as exact as possible, thanks to [@hualong-shen][hualong-shenn] ([#754][754]) +- [Logging] Improvement: `CameraLogger` is now thread safe, thanks to [@Namazed][Namazed] ([#779][779]) +- [Permissions] Improvement: added runtime API `setRequestPermissions()` that matches the XML attribute, thanks to [@Namazed][Namazed] ([#775][775]) + + + ##### v2.6.1 - [Video] New: `takeVideo(FileDescriptor)` for file descriptors, thanks to [@sewar][sewar] ([#732][732]) @@ -316,6 +325,7 @@ This is the last release before v2. [RAN3000]: https://github.com/RAN3000 [vaibhavbhandula]: https://github.com/vaibhavbhandula [sewar]: https://github.com/sewar +[hualong-shen]: https://github.com/hualong-shen [73]: https://github.com/natario1/CameraView/pull/73 @@ -403,3 +413,7 @@ This is the last release before v2. [724]: https://github.com/natario1/CameraView/pull/724 [732]: https://github.com/natario1/CameraView/pull/732 [741]: https://github.com/natario1/CameraView/pull/741 +[745]: https://github.com/natario1/CameraView/pull/745 +[754]: https://github.com/natario1/CameraView/pull/754 +[775]: https://github.com/natario1/CameraView/pull/775 +[779]: https://github.com/natario1/CameraView/pull/779 diff --git a/docs/_config.yml b/docs/_config.yml index 8f11dfeb6..a6cd0d9fd 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.1 +github_version: 2.6.2 github_branch: master baseurl: '/CameraView' # Keep as an empty string if served up at the root collections: