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

chore(deps): bump nesbot/carbon from 2.67.0 to 2.69.0 #83

Merged
merged 1 commit into from
Sep 17, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 1, 2023

Bumps nesbot/carbon from 2.67.0 to 2.69.0.

Release notes

Sourced from nesbot/carbon's releases.

2.69.0

Complete commits list: briannesbitt/Carbon@2.68.1...2.69.0

Summary:

Breaking chances (for edge-case usages): ⚠️ getSetting() now longer return the locale when it's unchanged default, so you can distinguish between explicit 'en' which has Sunday as start of week vs. null which is English but with Monday as start of week. To get the previous behavior you can use:

$settings = array_merge(['locale' => 'en'], $date->getSettings());

2.68.1

Complete commits list: briannesbitt/Carbon@2.68.0...2.68.1

Summary:

  • Fixed bug mutating the parameter of diffInWeekdays() and diffInWeekendDays()

2.68.0

Complete commits list: briannesbitt/Carbon@2.67.0...2.68.0

Summary:

Breaking chances (for edge-case usages): ⚠️ Now mixin methods will respect mutability: for instance if you previously returned $this->modify() or $this->setTimezone() from within a mixin method, previously you got a copy of the object, now you will get the same object, modified. If you want to maintain the previous behavior, you'll have to explicitly call $date = $this->copy(); at the beginning at mixin methods and then modify and return this copied instance. Alternatively you can use CarbonImmutable all way long so any modification (via macro, mixin or regular methods) will all create a new instance.

⚠️ Now CarbonPeriodImmutable emit CarbonImmutable objects on iteration, if you rely on receiving Carbon and doing mutation on it, you should call now explicitly first ->toMutable().

⚠️ Now diffInWeekdays and diffInWeekendDays returned before rounded-up values which was inconsistent with other diff methods all returning rounded-down value. If you were using those methods with start and end dates not having the same hour/minute/second and were willingly expecting rounded-up values, you should now add + ($start->isSameAs('H:i:s.u', $end) ? 0 : 1) to get the same result as before.

Commits
  • 4308217 Merge pull request #2829 from alesf/patch-1
  • 2e80358 Use mesecema in tests
  • dcc7564 Use mesecema in tests
  • db00256 Fix dual for month in Slovenian language
  • 0dfb27d Merge pull request #2825 from briannesbitt/fix/issue-2824-ms-before
  • f4df5c0 Fix PHP 8.3 compatibility
  • d475a41 Change before Malay translation to "sebelum"
  • eeb761b Merge pull request #2823 from briannesbitt/fix/issue-2821-create-from-format-...
  • e198336 Check Laravel compatibility using v10
  • 7bba4ba Make createFromFormat work the same with mocked time
  • 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 [nesbot/carbon](https://github.com/briannesbitt/Carbon) from 2.67.0 to 2.69.0.
- [Release notes](https://github.com/briannesbitt/Carbon/releases)
- [Commits](briannesbitt/Carbon@2.67.0...2.69.0)

---
updated-dependencies:
- dependency-name: nesbot/carbon
  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 Sep 1, 2023
@dependabot dependabot bot requested a review from imdhemy September 1, 2023 18:40
@imdhemy imdhemy merged commit d54b736 into 1.x Sep 17, 2023
20 checks passed
@dependabot dependabot bot deleted the dependabot/composer/nesbot/carbon-2.69.0 branch September 17, 2023 12:31
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant