Feature #36701
Update Chart.js to 3.7.1
Status: | Closed | Start date: | ||
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | % Done: | 0% | ||
Category: | Third-party libraries | |||
Target version: | 5.0.0 | |||
Resolution: | Fixed |
Description
Redmine is now using 2.8.0 which was released almost 3 years ago (14 Mar 2019). There are use cases in which plugin developers would want to use Chart.js but to use latest features they have to ship another js bundle.
I looked into code, there are only few usages, so it should not be hard to upgrade.
Also it would be nice to upgrade jQuery to latest (3.6.0 atm).
I wonder why jQuery is shipped in single bundle with jQueryUI and Rails UJS making them harder to upgrade.
Associated revisions
Update Chart.js to 3.7.1 (#36701).
Patch by Maciej Pankanin.
History
#1
Updated by Marius BALTEANU 4 months ago
Please see #35729 for jQuery 3.6.0.
I'm in favour of updating the Chart.js library.
#2
Updated by Maciej Pankanin 4 months ago
- File update_chartjs.patch
added
Made an update following this guide: https://www.chartjs.org/docs/latest/getting-started/v3-migration.html