Releases: mrousavy/react-native-vision-camera
Release list
Release 4.3.2
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
Release 4.3.0
4.3.0 (2024-06-12)
✨ Features
🐛 Bug Fixes
- Always initialize continuous AF/AE on iOS (#2970) (89a8806)
- Always keep
uiRotationa "short" rotation (#2971) (27b1feb) - fix
EUNSPECIFIED qualityerror intakeSnapshot()(#2963) (dedb1b8) - Fix
MetadataProviderlocationonStatusChangedcrash (#2974) (50745dd) - Fix
onUIRotationChangedrotation being 180deg inverted (#2962) (0247d83) - Fix react-native-reanimated is not installed! error when
inlineRequiresare enabled (#2953) (573ab81) - Use proper aspect ratio in Preview View on Android (#2964) (555474d)
📚 Documentation
Release 4.2.1
Release 4.2.0
Release 4.1.0
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
- Implement Orientation ✨ (#2932) (24e7739)
- Also log
causewhen stringifyingCameraError(#2898) (c659192) - Set
fpsfor Frame Processor on Android (#2925) (f395a18)
🐛 Bug Fixes
- Apply orientation to video output (#2912) (6c7645d)
- Fix
LocationManagerabstract 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
rotatefunction forlandscape-rightsensors (38c6983)
📚 Documentation
Release 4.0.5
Release 4.0.4
4.0.4 (2024-05-15)
🐛 Bug Fixes
- Fix
componentDidUpdate()Frame Processor comparison (#2880) (e03b7f1) - Fix
runOnUiThreadexecuting 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
withBaseClassprivate, andgetNativeBufferpublic (#2852) (2415e1f)
📚 Documentation
Release 4.0.3
Release 4.0.2
4.0.2 (2024-05-06)
✨ Features
🐛 Bug Fixes
- Correct android filenames for takeSnapshot [v4] (#2812) (bfc5e35)
- Fix
app.plugin.jsESLint CI (cdbe6a9) - Fix
RCTBlockGuardnot found error (#2781) (0e5a888) - Fix
runAsyncnot properly retaining/releasing Frame (#2829) (e75bb9f) - Fix
VisionCameraProxy.workletContextbeing null (96c2ecf) - Fix CodeScanner crash (#2819) (a53166b)
- Fix FPS Graph positioning in Skia (945c6a4)
- Fix missing
,injsi::PropNameID(e0630eb) - Rename
enableLocationPermissiontoenableLocation(f8b40fd) - Revert
initFrameProcessorPluginchange to useVisionCameraProxyagain (#2839) (d45c1c6)
📚 Documentation
- Fix new FP Android import namespace (9812775)
- Fix Skia invert colors shader example code (3ff02cc)
- Lower
minSdkversion to 21 (d11d166) - Update
photoHdrandlowLightBoostdocs (0e9a31b) - Update
runAsyncandrunAtTargetFpsdocs (af2707e) - Update react-native-vision-camera-face-detector plugin description. (#2784) (edcac50)