Releases: yunojuno/django-onfido
v2.2 Support scheduled deletion of checks.
Release supporting Onfidos rolling deletions.
When a Check is scheduled for deletion via an agreement with Onfido the Check
model will transition to EXPIRED.
What's Changed
Full Changelog: v2.1...v2.2
v1.1 Compute usage of is_clear
This release removes the is_clear
field from the BaseStatusModel
, which Check
and Report
inherit.
It is replaced by a computed property which checks the result
for the Result.CLEAR
and returns as a bool
.
This is a data change, it now returns True/False
whereas before it returned True/False/None
.
Drop support for Py2 and Django < 1.11
Python3 compatible
v0.10.0
Improved support for overriding results
When a result is unclear ('consider', 'unidentified') there is a new attribute on the model called is_clear
which enables admins to mark the record as clear.
Model refactoring
The Event
has been refactored to bring it in line with the other models. This includes a change in field names, hence the minor version bump.
In addition there is improved logging, new batch fetch
and pull
queryset methods and a ONFIDO_TEST_MODE
setting which can be used to bypass signature verification.
X-Signature support
Callback view function now supports (in fact enforces) X-Signature verification, as per the webhook docs.
Test coverage
Fixes up the readme, adds a coverage badge, and adds codecov integration to Travis-CI
Data scrubbing
The fetch
and pull
methods will now scrub sensitive data from the API prior to saving it.
Fetch and pull API integration
You can now update a Django object with the latest API version using fetch
and pull
methods.