diff --git a/README.md b/README.md index db154f50..271578d8 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.1' +api 'com.otaliastudios:cameraview:2.7.2' ``` - Fast & reliable diff --git a/cameraview/build.gradle.kts b/cameraview/build.gradle.kts index 654d77bb..ceb43f46 100644 --- a/cameraview/build.gradle.kts +++ b/cameraview/build.gradle.kts @@ -54,7 +54,7 @@ publisher { project.addDeveloper("natario1", "mat.iavarone@gmail.com") release.sources = Release.SOURCES_AUTO release.docs = Release.DOCS_AUTO - release.version = "2.7.1" + release.version = "2.7.2" directory() diff --git a/docs/_about/changelog.md b/docs/_about/changelog.md index fc8c0585..5d543e8f 100644 --- a/docs/_about/changelog.md +++ b/docs/_about/changelog.md @@ -9,6 +9,12 @@ 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.2 + +- Fix: fix camera rotation handling for Compose apps and other specific scenarios ([#1117][1117]) + + + ##### v2.7.1 - Fix: fix preview issues on Pixel 4A with certain FPS, thanks to [@honzasmuk][honzasmuk] ([#1089][1089]) @@ -476,3 +482,4 @@ This is the last release before v2. [1089]: https://github.com/natario1/CameraView/pull/1089 [1068]: https://github.com/natario1/CameraView/pull/1068 [1066]: https://github.com/natario1/CameraView/pull/1066 +[1117]: https://github.com/natario1/CameraView/pull/1117 diff --git a/docs/_about/install.md b/docs/_about/install.md index 00bc560e..74d8034a 100644 --- a/docs/_about/install.md +++ b/docs/_about/install.md @@ -8,20 +8,31 @@ order: 1 The library works on API 15+, which is the only requirement and should be met by most projects nowadays. It is publicly hosted on [Maven Central](https://repo.maven.apache.org/maven2/com/otaliastudios/cameraview), where you -can download the AAR package. To fetch with Gradle, make sure you add the Maven Central repository in your root projects `build.gradle` file: +can download the AAR package. To fetch with Gradle, make sure you add the Maven Central repository: -```groovy -allprojects { - repositories { - mavenCentral() - } +```kotlin +repositories { + mavenCentral() } ``` Then simply download the latest version: -```groovy -api 'com.otaliastudios:cameraview:{{ site.github_version }}' +```kotlin +api("com.otaliastudios:cameraview:{{ site.github_version }}") ``` -No other configuration steps are needed. \ No newline at end of file +No other configuration steps are needed. If you want to try features that were not released yet, +you can pull the latest snapshot by adding the Sonatype snapshot repository: + +```kotlin +repositories { + maven("https://s01.oss.sonatype.org/content/repositories/snapshots/") +} +``` + +And depending on the latest-SNAPSHOT version: + +```kotlin +api("com.otaliastudios:cameraview:latest-SNAPSHOT") +``` \ No newline at end of file diff --git a/docs/_config.yml b/docs/_config.yml index c54b6615..f05ade72 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.1 +github_version: 2.7.2 github_branch: main baseurl: '/CameraView' # Keep as an empty string if served up at the root collections: