Closed Crazykriz closed 5 years ago
Same here. I created a pull request to bump it to <3.0... not sure if this is gonna break anything else though.
Hopefully it will ;-)
Any update on this issue? Since Carbon 1.x is now officially deprecated and everyone is urged to upgrade to 2.0, this PR of yours @timp999 would be a very welcome addition.
@kevinkhill Can we get this merged? Impossible to use Lavacharts with Laravel 5.8 at the moment!
I appreciate you all as a community keeping this project alive as I focus on other priorities in my life. I would happily merge a PR
I think I only have it as a dependancy to integrate with the earlier versions of Laravel. I don't think DataTables use many carbon methods... 🤔
So upgrading or allowing any version (or the same as Laravel? Align version compatibility?) would probably be fine. I can't remember now, but I believe I only type hint and use the constructor?
@kevinkhill I've needed to use Lavacharts for an urgent project over the last week, and as a temporary workaround used Composer to load the package direct from this PR: #304
I haven't come across any issues, despite using Lavacharts in-depth. That PR uses "nesbot/carbon": ">=1.14 <3.0"
as the version constraints, which seems to work well.
I'm terribly sorry for letting this sit. I am very busy and forgetful, a dangerous combo for doing tasks 😜
PR merged! I will try and push a release
@kevinkhill Thanks! A new tagged release would be very much appreciated so we can start using this without having to go via a separate repository in Composer.
@kevinkhill any update on the new release including the carbon version bump?
how about now? I A.D.D.-ed hard on this, sorry! 😄
I still can't see a stable release, according to Packagist: https://packagist.org/packages/khill/lavacharts#3.1.11
I would expect a 3.1.12 stable release. I can see that the 3.1.x-dev build has the updated Carbon dependency but I would prefer to keep my dependencies in the stable channel.
How strange... 🤔 Github must have changed something about their API, because I had to re-authorize packagist. Anyways, I did a manual update and can see 3.1.12
Can you please verify?
Yes, I got it now. Thank you very much! 😄
Absolutely! Good luck and please stay in touch with anything else, happy to help.
What Version?
3.1.11
Issue
Hi all,
Laravel 5.8 requires Carbon 2.x but Composer's dependency for Lavacharts still stucks in old Carbon 1.x:
khill/lavacharts 3.1.11 requires nesbot/carbon ~1.14
So updating my sources with Composer breaks down at this point and as long as Lavacharts doesn't support or permit Carbon 2.x the current library seems not to be usable with Laravel 5.8. I think we need a new major update for Lavacharts supporting Carbon 2.x
Thanks for your feedback Crazykriz