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.
getHoliday and a few other updates to improve the overall performance and memory usageFull Changelog: https://github.com/azuyalabs/yasumi/compare/2.10.0...2.11.0
Yasumi v2.10.0 is only a minor (maintenance) release which covers the end of support of PHP 8.1 and some internal documentation updates.
Updating to the latest version is always recommended, however if you are still on PHP 8.1, running Yasumi v2.9.0 is perfectly fine.
Full Changelog: https://github.com/azuyalabs/yasumi/compare/2.9.0...2.10.0
Christmas may be over, but we still have a small present to wrap up the year: Yasumi 2.9.0. This release brings a variety of holiday provider improvements, enhancements, and bug fixes. And of course: support for PHP 8.5.
Highlights of version 2.9.0:
After a very long time finally a new Yasumi release! Yasumi 2.8.0 includes numerous of holiday provider improvements, enhancements and bug fixes. As of this version, we will be using git-cliff and conventional commits. This helps to maintain a readable, standardized commit history, and enables automated versioning and changelog generation.
As such the CHANGELOG.md file will now only include changes made since version 2.8.0 and the prior list of changes are 'archived' in the CHANGELOG-ARCHIVE.md file.
Highlights of version 2.8.0
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.
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.There is a fresh release at last! I really believe in releasing software as frequently as possible, yet I somehow neglected to do so for more than a year. Even though a lot of work was completed during that time, I was just unable to pick the ideal moment to make an official release.
Despite the fact that no new countries are included in this release, there are several upgrades, corrections, and refinements that make Yasumi 2.6 worthwhile to upgrade to.
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.6 release blog post.
other and changed to an official holiday in
Baden-Württemberg, Bavaria and SaxonyAnhalt. #296 (Anna Damm).tz db, a correction for 1947 was made for the summertime transition in Denmark to April
the 6th. Various corrections have been made to accommodate for change.Full Changelog: https://github.com/azuyalabs/yasumi/compare/2.5.0...2.6.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.
calculateSubstituteHolidays method of South Korea Provider to calculateSubstituteHolidays
and calculateOldSubstituteHolidays #255 (barami)Other for states celebrating this day. This was incorrect (or officially changed) and has been altered to Official #263.Other for states celebrating this day. This was incorrect (or officially changed) and has been altered to Official #252.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.
WEEKEND_DATA constant in provider classes to be overridden. #235 (Mahmood Dhia).gitattributes file to reduce the size of a release package #237 (Stéphane)at() method will be deprecated in PHPUnit 10.Fribourg::calculateBerchtoldsTag() and Fribourg::calculateDecember26th (Switzerland)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.
With the summer having come to an end, you may feel reinvigorated to give your PHP project(s) a clean up. And why not upgrade Yasumi to the next version while you are at it? Because from today v2.2 is officially available!
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.2 release blog post.
A couple of months after the successful v2 release, a new minor release is available as of today. Yasumi v2.1 addresses mostly a few issues for the Japan Holiday Provider and some other bug fixes.
Almost a year has passed since the release of v1.8.0, but finally it is here: Yasumi v2.0.0!
Upgraded entirely to PHP version 7 with PHP 7.1 being the minimum required version. Base code and all unit tests have been reworked to compatibility with PHP 7. This also means support of PHP 5 has now come to an end.
More details can be found in the blog entry here: Welcome Yasumi version 2!
With the release of Yasumi v2.0.0 supporting only PHP version 7.1 (or higher), support for PHP 5 in Yasumi has ended (Sorry!).
This 1.8.1 bug fix release has been made available for those that still are on PHP 5 (or are in the process of upgrading to PHP 7). It only includes some serious/critical bug fixes discovered since version 1.8.0 and no new countries have been added for example.
Please be aware that all new development will be done from v2.0.0 onwards (in the 'develop' branch). The 'support/1.8.x' branch has been created for critical bug fixes only.
Changes
Resolved issues
Yasumi v1.8.0 is now available as of Wednesday, February 21st supporting Russia and Estonia thanks to the work of Gedas Lukošius.
As already announced in my previous post, 1.8.0 will be the last release to officially support PHP5.x. I think it's about time that Yasumi will fully support PHP7 using its performance improvements.
Next to Russia and Estonia being part of the family, 1.8.0 includes a good number of fixes and changes as well.
Implemented enhancements:
Resolved Issues:
A new release was long overdue and v1.7.0 has some nice enhancements... Four new countries have been added (Latvia, Lithuania, Hungary and Switzerland) making the total of holiday providers 96! (31 countries and 65 sub-regions).
Instead of giving the country name as a parameter, you can now also use the ISO3166_2 code to instantiate a Holiday object, which in some cases makes more sense. Also, all filters implement the Countable interface so you can use the ->count() method, which will return the correct number of (filtered) holidays.
Heads up! v1.7.0 will be the last release supporting PHP5.x. PHP7 has been out for a long time and Yasumi can definitely benefit from the new features in PHP7. Likely the PHP7 only branch will start as v2.0.0.
As always a big thanks to all the contributors!
Implemented enhancements:
Resolved Issues:
This bugfix release addresses some minor annoying issues, so unfortunately no new features this time.
Implemented enhancements:
Resolved issues:
We start the new year with a new release, in which we welcome Austria, Ireland, Romania and South Africa to the Yasumi family. Also Yasumi hit the 8000 mark in the first week of 2017: over 8000 times Yasumi has been installed already!
Again, thank you all for your contributions and fixes!
Implemented enhancements:
Resolved issues:
isHoliday and isWorkingDay methods now allow for classes that derive from DateTime (like the very popular Carbon class). #49 (stelgenhof)Being occupied with other projects is good but has the side effect some others don't get the attention they deserve (sorry Yasumi). However, happy to announce a new release of Yasumi with 4 new countries added and holiday providers for all the German states.
Yasumi now supports 62 holiday providers (23 countries and 39 sub-regions) and has over 1500 unit tests ensuring all holidays are calculated correctly.
Big thanks to all the contributors making Yasumi better and more complete!
Implemented enhancements:
Resolved issues:
Implemented enhancements:
Resolved issues:
Welcome to the first public version of Yasumi! Yasumi is an easy PHP library to help you calculate the dates and names of holidays and other special celebrations from various countries/states.
How can I help you explore Laravel packages today?