Bump version

pull/105/head v1.4.0
Mattia Iavarone 7 years ago
parent dcf5ef4120
commit 02a5f8268d
  1. 21
      CHANGELOG.md
  2. 2
      README.md
  3. 2
      cameraview/build.gradle

@ -1,3 +1,22 @@
## v1.4.0
- CameraView is now completely thread-safe. All actions are asynchronous. ([#97][97])
This has some breaking drawbacks. Specifically, the `get` methods (e.g., `getWhiteBalance`) might
not return the correct value while it is being changed. So don't trust them right after you have changed the value.
Instead, always check the `CameraOptions` to see if the value you want is supported.
- Added error handling ([#97][97]) in `CameraListener.onCameraError(CameraException)`.
At the moment, all exceptions there are unrecoverable. When the method is called, the camera is showing
a black preview. This is a good moment to show an error dialog to the user.
You can also try to `start()` again but that is not guaranteed to work.
- Long requested ability to set the picture output size ([#99][99]). Can be done through
`CameraView.setPictureSize()` or through new XML attributes starting with `cameraPictureSize`.
Please refer to docs about it.
- Deprecated `toggleFacing`. It was unreliable and will be removed.
- Deprecated `getCaptureSize`. Use `getPictureSize` instead.
- Fixed bugs.
https://github.com/natario1/CameraView/compare/v1.3.2...v1.4.0
### v1.3.2
- Fixed a memory leak thanks to [@andrewmunn][andrewmunn] ([#92][92])
@ -35,3 +54,5 @@ https://github.com/natario1/CameraView/compare/v1.2.3...v1.3.0
[92]: https://github.com/natario1/CameraView/pull/92
[93]: https://github.com/natario1/CameraView/pull/93
[94]: https://github.com/natario1/CameraView/pull/94
[97]: https://github.com/natario1/CameraView/pull/97
[99]: https://github.com/natario1/CameraView/pull/99

@ -12,7 +12,7 @@ addressing most of the common issues and needs, and still leaving you with flexi
See [CHANGELOG](https://github.com/natario1/CameraView/blob/master/CHANGELOG.md).
```groovy
compile 'com.otaliastudios:cameraview:1.3.2'
compile 'com.otaliastudios:cameraview:1.4.0'
```
<p>

@ -3,7 +3,7 @@ apply plugin: 'com.github.dcendents.android-maven'
apply plugin: 'com.jfrog.bintray'
// Required by bintray
version = '1.3.2'
version = '1.4.0'
group = 'com.otaliastudios'
//region android dependencies

Loading…
Cancel
Save