-
-
Notifications
You must be signed in to change notification settings - Fork 837
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
q: chart.js 2.8.0 #489
q: chart.js 2.8.0 #489
Comments
Hey @andreineculau thanks for the issue. Thus for compatibility and stability reasons we have a rather strict version requirement. I will always need some time to review the changes in chart.js and see if they affect vue-chartjs, before bumping the peerDependency version. However, the cool thing about peerDependencies is, that you only get a warning that the version does not match. But it will continue to work. As long as they did not introduce some heavy breaking changes. If I find a free minute, I will go over the changes and bump the version. ✌️ |
@apertureless Thanks for the quick reply and confirming the status-quo is intentional PS: FWIW for us it fails, because we want to have visual feedback on what top-level deps we install, so after we do |
FWIW, I manually upgraded to chart.js 2.8.0 and so far so good! |
Forgot to ask how do you address vue-chartjs semver? Because the commit is breaking. Non-breaking would be ">=2.7 <2.9" |
Oh, good catch! Fixed the A breaking change for me, would be an external API change, that would break peoples projects if they upgrade. Or an internal change that requires strict versions of for example vue.js to work. If vue would add some new function that I utilize and vue-chartjs thus requiring at least that version. Because then, if people only upgrade |
Expected Behavior
all peer deps are met
Actual Behavior
chart.js 2.8 has been released yesterday, and because we were installing "chart.js@^2.7.2" as a peer dep we now get an error about unmet peer dep
historically, I see vue-chart.js went from
^2.7.0
in fcd90712.7.0
in Feature/v3 #2252.7.x
in d104e62all of that happening in sep-nov 2017, but without clear indications (the peer dep changes are tangent to other fixes)
can you confirm that you have a strict requirement on 2.7, rather than ^2.7.0 ?
thanks!
Environment
The text was updated successfully, but these errors were encountered: