Releases: onfido/onfido-sdk-ui
Releases · onfido/onfido-sdk-ui
2.4.1
Fixed
- Public: Fixed bug where hitting Enter key on the SMS input number was causing page reload.
2.4.0
Added
- Public: Added
documentTypes
to thedocument
step options, which allows to filter the document types.
Changed
- Internal: Refactored layout to better handle presence of header and footer elements.
- Internal: On cross device client clear error message when configuration is received.
2.3.0
Added
- Public: Added
onModalRequestClose
options, which is a callback that fires when the user attempts to close the modal.
Fixed
- Public: Fixed
complete
step to allow string customization at initialization time. - Internal: Fixed the
tearDown
method to clear the onComplete callback functions. (issue #306)
Deprecated
- Internal: Removed references to
useWebcam
option from README.md and return console warning if the option is used.
2.2.0
[2.2.0]
Added
- Public: Added support for internationalisation. The SDK can now be displayed in Spanish by adding
{language: 'es'}
to the initialization options. It can also be displayed in a custom language by passing an object containing the custom phrases and the locale. Iflanguage
is not present or the wrong locale tag is provided, the language locale will default toen
. - Public: Added support for Spanish language on the SMS body.
- Public: Added webcam support on Safari and IE Edge.
Changed
- UI: If the webcam is facing the user it will be mirrored
2.1.0
Added
- UI: The cross device feature now supports sending the link via SMS. Users will still be able to copy the link to clipboard.
- UI: Introduced a back button that allows the user to navigate to the previous screen.
- Internal: Introduced code splitting and lazy loading
2.0.0
In this version, we're introducting cross-device flow that allows to continue verification on mobile in order to take photos of your document and face.
Note:
- This version is not backwards-compatible. Migration notes can be found in MIGRATION.md
Removed
- Public: Removed
onDocumentCapture
that used to be fired when the document had been successfully captured, confirmed by the user and uploaded to the Onfido API - Public: Removed
onFaceCapture
callbacks that used to be fired when the face has beed successfully captured, confirmed by the user and uploaded to the Onfido API. - Public: Removed
getCaptures
function that used to return the document and face files captured during the flow. - Internal: Removed confirm action
Changed
- Public: Changed the behaviour of
onComplete
callback. It used to return an object that contained all captures, now it doesn't return any data.
1.1.0
Added
- UI: Introducing glare detection feature for documents. Not available for documents in PDF format yet.
- Internal: Added confirm step to router history and tracking
Changed
- UI: Improved how errors and warnings are displayed on the UI
- UI: Improved navigation between steps when using the browser navigation buttons
- Internal: Improved event tracking
- Internal: Upgraded Preact to latest version
1.0.0
Note
Bumping version to 1.0.0 because SDK has already been implemented in production integrations. Also SDK now integrates with Onfido API.
Changed
- Public: Support uploading documents and live photos to the Onfido API through use of new SDK tokens (JWT v2)
Removed
- Public: Face no longer supports PDF upload in order to align with the Onfido API.
0.15.1
Fixed
- Internal: Fixed problem on certain versions of Firefox that no longer supported the old version of getUserMedia
- Internal: Fixed the
tearDown
method to clear the documents and faces currently in the store - Internal: Fixed PDF preview issues on IE Edge, IE11 and mobile browsers.
- Internal: Fixed lower resolution webcams not working on Firefox
Changed
- Internal: replaced the has_webcam checker with a more robust version that periodically checks if the state changed