Skip to content

Commit

Permalink
Release v2.6.1 (#744)
Browse files Browse the repository at this point in the history
  • Loading branch information
natario1 authored Jan 10, 2020
1 parent 141902c commit 949ed22
Show file tree
Hide file tree
Showing 5 changed files with 44 additions and 32 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.0'
api 'com.otaliastudios:cameraview:2.6.1'
```

- Fast & reliable
Expand Down
2 changes: 1 addition & 1 deletion cameraview/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apply plugin: 'com.github.dcendents.android-maven'
apply plugin: 'com.jfrog.bintray'

// Required by bintray
version = '2.6.0'
version = '2.6.1'
group = 'com.otaliastudios'

//region android dependencies
Expand Down
64 changes: 38 additions & 26 deletions docs/_about/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +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.0
##### v2.6.1

- <small>[Video]</small> New: `takeVideo(FileDescriptor)` for file descriptors, thanks to [@sewar][sewar] ([#732][732])
- <small>[Video]</small> Improvement: fixed "no encoder found" issues for some devices ([#741][741])
- <small>[Camera2, Metering]</small> Improvement: increased metering timeout for touch metering ([#741][741])
- <small>[Camera2, Metering]</small> Improvement: extended touch metering to LEGACY devices ([#741][741])

<https://github.com/natario1/CameraView/compare/v2.6.0...v2.6.1>

### v2.6.0

- <small>[Metering]</small> New: `startAutoFocus(RectF)` will start 3A metering to a given rect instead of a spot ([#724][724])
- <small>[Permissions]</small> New: `app:cameraRequestPermissions` flag to disable the automatic activity permission request ([#718][718])
Expand All @@ -19,7 +28,7 @@ Companies can share a tiny part of their revenue and get private support hours i

<https://github.com/natario1/CameraView/compare/v2.5.0...v2.6.0>

## v2.5.0
### v2.5.0

- <small>[Camera2]</small> New: support for RAW pictures with new APIs `setPictureFormat()` and `CameraOptions.getSupportedPictureFormats()`. Contains a **breaking change**: `PictureResult.getFormat()` is not an integer anymore but rather a `PictureFormat`. This API had no real purpose so this might not affect you ([#691][691])
- <small>[Camera2]</small> New: support for constraining the frame processing size through `setFrameProcessingMaxWidth()` and `setFrameProcessingMaxHeight()`. This can improve processing performance ([#691][691])
Expand All @@ -42,7 +51,7 @@ This change greatly improved the FPS performance, which is what matters the most

<https://github.com/natario1/CameraView/compare/v2.4.0...v2.5.0>

## v2.4.0
### v2.4.0

- <small>[Camera2]</small> New: support for `previewFrameRate`. Controls preview FPS, snapshot FPS, processor FPS, thanks to [@vaibhavbhandula][vaibhavbhandula] ([#653][653])
- <small>[Camera1]</small> New: support for `previewFrameRate` for Camera1 ([#661][661])
Expand All @@ -52,7 +61,7 @@ This change greatly improved the FPS performance, which is what matters the most

<https://github.com/natario1/CameraView/compare/v2.3.1...v2.4.0>

#### v2.3.1
##### v2.3.1

- <small>[Video]</small> Improvement: better timing for `onVideoRecordingStart()` thanks to [@agrawalsuneet][agrawalsuneet] ([#632][632])
- <small>[Video, Camera1]</small> Fix: fixed video errors when starting on specific devices ([#617][617])
Expand All @@ -61,7 +70,7 @@ This change greatly improved the FPS performance, which is what matters the most

<https://github.com/natario1/CameraView/compare/v2.3.0...v2.3.1>

## v2.3.0
### v2.3.0

- <small>[Camera2, Metering]</small> New: `startAutoFocus` is much more powerful and does 3A metering (AF, AE, AWB) ([#574][574])
- <small>[Camera2, Metering]</small> New: `setPictureMetering(boolean)` decides whether to do metering before `takePicture()`. Defaults to true to improve quality. ([#580][580])
Expand All @@ -77,7 +86,7 @@ This change greatly improved the FPS performance, which is what matters the most

<https://github.com/natario1/CameraView/compare/v2.2.0...v2.3.0>

## v2.2.0
### v2.2.0

- <small>[Real time filters]</small> New: `SimpleFilter` class accepts a fragment shader in the constructor ([#552][552])
- <small>[Real time filters]</small> New: `MultiFilter` to apply more than one filter at the same time ([#559][559])
Expand All @@ -89,7 +98,7 @@ This change greatly improved the FPS performance, which is what matters the most

<https://github.com/natario1/CameraView/compare/v2.1.0...v2.2.0>

## v2.1.0
### v2.1.0

This release adds experimental support for [real-time filters](../docs/filters) thanks to [@agrawalsuneet][agrawalsuneet].
Please read the documentation page for usage instructions.
Expand All @@ -100,22 +109,22 @@ Please read the documentation page for usage instructions.

<https://github.com/natario1/CameraView/compare/v2.0.0...v2.1.0>

## v2.0.0
### v2.0.0

- Fix: bug with picture recorder ([#521][521])
- Fix: video snapshots appearing black ([#528][528])
- Fix: video snapshots exceptions and audio issues ([#530][530])

<https://github.com/natario1/CameraView/compare/v2.0.0-rc2...v2.0.0>

#### v2.0.0-rc2
##### v2.0.0-rc2

- Fix: crashes when stopping video snapshots ([#513][513])
- Fix: dependencies missing, leading to runtime crashes ([#517][517])

<https://github.com/natario1/CameraView/compare/v2.0.0-rc1...v2.0.0-rc2>

## v2.0.0-rc1
### v2.0.0-rc1

This is likely to be the last release before v2.0.0.

Expand All @@ -129,7 +138,7 @@ This is likely to be the last release before v2.0.0.

<https://github.com/natario1/CameraView/compare/v2.0.0-beta06...v2.0.0-rc1>

#### v2.0.0-beta06
##### v2.0.0-beta06

- New: Full featured Camera2 integration! Use `cameraExperimental="true"` and `cameraEngine="camera2"` to test this out. ([#490][490])
- Improvement: we now choose a video recording profile that is compatible with the chosen size. Should fix some video recording issues. ([#477][477])
Expand All @@ -145,7 +154,7 @@ If you were using `focusWithMarker`, you can [add back the old marker](../docs/m

<https://github.com/natario1/CameraView/compare/v2.0.0-beta05...v2.0.0-beta06>

#### v2.0.0-beta05
##### v2.0.0-beta05

- Fixed `FrameProcessor` freeze and release behavior, was broken ([#431][431])
- New: new api `setAutoFocusResetDelay` to control the delay to reset the focus after autofocus was performed, thanks to [@cneuwirt][cneuwirt] ([#435][435])
Expand All @@ -154,33 +163,33 @@ If you were using `focusWithMarker`, you can [add back the old marker](../docs/m

<https://github.com/natario1/CameraView/compare/v2.0.0-beta04...v2.0.0-beta05>

#### v2.0.0-beta04
##### v2.0.0-beta04

- Renames setPreviewSize to setPreviewStreamSize (previewSize suggests it is related to the view size but it's not) ([#393][393])
- Added new APIs `setSnapshotMaxWidth` and `setSnapshotMaxHeight` ([#393][393]). You can now have a good looking preview but still take low-res snapshots using these snapshot constraints. Before this, the two sizes were coupled.

<https://github.com/natario1/CameraView/compare/v2.0.0-beta03...v2.0.0-beta04>

#### v2.0.0-beta03
##### v2.0.0-beta03

- Fixed a few bugs ([#392][392])
- Important fixes to video snapshot recording ([#374][374])

<https://github.com/natario1/CameraView/compare/v2.0.0-beta02...v2.0.0-beta03>

#### v2.0.0-beta02
##### v2.0.0-beta02

- Fixed important bugs ([#356][356])
- Picture snapshots are now flipped when front camera is used ([#360][360])
- Added `PictureResult.getFacing()` and `VideoResult.getFacing()` ([#360][360])

<https://github.com/natario1/CameraView/compare/v2.0.0-beta01...v2.0.0-beta02>

## v2.0.0-beta01
### v2.0.0-beta01

This is the first beta release. For changes with respect to v1, please take a look at the [migration guide](../extra/v1-migration-guide).

#### v1.6.1
##### v1.6.1

This is the last release before v2.

Expand All @@ -191,7 +200,7 @@ This is the last release before v2.

<https://github.com/natario1/CameraView/compare/v1.6.0...v1.6.1>

## v1.6.0
### v1.6.0

- Lifecycle support. Use `setLifecycleOwner` instead of calling start, stop and destroy ([#265][265])
- Enhancement: provide synchronous version of CameraUtils.decodeBitmap thanks to [@athornz][athornz] ([#224][224])
Expand All @@ -202,7 +211,7 @@ This is the last release before v2.

<https://github.com/natario1/CameraView/compare/v1.5.1...v1.6.0>

#### v1.5.1
##### v1.5.1

- Bug: byte array length for Frames was incorrect thanks to [@ssakhavi][ssakhavi] ([#205][205])
- Bug: gestures were crashing in some conditions ([#222][222])
Expand All @@ -211,7 +220,7 @@ This is the last release before v2.

<https://github.com/natario1/CameraView/compare/v1.5.0...v1.5.1>

## v1.5.0
### v1.5.0

- New: set encoder for video recordings with `cameraVideoCodec` ([#174][174])
- New: set max duration for videos with `cameraVideoMaxDuration` ([#172][172])
Expand All @@ -221,7 +230,7 @@ This is the last release before v2.

<https://github.com/natario1/CameraView/compare/v1.4.2...v1.5.0>

#### v1.4.2
##### v1.4.2

- Add prefix to XML resources so they don't collide, thanks to [@RocketRider][RocketRider] ([#162][162])
- Add `videoMaxSize` API and XML attribute, to set max size video in bytes, thanks to [@chaitanyaraghav][chaitanyaraghav] ([#104][104])
Expand All @@ -230,7 +239,7 @@ This is the last release before v2.

<https://github.com/natario1/CameraView/compare/v1.4.1...v1.4.2>

#### v1.4.1
##### v1.4.1

- Fixed a bug that would flip the front camera preview on some devices ([#112][112])
- Two new `CameraOptions` APIs: `o.getSupportedPictureSizes()` and `o.getSupportedPictureAspectRatios()` ([#101][101])
Expand All @@ -243,7 +252,7 @@ This is the last release before v2.

<https://github.com/natario1/CameraView/compare/v1.4.0...v1.4.1>

## v1.4.0
### 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
Expand All @@ -262,22 +271,22 @@ This is the last release before v2.

<https://github.com/natario1/CameraView/compare/v1.3.2...v1.4.0>

#### v1.3.2
##### v1.3.2

- Fixed a memory leak thanks to [@andrewmunn][andrewmunn] ([#92][92])
- Reduced memory usage when using cropOutput thanks to [@RobertoMorelos][RobertoMorelos] ([#93][93])
- Improved efficiency for Frame processors, recycle buffers and Frames ([#94][94])

<https://github.com/natario1/CameraView/compare/v1.3.1...v1.3.2>

#### v1.3.1
##### v1.3.1

- Fixed a bug that would make setFacing and other APIs freeze the camera ([#86][86])
- Fixed ConcurrentModificationExceptions during CameraListener callbacks ([#88][88])

<https://github.com/natario1/CameraView/compare/v1.3.0...v1.3.1>

## v1.3.0
### v1.3.0

- Ability to inject frame processors to do your own visual tasks (barcodes, facial recognition etc.) ([#82][82])
- Ability to inject external loggers (e.g. Crashlytics) to listen for internal logging events ([#80][80])
Expand Down Expand Up @@ -306,6 +315,7 @@ This is the last release before v2.
[agrawalsuneet]: https://github.com/agrawalsuneet
[RAN3000]: https://github.com/RAN3000
[vaibhavbhandula]: https://github.com/vaibhavbhandula
[sewar]: https://github.com/sewar


[73]: https://github.com/natario1/CameraView/pull/73
Expand Down Expand Up @@ -391,3 +401,5 @@ This is the last release before v2.
[716]: https://github.com/natario1/CameraView/pull/716
[718]: https://github.com/natario1/CameraView/pull/718
[724]: https://github.com/natario1/CameraView/pull/724
[732]: https://github.com/natario1/CameraView/pull/732
[741]: https://github.com/natario1/CameraView/pull/741
2 changes: 1 addition & 1 deletion docs/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.0
github_version: 2.6.1
github_branch: master
baseurl: '/CameraView' # Keep as an empty string if served up at the root
collections:
Expand Down
6 changes: 3 additions & 3 deletions docs/css/colors.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
:root {
--color-primary: #f76c16;
--color-primary-active: #e75c16;
--color-primary-hover: #d74c16;
--color-primary: #e75016;
--color-primary-active: #c73016;
--color-primary-hover: #d74016;
--color-secondary: #f7a816;
--color-accent: #0e95e3;
--color-accent-light: #f5fcff;
Expand Down

0 comments on commit 949ed22

Please sign in to comment.