Skip to content

Releases: onfido/onfido-sdk-ui

6.7.0

25 Mar 17:53
Compare
Choose a tag to compare

Added

  • Internal: Introduce SdkOptionsProvider component and useSdkOptions() 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 and Dockerfile.
  • 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

11 Mar 14:37
Compare
Choose a tag to compare

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

08 Feb 12:42
Compare
Choose a tag to compare

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

21 Dec 15:10
Compare
Choose a tag to compare

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

30 Nov 11:44
Compare
Choose a tag to compare

Fixed

  • Public: Fix missing country selector screen when the SDK is imported as an NPM module.

6.3.0

09 Nov 16:23
Compare
Choose a tag to compare

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 to 10.5.4.
  • Internal: Replace react-modal-onfido with version 3.11.2 of react-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's sdk_metadata object for data tracking

6.2.1-LTS

04 Nov 17:30
Compare
Choose a tag to compare

Fixed

  • Public: Non-Latin localised strings throw an exception in Welcome screen.

6.2.0-LTS

19 Oct 11:40
Compare
Choose a tag to compare

Changed

  • UI: Accessibility - Update passport quality guide copy to be more descriptive for visually impaired users using screen readers
  • Internal: Update the Web SDK to handle telephony back end service's new error response format which is now consistent with API's error response format
  • Public: Improve description of showCountrySelection option for Document step to be more explicit about when/how it works and include example configurations.
  • Internal: Store third-party licence comments for each bundle in separate files.

Fixed

  • UI: Accessibility - Loading screen is now announced on iOS
  • Internal: Release script didn't update BASE_32_VERSION correctly and didn't finish at publishing tag step

6.1.0

16 Oct 10:57
Compare
Choose a tag to compare

6.1.0

Added

  • Public: Add migrate_locales script to enable integrator migrate to next versions of Web SDK locale system.
  • Internal: Add unwrap_lokalise script to sanitise locale files pulled from Lokalise.

Changed

  • Public: Introduced new system for locale keys. Keys are now more structured and easier to find within the code.
  • Internal: Replace all string values from JS SDK to Web SDK and js-sdk to web-sdk.

Fixed

  • UI: Accessibility - Error and warning alert heading is now ARIA heading level 1
  • UI: Camera inactivity timeout only starts from camera access granted instead of on initial render
  • UI: Fixed call to action buttons covering content and instructions on Passport Image Guide, Selfie Intro screens when viewed on a mobile device with a shorter viewport, e.g. iPhone SE (1st gen)

Breaking changes

  • Public: Introduced new system for locale keys. Keys are now more structured and easier to find within the code. Upgrading to this version of Onfido Web SDK requires migration on custom language option in Onfido.init() method. See more in MIGRATION logs.

6.0.1

09 Oct 13:59
Compare
Choose a tag to compare

6.0.1

Fixed

  • Public: Updated supported documents data. This update includes adding Turkey as an issuing country option in Country Selection screen when user selects National Identity Card type.
  • Public: Only send issuing_country to the documents endpoint if issuing_country is present. This fixes the issue that was preventing documents upload when showCountrySelection was disabled and issuing_country was undefined.