Skip to content

Commit 72eaa1a

Browse files
committed
feature #1389 [ChartJs] Add support for chart.js:^4.0 (evertharmeling)
This PR was merged into the 2.x branch. Discussion ---------- [ChartJs] Add support for chart.js:^4.0 | Q | A | ------------- | --- | Bug fix? | no | New feature? | yes | Issues | Fix #607 | License | MIT Since #1202 has been merged, which solved the blockage of #610, the support for ChartJs v4 should be as simple as this PR :) and would replace #610. 🤞🏼 on the CI-flow Commits ------- 56d925a [ChartJs] Add support for chart.js:^4.0
2 parents b52bd37 + 56d925a commit 72eaa1a

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

src/Chartjs/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# CHANGELOG
22

3+
## Unreleased
4+
5+
- Add support for Chart.js version 4
6+
37
## 2.13.2
48

59
- Changee "module" key back to "main" in package.json

src/Chartjs/assets/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,17 @@
1616
},
1717
"importmap": {
1818
"@hotwired/stimulus": "^3.0.0",
19-
"chart.js/auto": "^3.4.1"
19+
"chart.js/auto": "^3.4.1 || ^4.0"
2020
}
2121
},
2222
"peerDependencies": {
2323
"@hotwired/stimulus": "^3.0.0",
24-
"chart.js": "^3.4.1 <3.9"
24+
"chart.js": "^3.4.1 <3.9 || ^4.0"
2525
},
2626
"devDependencies": {
2727
"@hotwired/stimulus": "^3.0.0",
2828
"@types/chart.js": "^2.9.34",
29-
"chart.js": "^3.4.1 <3.9",
29+
"chart.js": "^3.4.1 <3.9 || ^4.0",
3030
"resize-observer-polyfill": "^1.5.1",
3131
"vitest-canvas-mock": "^0.3.3"
3232
}

0 commit comments

Comments
 (0)