packagist azuyalabs/yasumi 2.11.0

6 hours ago

As the cherry blossoms begin to bloom and the season shifts toward renewal in many parts of the world, we are excited to announce a new release of Yasumi. This update focuses on expanding again the list of providers while improving the internal architecture and testing standards of the library.

The family of holiday providers continues to grow with the addition of Venezuela, San Marino, and Andorra. We have also introduced "Czechia" as a more concise provider alias to better align with current conventions.

New Providers

  • Add Venezuela holiday provider
  • Add San Marino holiday provider
  • Add Andorra holiday provider
  • Add "Czechia" provider as a short form of "Czech Republic" (#397)

Updates

  • (Spain) Fix murciaDay minimum year in RegionOfMurcia test
  • (Spain) Fix Extremadura test
  • (South Korea) Fix holiday type test of HangulDay
  • (South Korea) Fix twoDaysLaterNewYearsDay test
  • (United Kingdom) Fix year boundary and test conditions
  • (Slovakia) Fix excluded years in data providers
  • (NYSE) Fix tests for NYSE provider

Notable Improvements

  • Removed unnecessary internal sorting on getHoliday and a few other updates to improve the overall performance and memory usage
  • Increase PHPStan analysis level to 8
  • Add AGENTS.md file
  • (Test) Upgrade to PHPUnit 11
  • (Test) Tighten default range for random year generator

New Contributors ❤️

  • @ppaulis made their first contribution

Full Changelog: 2.10.0...2.11.0

Don't miss a new yasumi release

NewReleases is sending notifications on new releases.