Releases: onfido/onfido-sdk-ui
Releases · onfido/onfido-sdk-ui
6.15.0-LTS
Added
- Internal: Added configuration to support visual regression tests to run against multiple languages.
- Internal: Send analytics events to
v3/analytics
. Analytics events are also sent to Woopra, until we are ready to discontinue the current Woopra integration.
Changed
- UI: Accessibility - Return focus to Document capture image preview's "Enlarge image" toggle button when expanded image preview's "Close" toggle button is clicked.
Fixed
- Public: Video element errors and validation errors returned by live_videos endpoint are handled by the Web SDK
- Public: Fix grey oblong background appearing under the red cross icon on the Unsupported Browser error screen
- Public: Remove grey circle background from SVG icon displayed on Generic Error screen so that custom circle background is visible
- Internal: Upgraded some dev dependencies to fix some npm security vulnerabilities, also upgraded socket.io-client dependency to v4.2.0 to resolve npm security vulnerability in [email protected]
6.14.0
Added
- UI: Added new Intro screen when user begins the Cross Device flow on their mobile device.
- Public: Added SDK configuration options for integrators to customize product name, copy and/or logo image for the new Cross Device Mobile Client Intro screen.
Fixed
- Public: Fixed custom SDK body text color set in
customUI.colorContentBody
option not getting applied to Country Selector text input if an element level text colour has been set in host app/site's stylesheet. - UI: Fixed Country Selector dropdown menu closing on clicking on scrollbar.
- Internal: Auth - Fetch correct API URL from the Redux store
6.13.0
Added
- Internal: New data field in metadata to track number of takes for each submitted image.
Fixed
- UI: Fixed the text placement to be below the primary button in the Document Upload screen.
- Public: Fixed cross-device connection issue when cross-device link is accessed multiple times.
- UI: Fix QR Code link section rendering issue in Safari 14 on desktops
- UI: The Cross Device link options visible to end users can be configured by passing an array of the link method IDs (
qr_code
,sms
,copy_link
) in the order of preference to_crossDeviceLinkMethods
in SDK initialization configuration.
6.12.0
Fixed
- UI: Fix camera view not lining up with Document Live Capture overlay.
- Public: Fix file selector "capture" prop for WebSDK inside iOS WebView
- Public: Fix
CROSS_DEVICE_START
user analytic event for integrators never being dispatched when user switches to the Cross Device flow - UI: Update copy in Face Liveness Video intro screen from 25s to 20s to reflect the correct time limit
- Remove old locale key type definitions that are no longer used/exist in code base.
Changed
- UI: Accessibility - Make "Tips" heading in Cross Device SMS Sent and Mobile Connected screens a level 3 heading.
- UI: Accessibility - Change Cross Device Send Link alternate option text to be an ARIA heading level 2
6.11.1
Added
- UI: Accessibility - Add ARIA role
img
and an ARIA label for the generated cross device secure link QR code image - Internal: Resolved inaccurate reporting on test automation failures.
- Internal: Added note about lockfileVersion and npm version requirement for SDK contributors in CONTRIBUTING.md documentation.
- Public: Improvements in video capture steps.
Changed
- UI: Accessibility - Add ARIA role
button
to "Resend link" and "Cancel" links on Cross Device flow SMS Sent, Mobile Connected screens. - Internal: Remove
image_quality
breakdowns fromsdk_warnings
response because the field will be soon deprecated. - Internal: Moved
geckodriver
fromdependencies
todevDependencies
. - Internal: Added ability to run tests without the use of the mock server for the UI tests.
6.2.2-LTS
Changed
- Public: Reduce resolution to VGA if browser does not support recording videos in WebM format (e.g. Safari 14.x that only supports MP4 format) to avoid large video files being created.
- Internal: Update SDK's Publish Release workflow to not use the now deprecated
set-env
command.
5.11.4-LTS
Changed
- Public: Reduce resolution to VGA if browser does not support recording videos in WebM format (e.g. Safari 14.x that only supports MP4 format) to avoid large video files being created.
- Internal: Update SDK's Publish Release workflow to not use the now deprecated
set-env
command. - Internal: Fix cross-device SMS number input bundle import that broke when using newer versions of
@babel/preset-env
.
6.10.2
Fixed
- UI: Fixed Camera Permissions Primer screen rendering issue on Safari 14.1 (desktop) without changing existing SDK layout structure.
6.10.1
Changed
- Reduce resolution to VGA if browser does not support recording videos in WebM format (e.g. Safari 14.x that only supports MP4 format) to avoid large video files being created.
- UI: Fixed Camera Permissions Primer screen rendering issue on Safari 14.1 (desktop) by using ScreenLayout wrapper component.
6.10.0
Added
- Internal: Added note about lockfileVersion and npm version requirement for SDK contributors in CONTRIBUTING.md documentation.
- Public: Added support for Italian
it_IT
and Portuguesept_PT
. - Internal: Added support for visual regression testing using Percy.
- Internal: Resolved inaccurate reporting on test automation failures.
- Internal: Added ability to execute/ignore tests via the use of tags/regex.
Changed
- UI: Update Face Liveness Video Challenge screen UI
- UI: Updated default Welcome screen UI
- Public: Move documentation for SDK UI Customizations and Premium Enterprise Features into separate Markdown files to reduce README size
- Public: Updated SDK copy for English (en_US), Spanish (es_ES), French (fr_FR) and German (de_DE). For details on what keys/copy have changed please refer to the MIGRATION.md documentation.
- Internal: Upgrade sass (Dart Sass) from
1.26.9
to1.33.0
- Internal: Upgrade stylelint from
13.6.1
to13.13.1
as well as stylelint-config-sass-guidelines from7.0.0
to8.0.0
and stylelint-scss from3.18.0
to3.19.0
Fixed
- Internal: Upgrade Preact from version
10.5.4
to10.5.13
in order to resolve an unhandled exception on reinitialising the SDK after closing the SDK modal for some integrations when using Modal mode. - Public: Fix Country Selection screen not displaying when SDK is initialised with boolean
documentTypes
configuration. - Public: Fixed issue where
onComplete
callback was fired without the necessary data for theface
step. Added exception toonError
callback to inform thatonComplete
could not be fired due to missing data.