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

Update dependency nesbot/carbon to v3 #540

Open
wants to merge 11 commits into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 1, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
nesbot/carbon (source) 2.71.0 -> 3.0.2 age adoption passing confidence

Release Notes

briannesbitt/Carbon (nesbot/carbon)

v3.0.2

Compare Source

Complete commits list: briannesbitt/Carbon@3.0.1...3.0.2

Summary:

  • Fixed PHP 8.1 issue "Enum case value must be compile-time evaluatable": Use static values for enums until dropping PHP 8.1 #​2938

v3.0.1

Compare Source

Complete commits list: briannesbitt/Carbon@3.0.0...3.0.1

Summary:

v3.0.0

Compare Source

Complete commits list: briannesbitt/Carbon@2.72.2...3.0.0

Summary:

  • Dropped PHP < 8.1 #​2810 #​2385 #​2346
  • Dropped Symfony < 4.4 #​2070
  • Added enums for week days, months and units #​2701
  • Added generic unitOfUnit and unitsInUnit getters #​2885
  • Changed CarbonPeriod to extend DatePeriod #​1752
  • Changed create* method to return null instead of false #​2340
  • Changed forHumans() to show 0 seconds y default for empty intervals #​2035
  • Changed CarbonInterval to be empty by default #​2079
  • Changed diffIn* methods to return float and relative diff ($absolute = false by default) #​2119
    • diffIn* will use the floatDiffInReal* behavior, all other variants will be removed
  • Changed week methods to work with current global locale #​1967
  • Allowed to add and subtract decimal numbers of any unit #​2347 #​2519
  • Changed factories to have isolated settings, locale, testNow, macros and default timezone #​2345
  • Changed $tz with $timezone for named argument #​2925
  • Changed parse() return type to non-nullable static #​2931@​jnoordsij
  • Fixed short year Ukrainian plural #​2923
  • Fixed resolve* method return type so to allow sub-classes to take other sub-classes as parameters
  • Fixed fallback from setter to macro #​2922

v2.72.3

Compare Source

Complete commits list: briannesbitt/Carbon@2.72.2...2.72.3

Summary:

v2.72.2

Compare Source

Complete commits list: briannesbitt/Carbon@2.72.1...2.72.2

Summary:

New Contributors

v2.72.1

Compare Source

Complete commits list: briannesbitt/Carbon@2.72.0...2.72.1

Summary:

v2.72.0

Compare Source

Complete commits list: briannesbitt/Carbon@2.71.0...2.72.0

Summary:

New Contributors


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

Copy link
Contributor Author

renovate bot commented Feb 1, 2024

⚠ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: composer.lock
Command failed: composer update nesbot/carbon:3.0.2 --with-dependencies --ignore-platform-req='ext-*' --ignore-platform-req='lib-*' --no-ansi --no-interaction --no-scripts --no-autoloader --no-plugins
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires nesbot/carbon 3.0.2 -> satisfiable by nesbot/carbon[3.0.2].
    - nesbot/carbon 3.0.2 requires php ^8.1 -> your php version (7.3; overridden via config.platform, same as actual) does not satisfy that requirement.

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.

@renovate renovate bot force-pushed the renovate/nesbot-carbon-3.x branch 2 times, most recently from ba593b6 to bbbdc60 Compare February 6, 2024 13:13
@renovate renovate bot force-pushed the renovate/nesbot-carbon-3.x branch from bbbdc60 to b823e5b Compare February 16, 2024 08:09
@renovate renovate bot force-pushed the renovate/nesbot-carbon-3.x branch from b823e5b to 5f7e59c Compare March 3, 2024 12:03
@renovate renovate bot force-pushed the renovate/nesbot-carbon-3.x branch from 5f7e59c to 60f535f Compare March 3, 2024 12:07
@renovate renovate bot force-pushed the renovate/nesbot-carbon-3.x branch from 60f535f to b3d299b Compare March 3, 2024 12:10
@rosinghal
Copy link
Member

This requires PHP 8.1. To be merged after #499

Copy link
Contributor Author

renovate bot commented Mar 3, 2024

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@rosinghal
Copy link
Member

@gacharijohn Can you QA this build? This PR contains major changes on Google and Carbon libraries.

Things to check are

  • connection with Google wrt to auth and fetching events
  • datetime conversion based on timezones

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant