Skip to content

2.7.0

Latest
Compare
Choose a tag to compare
@stelgenhof stelgenhof released this 07 Jan 14:33
· 22 commits to develop since this release

A new release for the new year! In addition to numerous improvements, bug fixes and code enhancements, this release also includes a new country: Mexico. Also support for PHP 7.4 (and older) is dropped and support for PHP 8.3 is added.

Below you will find a summary of the most significant changes. For more details, please check the CHANGELOG file.

Implemented Enhancements

  • Mexico Provider #329 (Luis Gonzalez).
  • From 2024, Romania will officially include the holidays of St. Johns ('Sfântul Ioan Botezătorul') and Epiphany ('Bobotează').
    #310 (AngelinCalu )
  • For the German state of Mecklenburg-Western Pomerania, International Women's Day is considered to be officially
    observed. #311 (ihmels)
  • Recently, the South Korean government announced a bill to apply alternative public holidays to Buddha's Day
    and Christmas Day.
    #314 (barami)
  • Refactor the rules for calculating holidays in South Korea based on the history of holiday changes.
    (#314) barami
  • Update links to related documentation in the South Korea provider's note and added links to conversion utilities.
    #314 (barami)
  • Optimize the method for the Emperor's birthday calculation in Japan.
  • For Croatia, extract Day of Antifascist Struggle calculation to a private method and simplify Statehood Day calculation
    to make it more concise.
  • Simplify the conditions for the Coming of Age day (Japan) calculation.
  • Simplify the calculation of Carnival in Argentina, Brazil and the Netherlands to reduce duplication.

Resolved Issues

  • For South Korea, some of the past dates for Buddha's Day, Chuseok, Armed Forces Day
    and United Nations Day were incorrectly calculated during for certain periods. #314 (barami)
  • The holiday twoDaysLaterNewYearsDay of South Korea has been removed from 1990, however the unit test for the name
    and holiday type allowed the possible testing range to include the year 1990.
  • New Years Day tests for South Korea were failing due to incorrect date checks.
  • The Easter Date calculation resulted in wrong values for the year 2025, due to an incorrect rounding for the lunar
    correction when the calendar extension is not used. #326 (rChassat)

Removed

  • Denmark will abolish Great Prayer Day ('store bededag') from 2024. #308 (c960657)
  • Summertime and Wintertime in the Netherlands and Denmark as these can't be reliably established for historical dates and
    aren't true holidays in the context of Yasumi. Refer to this discussion
    for further details and rationale. #322
  • PHP 7.4 support.

New Contributors

Full Changelog: 2.6.0...2.7.0