Skip to content

Bump azuyalabs/yasumi from 2.5.0 to 2.6.0#28

Merged
norberttech merged 2 commits into
1.xfrom
dependabot/composer/azuyalabs/yasumi-2.6.0
Sep 15, 2023
Merged

Bump azuyalabs/yasumi from 2.5.0 to 2.6.0#28
norberttech merged 2 commits into
1.xfrom
dependabot/composer/azuyalabs/yasumi-2.6.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Apr 26, 2023

Bumps azuyalabs/yasumi from 2.5.0 to 2.6.0.

Release notes

Sourced from azuyalabs/yasumi's releases.

2.6.0

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.

Implemented Enhancements

  • Bank holiday for King Charles III’s Coronation in the United Kingdom. #305 (Freshleaf Media)
  • Bank holiday for Queen Elizabeth II’s State Funeral on September 19, 2022, for the United Kingdom. #287 (Freshleaf Media)
  • National Day of Mourning for Australia. #288 (FuzzyWuzzyFraggle).
  • In Japan, Marine Day was rescheduled to July 23 as the 2020 Tokyo Olympics took place. The rescheduled Marine Day for 2021 was included, but not the original rescheduled day for 2020.
  • Slovak translations for a couple of popular holidays. #298 (Jozef Grencik)

Resolved Issues

  • Liberation Day for The Netherlands is only an official holiday every 5 years #280 (Daan Roet).
  • Pentecost Monday in France was only recognized as an official holiday until 2004. Since 2004, it is considered a special holiday, a so called 'working holiday'. Hence, it is therefore classified as an observed holiday in Yasumi from 2004 and forward. #281.
  • The holiday of Epiphany (6th of January) was incorrectly categorized as other and changed to an official holiday in Baden-Württemberg, Bavaria and SaxonyAnhalt. #296 (Anna Damm).
  • The year 1988 was incorrectly omitted from observing the Emperor's birthday in Japan.
  • The tests for Remembrance Day, Malvina's Day and National Sovereignty Day in Argentina were considered for all years; however, these have only been celebrated since their establishment.
  • Tests for New Year's Day, Spring Bank Holiday, and May Day Holiday in the United Kingdom (England, Wales, Northern Ireland, and Scotland), as well as Battle of the Boyne in Northern Ireland, were considered for any calendar year; however, these are celebrated only since a particular calendar year.
  • In version 2022f of the 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.

New Contributors

Full Changelog: azuyalabs/yasumi@2.5.0...2.6.0

Changelog

Sourced from azuyalabs/yasumi's changelog.

[2.6.0] - 2023-04-27

Added

  • Bank holiday for King Charles III’s Coronation in the United Kingdom. #305 (Freshleaf Media)
  • Bank holiday for Queen Elizabeth II’s State Funeral on September 19, 2022, for the United Kingdom. #287 (Freshleaf Media)
  • National Day of Mourning for Australia. #288 (FuzzyWuzzyFraggle).
  • In Japan, Marine Day was rescheduled to July 23 as the 2020 Tokyo Olympics took place. The rescheduled Marine Day for 2021 was included, but not the original rescheduled day for 2020.
  • Slovak translations for a couple of popular holidays. #298 (Jozef Grencik)
  • All examples as shown on the documentation site as a convenience to developers who like to have all information in a single place.
  • Included an .editorconfig file to maintain a consistent style for developers using different text editors.
  • The ext-intl extension as a required extension. #306 (Freshleaf Media)
  • An exception is thrown in case the time stamp of the start and end date in the dateTimeBetween method can't be established.
  • Checks in case getting transition details or a date interval subtraction fails.

Changed

  • Adjusted the visibility of the calculateSummerWinterTime method to private as it is an internal method and shouldn't be accessible directly.
  • Made the calculation for summer/winter time more defensive by adding a check that the timestamps are successfully created.
  • Changed to use the strtotime function as mktime does not generate timestamps before 1970-01-01 (negative values), which is needed to determine winter/summertime before that.
  • Refactored summer and winter time tests for Denmark and The Netherlands by introducing a base class holding the domain logic.
  • Switched from getShortName() to getName() for the ReflectionClass created by the method anotherTime() in the AbstractProvider class. Using getShortName could result in a ProviderNotFoundException for some custom holiday providers, since the namespace is not fully qualified. This can happen, if you create a custom holiday provider. #292 (SupraSmooth).
  • Replaced the use of the DateTime class with DateTimeInterface (always use interface where possible).
  • Use the preferred/idiomatic way of getting an immutable date from a mutable one. Added extra checks if modifying date methods are not successful.
  • Split functions that generate random dates/years into a new trait to slim down the overgrown base trait.
  • Code styling fixes and improvements.
  • Upgraded dependencies to latest working versions.
  • Improved and cleaned up numerous unit tests.

Fixed

  • Liberation Day for The Netherlands is only an official holiday every 5 years #280 (Daan Roet).
  • Pentecost Monday in France was only recognized as an official holiday until 2004. Since 2004, it is considered a special holiday, a so called 'working holiday'. Hence, it is therefore classified as an observed holiday in Yasumi from 2004 and forward. #281.
  • The holiday of Epiphany (6th of January) was incorrectly categorized as other and changed to an official holiday in Baden-Württemberg, Bavaria and SaxonyAnhalt. #296 (Anna Damm).
  • The year 1988 was incorrectly omitted from observing the Emperor's birthday in Japan.
  • The tests for Remembrance Day, Malvina's Day and National Sovereignty Day in Argentina were considered for all years; however, these have only been celebrated since their establishment.
  • Tests for New Year's Day, Spring Bank Holiday, and May Day Holiday in the United Kingdom (England, Wales, Northern

... (truncated)

Commits
  • a73f198 Merge branch 'release/2.6.0'
  • 8db37cd Added release of version 2.6
  • 1384fb3 Remove explicit versions of PHP to avoid keeping it up to date all the time.
  • 971ac95 Include version 2.6 as a supported version.
  • 391d4f4 Fix additional grammar and spelling mistakes. Remove minor changes and reorde...
  • 6d72a2c Update CHANGELOG.md
  • 004b4ad Reformat argument order.
  • dca45e6 Add PER ruleset and remove rules already part of other rulesets.
  • 281d084 Included remaining changes and redacted the 'Added' and 'Removed' sections. [...
  • 04fdf42 Bump PHP CS Fixer version to latest working version.
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
> **Note** > Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Bumps [azuyalabs/yasumi](https://github.com/azuyalabs/yasumi) from 2.5.0 to 2.6.0.
- [Release notes](https://github.com/azuyalabs/yasumi/releases)
- [Changelog](https://github.com/azuyalabs/yasumi/blob/develop/CHANGELOG.md)
- [Commits](azuyalabs/yasumi@2.5.0...2.6.0)

---
updated-dependencies:
- dependency-name: azuyalabs/yasumi
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Apr 26, 2023
@norberttech norberttech merged commit 4312d63 into 1.x Sep 15, 2023
@norberttech norberttech deleted the dependabot/composer/azuyalabs/yasumi-2.6.0 branch September 15, 2023 20:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Development

Successfully merging this pull request may close these issues.

1 participant