v2.3.0
You have probably seen the new documentation website already, and following I am pleased to announce a new release of Yasumi is available as of today for download or using your Composer configuration. Yasumi v2.3 is a minor release which brings two new providers to the pool (Canada and Luxembourg) and several important stability and bug fixes for issues discovered since v2.2.
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.3 release blog post.
Implemented Enhancements
- Added Canada Provider #215 (lux)
- Added Luxembourg Provider #205 (Arkounay)
- Holiday providers for states of Austria. #182 (aprog)
- Added All Souls Day to Lithuania #227 (norkunas)
- Catholic Christmas Day is a new official holiday since 2017 in the Ukraine. #202
- Additional Dates for Australia/Victoria:AFL Grand Final Friday #190 (brucealdridge)
- Substituted holidays (holidays that fall in the weekend) for Australia. #201 (c960657)
- Added New Years Eve to Germany #226 (Patrick-Root)
- Day of Liberation (Tag der Befreiung) is a one-time official holiday in 2020 in Berlin (Germany).
- Catalan translations for holidays in Catalonia, Valencian Community, Balearic Islands and Aragon #189 (c960657)
- Added American English spelling for Labour Day #216
- Added French translation for Second Christmas Day #188 (Arkounay)
- Renamed the Australian states to be full names instead of abbreviations to be in line with other Holiday Providers #214
- Statehood Day is celebrated at a new date since 2020 in Croatia. #203 (krukru)
- Independence Day is no longer an official holiday since 2020 in Croatia. #203 (krukru)
- Homeland Thanksgiving Day has been renamed to "Victory and Homeland Thanksgiving Day and the Day of Croatian Defenders" since 2020 in Croatia. #203 (krukru)
- Remembrance Day for Homeland War Victims and Remembrance Day for the Victims of Vukovar and Skabrnja is a new official holiday since 2020 in Croatia. #203 (krukru)
- Second International Workers Day in Ukraine was an official holiday only until 2018. #202
- Holiday names in Danish, Dutch, and Norwegian are no longer capitalized. #185 (c960657)
Resolved Issues
- Fixed Ukraine holidays on weekends. These days need to be substituted. #202
- Fixed issue if the next working day happens to be in the next year (i.e. not in the year of the Yasumi instance) #192 (tniemann)
- Fix locale fallback for substitute holidays #180 (c960657)
- Fixed issue if the previous working day happens to be in the previous year (i.e. not in the year of the Yasumi instance)
- Fixed compound conditions that are always true by simplifying the condition steps.