Skip to content

Releases: getyoti/yoti-python-sdk

v2.14.2

23 Feb 14:21
6fe15da
Compare
Choose a tag to compare

Changed

  • Update to protobuf==4.21.12
  • Set protobuf==3.20.1 in setup.py

v2.14.1

21 Jun 13:09
8f019e3
Compare
Choose a tag to compare

Security

  • Update to pytz==2022.1

Changed

  • Set protobuf==3.13.0 in setup.py

Removed

  • Support for Python 2.7

v2.14.0

16 Nov 16:13
eff67c4
Compare
Choose a tag to compare

Added

  • Supplementary document support (Doc Scan)
  • DynamicPolicyBuilder().with_document_images()
  • accept_self_asserted option can now be passed to DynamicPolicyBuilder methods

Fixed

  • DocScanClient.get_media_content() will now return None for 204 no content responses (Doc Scan)

v2.13.0

21 Oct 12:59
2e003b7
Compare
Choose a tag to compare

Doc Scan

Added

  • Support for ID document comparison checks
  • Ability to block the collection of biometric consent
  • Allow the configuration of the manual_check value for requested Document Authenticity checks
  • Add support for chip data
    • RequestedTextExtractionTaskBuilder().with_chip_data_desired()
    • RequestedTextExtractionTaskBuilder().with_chip_data_ignore()
    • IdDocumentResourceResponse property: document_id_photo
  • Add support for document page frames

Fixed

  • RequestedDocumentAuthenticityCheckBuilder.build() is no longer static. Python 2 implementations must change this to RequestedDocumentAuthenticityCheckBuilder().build()

v2.12.2

18 Jun 16:44
da0828a
Compare
Choose a tag to compare

Fixed

Set pytest version to >=4.6.0 to prevent clashes with upstream dependencies requiring pytest >= 4.6.0

v2.12.1

09 Jun 11:55
03ba5ee
Compare
Choose a tag to compare

Fixed

  • Update Attribute Issuance Expiry Date format to be milliseconds, not microseconds

v2.12.0

18 May 12:02
d4ed035
Compare
Choose a tag to compare

Added

  • yoti_python_sdk.doc_scan
    • session.create.filter - Contains builders and objects used for specifying required documents during session creation (see snippets below)
    • DocScanClient
      • get_supported_documents() - retrieve all currently supported documents

Creating a required document

document_restriction = (DocumentRestrictionBuilder()
                            .with_document_types(["PASSPORT", "DRIVING_LICENCE"])
                            .with_country_codes(["GBR"])
                            .build())

document_filter = (DocumentRestrictionsFilterBuilder()
                       .for_whitelist()
                       .with_document_restriction(document_restriction)
                       .build())

required_id_document = (RequiredIdDocumentBuilder()
                            .with_filter(document_filter)
                            .build())

v2.11.2

04 May 14:26
c98bf4c
Compare
Choose a tag to compare

Fixed

  • Fixed bug where incorrect API URL was being used when not explicitly specified in DocScanClient

v2.11.1

27 Apr 13:13
e52b149
Compare
Choose a tag to compare

Fixed

  • IdDocumentResourceResponse now correctly inherits ResourceResponse
    • Although none of the properties were missing, tasks on all ID documents were being parsed as generic TaskResponse objects.
    • TextExtractionTaskResponse should now be available in the list of tasks

v2.11.0

20 Apr 10:50
ec94e79
Compare
Choose a tag to compare

Added

  • New module yoti_python_sdk.doc_scan
    • DocScanClient - the client used for communicating with Yoti Doc Scan services
      • .createSession()
      • .getSession()
      • .deleteSession()
      • .getMediaContent()
      • .deleteMediaContent()
    • exceptions.DocScanException