react-chartjs icon indicating copy to clipboard operation
react-chartjs copied to clipboard

v2 release/roadmap?

Open crobinson42 opened this issue 8 years ago • 15 comments

crobinson42 avatar Oct 16 '16 21:10 crobinson42

Hey, I don't have a release or roadmap but I am planning to do some work on the library.

It'll be on the branch chartjs-v2. Is there anything in particular you guys think would be nice or are missing from that current branch ? I know someone has already added support for the new Chart.js version 2.0 + chart types

Jareechang avatar Oct 29 '16 22:10 Jareechang

For my use cases the 2.0 version of ChartJS works with this library, but I'm still getting an npm warning when installing.

Unless there's a known conflict with 2.0 (that I'm just not experiencing), I'd at least like to see the peerDependency less restrictive.

philipwalton avatar Oct 29 '16 22:10 philipwalton

@philipwalton, you are right, for some core features it should be no problem.

However, I've noticed some features in this version start to break for Chart.js V2. This library has bound onto some methods only specific to V1 when initializing some of the charts.

One example is the getPointsAtEvent(e) method in Chart.js V1 which is deprecated and changed to getElementsAtEvent(e) in Chart.js V2 :(

Jareechang avatar Oct 30 '16 03:10 Jareechang

@Jareechang @austinpray when is it planned for v2 to fully replace v1 and get published to npm?

merlinstardust avatar May 14 '17 15:05 merlinstardust

A @next release tag in npm would be nice.

On May 14, 2017 8:44 AM, "Merlin Patterson" [email protected] wrote:

@Jareechang https://github.com/jareechang @austinpray https://github.com/austinpray when is it planned for v2 to fully replace v1 and get published to npm?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/reactjs/react-chartjs/issues/154#issuecomment-301321113, or mute the thread https://github.com/notifications/unsubscribe-auth/AFsmS3SfN_cqu2zFckcd9Go5Fg257rRYks5r5yFMgaJpZM4KYFW- .

crobinson42 avatar May 14 '17 16:05 crobinson42

If someone wants to spearhead this I can def give them contribution and npm access.

austinpray avatar Nov 21 '17 23:11 austinpray

@gor181 would you like access to merge your fixes into this repo and release a new version per @austinpray's last comment?

benmccann avatar Jan 02 '18 16:01 benmccann

@benmccann I have handed the repo to @jerairrest due to lack of time. So leaving up to him to decide. Thanks for mentioning 👍

gor181 avatar Jan 02 '18 20:01 gor181

@benmccann I would be all for combining the repos together instead of having them fragmented for each major version of chart-js!

jerairrest avatar Jan 02 '18 20:01 jerairrest

@jerairrest I sent you contributor access. Let me know if you need anything else!

austinpray avatar Jan 02 '18 21:01 austinpray

Are we wanting just the index.js to be merged in? Or everything including the Typescript definitions, old tests as well as the storybook?

jerairrest avatar Jan 03 '18 01:01 jerairrest

@jerairrest I would leave it to your discretion to merge anything you think is of value. I know @ianks was wanting Typescript definitions in https://github.com/reactjs/react-chartjs/issues/84#issuecomment-232771416

benmccann avatar Jan 03 '18 02:01 benmccann

@jerairrest I think the main thing to think through is that lib/core.js in this repo is a bit different from jerairrest/react-chartjs-2/src/index.js. We should try to make sure we're taking the best ideas from both and combining them when we merge. Perhaps you'd be able to summarize the main differences between the approaches?

benmccann avatar Jan 03 '18 07:01 benmccann

@jerairrest @benmccann btw both of you guys have npm access now.

Recommend releasing the current master as 1.0.0 and then whatever breaking changes ya'll do in the merge release a 2.0.0

austinpray avatar Jan 03 '18 17:01 austinpray

Need any help with this? Not having up to date chart js is annoying for me because chart.js only has this github source for the source so i'm willing to put in some work to get it done.

nanomosfet avatar May 21 '18 10:05 nanomosfet