Skip to content

Releases: SK-EID/smart-id-php-client

2.3.1

23 Aug 20:24
2d0d1a1
Compare
Choose a tag to compare

[2.3.1] - 2022-08-23

Fixed

  • function parseLvDateOfBirth

2.3

06 Jan 14:50
Compare
Choose a tag to compare
2.3

Changed

  • If user picks wrong verification code then UserSelectedWrongVerificationCodeException is thrown (previously TechnicalErrorException was thrown)
  • Minimal PHP version lifted to 7.4

Added

  • Added intermediate exceptions (UserAccountException if there is problem with user Smart-ID account, UserActionException if the exception is caused by user's actions, EnduringSmartIdException if something is wrong with Smart-ID service or the integration configuration is invalid) so there is no need to handle each case independently.
  • New method SmartIdAuthenticationResponse::getDocumentNumber()
  • Usage examples added to README.md

2.2.2

05 Jan 11:52
2e4139a
Compare
Choose a tag to compare

[2.2.2] - 2022-01-03

Fixed

  • Latvian ID code validation

2.2.1

07 Dec 08:03
8af165c
Compare
Choose a tag to compare

[2.2.1] - 2021-12-07

Fixed

  • Now can be run with both PHP 7.4 and PHP 8

2.2

27 Sep 17:34
740f412
Compare
Choose a tag to compare
2.2

Fixed

  • Fix user agent header regex validation

Added

  • Library and PHP version number added to User-Agent header of all requests

2.1

24 Sep 18:46
d310a58
Compare
Choose a tag to compare
2.1

Changed

  • PHP version upgraded 7.2 -> 7.3
  • PhpUnit upgraded to 5.7 -> 9

Added

  • New function AuthenticationIdentity->getDateOfBirth() that reads birthdate info from a separate field in certificate or detects it from national identity number.
    NB This function can return null for some Latvian certificates.
  • New function AuthenticationIdentity->getIdentityNumber() that returns personal identification number without a PNOEE-, IDXLV- etc prefix
  • Return types added to methods
  • Library and PHP version number added to User-Agent header of outgoing requests

v2.0

07 Apr 07:48
0ff3557
Compare
Choose a tag to compare

[2.0] - 2021-04-07

Added

  • Support for Smart id api version 2.0
  • Authentication routes using semantics identifiers
  • Different Interaction types based on enduser device capabilities

Removed

  • Building request with national identity (Use semantics identifiiers (chapter 5.1.3))
  • Hard coded ssl public keys for demo and live smart id environments (Since this release, relying parties need to specify the public keys used when setting up the client)

Changed

  • php version >= 7.2

v1.5.2

08 Feb 13:21
3d3ec7c
Compare
Choose a tag to compare

[1.5.2] - 2021-02-08

Fixed

  • Demo SSL key pinning #24

v1.5.1

28 Nov 12:38
Compare
Choose a tag to compare

[1.5.1] - 2019-11-28

Fixed

  • Poller did not use https pinning configuration from client #22

v1.5

25 Nov 12:55
Compare
Choose a tag to compare

[1.5] - 2019-11-25

Added

  • Http public key pinning #18

Fixed

  • Poller did not use specified network interface #4
  • Add exception message when user is not found #16

Changed

  • php version 5.6 to 7.0.7