v4.0.0-beta.11
版本发布时间: 2024-03-27 21:52:42
mrousavy/react-native-vision-camera最新发布版本:v4.5.3(2024-09-08 18:42:23)
4.0.0-beta.11 (2024-03-27)
💨 Performance Improvements
- Add
@FastNative
flags to critical Frame Processor methods (ff2005b)
🐛 Bug Fixes
- Fix
RCTDeviceEventEmitter
import for RN 0.71.X (#2692) (8a95414) - Fix wrong orientation enum being send to ImageCapture (#2683) (4c00ffd)
4.0.0-beta.10 (2024-03-21)
🐛 Bug Fixes
4.0.0-beta.9 (2024-03-21)
✨ Features
🐛 Bug Fixes
- Fix CodeScanner not working (c0e3a14)
- Fix focus on Android by using PX instead of DP (#2666) (f794d48)
- Remove HardwareBufferUtils (3f113e8)
4.0.0-beta.8 (2024-03-19)
✨ Features
🐛 Bug Fixes
4.0.0-beta.7 (2024-03-18)
✨ Features
🐛 Bug Fixes
- Also dont enable if other extension is enabled (5525f2b)
- Fix 10-bit HDR in combination with HDR Extension (19a7b0c)
- Fix Camera not starting because PreviewView isn't laid out (ad746d5)
- Fix capture session configuration error by manually layouting PreviewView (3d68d74)
- Properly check SDR (211783a)
- Remove focus listeners after resetting (2611625)
- Throw correct errors (5fe7608)
- Update outputs if video stabilization or low-light-boost changes (27a4f85)
- Use
CREATED
as default lifecycle state (1682bb2)
4.0.0-beta.6 (2024-03-14)
✨ Features
- Catch Objective-C init errors on plugin init (fa21983)
🐛 Bug Fixes
- Catch Objective-C errors in iOS Frame Processor Plugins (c1f274f)
- Check format requirements in outputs (79d4554)
- Fix
TimeoutException
by usingSTARTED
lifecycle (5283020) - Fix rotation getting (a9093cf)
- Remove
didSessionChangeFromOutside
(5119639) - Remove
not-compatible-with-outputs
error on Android since CameraX supports StreamSharing (8ad08f3) - Remove unneeded context (aac2162)
- Use dummy metering factory instead of display-oriented (a57d640)
4.0.0-beta.5 (2024-03-08)
✨ Features
- Add
type
toonShutter
(photo
orsnapshot
) (f721d97) - Remove
enableAutoStabilization
prop as this was deprecated in iOS 13 (72c8c1b)
🐛 Bug Fixes
- Allow catching errors in
.await()
(7ec53f7) - Allow re-creating if session changed from outside (17feff3)
- Don't play shutter sound unless explicitly enabled (f5c0131)
- Export
Snapshot.ts
(6be93af) - Fix calling
sendAvailableDevicesChangedEvent
before module is initialized (b4a9086) - Only unbind current outputs, not all (50f47c5)
4.0.0-beta.4 (2024-03-01)
✨ Features
- Add
androidPreviewViewType
prop (dd56925) - Add
cancelRecording
(f51921b) - Add
onShutter
event (dd49365) - Add
takeSnapshot()
toPreviewView
(e17eb50) - Add CodeScanner pipeline (
ImageAnalysis
) (08d86d4) - Allow setting custom format in ImageWriter (d0eb702)
- Give V4 🫴 (dd4c8fb)
- Implement native HardwareBuffer rendering for
VideoPipeline
(00155c9) - Properly get orientation and isMirrored in FP (a4a78e9)
- Shutter sound and stabilization (7b46390)
- Use CameraX for device details (#2624) (54997a2)
- Use HDR or NIGHT extensions if available (b9a0434)
🐛 Bug Fixes
- Capture directly in lambda (c741c90)
- Check for ImageAnalysis support (cb2f1c3)
- Fix focus not running on UI Thread (e4a5fe3)
- Fix optional delegate (c6e55ac)
- Fix transform matrix (fd1b118)
- Implement
takeSnaphot
on iOS (a638b66) - Properly close
ImageWriter
(f36d304) - Rename to
qualityBalance
(e135b3b) - Use image transformation info from input surface (0a415f3)
- Use runOnUiThread only if needed (d8dbd53)
📚 Documentation
- Update docs for
qualityBalance
(158de70)