Skip to content

chore(deps-dev): bump chart.js from 4.4.8 to 4.5.1 - #962

Merged
kurkle merged 1 commit into
masterfrom
dependabot/npm_and_yarn/chart.js-4.5.1
Sep 17, 2026
Merged

kurkle merged 1 commit into
masterfrom
dependabot/npm_and_yarn/chart.js-4.5.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 14, 2026

Copy link
Copy Markdown
Contributor

Bumps chart.js from 4.4.8 to 4.5.1.

Release notes

Sourced from chart.js's releases.

v4.5.1

Essential Links

Bugs Fixed

  • #12098 Do not notify plugins after their uninstall function has been called
  • #12096 Sync Doughnut chart legend options to legend plugin
  • #12097 Attempt fixing charts shrinking on certain zoom values in Chrome

Types

  • #12122 fix(types): add drawingArea to RadialLinearScale
  • #12120 fix(types): allow null for line chart point values (#12027)
  • #12099 Add data.datasets[].tooltip.callbacks to Typescript types

Development

  • #12132 Bump version to 4.5.1
  • #12118 Bump actions/setup-node from 4 to 5

Thanks to @​LeeLenaleee, @​anshukushwaha07, @​bojidar-bg, @​dependabot[bot] and dependabot[bot]

v4.5.0

Essential Links

Enhancements

  • #11470 Fix min js two renames
  • #12054 [fix] #12048 - Add selfJoin option for doughnut graphs
  • #12058 feature: make above/below colors in filler plugin work with pivoted line charts

Bugs Fixed

  • #12070 Fix: display stacked bar with multiple x-Axis

Types

  • #12064 Document requirement of 'this' when calling tick formatters

... (truncated)

Commits

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Sep 14, 2026
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/chart.js-4.5.1 branch from c2f1eee to 4883da2 Compare September 16, 2026 03:26
kurkle added a commit that referenced this pull request Sep 17, 2026
Chart.js 4.5 widened Point to `{ x: number | null; y: number | null }` so it
can also describe a gap in a dataset. The plugin used that same type for
canvas geometry, so bumping the dev dependency to 4.5.1 (#962) fails to
compile with 15 errors across core, gestures, handlers, scale.types and utils.

Every one of those is a zoom centre, a drag corner, a pan delta or a hit test
position -- a real coordinate that is never null. Rather than null check values
that cannot be null, Point is now declared in src/types.ts and the geometry
imports it from there. Chart.js keeps being imported for everything else.

This also tightens the public API in the right direction: passing a Chart.js
Point, which may now hold nulls, into chart.zoomRect() or chart.pan() no
longer type checks, and it would have misbehaved at runtime.

Compiles and passes the browser tests against both 4.4.8 and 4.5.1, so #962
should go green once it is rebased on this.

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
@kurkle

kurkle commented Sep 17, 2026

Copy link
Copy Markdown
Member

@dependabot rebase

Bumps [chart.js](https://github.com/chartjs/Chart.js) from 4.4.8 to 4.5.1.
- [Release notes](https://github.com/chartjs/Chart.js/releases)
- [Commits](chartjs/Chart.js@v4.4.8...v4.5.1)

---
updated-dependencies:
- dependency-name: chart.js
  dependency-version: 4.5.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/chart.js-4.5.1 branch from 4883da2 to 53411f2 Compare September 17, 2026 06:31
@kurkle
kurkle merged commit c42cad6 into master Sep 17, 2026
12 checks passed
@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/chart.js-4.5.1 branch September 17, 2026 06:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant