Skip to content

Releases: mrousavy/react-native-vision-camera

Release 2.8.2

24 Sep 15:00
Compare
Choose a tag to compare

2.8.2 (2021-09-24)

🐛 Bug Fixes

  • Correctly set video size/aspect ratio for Image Analysis (Frame Processor) (#453) (98f5836)
  • De-allocate frame HybridClass with JNI class loader if using Hermes (#455) (60ea779)

Release 2.8.1

24 Sep 08:22
Compare
Choose a tag to compare

2.8.1 (2021-09-24)

📚 Documentation

  • Fix Frame Processor install step and QualityPrioritization Order (#451) (ef40b1d)

🐛 Bug Fixes

  • Fix AppState.removeListener warning by using new API (#419) (1a4fd7a)
  • Fix Android Stabilization Modes (#449) (83524c0)
  • Fix calling multiple Plugins in a single Frame Processor (#435) (99fff44)

Release 2.8.0

21 Sep 13:53
Compare
Choose a tag to compare

2.8.0 (2021-09-21)

📚 Documentation

  • Add "Adopting at scale" for enterprises (6537327)

✨ Features

🐛 Bug Fixes

  • Fix divison by zero in Performance Sample collector (#416) (f9dbb69)
  • Fix JNI <-> JSI conversion for Integers (c3cf75e)
  • microphone persmission request wasn't appearing (#418) (7613775)

Release 2.7.0

06 Sep 14:27
Compare
Choose a tag to compare

2.7.0 (2021-09-06)

📚 Documentation

  • Add two plugins to the Community Plugins List (f558eb8)
  • Add vision-camera-ocr plugin to Community Plugins (57efc0e)
  • Fix invalid static NSArray allocation (dc02a6e)

🐛 Bug Fixes

  • Apply correct initial rotation on Android (#368) (c7fb891)
  • Fix Android tasks execution (#407) (3b7560a)
  • Fix app hard-crashing when FPS value is not supported (#391) (3c845ed)
  • Fix Proguard annotation for mHybridData (#406) (9812847)
  • Improve Android resource efficiency/cleanup (use class members for CoroutineScope and FrameProcessorThread) (#335) (ff5a8b8)

✨ Features

  • frameProcessorFps="auto" to automatically throttle or increase FPS depending on function execution time (#393) (ad5e131)
  • Add onFrameProcessorPerformanceSuggestionAvailable event to get performance suggestions (hints to throttle or increase FPS) (#393) (ad5e131)

Release 2.6.1

20 Aug 14:05
Compare
Choose a tag to compare

2.6.1 (2021-08-20)

🐛 Bug Fixes

  • Fix close being called on a collected reference causing a SIGABRT crash (enforce alias_ref) (#379) (90f2a1e)

Release 2.6.0

20 Aug 14:03
Compare
Choose a tag to compare

2.6.0 (2021-08-20)

📚 Documentation

  • Improve cat bounds example (cc4d9c5)

✨ Features

🐛 Bug Fixes

  • Always return authorized for requestPermission on SDK 22 and below (#344) (494925c)
  • Fix crash when accessing planesCount or bytesPerRow (#380) (0d3f2cb)
  • Fix Frame Processor null-dereference error (use ref-counted JNI local_ref) (#351) (d06bcf6)
  • Fix TypeScript relative imports (#358) (a2293e8)

Release 2.5.0

06 Aug 09:18
Compare
Choose a tag to compare

2.5.0 (2021-08-06)

After 14 beta versions it's finally here! 🥳🥳🥳🥳 2.5.0 includes A LOT of features and improvements. The highlights of this release are:

  • 💪 Frame Processors are now stable on iOS and Android
  • 🎉 VisionCamera now runs in Expo (EAS) apps!

Note: The android/ codebase now contains C++ code, which uses JNI. If you haven't already, you need to install the NDK plugin in Android Studio to build your app. (I think that's installed by default anyways, but double check if you have build issues)

✨ Features

  • Frame Processors for Android (#196) (87e6bb7)
  • Expo support (#260) (d3a8b49)
  • Support rotation (#301) (ef455df)
  • Add console logging support for Frame Processors (#297) (0f7ee51)
  • Add support for calling other functions using runOnJS inside Frame Processors (#297) (0f7ee51)
  • Automatically fall back to snapshot capture when the Camera cannot attach the photo-use-case (#196) (87e6bb7)
  • Add flash for snapshot capture (#196) (87e6bb7)
  • Print Frame Processor errors to Metro console (4bacee7)
  • Implement Frame.close() (#229) (fa5f5c0)
  • Make videoWidth and videoHeight available on all devices (5126dd6)
  • Correctly get videoDimensions on devices below iOS 13 (c078cdf)
  • Add device/parallel-video-processing-not-supported error (#196) (87e6bb7)
  • Add the supportsParallelVideoProcessing prop to CameraDevice (See The supportsParallelVideoProcessing prop) (#196) (87e6bb7)

💨 Performance Improvements

  • Avoid error message copying (da84a0f)
  • clean up delay code (f1a9366)
  • Remove a few unnecessary log statements (26d19d5)
  • Avoid expensive CMSampleBuffer copy (#235) (7d3b352)

🐛 Bug Fixes

  • Fix format Preview and Video Capture resolution setting (#325) (37db643)
  • Throw JS errors if JSI <-> JNI conversion failed (#324) (1c32726)
  • Host Object error (e13bef7)
  • patch-package install error (4a1fc1d)
  • Rename incorrect error type name parallel-video-processing-not-supported (0ea633d)
  • Fix autolinking for android (#231) (9dad027)
  • Remove patch-package (d54358a)
  • Frame Processor not setting on first render (b10b2c1)
  • Delay frame processor setting on Android by 300ms (2f95ecc)
  • React Native 0.65 compatibility (#230) (0f0f1fb)
  • Run setFrameProcessor after interactions have completed (4baf584)
  • Fix unset Frame Processor not being called (9b645a8)
  • Correctly propagate Errors in configureSession() (f07f4a8)
  • Log errors in update and configureSession (f1a5ee7)
  • Report all errors to JS in configureSession (f80e606)
  • Add more logs (45fad5a)
  • print stacktrace on error (359fd00)
  • Add @Keep annotation to prevent minifier from deleting java funcs (3007cd9)
  • Distribute Android code as source (#234) (b2f3c08)
  • Fix hot-reload crash caused by Frame Processor Runtime being initialized twice (#258) (2f889f5)
  • Fix lint error for missing JNI func (1730ce8)
  • Fix lint error for missing JNI func (2) (91e81d7)
  • Fix lint error for missing JNI func (3) (7a5e879)
  • Fix wrong HDR error being thrown on LowLight mode (339b470)
  • Only extract either JSC or Hermes REA .aar (66f22d7)
  • TS error (0691149)
  • Fix app.plugin.js not being included in npm package (e8a9a43)
  • Fix "REACT_NATIVE_UTILS_LIB not found" build error (#295) (5eaed05)
  • Fix expo plugin import path (61cef75)
  • Fix UI Thread race condition in setFrameProcessor(...) (#265) (4b4ea0f)
  • Remove ...
Read more

Release 2.4.2-beta.13

05 Aug 07:44
Compare
Choose a tag to compare
Release 2.4.2-beta.13 Pre-release
Pre-release

2.4.2-beta.13 (2021-08-05)

✨ Features

  • Correctly get videoDimensions on devices below iOS 13 (c078cdf)

🐛 Bug Fixes

  • Fix java.lang.NoSuchMethodError error for .toArrayList() (#322) (b493576)
  • Fix dead link in parallel-video-processing-not-supported error (aaecb90)

Release 2.4.2-beta.12

01 Aug 13:30
Compare
Choose a tag to compare
Release 2.4.2-beta.12 Pre-release
Pre-release

2.4.2-beta.12 (2021-08-01)

📚 Documentation

  • Add examples for supportsParallelVideoProcessing (070d007)
  • Improve CameraDevices documentation (b8b1a5c)

✨ Features

  • Add support for calling other functions using runOnJS inside Frame Processors (#297) (0f7ee51)
  • Add console logging support for Frame Processors (#297) (0f7ee51)
  • BREAKING CHANGE: Express zoom factor always in actual factor value (1, 2, 128, ...) instead of 0.0-1.0 scale (#306) (445af94)

Release 2.4.2-beta.11

26 Jul 09:34
Compare
Choose a tag to compare
Release 2.4.2-beta.11 Pre-release
Pre-release

2.4.2-beta.11 (2021-07-26)

🐛 Bug Fixes

  • Remove RCTTurboModuleBlockCopyEnabled() (d923320)

✨ Features