Releases: mrousavy/react-native-vision-camera
Release 4.4.1
Release 4.4.0
4.4.0 (2024-07-02)
✨ Features
🐛 Bug Fixes
- Fix
ResolutionSelector.forSize
not respecting aspect ratio (#3026) (9ca6643) - Fix Orientation edge-cases on iOS (#3039) (497d161)
- Fix wrong hardcode LANDSCPAPE_LEFT value (#3022) (0c0de9e)
- Improve CodeScanner performance by choosing resolution automatically (#2997) (2c8f766)
- Properly reset focus on iOS (#3021) (e01d4cf)
- Remove
Gemfile
/Bundler (#3023) (f5b55dc) - Remove
portrait
,portrait-upside-down
,landscape-left
andlandscape-right
options foroutputOrientation
(#3025) (a773bdc)
📚 Documentation
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
uiRotation
a "short" rotation (#2971) (27b1feb) - fix
EUNSPECIFIED quality
error intakeSnapshot()
(#2963) (dedb1b8) - Fix
MetadataProvider
locationonStatusChanged
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
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
cause
when stringifyingCameraError
(#2898) (c659192) - Set
fps
for Frame Processor on Android (#2925) (f395a18)
🐛 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 forlandscape-right
sensors (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
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, andgetNativeBuffer
public (#2852) (2415e1f)