Skip to content

Latest commit

 

History

History
56 lines (35 loc) · 1.52 KB

CHANGELOG.md

File metadata and controls

56 lines (35 loc) · 1.52 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

Nothing yet.

2.0.0 - 2023-01-11

Breaking changes

  • Minimum supported Ruby version bumped from 2.5 to 2.7.

Fixed

  • PINs with future birthdates are now parsed as long as they are for the current year.
    • Example: 20xyab-nnnn used to be parsed as 1920 until 2020-xy-ab, but now it's parsed as 2020 from 2020-01-01 and onwards. This is more correct, since all 1920s PINs should be written with a + after 2020-01-01.
  • Parsing of 10-digit PINs were improved so it is always consistent so parse(pin.to_s(10)) == pin.

Removed

  • Explicit installation of rake and minitest as development dependencies removed. Now relying on the versions bundled with Ruby.

Other

  • Travis CI setup changed into Github Actions.

1.1.0 - 2022-07-04

Fixed

  • rake test actually runs tests now.

Added

  • Personnummer can now be compared and sorted.
  • Personnummer works as hash keys by value.

1.0.0 - 2020-09-09

Initial release.