This guide provides detailed instructions on how to upgrade between different major versions of the client library.
It covers changes in core resources, other endpoints, and the OpenAPI generator, ensuring a smooth transition between versions.
-
All API methods: All API method calls now use request builder pattern with
.execute()-
This change enables backward compatibility when new optional parameters are added
-
Example migration:
// Before (v6.x) List<WorkflowRun> runs = api.listWorkflowRuns(applicantId, status, page, perPage); // After (v7.x) List<WorkflowRun> runs = api.listWorkflowRuns() .applicantId(applicantId) .status(status) .page(page) .perPage(perPage) .execute();
-
-
Documents
- Driving licence information properties removed from general
DocumentPropertiesand moved to newDocumentPropertiesWithDrivingLicenceInformationclass
- Driving licence information properties removed from general
-
Workflow Runs
createdAtGtandcreatedAtLtparameters inlistWorkflowRunschanged from date-time format to date format (YYYY-MM-DD)
- Reports
-
ReportSharedobject removed: TheReportSharedobject has been dropped. Convenience accessors for common fields (getName(),getStatus(),getId()) have been added to the parentReportobject. Other properties are now accessed via specific report type accessors-
Example migration:
// Before (v6.x) ReportName name = report.getReportShared().getName(); ReportStatus status = report.getReportShared().getStatus(); String checkId = report.getReportShared().getCheckId(); String result = report.getReportShared().getResult(); // After (v7.x) ReportName name = report.getName(); // Convenience accessor on parent Report object ReportStatus status = report.getStatus(); // Convenience accessor on parent Report object String checkId = report.getDocumentReport().getCheckId(); // E.g. for document report String result = report.getDocumentReport().getResult(); // E.g. for document report
-
-
Device Intelligence: Removed deprecated
breakdownproperty and related breakdown classes:DeviceIntelligenceBreakdownPropertiesremovedDeviceIntelligenceBreakdownPropertiesDevice→DeviceIntelligencePropertiesDeviceDeviceIntelligenceBreakdownPropertiesGeolocation→DeviceIntelligencePropertiesGeolocationDeviceIntelligenceBreakdownPropertiesIp→DeviceIntelligencePropertiesIp
-
Identity Enhanced: Changed
totalNumberOfSourcesandnumberOfMatchesfrom number to string type
-
- SSL certificate validation: Removed support for self-signed certificates unless
explicitly configured via
setSslCaCert()
- Version upgraded from
7.11.0to7.16.0
- Workflow Runs
- Add
applicantIdparameter tolistWorkflowRunsmethod to filter workflow runs by applicant ID
- Add
- Documents
- Suppress
DocumentFileTypeEnum, allowing any string as file type
- Suppress
- Webhooks
- Drop
WORKFLOW_SIGNED_EVIDENCE_FILE_CREATEDenum value fromWebhookEventTypeenum - Allow
readPayloadfunction for webhook event verification to also throwJsonParseExceptionexception. - Make
hrefproperty inWebhookEventPayloadObjectoptional
- Drop
- Reports
- Allow the deprecated
recordsproperty inWatchlistAmlandWatchlistStandardreports to be any object, and not just a string - Remove
documentsproperty (incl.getDocuments()accessors) from all reports except Document and Facial Similarity reports
- Allow the deprecated
- Version upgraded from
7.9.0to7.11.0- All properties got annotated with
@javax.annotation.Nullableor@javax.annotation.Nonnulldepending on their OpenAPI definition
- All properties got annotated with
- Applicants
- Replace
ConsentsBuilderobject with a list ofApplicantConsentBuilderones
- Replace
- Workflow Runs
- Rename
WorkflowRunSharedLinkobject intoWorkflowRunLink - Merge and rename
WorkflowRun.StatusEnumandWorkflowRunResponse.StatusEnumenum intoWorkflowRunStatusenum for storing status information - Rename
WorkflowRunResponseErrorobject intoWorkflowRunError
- Rename
- Documents
- Reuse already existent
DocumentTypesenum when uploading documents
- Reuse already existent
- Webhooks
- Define
WebhookEventObjectStatusenum to collect webhook event object's status - Define
WebhookEventResourceTypeenum to collect webhook event resource's type - Define
WebhookEventPayloadResourceobject to store webhook payload's contents
- Define
- Checks
- Rename
Check.StatusEnumenum intoCheckStatusfor accessing checks status
- Rename
- Reports
- Remove deprecated properties from
DeviceIntelligenceBreakdownPropertiesDeviceobject:trueOs,osAnomaly,rootedandremoteSoftware - Remove deprecated properties from
DeviceIntelligenceBreakdownPropertiesIpobject:vpnDetection,proxyDetectionandtype - Deprecate
recordsobject fromWatchlistStandardPropertiesandWatchlistAmlPropertiesobjects (includesWatchlistPepsOnlyandWatchlistSanctionsOnlyones)
- Remove deprecated properties from
- Version upgraded from
7.6.0to7.9.0- Some dependencies were update, notably
jakarta.*replacedjavax.*ones - Use
ISO8601Utilslibrary instead ofsdffor date and time parsing
- Some dependencies were update, notably