Releases: onfido/onfido-sdk-ui
Releases · onfido/onfido-sdk-ui
6.9.0
Added
- Public: Added Authentication module as a beta feature
- Internal: Added support for testing across multiple browsers.
- Internal: Added polyfills for
Object.entries
andObject.fromEntries
for IE11.
Changed
- Update to module on
tsconfig.json
fromes6
toesnext
, to allow conditional imports of specific modules (especially useful for Auth/IDV bundle separation).
Fixed
- UI: Fix SVG icon on Cross Device Uploads Successful, Selfie Intro screens not displaying on some iOS devices, e.g. iPhone 12
6.8.0
Added
- Internal: Add type defition for
borderRadiusSurfaceModal
customisation option. - Public: Add information about Lokalise CLI v2 in CONTRIBUTING doc
- Internal: Refactor
useSdkOptions()
hook to return a tuple:[options, { findStep }]
- Internal: Added default filename for all document uploads if filename is not present.
- Public: Added user consent content reload screen
- Public: When
photoCaptureFallback
option is disabled in the face step, the requested variant is video and browser does not support MediaRecorder, attempt to redirect to the cross-device flow or display the unsupported browser error. - Internal: Refactor for better reusability of video capture components.
Changed
- Internal: Migrate CI build from TravisCI to Github Actions
- Internal: Upgraded socket.io-client to v4.0.1 to resolve npm security vulnerability 1665 (high severity)
Fixed
- Public: Get latest copy from Lokalise with various grammar, punctuation fixes. Also reverts French, Spanish translations for some Proof of Address copy in these languages' locale files (Proof of Address is only supported for English)
6.7.2
Fixed
- Public: Fix Cross Device "Send Link" options link affecting host app/site's page routing on click
- UI: Fixed flickering country list on SMS country dropdown. The fix involves updating
deviceHasCameraSupport
in the Redux store only when the value changes. - Internal: Fix Liveness Video upload payload to
/live_videos
API endpoint missingchallenge_switch_at
property and value - Internal: Fix incorrect format of
language_code
value in Liveness Video upload payload to/live_videos
API endpoint
6.7.1
Fixed
- UI: Fix host app/site's own link styling getting overridden by SDK's default theme styling
6.7.0
Added
- Internal: Introduce
SdkOptionsProvider
component anduseSdkOptions()
hook for SDK options' single source of truth. - Public: Added cross-device support for useCustomizedApiRequests callbacks via customer hosting of SDK. Note - This is a premium enterprise feature.
- Public: Added support for UI customizations in SDK configuration using
customUI
option. See README for details of supported customization options. - Internal: Add Woopra tracking for UI customization option usage.
Changed
- UI: Replaced internal button component with button from @onfido/castor-react.
- UI: Replaced some Sass variables with CSS variables to allow customization of colors and fonts.
- Public: Added new enterprise feature
logoCobrand
. When purchased and enabled allows integrator to provide their own logo image to be displayed alongside the Onfido logo. - Internal: Use Node 14 LTS for Travis to be consistent with
.nvmrc
andDockerfile
. - Internal: Enable
strict
mode in tsconfig.json
Fixed
- UI: Fix Camera Permission icon not displaying on iOS devices on Selfie/Liveness capture flow
6.6.0
Added
- Internal: Added ScreenLayout component. This is currently used in the Welcome and Complete screens.
- Public: Added user consent screen
- Public: Added callbacks that are triggered on user media submission if the feature is enabled. Note - This is a premium enterprise feature.
- Internal: App component, Redux system, utils, HoCs & routers are now typed in TypeScript.
- Internal: Use ScreenLayout component in Confirm screen.
Changed
- Internal: Replace
ts-loader
with@babel/preset-typescript
for better TypeScript transpilation.
Fixed
- Public: Fix zoomed document capture view for Document Live Capture on some Huawei devices, e.g. Huawei P40, P30.
- Public: Fix issue where documents are submitted to Onfido API without filename or file type.
6.5.0
Added
- Public: Added npm latest version badge.
- Internal: Now the UI tests will hit API endpoints from a dockerised mock server.
- Internal: Introduce TypeScript on non-critical components & deprecate FlowType.
- Internal: Introduce integration tests for API endpoint integrations.
Changed
- Internal: Switched to
bundlewatch
Github Action for bundle size diff reporting, checking. - UI: Updated text and background colours.
- Public: Removed references to MIT license in README and updated copy in LICENSE to refer to Onfido Service Agreement and 3rd party licenses reports.
- Public: Return error for image quality failures on the first two document upload attempts.
Fixed
- Public: Fix "File type not supported" error on snapshot upload in selfie step.
- Public: Fix typo in
en_US.json
file
6.4.0
Added
- Internal: Introduce Hooks on non-critical components.
- Public: Added
CROSS_DEVICE_INTRO
,CROSS_DEVICE_GET_LINK
user analytic events for integrators to listen for when tracking user journey when initiating Cross Device flow from desktop browser - Public: Added
licenses.json
file containing the list of dependencies licenses.
Changed
- UI: User is no longer blocked from uploading an image file over 10MB in size. Instead image is resized to 1440px if file size is over 3MB.
- Internal: Update SDK's Publish Release workflow to not use the now deprecated
set-env
command.
Fixed
- Public: Fixed issue where the SDK could not be initialised with
poa
as a single step. - Public: Only return
Missing keys
warning for unsupported language locale tags
6.3.1
Fixed
- Public: Fix missing country selector screen when the SDK is imported as an NPM module.
6.3.0
Added
- Internal: Added unit tests for Demo and App components
- Public: Updated supported documents data to include Peru, Colombia as an issuing country option in Country Selection screen when user selects Residence Permit document type and remove Saudi Arabia option for National Identity Card document type.
- Public: Added
CROSS_DEVICE_START
to Tracked events list - Public: Country Selection screen can now be suppressed for a non-passport document type when configured with a 3-letter ISO code.
Changed
- Internal: Upgrade Preact from version
8.5.2
to10.5.4
. - Internal: Replace
react-modal-onfido
with version3.11.2
ofreact-modal
. - Internal: Refactor cross device option logic.
Fixed
- Public: Fixed Woopra module import errors
- Internal: Include
isCrossDevice
property and value in Document, Face capture payload'ssdk_metadata
object for data tracking