#1089644 libjs-chart.js: Please update to latest version of chart.js (4.4.7 presently)

#1089644#5
Date:
2024-12-10 12:58:36 UTC
From:
To:
Dear Maintainer,

Chart.js has started releasing v4.0 in 12/Oct/2022. At the moment, the latest
version is v4.4.7.

Could you update the version shipped in Debian so as to have a recent version
in trixie?

However according to upstream there are some breaking changes from v2 to v3
and from v3 to v4
https://www.chartjs.org/docs/master/migration/v4-migration.html
https://www.chartjs.org/docs/master/migration/v3-migration.html

I checked the reverse-deps below and their version requirements is quite
diverse. It is unsure which packages that depend on v2 are really broken by
using v3.

My little experience with kalkun showed me that I had to update my very basic
code between v2 and v3, but that I can use the same code for v3 & v4.

reverse-depends
===============
* cacti
* kalkun
* node-chart.js
* python3-chartkick
* python3-ontospy
* python3-opem
* redmine
* ruby-sidekiq

- cacti 1.2.28 seems to still use 2.9.4
https://github.com/Cacti/cacti/blob/release/1.2.28/include/js/Chart.js

- kalkun itself already supports chart.js v2, v3 & v4

- python3-chartkick 1.0.1 uses 4.2.0
https://github.com/ankane/chartkick.py/blob/v1.0.1/chartkick/django/static/
chartkick/chart.bundle.js

- ontopsy 2.1.1 uses 2.4.0
https://github.com/lambdamusic/ontospy/blob/v2.1.1/ontospy/gendocs/media/
static/libs/chartjs-2_4_0/chart.js

- python-opem 1.4 uses 2.7.1
https://github.com/ecsim/opem/blob/v1.4/documents/chamberline-kim/
chamberline_test.html#l20

- remdine 5.1 uses 3.9.1
https://www.redmine.org/projects/redmine/repository/svn/revisions/21755/entry/
trunk/public/javascripts/chart.min.js
(remdine 6.0 might not depend on chart.js)

- ruby-sidekiq 7.3.6 uses 3.9.1
https://github.com/sidekiq/sidekiq/blob/v7.3.6/web/assets/javascripts/
chart.min.js#l2