- Release based on Onfido OpenAPI spec version v4.1.0:
- [CAT-1528] Fix barcode field in document properties object
- Release based on Onfido OpenAPI spec version v4.0.0:
- [CAT-1379] Add a few missing properties
- [CAT-1447] Fix applicant consents
- [CAT-1379] Fix check creation, remove some deprecated properties and deprecate others
- Use document-type enum for document upload
- [CAT-1306] Add webhooks event resource
- Upgrade OpenAPI generator to v7.9.0 (was v7.6.0)
- Migration Guide
- Release based on Onfido OpenAPI spec version v3.5.0:
- [CAT-1376] Add record item object definition for watchlist enhanced properties field
- Release based on Onfido OpenAPI spec version v3.3.1:
- Including
faraday-follow_redirects
as a runtime dependency in ruby
- Including
- Release based on Onfido OpenAPI spec version v3.3.0:
- Expose
customer_user_id
inworkflow_runs
- Add
sdk_token
to workflow run schema
- Expose
- Release based on Onfido OpenAPI spec version v3.2.0:
- [CAT-1289] Document report's properties: Add middle name
- chore(qes): add documents endpoint
- [CAT-1297] Webhook Event: remove uuid format from object.id
- fix(qes): fix download document http method
- Add started_at_iso8601 field in webhook event
- add jpeg file type for documents
- Fix error handling documentation in README file
- Release based on Onfido OpenAPI spec version v3.1.0:
- Add missing fields in document report's properties
- Library has been rebuilt from scratch and automatically generated on Onfido OpenAPI Spec (release v3.0.0)
- Integration tests have also been implemented
- Added
signed_evidence_file
method for WorkflowRuns
- Updated to use API v3.6, for more details please see our release notes.
- Add Monitor support
- Added support for Workflow Runs
- Added support for Monitors
- Added Motion capture support
- Updated to use API v3.5, for more details please see our release notes.
- Updated to use API v3.4, for more details please see our release notes.
- Support Onfido API version 3.3
- Send params as json
- Remove .travis.yml
- Update README.md link
- Support Onfido API version 3.2
- Add error coverage for errors RestClient:BadGateway
- Remove onfido/null_logger
- Remove global configuration, all configuration is now per
Onfido::API
instance - Region is now a required argument (it previously defaulted to
:eu
) - Support Onfido API version 3.1
- Drop support for Ruby 2.2 and 2.3
- Send the postcode in the query string for the address picker endpoint
- Add User-Agent header
- Add support for CA region
- Add extractions endpoint
- Add webhook deletion endpoint
- Support Onfido API version 3
- Drop support for Onfido API version 2
- To upgrade from 0.15.0 see the v2 to v3 migration guide
- Add Check#find_by_url method (@ctrlaltdylan)
- Add support for applicant deletion and restore endpoints
- Add support for region-specific environments (@stephencookdev)
- Add support for the Live Video resource (#55) (@Intrepidd)
- Automatically detect the correct Onfido API region to use based on the provided API key (#49) (@tpinto)
- Add support for download, find and retrieve all for live_photo resource (@kirsis)
- Remove the ability to create Documents and Live Photos from a remote URL or local path, mitigating a potential security vulnerability (see #45 for details) (@timrogers)
- Drop support for Ruby versions earlier than 2.2.0, since they have reached end-of-life (@timrogers)
- Replace use of
method_missing
with explicitly-defined accessors when accessing resources from anOnfido::API
instance (@hmac)
- Add support for
Onfido::SdkToken
resource (@robotmay)
- Relax Rack dependency to allow all versions where
Rack::Utils.secure_compare
is available (@metade)
- Fix
Content-Type
header handling to be more permissive when detecting JSON (e.g. still recognise the type as JSON when the charset is appended to the header) (@sponomarev) - Update
rest-client
dependency to 2.x (@timrogers) - Update
WebMock
dependendency to 2.x (@timrogers)
- Add support for
put
anddelete
http methods toOnfido::Resource
- Support no content and binary responses at
Onfido::Resource
- Add support for
Onfido::ReportTypeGroup
resource - Add support for update and destroy applicant resource
- Add support for download, find and retrieve all for document resource
- Add support for resume checks
- Add support for resume and cancel report
- Fix creation of live photos through
Onfido::LivePhoto
resource
- Add support for dynamic API keys (see https://github.com/hvssle/onfido#usage)
- Fix
Onfido::Resource
so it raisesOnfido::ConnectionError
on HTTP Error 408 Request Timeout
- Fix
Onfido::API.live_photo
so it returns anOnfido::LivePhoto
instance (see hvssle/onfido#14)
- Add
expand
option toOnfido::Check.find
andOnfido::Check.all
. See hvssle/onfido#11 for details.
- Add
Onfido::Webhook.valid?
method, for checking the signature of a webhook from Onfido
- BREAKING: target v2 of the Onfido API. To continue using v1, specify this
version in
Onfido.configure
- Add
api_version
configuration option (see https://github.com/hvssle/onfido#configuration) - Add support for
Onfido::LivePhoto
resource
- Add support for
Onfido::Webhook
resource
- BREAKING: adds
Onfido::ServerError
, which is raised whenever Onfido responds with a 5xx code. PreviouslyOnfido::RequestError
would have been raised, but this is now reserved for non-5xx responses.
- BREAKING: remove
throws_exceptions
option. We now always throw exceptions for errors. This option had become confusing sinceOnfido::ConnectionError
was added in v0.0.4, since timeout errors were raised regardless of its value. - Add base errors class (
Onfido::OnfidoError
) - Add rubocop, and fix style inconsistencies
- Split out connection errors so they can be automatically retried