All Versions
17
Latest Version
Avg Release Cycle
155 days
Latest Release
807 days ago

Changelog History
Page 2

  • v1.6.0 Changes

    January 06, 2017

    ๐Ÿš€ 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:

    • โž• Added Holiday Provider for Romania. #52 (AngelinCalu)
    • โž• Added Holiday Provider for Ireland. stelgenhof
    • โž• Added Holiday Provider for South Africa. stelgenhof
    • โž• Added Holiday Provider for Austria. stelgenhof
    • ๐Ÿ”จ Refactored the calculation of Orthodox Easter using the function from ChristianHolidays.php. #47 (AngelinCalu)
    • โž• Added 'en_US' translations for the Polish Independence Day and Constitution Day. #45 (AngelinCalu)

    Resolved issues:

    • The parameters of the isHoliday and isWorkingDay methods now allow for classes that derive from DateTime (like the very popular Carbon class). #49 (stelgenhof)
  • v1.5.0 Changes

    November 25, 2016

    ๐Ÿš€ 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:

    • โž• Added Holiday Provider for Australia (and the sub-region of Victoria). #38 (brucealdridge)
    • โž• Added Holiday Provider for Portugal. #44 (rvelhote)
    • โž• Added Holiday Provider for Ukraine. #41 (madmis)
    • โž• Added Holiday Providers for all 16 German States. #34 (stelgenhof)
    • โž• Added Holiday Provider for Croatia. #32 (karlomikus)
    • Possibility to retrieve the next or previous working day within a defined number of days from today #39 (brucealdridge)
    • You can now also use your own holiday providers in addition to the included holiday providers. A very helpful improvement if Yasumi does not include your provider (yet), but you want to use yours! #29 (navarr)

    Resolved issues:

    • Carnival Day in Brazil was incorrectly set to be 47 days after Easter. Carnival Day begins Friday before Ash Wednesday (51 days to Easter). #36 (icaroce)
    • All Saints Day for Finland was incorrectly set for November 1st. The correct date is Saturday between 31 Oct and 6 Nov, similar to Sweden. #43 (stelgenhof)
  • v1.4.0 Changes

    June 04, 2016

    โž• Added

    • โž• Added Holiday Provider for Brazil. #21 (dorianneto)
    • โž• Added Holiday Provider for the Czech Republic. #26 (dfridrich)
    • โž• Added Holiday Provider for the United Kingdom. #23 (stelgenhof)
    • โž• Add Welsh language (spoken in Wales, UK) translations for the holidays in the United Kingdom #25 (meigwilym)
    • To determine a set of holidays between two dates you can now use the aptly named 'between()' method.

    ๐Ÿ”„ Changed

    • All Holiday Provider must now implement a code that will identify it. Typically, this is the ISO3166 code corresponding to the respective country or sub-region. This can help for purposes such as translations or interfacing with other API's for example.

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fixed an issue with the unit test for the 'getProviders' method failing on Windows. Hardcoded unix-style directory separators have been replaced by DIRECTORY_SEPARATOR. #30 (navarr)
    • ๐ŸŒ Corrected a typo in the English translation for ๆ•ฌ่€ใฎๆ—ฅ ( Japan) #22 (navarr)
    • ๐Ÿ›  Fixed issue that the unit tests in 'YasumiTest' (methods 'next' and 'previous') did not cover the situations that the limits are exceeded. #28
  • v1.3.0 Changes

    May 02, 2016

    โž• Added

    • โž• Added Holiday Provider for Poland. #18 (mpdx)
    • โž• Added Holiday Provider for New Zealand. #13 (badams)
    • โž• Added Holiday Provider for Greece. #10 (sebdesign)
    • โž• Added Holiday Provider for Germany. #9 (eaglefsd)
    • Added translations (fr_FR, fr_BE) for Belgium National day #864d250 (R2c)
    • โž• Added missing English (en_US) translations for the Christian holidays 'Immaculate Conception', 'Maundy Thursday', 'St. Georges Day', 'St. John's Day', 'St. Josephs Day' and 'St. Stephens Day'.
    • โž• Added Test Interface class to ensure the unit tests contain a some minimal assertions.

    ๐Ÿ”„ Changed

    • ๐ŸŒ Sorted all translations in the translation files alphabetically (descending).
    • ๐Ÿ”จ Refactoring and cleanup of all unit tests.

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fixed issue for Sweden as All Saints Day was always calculated to be on November 1st. However, the holiday has always been celebrated on a Saturday (between October 31 and November 6th).
    • ๐Ÿ›  Fixed the getProviders as it was not able to load Holiday Providers defined in (sub) regions #5879133 (R2c)
    • ๐Ÿ›  Fixed issue that it was possible for the AbstractProvider class to be loaded as a Holiday Provider #9678bc4 (R2c)
    • โœ… Corrected incorrect pathname reference *BaseTestCase.php files ("Test" -> "test).
    • ๐Ÿ›  Fixed issue for France as Good Friday and St. Stephens Day were defined as official holidays. These aren't national holidays and are only observed in the French departments Moselle, Bas-Rhin and Haut-Rhin. With this fix, these holidays have been removed from the France Holiday providers and new providers for the departments Moselle, Bas-Rhin and Haut-Rhin are added. #17 (R2c)
    • โšก๏ธ Updated locales list based on CLDR version 29. Removed locales of which the region identifier is not specified.
    • ๐Ÿ›  Fixed issue for Sweden as Midsummer's Day (st. Johns Day) was always calculated to be on June 24th. However, the holiday has always been celebrated on a Saturday (between June 20 and June 26).
    • ๐Ÿ›  Fixed base test for some Spain/LaRioja as some holidays have been established only in a particular year, causing false failures in the unit tests.
    • โœ… Running php-cs-fixer fix . --level=psr2 generated a massive list of changes, and broke unit tests. Added a custom .php_cs config file to adhere to the PSR-2 Coding Standards and resolve this issue. In addition, the php-cs-fixer command has been added to composer to run the fixers and on the CI server (Travis), meaning PRโ€™s will need to be PSR2 compliant before they can be merged. If any files do not pass, the build fails. #15 #16 (badams)
    • Accidentally the timezone for Norway was set to "Europe/Copenhagen". This has been corrected to "Europe/Oslo" . #11 #12 (badams)
    • ๐Ÿ›  Fixed issue for Finland as Midsummer's Day (st. Johns Day) was always calculated to be on June 24th. However, since 1955, the holiday has always been celebrated on a Saturday (between June 20 and June 26).
  • v1.2.0 Changes

    April 04, 2016

    โž• Added

    • โž• Added Holiday Provider for Denmark
    • โž• Added Holiday Provider for Norway
    • โž• Added Holiday Provider for Sweden
    • โž• Added Holiday Provider for Finland
    • ๐Ÿ†• New function 'isWorkingDay' added that determines whether a date represents a working day or not. A working day is considered a date that is neither a holiday nor falls into the weekend.

    ๐Ÿ”„ Changed

    • ๐Ÿ”จ Refactoring and cleanup of unit tests

    ๐Ÿ›  Fixed

    • The Vernal Equinox Day and Autumnal Equinox Day in Japan were excluded from having it substituted for another day in case these days would fall on the weekend.
    • ๐Ÿ›  Fixed tests for some holiday providers as some holidays have been established only in a particular year, causing false failures in the unit tests.
  • v1.1.0 Changes

    March 10, 2016

    โž• Added

    • โž• Added Spain Holiday Provider (including the autonomous communities Andalusia, Aragon, Asturias, Balearic Islands, Basque Country, Canary Islands, Cantabria, Castile and Leรณn, Castilla-La Mancha, Ceuta, Community of Madrid, Extremadura, Galicia, La Rioja, Melilla, Navarre, Region of Murcia, Valencian Community)
    • โž• Added Corpus Christi, St. Joseph's Day, Maundy Thursday, St. George's Day, St. John's Day to the common Christian Holidays.
    • โœ… Created separate tests for holidays that are substituted on different days.
    • ๐Ÿ‘ Allow for namespaced holiday providers.
    • โž• Added test for translation of Ash Wednesday and Valentine's Day in the Netherlands.
    • โž• Added test to check whether all holidays for a Holiday Provider are defined by the respective provider class.

    ๐Ÿ”„ Changed

    • โšก๏ธ Updated some English, Italian, French and Dutch translations.
    • ๐Ÿšš Moved all other holiday calculations in the Netherlands and France to individual methods.

    ๐Ÿ›  Fixed

    • For Japan substituted holidays had the same date as the original holidays.

    โœ‚ Removed

    • โœ‚ Removed support for PHP 5.4. The minimum version is now 5.5. PHP 7.0 is known to work however in Travis CI still allowed to fail.
  • v1.0.0 Changes

    April 21, 2015