Change Log
2.1.0 (2018-03-19)
- Implemented pinch-to-zoom camera functionality for devices supporting it (currently available only in Chrome).
- Added new
enablePinchToZoom
option to BarcodePicker.create
to enable/disable pinch-to-zoom (when available). - Added new
setZoom
function to BarcodePicker
to manually set zoom level (when available). - Fixed tap-to-focus functionality failing to work on some devices.
2.0.0 (2018-03-15)
- Updated external Scandit Engine library to version 5.7.
- Added functionalities for easier/better usage of single-instance background pickers that don't acccess cameras all the time and are shared for different elements.
- Added new
pauseCamera
option to BarcodePicker.pauseScanning
to also pause camera input, allowing to interrupt (and later resume) the current camera stream. - Added new
BarcodePicker.reassignOriginElement
function to re-assign the BarcodePicker
to a different HTML element. - Breaking change:
BarcodePicker.resumeScanning
function now returns a promise resolving to the BarcodePicker
instance instead of the instance directly; this is due to the fact that the method might need to access the camera again. - Removed deprecated
BarcodePicker.UIStyle
enum. - Removed deprecated
BarcodePicker.UIStyle.SCANLINE
enum value. - Removed deprecated
BarcodePicker.create
's uiStyle
option. - Updated adapter library to version 6.1.4.
1.4.7 (2018-03-05)
- Fixed
BarcodePicker
trying to access again the camera after being destroyed. - Fixed
BarcodePicker
still referencing the used camera as the active camera after being destroyed.
1.4.6 (2018-02-23)
- Greatly improved external Scandit Engine library loading times, especially on iOS devices.
- Reduced external Scandit Engine library size.
- Fixed external Scandit Engine library failing to load in Edge.
- Improved camera initialization for slower devices.
1.4.5 (2018-02-22)
- Fixed camera initialization failing in Edge.
- Fixed camera initialization failing for some combinations of browsers/devices incorrectly reporting camera failures.
- Fixed
BarcodePicker
instances not being correctly destroyed when never accessing a camera.
1.4.4 (2018-02-14)
- Updated external Scandit Engine library to version 5.6.2.
- Updated adapter library to version 6.1.1.
- Updated howler library to version 2.0.9.
- Updated tslib library to version 1.9.0.
1.4.3 (2018-02-08)
- Fixed incorrect back camera identification for some devices.
1.4.2 (2018-01-12)
- Updated external Scandit Engine library to version 5.6.
- Added documentation note about problems with iOS 11.2.2/11.2.5.
1.4.1 (2018-01-11)
- Switched external Scandit Engine library to allow memory growth in order to prevent random memory allocation failures.
1.4.0 (2018-01-08)
- Added new Scandit Parser Library support to parse data string into structured data. For details refer to the new
Parser
object and the Scandit Parser Library's documentation. - Added new
BarcodePicker.createParserForFormat
and Scanner.createParserForFormat
functions to create and use Parser
objects. - Improved documentation.
1.3.2 (2017-12-21)
- Fixed external Scandit Engine library still already registering a device activation on initial configuration in some cases.
- Fixed bug preventing scan settings to be changed after the initial setup for
Scanner
and BarcodePicker
objects. - Improved memory usage and speed when modifying scan settings.
- Updated external Scandit Engine library to version 5.6-beta.2.
- Updated howler library to version 2.0.7.
1.3.1 (2017-12-19)
- Fixed external Scandit Engine library registering a device activation on initial configuration: now a device registered only at the time the first frame is processed. This means that unused
Scanner
objects or BarcodePicker
objects starting in a paused state or with no camera access will no longer trigger registrations.
1.3.0 (2017-12-15)
- Implemented functionality to delay camera access (and thus possible user permission requests) to after a
BarcodePicker
has been created, allowing for early external Scandit Engine library initialization. - Added new
accessCamera
option to BarcodePicker.create
to enable/disable camera access on picker creation. - Added new
BarcodePicker.accessCamera
function to access the camera after picker creation (if disabled on creation). - Updated adapter library to version 6.0.3.
- Updated eventemitter3 library to version 3.0.0.
- Updated tslib library to version 1.8.1.
1.2.2 (2017-12-05)
- Fixed possible problems during camera detection for some older browsers.
- Fixed camera initialization failing for some combinations of browsers/devices incorrectly reporting camera failures.
- Fixed camera initialization sometimes failing in Safari mobile on iOS 11.0 - 11.0.2.
- Fixed
BarcodePicker
element sometimes overflowing its given origin element by 1 pixel.
1.2.1 (2017-11-29)
- Fixed
BarcodePicker
not getting hidden when the relative option or function is provided/called. - Fixed incorrect
BarcodePicker
visibility option and function only partially hiding the containing element. - Fixed
BarcodePicker
's originElement
being left in an inconsistent state after being destroyed. - Fixed incorrect camera front/back detection on some devices set to a system language different from english.
1.2.0 (2017-11-27)
- Deprecated
BarcodePicker.UIStyle
in favor of BarcodePicker.GuiStyle
to be consistent with other existing Scandit SDKs. - Deprecated
BarcodePicker.create
's uiStyle
option in favor of guiStyle
. - Deprecated
BarcodePicker.UIStyle.SCANLINE
in favor of BarcodePicker.GuiStyle.LASER
to be consistent with other existing Scandit SDKs. - Added new
BarcodePicker.setGuiStyle
function to set the GUI of the picker after creation. - Correctly detect failed camera initialization in various situations due to unforeseen hardware issues and reject promises with a
NotReadableError
error plus close the video stream when it's the case. - Fixed broken camera selection in
BarcodePicker
when one of the cameras cannot be accessed. - Improved README documentation.
- Improved
BarcodePicker
documentation.
1.1.0 (2017-11-17)
- Implemented tap-to-focus camera functionality for devices supporting it (currently available only in Chrome).
- Implemented device torch/torchlight toggle functionality and relative button for devices supporting it (currently available only in Chrome).
- Added new
enableTapToFocus
option to BarcodePicker.create
to enable/disable tap-to-focus (when available). - Added new
enableTorchToggle
option to BarcodePicker.create
to enable/disable torch toggle button (when available). - Added new
setTorchEnabled
function to BarcodePicker
to enable/disable torch (when available). - Fixed missing camera switcher button when preselecting a camera on
BarcodePicker
creation. - Fixed incorrect domain name detection and verification in Firefox.
- Fixed buttons and touch events sometimes not being triggered on mobile devices.
- Improved
BarcodePicker
buttons and touch events responsiveness. - Updated adapter library to version 6.0.2.
- Improved README documentation.
- Improved CHANGELOG format.
- Improved documentation navigation.
1.0.8 (2017-11-15)
- Implemented automatic regularly triggered focus procedure for cameras not supporting continuous focus mode (but supporting at least manual focus); this greatly increases usability and scanning performance. Currently available only in Chrome.
- Fixed incorrect domain name detection and verification in Edge.
- Improved
BarcodePicker
documentation.
1.0.7 (2017-11-13)
- Fixed
ScanditSDK.configure
not rejecting in case of unsupported browsers when not performing any of the preloading functions, now the promise is correctly rejected. - Fixed incorrect error thrown on
ScanditSDK.configure
calls in case of unsupported browsers, now the promise is correctly rejected with said error. - Fixed incorrect error thrown on
ScanditSDK.loadEngineLibrary
calls in case of unsupported browsers, now the promise is correctly rejected with said error. - Fixed incorrect error thrown when a code containing data in non-UTF-8 format is scanned, now the barcode result is correctly created with an empty parsed data string.
1.0.6 (2017-11-10)
- Fixed incorrect camera initialization and metadata storage in Firefox mobile.
1.0.5 (2017-11-10)
- Altered function call (same functionality) to make the library correctly parsable by Internet Explorer 11, and more graciously fail with built-in errors later.
- Added small shadow to camera switcher button to make it more visible on bright backgrounds.
- Improved README documentation.
- Minor CHANGELOG formatting changes.
1.0.4 (2017-11-09)
- Fixed camera feed being interrupted in Safari desktop/mobile when
BarcodePicker
element or page loses and regains visibility. - Fixed rare broken camera access in Safari when switching between cameras or setting camera options in the
BarcodePicker
. - Updated adapter library to version 6.0.0.
1.0.3 (2017-11-08)
- Fixed
BarcodePicker
video feed randomly freezing when switching between multiple cameras. - Fixed searchArea limitation not being correctly applied to all code types in
ScanSettings
.
1.0.2 (2017-11-08)
- Fixed
Barcode
object to correctly contain location information as Quadrilateral
object instead of array. - Improved
ScanSettings
documentation. - Improved README documentation.
1.0.1 (2017-11-07)
- Added missing external Scandit Engine files to build folder.
1.0.0 (2017-11-07)