Skip to content

Releases: getyoti/yoti-ruby-sdk

v1.10.0

16 Nov 15:31
17c83d8
Compare
Choose a tag to compare

Doc Scan

Added

  • Support for supplementary documents
  • Document page frames support

Deprecated

  • Yoti::DocScan::Session::Retrieve::GetSessionResult#text_data_checks replaced by id_document_text_data_checks

Fixed

  • 204 media responses now return nil

v1.9.0

21 Sep 11:25
3b8b9d0
Compare
Choose a tag to compare

Added

Doc Scan

  • Support for ID document comparison checks
  • Ability to block the collection of bio-metric consent
  • Allow the configuration of the manual_check value for requested Document Authenticity checks

v1.8.0

09 Jul 12:58
dee6654
Compare
Choose a tag to compare

Added

  • Doc Scan chip data support
    • RequestedTextExtractionTaskBuilder#with_chip_data_desired
    • RequestedTextExtractionTaskBuilder#with_chip_data_ignore
    • IdDocumentResourceResponse#document_id_photo
  • Dynamic Scenarios
    • Support for document images
    • Source constraint support for document details
    • Allow accept_self_asserted option when requesting attributes in a dynamic policy

Changed

  • Yoti::DocScan::Client calls now raises Yoti::DocScan::Error < RequestError with formatted error response (was RequestError with JSON response)

    Note: rescue Yoti::RequestError will continue to work as before

    Example

    PAYLOAD_VALIDATION - There were errors validating the payload: sdk_config.allowed_capture_methods "Value is not valid", sdk_config.font_colour "provided colour must be a valid Hex Code", sdk_config.locale "must not be blank"
    

Fixed

  • Yoti::SignedTimeStamp#time_stamp is now UTC - the underlying timestamp remains unchanged

v1.7.1

17 Jun 15:56
7e392c5
Compare
Choose a tag to compare

Fixed

  • Requiring cgi to allow standalone use of Yoti::Request

v1.7.0

12 Jun 09:56
9925da2
Compare
Choose a tag to compare

Added

  • Yoti::DocScan::Client
    • .create_session
    • .get_session
    • .delete_session
    • .get_media_content
    • .delete_media_content
    • .supported_documents returns list of supported documents for each country
  • Default API URLs can now be overridden using environment variables:
    • YOTI_API_URL to override the default API URL
    • YOTI_DOC_SCAN_API_URL to override the default Doc Scan API URL
  • Yoti::RequestBuilder - builder for Yoti::Request

Deprecated

  • Yoti::Request#encrypted_connect_token token is now provided with the endpoint
  • appId query param is now only added by Yoti::Request when query_params are nil
  • Yoti::DynamicSharingService::Share.create_share_url_query no longer in use
  • Yoti::DynamicSharingService::Share.create_share_url_endpoint no longer in use

v1.6.4

01 Jun 14:09
2082bef
Compare
Choose a tag to compare

Fixed

  • 3rd Party Attribute Expiry Date Format is now UTC RFC-3339 with milliseconds
  • No longer using Array#append - affects Ruby 2.4 without Active Support

Removed

  • Removed unused protobuf dependency
  • Removed unused activesupport dependency

Added

  • Test compatibility with Ruby 2.7

v1.6.3

06 Apr 15:00
306dd0a
Compare
Choose a tag to compare

Fixed

  • Requiring time for Time.parse in activity details

Removed

v1.6.2

13 Feb 14:24
69302fa
Compare
Choose a tag to compare

Fixed

  • Document details parsing: now accommodates more values (including redacted Aadhar numbers)

v1.6.1

23 Jan 16:04
6ba09c0
Compare
Choose a tag to compare

Fixed

  • JSON payload for thirdparty extension to match api specification

v1.6.0

15 Jan 13:25
Compare
Choose a tag to compare

Added

  • Document Details, available through Yoti::Profile#document_details
  • Access to lists of age verifications through Yoti::Profile#age_verifications, Yoti::Profile#find_age_over_verification(age) and Yoti::Profile#find_age_under_verification(age)
  • Dynamic Share support through Yoti::DynamicSharingService
    • DynamicScenario to create a specification for a dynamic share
    • DynamicPolicy to create a specification for wanted attributes and authorisation types
    • WantedAttribute to create a specification for an individual attribute
    • create_share_url to request a share QR for a Dynamic Scenario
    • SourceConstraint to restrict anchors used to satisfy a dynamic share
    • WantedAnchor to define the specification for an anchor
  • Third Party Attribute support
    • extra_data to ActivityDetails
    • ThirdpartyAttributeExtension to issue third party attributes when Yoti Hub is set up with support

Changed

  • SignedRequest no longer sets usecase specific headers (such as X-Yoti-Auth-Key and 'Content-Type') and only sets SDK Name and Version, unless used through the Yoti Client

Deprecated

  • Yoti::ActivityDetails#age_verified
  • Yoti::AgeProcessor