Skip to content

Releases: mrousavy/react-native-vision-camera

Release 3.8.1

17 Jan 19:20
ba57605

Choose a tag to compare

3.8.1 (2024-01-17)

✨ Features

🐛 Bug Fixes

  • Fixes a crash on Android when using Frame Processor on API 29 (CPU + GPU flag use in PRIVATE/YUV) (#2408) (ba1d7ee)
  • Fixes a crash on Android when using frame.toArrayBuffer() due to the resulting HardwareBuffer being closed (#2408) (ba1d7ee)
  • Fix C++ build-error when trying to use JSITypedArray.h (#2396) (60f8a8c)
  • Make Frame properties readonly in Types (#2397) (e825e21)
  • Release MediaActionSound after playing (#2390) (bdad4e1)
  • Use property accessors on Frame (#2400) (773f278)

Release 3.8.0

15 Jan 19:18
783f49e

Choose a tag to compare

3.8.0 (2024-01-15)

Breaking change: Native Frame Processor Plugin constructors now take an additional argument: VisionCameraProxy. This can be used to create instances of SharedArray, see #2383 for more information.

✨ Features

  • Add minFocusDistance prop to CameraDevice (#2392) (58ef21e)
  • Add zero-copy SharedArray type to Frame Processor Plugins (#2383) (29fe98c)

🐛 Bug Fixes

  • Avoid "CameraNotReady" errors when updating props in background (#2382) (a468602)
  • Fix CamcorderProfile out of range error (#2389) (17ae5fa)
  • Fix JNI TypedArray error (fe614a4)
  • Fix SharedArray name (d747933)

📚 Documentation

  • Add platform: iOS annotation to regionOfInterest prop (9ecc09c)
  • Fix typo (ec2f8c2)
  • Recommend [@latest](https://github.com/latest) CLI version (b9a69a2)
  • Update FrameProcessorPlugin's init method callsites (#2385) (84598c2)
  • Update SharedArray* type (ae7f5e2)

Release 3.7.1

11 Jan 18:08
56cecaa

Choose a tag to compare

3.7.1 (2024-01-11)

✨ Features

  • Re-throw error on JS side instead of just logging on native side (#2366) (34c5b11)

🐛 Bug Fixes

📚 Documentation

Release 2.16.7

11 Jan 18:07
5ddfccb

Choose a tag to compare

2.16.7 (2024-01-11)

🐛 Bug Fixes

  • Fix JSI Runtime Pointer being null in bridgeless mode (38ba240)

Release 3.7.0

08 Jan 12:27
de9da64

Choose a tag to compare

3.7.0 (2024-01-08)

Quite a big release again! 🥳

Notable changes:

  1. If you use the CodeScanner API, make sure to use the new VisionCamera_enableCodeScanner flag for Android which makes sure the MLKit model always gets bundled! (see the docs) 🕵️
  2. A ton of blackscreen and out of sync issues have been fixed on Android. See this PR.

✨ Features

  • Add new enableCodeScanner prop to build.gradle to make sure CodeScanner always works (#2355) (5c99728)
  • Make enableCodeScanner expo config-plugin install the native dependency (#2348) (a8c16e3)
  • Make Frame thread-safe and improve error messages (#2327) (895f3ec)
  • Add two new format/ errors: invalid-video-stabilization-mode and format-required (#2354) (cc60ad2)
  • Support 60 FPS on Samsung devices (if available) (#2339) (0d21bc3)

🐛 Bug Fixes

  • Fix blackscreen issues and lifecycle when closing Camera (#2339) (0d21bc3)
  • Fix a scenario where the concurrent configure { ... } mechanism could drop important updates (#2339) (0d21bc3)
  • Fix Android lifecycle by allowing Android to close the CameraDevice when isActive=false (#2339) (0d21bc3)
  • Fix Android blackscreens by refactoring CameraSession setup (#2339) (0d21bc3)
  • Fix "photo/video is not enabled" errors (#2339) (0d21bc3)
  • Fix "maxImages (3) has already been acquired" error (#2352) (2cd22ad)
  • Fix "The given value for videoStabilizationMode could not be parsed" error (#2353) (833ffb8)
  • Fix crash when trying to console.log(frame) (#2335) (3dc7511)
  • Fix for inset of SENSOR_INFO_ACTIVE_ARRAY_SIZE for Android < 11 (#2306) (7905f2c)
  • Fix iOS native enableZoomGesture zoom logic (#2329) (30c4f9e)
  • Fix min/max exposure range on Android (#2304) (0d3ecd1)
  • Unwrap boxed JNI types directly (#2337) (ef4e9fa)
  • Validate input props (fps, hdr, torch, ...) instead of silently crashing (#2354) (cc60ad2)

💨 Performance Improvements

  • Make getCameraPermission and getMicrophonePermission synchronous (#2302) (591cf30)
  • Don't re-create anything if session is closing down (#2339) (0d21bc3)

📚 Documentation

  • Add plugin by mgcrea/vision-camera-barcode-scanner (7241342)
  • Create pinch-to-zoom example for docs (2d84b7f)

Release 3.6.17

14 Dec 09:55
975b9f1

Choose a tag to compare

3.6.17 (2023-12-14)

✨ Features

🐛 Bug Fixes

📚 Documentation

Release 3.6.16

12 Dec 15:44
5a81fab

Choose a tag to compare

3.6.16 (2023-12-12)

✨ Features

  • Add width and height to VideoFile output (#2281) (9a187c6)

Release 3.6.15

12 Dec 11:09
98f0880

Choose a tag to compare

3.6.15 (2023-12-12)

✨ Features

  • Add onStarted and onStopped events (#2273) (4ee52d6)
  • Add format filter for iso (#2234) (52f78a1)
  • Support for C++ Frame Processor Plugins by publishing VisionCamera as a prefab (#2251) (248a08b)

🐛 Bug Fixes

  • Fix NoSuchElementException in getRecommendedBitRate (#2266) (a612eb9)
  • Fix Only the original thread that created a view hierarchy can touch it's views error (#2278) (2630650)
  • Fix out-of-memory crash in QR code scanner by closing Image (#2267) (9600a38)
  • Fix RN 0.73 error "'hasConstants' overrides nothing" at CameraDevicesManager.kt (#2264) (9949184)
  • Only close image once (df32d2c)
  • Only copy over C++ headers (6107a24)

📚 Documentation

Release 2.16.6

12 Dec 11:56
c305628

Choose a tag to compare

2.16.6 (2023-12-12)

🐛 Bug Fixes

  • Use my Apple ID account (2d74f0f)
  • Fix build by setting NDEBUG=1 preprocessor flag in release mode (#2270) by @tomekzaw

Release 3.6.14

07 Dec 17:10
9ef4a9a

Choose a tag to compare

3.6.14 (2023-12-07)

🐛 Bug Fixes

📚 Documentation