Rhilip / RidPT

A Private Tracker System
https://ridpt.top
Apache License 2.0
102 stars 17 forks source link

build(deps): bump nesbot/carbon from 2.35.0 to 2.38.0 #42

Closed dependabot[bot] closed 4 years ago

dependabot[bot] commented 4 years ago

Bumps nesbot/carbon from 2.35.0 to 2.38.0.

Release notes

Sourced from nesbot/carbon's releases.

2.38.0

Complete commits list: https://github.com/briannesbitt/Carbon/compare/2.37.0...2.38.0

⚠️ Since 2.38.0 CarbonInterval ->copy() method preserve the ->invert flag of the interval.

Summary:

  • #2144 Fixed total() result and total* properties when the interval contains negative values
  • #2144 Fixed cascade() result and when the interval contains negative values
  • #2144 Added daysExcludedWeeks setter
  • #2144 Added support for negative values in unit constructors such as CarbonInterval::years(), CarbonInterval::months() etc.
  • #2144 Allowed getFactor() to get multiple-steps factors

2.37.0

Complete commits list: https://github.com/briannesbitt/Carbon/compare/2.36.1...2.37.0

⚠️ Since 2.37.0 CarbonInterval ->total() method and ->total* properties take the invert while it was previously omitted due to a bug. This means it could be a breaking change for situations expecting an absolute total and you will have to use abs() (for instance abs($interval->totalSeconds)) to get an absolute value again.

Summary:

  • #2129 Improved Panjabi translations
  • #2132 Improved Kurdish translations
  • #2138 Implemented standalone months for Lithuanian language
  • #2137 Allowed false in setTestNow()
  • #2136 Fixed rounding result with inverted interval (or diffForHumans with future dates)
  • #2126 Fixed CarbonInterval::cascade() calculation
  • #2126 Fixed ->total() method and ->total* properties invert flag handling

2.36.1

Complete commits list: https://github.com/briannesbitt/Carbon/compare/2.36.0...2.36.1

Summary:

  • Added #2127 constants for months
  • Fixed #2128 PHPStan macro method detection

2.36.0

Complete commits list: https://github.com/briannesbitt/Carbon/compare/2.35.0...2.36.0

Summary:

  • Added #2116 dynamic intervals
  • Added #2115 microsecond as possible diff minimum unit
  • Added #2106 complete Somali translations
  • Added #1916 PHPStan extension for macros
  • Fixed #2104 #2125 PHPDoc typing annotations
  • Fixed #2117 Doctrine default precision
  • Improved #2101 allow to find more timezones with CarbonTimeZone::toRegionName()
Commits
  • d8f6a6a Merge pull request #2148 from kylekatarnls/feature/issue-2144-cascade-uniform...
  • b97baf0 Skip testIsDeprecated in PHP 8
  • a26f385 Merge pull request #17 from kylekatarnls/feature/issue-2144-cascade-uniform-s...
  • a2943a2 #2144 UpdatePHPStan
  • 0f80354 #2144 Cleanup no longer used areSameUnit() method
  • 22f9299 #2144 Fix __call() return
  • d53f77d #2144 Allow getFactor() to get multiple-steps factors
  • 07a9226 #2144 Fix total() function
  • 73e3dab Add daysExcludedWeeks setter
  • 7c41a6e Make CarbonInterval::copy() preserve the invert flag
  • 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 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)