v2.4.0
Yasumi v2.4 is a minor (maintenance) release which includes Georgia as a new Holiday Provider and several stability and bug fixes for issues discovered since v2.3.
Below you will find a summary of the most significant changes. For more details, please check the CHANGELOG file of this project or navigate to the v2.4 release blog post.
Implemented Enhancements
- Georgia Provider #245 (Zurab Sardarov)
- Pentecost (Sunday) to Germany #225 (Patrick Root)
- Rescheduled exceptional Japanese holidays for Olympic Games 2020 after COVID-19 #240 (tanakahisateru)
- Some improvements/refactoring of the Swiss holiday providers (including links to sources) #233 (Quentin Ligier)
- Allow the
WEEKEND_DATA
constant in provider classes to be overridden. #235 (Mahmood Dhia) - Travis/StyleCI/Scrutinizer services replaced by Github Actions.
- PHP8 Support #238 (Stéphane)
- Added Infection PHP to perform mutation testing.
- Added PHPStan to the dependencies allowing for local analysis.
- Removed PHP 7.2 Support (PHP 7.2 is EOL)
- Removed Faker library as it has been sunset #238 (Stéphane)
.gitattributes
file to reduce the size of a release package #237 (Stéphane)
Resolved Issues
- The test for North West Territories (Canada) in that the National Indigenous Peoples Day was considered for all years: it is only celebrated since 1996.
- The test for NovaScotia (Canada) in that novaScotiaHeritageDay was considered for all years: it is only celebrated since 2015.
- The test for Ontario (Canada) in that IslanderDay was considered for all years: it is only celebrated since 2009.
- The test for Marine Day (Japan) as the rescheduled day was moved to 2021 (due to the COVID-19 pandemic).
- Typo for Estonian Day of Restoration of Independence #228 (Reijo Vosu)
- The substitute holiday unit test as the use of the
at()
method will be deprecated in PHPUnit 10. - Incorrect invocation of
Fribourg::calculateBerchtoldsTag()
andFribourg::calculateDecember26th
(Switzerland)