Yasumi v2.0.0 Release Notes

Release Date: 2019-01-11 // over 5 years ago
  • Almost a year has passed since the release of v1.8.0, but finally it is here: Yasumi v2.0.0!

    โฌ†๏ธ Upgraded entirely to PHP version 7 with PHP 7.1 being the minimum required version. Base code and all unit tests have been reworked to compatibility with PHP 7. This also means support of PHP 5 has now come to an end.

    ๐Ÿš€ More details can be found in the blog entry here: Welcome Yasumi version 2!

    Implemented enhancements:

    • ๐Ÿ†• New filter to select holidays that happen on a given date #119 (cruxicheiros)
    • Holiday Providers for all Australian states and territories. #112 (Milamber33)
    • Holiday Provider for Bosnia. #94 (TheAdnan)
    • โž• Added Reformation Day as offical holiday since 2018 in Lower Saxony (Germany). #115 (Taxcamp)
    • โž• Added Reformation Day as offical holiday since 2018 in Schleswig-Holstein (Germany). #106 (HenningCash)
    • โž• Added Reformation Day as offical holiday since 2018 in Hamburg (Germany). #108 (HenningCash)
    • โž• Added Reformation Day as offical holiday since 2018 in Bremen (Germany). #116 (TalonTR)
    • The (observed) holidays Lukkeloven, Constitution Day, New Year's Eve and Labour Day, as well as summertime and wintertime are included for Denmark #104 (c960657)
    • โฌ†๏ธ Upgraded to PHPUnit to version 7.5.
    • ๐Ÿ”„ Changed Japanese holiday for the 2020 Olympic Games. Marine Day, Mountain Day and Health And Sports Day. #113 (cookie-maker)
    • Summer/winter time is now fetched from PHP's tz database. #103 (c960657)
    • ๐Ÿ”„ Changed translation for Norway's national day. #98 (c960657)
    • Applied proper null checks in the summertime and wintertime calculations for Denmark and The Netherlands.
    • Corrected some namespaces for Australia and Germany.
    • โšก๏ธ Updated copyright year.
    • โฌ†๏ธ Upgraded various dependency packages.
    • โšก๏ธ Internal locale list updated based on CLDR v34.
    • ๐Ÿ”จ Refactored the Japan and USA Holiday Provider by moving the holiday calculations to private methods. This reduced the complexity of the initialize method.

    Resolved issues

    • ๐ŸŒ Translation for Russia showed in English (except New Year's Day) as the proper locale was not in place.
    • ๐Ÿ›  Fixed issue for summertime in Denmark in 1980. By default summertime in Denmark is set for the last day of March since 1980, however in 1980 itself, it started on April, 6th.
    • ๐Ÿ›  Fixed spelling issue in the Swedish translation. #97 (c960657)
    • ๐Ÿ›  Fixed spelling issues in the Danish translation. #96 (c960657)
    • ๐Ÿ›  Fixed German Easter Sunday and Pentecost Sunday holidays (not nationwide, only in Brandenburg). #100 (TalonTR)
    • ๐Ÿ›  Fixed BetweenFilter to ignore time part and timezone. #101 (c960657)
    • ๐Ÿ›  Fixed bug in provider list generation related to variable order of files returned by the filesystem #107 (leafnode)