Skip to content

Releases: mrousavy/react-native-vision-camera

Release 4.3.2

Choose a tag to compare

@mrousavy mrousavy released this 13 Jun 14:16
4a0ac0f

4.3.2 (2024-06-13)

Warning

Since the upgrade to react-native 0.74, VisionCamera is required to opt into the @FrameworkAPI by React Native.
This class is only available since react-native 0.73, so react-native-vision-camera 4.3.2 now requires react-native 0.73 or above.

If you are not yet on react-native 0.73 or above, either upgrade to react-native 0.73 or above, or downgrade to react-native-vision-camera 4.3.2 or below.

In a future version, react-native-vision-camera will require react-native 0.74 or higher, and will only work on the new architecture, so it is recommended to upgrade to react-native 0.74 and the new architecture as soon as possible.

✨ Features

🐛 Bug Fixes

Release 4.3.1

Choose a tag to compare

@mrousavy mrousavy released this 12 Jun 16:07
b7fae1e

4.3.1 (2024-06-12)

✨ Features

  • Keep one last Video Frame in memory for Snapshot (#2980) (29abc3d)

Release 4.3.0

Choose a tag to compare

@mrousavy mrousavy released this 12 Jun 15:33
1e1694b

4.3.0 (2024-06-12)

✨ Features

  • Add onPreviewStarted and onPreviewStopped events (#2973) (2b8f72b)

🐛 Bug Fixes

  • Always initialize continuous AF/AE on iOS (#2970) (89a8806)
  • Always keep uiRotation a "short" rotation (#2971) (27b1feb)
  • fix EUNSPECIFIED quality error in takeSnapshot() (#2963) (dedb1b8)
  • Fix MetadataProvider location onStatusChanged crash (#2974) (50745dd)
  • Fix onUIRotationChanged rotation being 180deg inverted (#2962) (0247d83)
  • Fix react-native-reanimated is not installed! error when inlineRequires are enabled (#2953) (573ab81)
  • Use proper aspect ratio in Preview View on Android (#2964) (555474d)

📚 Documentation

Release 4.2.1

Choose a tag to compare

@mrousavy mrousavy released this 10 Jun 15:27
ce21187

4.2.1 (2024-06-10)

✨ Features

Release 4.2.0

Choose a tag to compare

@mrousavy mrousavy released this 10 Jun 11:03
f7cd4b7

4.2.0 (2024-06-10)

✨ Features

  • Add onOutputOrientationChanged event (#2945) (6daea19)
  • Add onPreviewOrientationChanged event (#2956) (3a8a60e)
  • Create TrackTimeline to properly synchronize pause/resume/start/stop video/audio buffers (#2948) (d477246)

🐛 Bug Fixes

  • Fix Orientation being wrong when flipping devices (#2958) (ae5f315)
  • Initialize orientations on session re-creation (#2947) (bd955b5)
  • Split CameraSession across multiple files (#2957) (5f88b21)

Release 4.1.0

Choose a tag to compare

@mrousavy mrousavy released this 06 Jun 15:15
08878a2

4.1.0 (2024-06-06)

After months of planning, VisionCamera 4.1.0 now finally supports orientation! 🥳🎉
(Check out #2932 for all orientation-related changes)

✨ Features

🐛 Bug Fixes

  • Apply orientation to video output (#2912) (6c7645d)
  • Fix LocationManager abstract method error (cd18368)
  • Fix Skia Frame Processor transformation matrix (#2931) (17369de)
  • Fix view surface orientation mapping (#2907) (e0d37f0)
  • Fixed canvas.translate on withRotatedFrame for landscape-right (#2939) (5efc98b)
  • Use rotate function for landscape-right sensors (38c6983)

📚 Documentation

Release 4.0.5

Choose a tag to compare

@mrousavy mrousavy released this 21 May 16:01
36464c9

4.0.5 (2024-05-21)

🐛 Bug Fixes

  • Fix photos being black/erroring out because of photoQualityBalance="balanced" (#2897) (700a769)
  • Fix WorkletContext initialization (#2896) (8b65361)

Release 4.0.4

Choose a tag to compare

@mrousavy mrousavy released this 15 May 10:45
5d0a675

4.0.4 (2024-05-15)

🐛 Bug Fixes

  • Fix componentDidUpdate() Frame Processor comparison (#2880) (e03b7f1)
  • Fix runOnUiThread executing twice if called from UI (#2883) (5335d81)
  • Fix default exposure being a bit too bright (#2869) (910e99d)
  • Fix location-not-enabled throwing even if location is disabled (#2882) (62ec8e6)
  • Make withBaseClass private, and getNativeBuffer public (#2852) (2415e1f)

📚 Documentation

  • Style Note: sections (5a26928)
  • Update TakePhotoOptions default value comment (#2861) (87f2abc)

Release 4.0.3

Choose a tag to compare

@mrousavy mrousavy released this 06 May 17:25
cbfa0c6

4.0.3 (2024-05-06)

✨ Features

  • Create Frame.withBaseClass to ensure it's always a FrameHostObject (#2849) (688d9f4)

📚 Documentation

  • Add react-native-vision-camera-image-labeler and react-native-vision-camera-barcodes-scanner plugins (#2841) (31d13ea)

Release 4.0.2

Choose a tag to compare

@mrousavy mrousavy released this 06 May 08:12
9ce6469

4.0.2 (2024-05-06)

✨ Features

  • Completely refactor the FrameProcessorPlugins.ts file into multiple files (#2830) (2e2d9b4)

🐛 Bug Fixes

  • Correct android filenames for takeSnapshot [v4] (#2812) (bfc5e35)
  • Fix app.plugin.js ESLint CI (cdbe6a9)
  • Fix RCTBlockGuard not found error (#2781) (0e5a888)
  • Fix runAsync not properly retaining/releasing Frame (#2829) (e75bb9f)
  • Fix VisionCameraProxy.workletContext being null (96c2ecf)
  • Fix CodeScanner crash (#2819) (a53166b)
  • Fix FPS Graph positioning in Skia (945c6a4)
  • Fix missing , in jsi::PropNameID (e0630eb)
  • Rename enableLocationPermission to enableLocation (f8b40fd)
  • Revert initFrameProcessorPlugin change to use VisionCameraProxy again (#2839) (d45c1c6)

📚 Documentation

  • Fix new FP Android import namespace (9812775)
  • Fix Skia invert colors shader example code (3ff02cc)
  • Lower minSdk version to 21 (d11d166)
  • Update photoHdr and lowLightBoost docs (0e9a31b)
  • Update runAsync and runAtTargetFps docs (af2707e)
  • Update react-native-vision-camera-face-detector plugin description. (#2784) (edcac50)