Skip to content

Latest commit

 

History

History
85 lines (59 loc) · 2.99 KB

CHANGELOG.md

File metadata and controls

85 lines (59 loc) · 2.99 KB

Changelog

All notable changes to this project will be documented in this file. The format is based on Keep a Changelog.

[2.3.1] - 2022-08-23

Fixed

  • function parseLvDateOfBirth

[2.3] - 2022-01-06

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] - 2022-01-03

Fixed

  • Latvian ID code validation

[2.2.1] - 2021-10-13

Fixed

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

[2.2] - 2021-09-27

Fixed

  • Fix user agent header regex validation

Added

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

[2.1] - 2021-09-24

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

[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

[1.5.2] - 2021-02-08

Fixed

  • Demo SSL key pinning #24

[1.5.1] - 2019-11-25

Fixed

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

[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