The easy PHP Library for calculating holidays
OTHER License
Bot releases are hidden (Show)
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 nameFull Changelog: https://github.com/azuyalabs/yasumi/compare/2.6.0...2.7.0
Published by stelgenhof over 1 year ago
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 intz
db, a correction for 1947 was made for the summertime transition in Denmark to AprilFull Changelog: https://github.com/azuyalabs/yasumi/compare/2.5.0...2.6.0
Published by stelgenhof over 2 years ago
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
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.Published by stelgenhof over 3 years ago
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)Published by stelgenhof over 4 years ago
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.
Published by stelgenhof about 5 years ago
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.
Implemented enhancements
Resolved issues
Published by stelgenhof over 5 years ago
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.
Implemented enhancements
Resolved issues
Published by stelgenhof almost 6 years ago
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!
Implemented enhancements:
Resolved issues
Published by stelgenhof almost 6 years ago
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
Published by stelgenhof over 6 years ago
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:
Published by stelgenhof almost 7 years ago
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:
Published by stelgenhof over 7 years ago
This bugfix release addresses some minor annoying issues, so unfortunately no new features this time.
Implemented enhancements:
Resolved issues:
Published by stelgenhof almost 8 years ago
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)Published by stelgenhof almost 8 years ago
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:
Published by stelgenhof over 8 years ago
Implemented enhancements:
Resolved issues:
Published by stelgenhof over 8 years ago
Implemented enhancements:
Resolved issues:
Published by stelgenhof over 8 years ago
Implemented enhancements:
Closed issues:
Published by stelgenhof over 8 years ago
Implemented enhancements:
Closed issues:
Published by stelgenhof over 9 years ago
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.