Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump cakephp/chronos from 2.4.5 to 3.1.0 #317

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 10, 2024

Bumps cakephp/chronos from 2.4.5 to 3.1.0.

Release notes

Sourced from cakephp/chronos's releases.

Chronos 3.1.0

Behavior Changes

  • Chronos::createFromTimestamp()handles timezones differently. If $timezone is not explicitly passed then the instance has timezone set to +00:00 unlike earlier where the currently set default timezone was used. This behavior change normalizes behavior with changes in PHP 8.4 which adds a new DateTimeInterface::createFromTimestamp() method.

What's Changed

New Contributors

Full Changelog: cakephp/chronos@3.0.4...3.1.0

Chronos 3.0.4

What's Changed

Full Changelog: cakephp/chronos@3.0.3...3.0.4

Chronos 3.0.3

What's Changed

Full Changelog: cakephp/chronos@3.0.2...3.0.3

Chronos 3.0.2

Summary

The Chronos class once again extends DateTimeImmutable and therefore implements DateTimeInterface. ChronosDate and ChronosTime do not. Several parameters were expanded to allow DateTimeInterface instead of requiring only Chronos objects.

After making the original changes in 3.0.0, we realized that the supported PHP versions (8.1+) do not have the original bugs that made extending DateTimeImmutable either problematic or impossible in the future.

ChronosDate is intended to be a separate object and will not extend DateTimeImmutable as it supports mutating time and time zones which is hard to support.

ChronosTime was never meant to extend DateTimeImmutable and is part of the reason why ChronosInterface was removed as it doesn't represent a true shared interface.

An explanation of the reason behind the 3.0 changes can be found here: cakephp/chronos#410

What's Changed

... (truncated)

Commits
  • 786d69e Merge pull request #454 from cakephp/php-8.4
  • d5fef65 Update CI config
  • 2388321 Update Chronos::createFromTimestamp() to behave the same as in PHP 8.4
  • 0982a01 Fix error on PHP 8.4
  • 96a3d2d Merge pull request #455 from cakephp/phpunit-11
  • b4b0211 Bump up static analysis tool versions
  • a3bc7c1 Allow phpunit 11
  • 2046a0e Merge pull request #451 from cakephp/3.x
  • 3a404c1 Merge pull request #449 from cakephp/composer-normalize
  • b4f503b Run composer normalize over composer.json
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)

Bumps [cakephp/chronos](https://github.com/cakephp/chronos) from 2.4.5 to 3.1.0.
- [Release notes](https://github.com/cakephp/chronos/releases)
- [Commits](cakephp/chronos@2.4.5...3.1.0)

---
updated-dependencies:
- dependency-name: cakephp/chronos
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file php Pull requests that update Php code labels Sep 10, 2024
@LucWollants
Copy link
Contributor

@dependabot close

@dependabot dependabot bot closed this Nov 4, 2024
@dependabot dependabot bot deleted the dependabot/composer/cakephp/chronos-3.1.0 branch November 4, 2024 08:37
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 php Pull requests that update Php code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant