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

Symfony 7 support #2891

Closed
sakarikl opened this issue Nov 30, 2023 · 5 comments
Closed

Symfony 7 support #2891

sakarikl opened this issue Nov 30, 2023 · 5 comments

Comments

@sakarikl
Copy link

Hello,

composer dependencies do not allow installing symfony 7.0

@kylekatarnls
Copy link
Collaborator

#2888 (comment)

Symfony 7 will be supported on Carbon 3, you can test it with

composer require nesbot/carbon:^3.0@dev

@sakarikl
Copy link
Author

Is there some timeline for 3.0 yet determined?

@kylekatarnls
Tried our test set for carbon 3 and one different behaviour found. Where should I report it?

@kylekatarnls
Copy link
Collaborator

First please take a look at the list of the expected change. It's a new major version, it will include breaking changes such as diff() method will now return float

#1681

If not in the list and unexpected regression, you may open an issue.

@sakarikl
Copy link
Author

diffAsCarbonInterval returns duration object which returns different string on spec method for some cases in 3 vs 2.

I'll create a minimal code to reproduce it and open a new issue.

@kylekatarnls
Copy link
Collaborator

v3 compatibility with Laravel is now being checked: laravel/framework#49764

If you are on Laravel or have a composer constraint in your project needed carbon v2, you can still try the v3 using:

composer require "nesbot/carbon:3.x-dev as 2.99"

Do not hesitate to give it a try, your help in testing this new version will be gratefully welcome. The more it can be tested, the faster it will reach the stable release.

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

No branches or pull requests

2 participants