Skip to content

Releases: anttijuu/FinnishPIDVerifier

v1.1.1

01 Aug 07:10
Compare
Choose a tag to compare

PIDGenerator initializer was accidentally package private, is now public.
Improved the example command line tool to both verify and generate Finnish PIDs.

Full Changelog: v1.1.0...v1.1.1

v1.1.0

27 Jul 18:09
Compare
Choose a tag to compare

In addition to verifying Finnish PIDs, the library now includes a FinnishPIDGenerator struct for generating valid and test PIDs.

v1.0.1 with small changes

19 Jul 09:20
Compare
Choose a tag to compare

Better code coverage with improved and new tests.

Changed the FinnishPID.individualNumber documentation and implementation to better reflect how it actually works.

  • The value is nil if the PID length is invalid or the number is not valid integer in in a valid range.
  • The value is an integer from the PID string, if the PID length is correct and the value is in the correct range (2...999 inclusive) for real and test PIDs.

First release

26 Jun 13:37
Compare
Choose a tag to compare

A simple Swift package for verifying Finnish Person IDs.