Releases: onfido/onfido-sdk-ui
Releases · onfido/onfido-sdk-ui
5.10.0
Added
- Internal: Added basic history to SDK demo.
- Public: Added French translation. The language tag is
fr_FR
.
Changed
- Internal: Remove unused dependencies and scripts from
package.json
- Public: Update description for
region
queryString inCONTRIBUTING.md
- Public: Updated Browser Compatibility section in
README.md
to better indicate IE11, Firefox support - Public: Update English copy text for error message shown when no document is in the cameras view
- Public: The
useMultipleSelfieCapture
configuration option is now stable and enabled by default - UI: All primary/secondary buttons now use the new width styling. This change also fixes the buttons UI issues noticeable when using
de_DE
as a language.
Fixed
- UI: Accessibility - Focus is at document start
- Public: Fix unexpected back button behaviour due to
createBrowserHistory
usage. The SDK now usescreateMemoryHistory
. - UI: Fixed blank screen displaying instead of Cross Device screen on desktop browsers when
uploadFallback
is disabled and browser does not have getUserMedia API support, e.g. IE11, or device does not have a camera.
5.9.2
Fixed
- UI: Fixed 2000ms delay to load Document Capture screen on non-Safari browsers
5.9.1
Fixed
- UI: Camera not detected on Safari 13.1 on iOS 13.4.1, macOS 10.15.4
5.9.0
Added
- Public: Added German translation and Lokalise integration. The expected language tags are now
en_US
,es_ES
,de_DE
. For backward compatibility, the SDK can also be initialised with tags that do not include the region, e.g.en
,es
,de
. - Public: Added information on api/token regions to documentation.
- Internal: Added
CA
region in demo app. The region can be selected in the previewer or by using a query string.
Changed
- Public: Updated to
[email protected]
to have fix for camera stream not getting on some Android devices, e.g. Motorola G5, Samsung Galaxy A6
Fixed
- Public: Fix moderate vulnerabilities in
minimist
, a sub-dependecy used by@babel/cli
and@babel/register
. - Public: Fixed hybrid device camera detection and access request
- Public: Fixed bug where user is able to click/tap on the button on the Camera screen before allowing/denying permission.
- Public: Fixed iPads on iOS13 not getting detected as mobile device on cross device flow.
5.8.0
Added
- Public: Changes to allow hybrid desktop/mobile devices with environment facing cameras (e.g. Surface Pro) to use the
useLiveDocumentCapture
feature (BETA feature) - Public: Added a
userAnalyticsEvent
to existing analytics calls for integrators to listen for. - Internal: Analytics can now be disabled via the
disableAnalytics
option - Internal: Test coverage for snapshot feature
- Internal: Send additional properties to back-end in
sdkMetadata
objectisCrossDeviceFlow
(true|false)deviceType
(mobile|desktop)captureMethod
(live|html5)
Changed
- Internal: Use
v2/snapshots
endpoint to upload additional selfie frames. - Internal: Split Confirm component into multiple files.
- UI: Accessibility - Update font colours and weight following DAC Audit report feedback
- Internal: Pushing
dist
files to S3 and publishing the release to NPM has been automated using GitHub Actions - Internal: Improve UI tests stability when looking for and clicking on UI elements
- Public: Documentation should use
v3
for API endpoints and include links to migration guide.
Fixed
- Public: Fixed bug where iPads on iOS13 were detected as desktop devices.
- Public: Made fallback error message appropriate for both face and document verification
- Public: Fixed video recording in liveness capture step not working for Firefox >= 71
- Internal: Fix flaky modal UI tests
- Public: Fixed bug where blob was not handled correctly when an upload event was fired on IE11
- Public: Fixed camera permission screen layout issue on desktop Safari where buttons disappears below view height
- Public: Prevent "submit" event from being emitted when selecting a document
5.7.1
Fixed
- Public: Cross-device client and link now works when desktop SDK configured with US JWT
5.7.0
5.7.0
Added
- Public: Added a troubleshooting section to the documentation with details about solving CSP related issues
- UI: Added selfie intro screen
- UI: Option to send cross device secure link using QR code (Note: changes introduced with this UI update include possible breaking changes for integrators with custom translations or copy)
Changed
- UI: Unsupported browser message for mobile browsers without getUserMedia API support when
uploadFallback
option is disabled for live document capture and selfie/liveness capture steps - Internal: Redux and EventEmitter are not in the global scope anymore. The
tearDown
function will only unmount the SDK. - UI: As part of work to add the QR code option for cross device secure link the UX has been updated for the copy link and SMS options
Fixed
- Internal: Fixed Latest Surge link version not getting updated during release process
- UI: Fixed Liveness capture staying darkened after x-device message dismissed
- Accessibility: Changed Liveness background colour from 66% to 80%
5.6.0
5.6.0
Note: This version might be a breaking change if you are providing customised language translations. Please see MIGRATION.
Added
- Internal: Added UI test to check Submit Verification button is not clickable multiple times if Complete step is excluded
- Internal: Deploy source maps to Sentry using @sentry/cli within our deployment script
Changed
- Internal: Updated
react-webcam-onfido
to get check(s) for stream before calling getVideoTracks/getAudioTracks method - Internal: Removed
libphonenumber-js
from main bundle. Reduced bundle size limit by 20%. - Internal: Use
@sentry/browser
instead ofraven
to track Sentry events - UI: New Document Upload screen (Note: changes introduced with this UI update include possible breaking changes for integrators with custom translations or copy)
Fixed
- Internal: Latest Surge link gets updated only on release of a full version, not release candidates or beta releases
- UI: Fixed missing "basic camera mode" link style on "Camera not working" timeout error message when going through flow on mobile
- UI: Fixed Back button not taking user to the right place during liveness recording
- UI: Fixed invalid but possible number error blocking subsequent retries
- UI: Users should not be able to click or tap on confirmation buttons or camera buttons multiple times. This will prevent callbacks (such as the onComplete callback) or click events to be fired multiple times.
5.5.0
5.5.0
Added
- Public:
useLiveDocumentCapture
option added to the document capture step (BETA feature)
Fixed
- UI: Accessibility - Non-interactive Header elements do not get announced with "Double tap to activate" by Android Talkback
- UI: Custom string
nextButton
set for thewelcome
step is now displayed - Internal: Fixed flaky UI tests by adding functions that wait until the elements are located or clickable
5.4.0
5.4.0
Added
- UI: Added hover and active state styles for clickable UI elements (buttons, links)
- Public: Added
onError
callback. Callback that fires when one of the following errors occurs: timeout errors, authorization errors, server errors and invalid and expired token errors.
Changed
- Public: Disable console warning for client integrations that override only some strings for a supported language. If they provide partial translations for an unsupported language, warning is still displayed.
- Public: Only upgrade to patch versions of
socket.io-client
. See issue here
Fixed
- UI: Accessibility - Make camera feed view accessible to screen readers
- UI: Accessibility - More descriptive ARIA label for camera shutter button
- Public: Fixed user being able to submit verification multiple times on coming back to desktop from the cross device flow if integrator has opted to exclude the
complete
step in SDK setup - Public: Fix wrong cross device redirection when user is already on mobile (iOS 10)