v5.0.0
5.0.0 (2023-07-11)
Code Refactoring
- replace
initevent withcamera-on/camera-off/error(2394f0a)
Features
- allow passing arbitrary video constraints (953919a), closes #322
- detect multiple QR codes at once (3f3b1fb)
BREAKING CHANGES
- remove
cameraprop
Use paused="true" instead of camera="off". For all other uses of camera
use constraints instead.
- remove
decodeevent
To align overall naming conventions with the Barcode Detection API.
Use detect event instead.
- change
detectevent payload
Event payload is now equal to the return value of BarcodeDetector.detect,
namely and array of DetectedBarcode instances. Incidentally, this now
enables detecting multiple QR codes at once.
- remove
initevent.
Usecamera-on/camera-off/errorinstead.