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

Moving Lavacharts to Laravel 5.8 not possible #302

Closed
Crazykriz opened this issue Mar 21, 2019 · 17 comments
Closed

Moving Lavacharts to Laravel 5.8 not possible #302

Crazykriz opened this issue Mar 21, 2019 · 17 comments

Comments

@Crazykriz
Copy link

Crazykriz commented Mar 21, 2019

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

@timp999
Copy link
Contributor

timp999 commented Apr 12, 2019

Same here. I created a pull request to bump it to <3.0... not sure if this is gonna break anything else though.

@Crazykriz
Copy link
Author

Hopefully it will ;-)

@robinklaassen
Copy link

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.

@jackwh
Copy link

jackwh commented Jul 5, 2019

@kevinkhill Can we get this merged? Impossible to use Lavacharts with Laravel 5.8 at the moment!

@kevinkhill
Copy link
Owner

kevinkhill commented Jul 6, 2019

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

@kevinkhill
Copy link
Owner

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... 🤔

@kevinkhill
Copy link
Owner

kevinkhill commented Jul 6, 2019

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?

@jackwh
Copy link

jackwh commented Jul 11, 2019

@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.

@kevinkhill
Copy link
Owner

I'm terribly sorry for letting this sit. I am very busy and forgetful, a dangerous combo for doing tasks 😜

@kevinkhill
Copy link
Owner

PR merged! I will try and push a release

@jackwh
Copy link

jackwh commented Jul 16, 2019

@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.

@robinklaassen
Copy link

@kevinkhill any update on the new release including the carbon version bump?

@kevinkhill
Copy link
Owner

kevinkhill commented Aug 30, 2019

how about now? I A.D.D.-ed hard on this, sorry! 😄

@robinklaassen
Copy link

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.

@kevinkhill
Copy link
Owner

kevinkhill commented Sep 1, 2019

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?

@robinklaassen
Copy link

Yes, I got it now. Thank you very much! 😄

@kevinkhill
Copy link
Owner

Absolutely! Good luck and please stay in touch with anything else, happy to help.

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

5 participants