Skip to content

Releases: mrousavy/react-native-vision-camera

Release 4.4.1

03 Jul 14:01
147dd0b
Compare
Choose a tag to compare

4.4.1 (2024-07-03)

✨ Features

  • Dynamically determine sensorOrientation based on default output-connection-orientation (#3046) (fadd2f1)

💨 Performance Improvements

Release 4.4.0

02 Jul 14:19
27c0d16
Compare
Choose a tag to compare

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 and landscape-right options for outputOrientation (#3025) (a773bdc)

📚 Documentation

Release 4.3.2

13 Jun 14:16
4a0ac0f
Compare
Choose a tag to compare

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

12 Jun 16:07
b7fae1e
Compare
Choose a tag to compare

4.3.1 (2024-06-12)

✨ Features

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

Release 4.3.0

12 Jun 15:33
1e1694b
Compare
Choose a tag to compare

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

10 Jun 15:27
ce21187
Compare
Choose a tag to compare

4.2.1 (2024-06-10)

✨ Features

Release 4.2.0

10 Jun 11:03
f7cd4b7
Compare
Choose a tag to compare

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

06 Jun 15:15
08878a2
Compare
Choose a tag to compare

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

21 May 16:01
36464c9
Compare
Choose a tag to compare

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

15 May 10:45
5d0a675
Compare
Choose a tag to compare

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)