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

Change CHART.JS dependency to version 4 #808

Merged
merged 24 commits into from
Nov 17, 2022
Merged

Change CHART.JS dependency to version 4 #808

merged 24 commits into from
Nov 17, 2022

Conversation

stockiNail
Copy link
Collaborator

Fix #807

@stockiNail stockiNail added the bug label Nov 15, 2022
@stockiNail stockiNail added this to the 2.1.0 milestone Nov 15, 2022
@stockiNail stockiNail marked this pull request as draft November 15, 2022 08:30
@stockiNail stockiNail marked this pull request as ready for review November 15, 2022 14:43
@stockiNail
Copy link
Collaborator Author

Thank you @kurkle for the example to fix docs build issue.
The version in package.json has been set to 2.1.0 if we want to create new version. If yes, I'll change all other PR milestones.

LeeLenaleee
LeeLenaleee previously approved these changes Nov 16, 2022
Copy link
Member

@kurkle kurkle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, except if I understand the "noDefaultScales" tests right and those are useless tests now?

test/fixtures/box/noDefaultScales.js Outdated Show resolved Hide resolved
@stockiNail stockiNail marked this pull request as ready for review November 17, 2022 18:16
Copy link
Member

@kurkle kurkle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually for unit tests its better to ise mocked data, so the situation does not change when chart.js changes. But I think this is fine and we can call it integration or functional test :)

@stockiNail
Copy link
Collaborator Author

Ok @kurkle
I did in that way the first impl but I thought you preferred this one.
New version? Bump is already here
If yes I can do it later

@stockiNail stockiNail merged commit 08f92b8 into chartjs:master Nov 17, 2022
@stockiNail stockiNail deleted the chartjs4 branch November 17, 2022 21:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update Peer dependency
3 participants