Releases: madmatt/id3global-service
1.1.0
1.0.2
Changes:
- Allow
GlobalAuthenticationService->profileId
to be nullable - Allow setting the gateway directly on
GlobalAuthenticationService
Tests:
- Allow BandText and Score to be customised with the GlobalAuthenticationGatewayFake
- Add tests for 'bad' band texts and scores
Many thanks to @elnurvl for contributing to this release.
1.0.1
API changes:
- Fix to
GlobalAuthenticationGateway->AuthenticateSP()
method signature (technically an API breaking change, but the module wouldn't have worked withot out).
Fixes:
- Allow date of birth for
PersonalDetails
to be null (as some countries don't require it)
Tests:
- Add tests for having a missing date of birth
Many thanks to @elnurvl for testing v1.0.0.
1.0.0
This release marks a (somewhat) significant adjustment to the API signature, and a general update of the module to support new versions of PHP 7 (specifically 7.4 and 8, per PHP's Supported Versions).
Some breaking API changes exist, however the majority of these are straightforward to adjust if you are upgrading from older 0.1 or 0.2 versions. Version 0.2 has also been tagged at the immediately previous commit, so please use composer to pin to 0.2 if the new version does not install for you.
Primarily, you now pass the Identity
object and customer reference in directly when making the call to GlobalAuthenticationService->verifyIdentity()
instead of setting them first.
Additionally, as ID3global do not specify a specific string or boolean value for what 'BandText' is considered a valid identity, this logic must be implemented by your application now, and the module no longer contains 'PASS', 'REFER' or 'ALERT' verification bands, as these values are not guaranteed to be returned by the ID3global API. This was a mistaken assumption built into earlier versions of the module that has now been corrected.
The module README has been updated with new sample code, so use this as a guide for upgrading your own implementations.
No changes have been made since 1.0.0-beta1 was released.
1.0.0-beta1
This release marks a (somewhat) significant adjustment to the API signature, and a general update of the module to support new versions of PHP 7 (specifically 7.4 and 8, per PHP's Supported Versions).
Some breaking API changes exist, however the majority of these are straightforward to adjust if you are upgrading from older 0.1 or 0.2 versions. Version 0.2 has also been tagged at the immediately previous commit, so please use composer to pin to 0.2 if the new version does not install for you.
Primarily, you now pass the Identity
object and customer reference in directly when making the call to GlobalAuthenticationService->verifyIdentity()
instead of setting them first.
Additionally, as ID3global do not specify a specific string or boolean value for what 'BandText' is considered a valid identity, this logic must be implemented by your application now, and the module no longer contains 'PASS', 'REFER' or 'ALERT' verification bands, as these values are not guaranteed to be returned by the ID3global API. This was a mistaken assumption built into earlier versions of the module that has now been corrected.
The module README has been updated with new sample code, so use this as a guide for upgrading your own implementations.
0.2.0
0.1.4
Updated ZipPostcode and status based on score instead of bandtext.