v2.5.0
It is that time again; the time for a new release!
We have two more countries, and for a few countries new holidays are added, or regulations have been revised. Even more importantly, support for PHP 7.3 has been dropped, so all the more reason to upgrade to version 2.5.
The documentation site has undergone a few changes, specifically to support readers with disabilities. And lastly, head over to GitHub Discussions to ask questions or share your ideas.
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.5 release blog post.
Implemented Enhancements
- Argentina Provider #264 (Nader Safadi).
- Turkey Provider #250.
- World Children's Day for Thuringia (Germany) #260.
- New National Day for Truth and Reconciliation to Canada #257 (Owen V. Gray).
- New Juneteenth National Independence Day to USA #253 (Mark Heintz).
- The Korea Tourism Organization's holiday guide link was added to the source of South Korea Provider #255 (barami).
- Mothering Day for the United Kingdom #266.
- Revised rules to calculate substitution holidays of South Korea to apply the newly enacted law on June 2021 #255 (barami).
- Separate
calculateSubstituteHolidays
method of South Korea Provider tocalculateSubstituteHolidays
andcalculateOldSubstituteHolidays
#255 (barami) - Refactored the tests of South Korea provider to testing substitution holidays #255 (barami).
- Moved the United Kingdom Spring Bank Holiday to June 2nd and added Platinum Jubilee bank holiday on June 3rd for 2022 #270 (Dan).
Resolved Issues
- All Saints Day (German: 'AllerHeiligen') was classified as
Other
for states celebrating this day. This was incorrect (or officially changed) and has been altered toOfficial
#263. - Corpus Christi (German: 'Fronleichnam') was classified as
Other
for states celebrating this day. This was incorrect (or officially changed) and has been altered toOfficial
#252. - The test for the USA in that juneteenthDay was considered for all years: it is only celebrated since 2021.
- Definition of Canada Day in Canada in that, Canada Day is July 1 if that day is not Sunday, and July 2 if July 1 is a Sunday #257 (Owen V. Gray).
Removed
- PHP7.3 Support as it is End of Life.