Skip to content

Latest commit

 

History

History
205 lines (115 loc) · 10.8 KB

CHANGELOG.md

File metadata and controls

205 lines (115 loc) · 10.8 KB

Changelog

Unpublished

🛠 Breaking changes

  • [plugin] Upgrade minimum runtime requirement to Node 14 (LTS). (#18204 by @EvanBacon)

🎉 New features

🐛 Bug fixes

💡 Others

12.3.0 — 2022-07-07

🐛 Bug fixes

  • On Web prevent the QR worker to be immediately cleaned up after finishing it's job to allow reusing it later (e.g. do not re-download every script upon repetitive worker launch). (#15369 by @jer-sen and #17833 by @bbarthec)
  • Fix bug on Android that would only allow you to scan one bar code. (#17655 by @witheroux)

12.2.0 — 2022-04-18

🎉 New features

  • Update useWebQRScanner to allow scanning QR codes with inverted colors (light foreground and dark background). (#16106 by @rissois)

🐛 Bug fixes

  • Fix crash on Android when app is restored from background by check for null value of pendingFaceDetectorSettings. (#16543 by @giautm)

💡 Others

  • Updated @expo/config-plugins from 4.0.2 to 4.0.14 (#15621 by @EvanBacon)
  • Replace CapturedPicture type with CameraCapturedPicture in events callback to avoid duplicated types. (#15936 by @Simek)

⚠️ Notices

  • On Android bump compileSdkVersion to 31, targetSdkVersion to 31 and Java version to 11. (#16941 by @bbarthec)

12.1.2 - 2022-02-04

🐛 Bug fixes

  • Fix null pointer exception when barcode scanner or face detector are not installed. (#16167 by @tsapeta)

12.1.1 - 2022-02-01

🐛 Bug fixes

  • Fix Plugin with id 'maven' not found build error from Android Gradle 7. (#16080 by @kudo)

12.1.0 — 2021-12-03

🐛 Bug fixes

  • Fix Gradle error when running Gradle from outside of the project directory. (#15109 by @kudo)

💡 Others

12.0.1 — 2021-10-01

This version does not introduce any user-facing changes.

12.0.0 — 2021-09-28

🛠 Breaking changes

  • Deprecate getPermissionsAsync and requestPermissionsAsync methods, use specific permission requesters. (#13855 by @bycedric)
  • Dropped support for iOS 11.0 (#14383 by @cruzach)

🎉 New features

  • Add useCameraPermissions and useMicrophonePermissions hooks from modules factory. (#13855 by @bycedric)
  • [plugin] Add monorepo support to Android config plugin for Gradle import. (#14521 by @EvanBacon)

🐛 Bug fixes

  • Fix QR code scanner in expo web by updating @koale/useworker to ^4.0.2 (#14138 by @fguitton)
  • Update video codec validation to properly reject an invalid codec option. (#13341 by @ajsmth)
  • Add get/requestMicrophonePermissionsAsync() and get/requestCameraPermissionsAsync() methods to named exports. (#13621 by @ajsmth)
  • Fix regression in video quality option of recordAsync() (#13659 by @ajsmth)
  • Update permission validation to check for only camera permissions in initWithModuleRegistry() (#13690 by @ajsmth)
  • Fix building errors from use_frameworks! in Podfile. (#14523 by @kudo)

💡 Others

11.1.1 — 2021-06-16

This version does not introduce any user-facing changes.

11.1.0 — 2021-06-07

🎉 New features

  • On iOS added new codec parameter in recordAsync() method and new method getAvailableVideoCodecsAsync() that queries the device for available video codecs. (#12772 by @ajsmth)
  • Added new requestCameraPermissionsAsync(), requestMicrophonePermissionsAsync(), getCameraPermissionsAsync() and getMicrophonePermissionsAsync() methods which gives more fine-grained control over requested permissions. (#12860 by @ajsmth)

💡 Others

11.0.3 — 2021-05-03

🐛 Bug fixes

11.0.2 — 2021-04-13

This version does not introduce any user-facing changes.

11.0.1 — 2021-04-01

🐛 Bug fixes

11.0.0 — 2021-03-10

🛠 Breaking changes

  • Remove deprecated barCodeTypes prop in favor of barCodeScannerSettings.barCodeTypes. (#11904 by @EvanBacon)

🎉 New features

🐛 Bug fixes

  • Remove peerDependencies and unimodulePeerDependencies from Expo modules. (#11980 by @brentvatne)

10.0.0 — 2021-01-15

⚠️ Notices

🛠 Breaking changes

🎉 New features

🐛 Bug fixes

9.1.1 — 2020-12-14

This version does not introduce any user-facing changes.

9.1.0 — 2020-11-17

🎉 New features

  • Added support for video poster to show while the camera is loading on web. (#9930 by @liorJuice)

9.0.0 — 2020-08-18

🛠 Breaking changes

  • Fix bug where barCodeTypes needed to be defined on web. (#9630 by @EvanBacon)
  • Fix bug where camera would sometimes not start on web desktop. (#9630 by @EvanBacon)
  • Deleted CaptureOptions in favor of CameraPictureOptions (#9558 by @EvanBacon)
  • Added camera permissions declarations to AndroidManifest.xml on Android. (#9224 by @bycedric)

🎉 New features

  • Added support for QR scanning on web. (#4166 by @EvanBacon)
  • Remove fbjs dependency
  • Delete prop-types in favor of TypeScript. (#8680 by @EvanBacon)
  • [camera] Directly import createElement from react-native-web for RNW v12 support. (#8773 by @EvanBacon)

🐛 Bug fixes

  • Fix QR scanning on Android and iOS. (#9741 by @EvanBacon)
  • [web] Fix bug where swapping cameras caused screen to flicker (#9558 by @EvanBacon)
  • [web] Fix bug where swapping cameras doesn't persist camera settings (#9558 by @EvanBacon)

8.3.1 — 2020-05-29

This version does not introduce any user-facing changes.

8.3.0 — 2020-05-27

🛠 Breaking changes

  • The base64 output will no longer contain newline and special character (\n, \r) on Android. (#7841 by @jarvisluong)

🎉 New features

  • Added exports for TypeScript definitions: CameraType, ImageType, ImageParameters, ImageSize, CaptureOptions, CapturedPicture (#8457 by @jarvisluong)