Skip to content

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 16, 2024

This PR contains the following updates:

Package Change Age Confidence
chart.js (source) ^3.9.1 -> ^4.0.0 age confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

chartjs/Chart.js (chart.js)

v4.5.0

Compare Source

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
  • #​12063 Add type definition for beforeEvent changed

Documentation

  • #​12088 Fix grammar typo: 'only draw line' -> 'only draw lines'
  • #​12087 Fix minified URL for development builds in the docs
  • #​12084 fix: correct grammar in segment comments (an segment -> a segment)
  • #​12082 Update docs for Developers API
  • #​12068 Fix minor typo, missing period

Development

Thanks to @​FabTechAT, @​Jee-on, @​LeeLenaleee, @​R2Jeu-prive, @​dependabot[bot], @​ffdm, @​fulldecent, @​joshkel, @​lucasleung8, @​nakanoh, @​xavierleune and dependabot[bot]

v4.4.9

Compare Source

Essential Links

Bugs Fixed

  • #​12057 fix: respect dataset clipping area when filling line charts

Documentation

Development

Thanks to @​LeeLenaleee, @​adrianbrs and @​joshkel

v4.4.8

Compare Source

Essential Links

  • #​12034 [fix] Handle non-primitives in isNumber

Bugs Fixed

  • #​12035 Export ...ParsedData interfaces
  • #​12012 Fix helpers `Chart` type
  • #​11991 Bugfix: TypeError in Interaction due to out-of-bounds index
  • #​11986 Bugfix: return nearest non-null point on interaction when spanGaps=true
  • #​11984 Bugfix: span gaps over null values beyond scale limits

Types

Documentation

Development

Thanks to @​etimberg, @​joshkel, @​marisst, @​pensono and @​prems51

v4.4.7

Compare Source

Essential Links

Types

  • #​11521 fix: correct typing for doughnut, pie, and polarArea charts
  • #​11948 Export TRBL from geometric

Documentation

  • #​11968 Add documentation about setting default tooltip fonts
  • #​11962 Show correct title in multi series pie chart example

Development

Thanks to @​Connormiha, @​DustinEwan, @​LeeLenaleee, @​dependabot and @​dependabot[bot]

v4.4.6

Compare Source

Essential Links

Bugs Fixed

  • #​11938 Fix: applyStack() returned the sum of all values for hidden dataset indices, which causes incorrect animations when showing/hiding stacked datasets.

Development

  • #​11943 chore: version bump for 4.4.6 release
  • #​11933 Fix 404 to samples in release drafter

Thanks to @​DeyLak, @​LeeLenaleee and @​etimberg

v4.4.5

Compare Source

Essential Links

Bugs Fixed

  • #​11927 Don't apply default colors in the colors plugin when defaults are used
  • #​11907 Avoid error if borderOpts.dash is undefined
  • #​11882 Fix initial dataset stacks

Types

  • #​11931 Allow array's in backgroundColor defaults and add hover background and border color to defaults

Documentation

Development

Thanks to @​HieroglypH, @​LeeLenaleee, @​dependabot, @​dependabot[bot] and @​dregad

v4.4.4

Compare Source

Essential Links

Bugs Fixed

  • #​11873 Check if range method exists on element before executing it
  • #​11863 Return false from the average tooltip positioner on no valid data
  • #​11858 Bugfix/issue 11804 tooltip show for all invisible
  • #​11851 fix: Unset _resizeBeforeDraw before _resize() call to avoid possible recursion
  • #​11844 fix issue #11717
  • #​11788 Fix drawing angle lines on reversed radial scale

Types

  • #​11867 fix(types): exclude DeepPartial<unknown[]> from ChartOptions interface
  • #​11862 fix(types): add xCenter and yCenter properties to RadialLinearScale interface
  • #​11817 Remove box padding from legend types
  • #​11796 Add fit method to LegendElement interface
  • #​11780 types: Allow passing undefined for chart options

Documentation

  • #​11871 Add radial linear scale to docs section of samples
  • #​11823 Update OffscreenCanvas documentation, as it is widely available now
  • #​11781 Fix some typos

Development

Thanks to @​CatchABus, @​LeeLenaleee, @​MichelHMachado, @​artus9033, @​huqingkun, @​jdufresne and @​joliss

v4.4.3

Compare Source

Essential Links

  • #​11754 Fix error when object prototype is frozen

Bugs Fixed

  • #​11764 do not attempt to clear canvas if one does not exist
  • #​11755 #11450 hide bar by dataindex
  • #​11690 Create parsed object with correct keys
  • #​11707 platform.isAttached should return false if canvas is false-y

Documentation

Development

Thanks to @​DAcodedBEAT, @​EricWittrock, @​LeeLenaleee, @​LiamSwayne, @​dependabot and @​dependabot[bot]

v4.4.2

Compare Source

Essential Links

Bugs Fixed

  • #​11685 addListener and removeListener should be only invoked on truthy values
  • #​11682 fix #11503, autoskipping 0 tick when min is below 0
  • #​11616 fix(#11615): fix calculating caretX position on stacked bar with index interaction.

Types

  • #​11662 bugfix #10896 - Changed 'r' to optional for BubbleChart

Documentation

  • #​11674 docs(types): fix description in index.d.ts
  • #​11614 Add extra calrification for html legend

Development

  • #​11689 Bump to 4.4.2
  • #​11664 Bump pnpm/action-setup from 2.4.0 to 3.0.0
  • #​11657 Bump release-drafter/release-drafter from 5 to 6
  • #​11650 Bump dorny/paths-filter from 2 to 3
  • #​11636 Bump socket.io-parser from 4.2.2 to 4.2.4
  • #​11635 Bump follow-redirects from 1.15.2 to 1.15.4
  • #​11633 Update pnpm lockfile

Thanks to @​DAcodedBEAT, @​LeeLenaleee, @​Megaemce, @​dependabot, @​dependabot[bot], @​mirumirumi, @​smoonsf and @​waszkiewiczja

v4.4.1

Compare Source

Essential Links

Bugs Fixed

  • #​11605 Update font spec type
  • #​11596 Tooltip fixes (getLabelAndValue on null controller, null getParsed)
  • #​11588 fix: Guard access to window in helpers.dom.ts for browserless rendering
  • #​11577 Fix backdrop padding
  • #​11488 Change type of mode in chart.update(mode)

Types

  • #​11605 Update font spec type
  • #​11572 fix: Property platform missing from chart configuration typings
  • #​11569 fix: pass Plugin TType down to hooks chart arg
  • #​11488 Change type of mode in chart.update(mode)

Documentation

  • #​11562 Fix migration docs links
  • #​11483 docs: Fix typo for documentation of plugins.tooltip.textDirection

Development

Thanks to @​CatchABus, @​Cazka, @​Connormiha, @​LeeLenaleee, @​Sengulair, @​bboy-chocomint, @​dependabot, @​dependabot[bot], @​jongwooo, @​joshkel and @​unverbraucht

v4.4.0

Compare Source

Essential Links

Enhancements

  • #​11404 Add clip option to scale configuration to allow unclipped scales

Bugs Fixed

  • #​11435 BorderRadius of Bar Chart issue on Firefox 116

Types

  • #​11348 fix: Add backgroundColor type on CoreScaleOptions

Documentation

  • #​11439 Replace html extension with md extension for docs

Development

Thanks to @​LeeLenaleee, @​Mer-cat, @​bogdankorshunov and @​stockiNail

v4.3.3

Compare Source

Essential Links

  • #​11432 Revert fix for monotone cubic interpolation

Development

  • #​11427 Bump pnpm/action-setup from 2.2.4 to 2.4.0

Thanks to @​dependabot, @​dependabot[bot] and @​stockiNail

v4.3.2

Compare Source

Essential Links

Types

  • #​11422 Revert feature to disable plugins by TS
  • #​11419 Updates to scale type definitions

Development

Thanks to @​LeeLenaleee, @​joshkel and @​stockiNail

v4.3.1

Compare Source

Essential Links

  • #​11417 Bump 4.3.1
  • #​11330 [docs] HTML Legend sample: add flex-shrink: 0 to color box

Bugs Fixed

  • #​11377 Fix curve path if scale limits are set for line chart
  • #​11388 Fix time series scale to have each data point is spread equidistant
  • #​11352 Fix mismatch between hit boxes and drawn items in legend plugin
  • #​11346 Add text stoke radial linear scale
  • #​11334 Fix toggling showLine option on scatter controller

Types

  • #​11403 Add missing feature for disabling plugins in TyeScript
  • #​11396 Fix type of tickBorderDash in GridLineOptions
  • #​11187 Split the TimeScaleOptions type into composable sub types
  • #​11383 fix: add pointStyleWidth to type definitions
  • #​11358 Add `beforeDraw` to drawtime type
  • #​11350 Add events property to Plugin defined type
  • #​11309 Export explicitly the plugin options definition which is augmented by plugins implementation

Documentation

  • #​11345 Clarify update docs
  • #​11324 Refined grammar and updated overall .md documentation files
  • #​11322 minor correction of documentation for 'Grace'
  • #​11284 Correct tooltip dates displaying incorrectly reported in #11229
  • #​11300 Expend note that chart must be in its own dedicated container

Development

Thanks to @​Frenzie, @​LeeLenaleee, @​etimberg, @​matthewhegarty, @​mukham12, @​skopz356 and @​stockiNail

v4.3.0

Compare Source

Essential Links

  • #​11257 Bump to 4.3.0
  • #​11217 Enable applying of gradients and pattern on line segments
  • #​11134 Use custom scale defaults and dataset axis ID options to determine the axis
  • #​11061 fix RTL tooltip colorBox placement

Enhancements

  • #​11055 Enable point labels hiding when overlapped
  • #​11180 Border is counted as part of ArcElement
  • #​11121 refactor: rewrite config helpers to ts
  • #​11100 refactor: rewrite canvas helpers to ts
  • #​11127 Add borderDash options to arc element

Bugs Fixed

  • #​11238 Check for isNaN before building number formatter options
  • #​11116 Fix: don't generate ticks > max if max is specified

Types

  • #​11121 refactor: rewrite config helpers to ts
  • #​11100 refactor: rewrite canvas helpers to ts
  • #​11143 Docs: fix tooltip model doc.

Documentation

  • #​11241 Add redirect for old V3 migration guides in release notes
  • #​11244 Fix documentation about how to manage own custom plugin for types
  • #​11220 docs: Fix a few typos
  • #​11154 Update tooltip.md

Development

  • #​11240 Add version specific urls to release template
  • #​11212 Update size limits
  • #​11209 chore: change pnpm version in engines field to be able to use 8.x.x
  • #​11174 Add colors plugin to size limit
  • #​11165 Disable canvas acceleration in Firefox 110 in test cases
  • #​11145 Simplify _arrayUnique
  • #​11135 Change labelColors to labelColor in tooltip drawColorBox method.

Thanks to @​CodingMarco, @​Connormiha, @​Demir-Utku, @​LeeLenaleee, @​dangreen, @​defunctzombie, @​etimberg, @​leo2436, @​olenderhub, @​shahabhm, @​stockiNail and @​timgates42

v4.2.1

Compare Source

Essential Links

  • #​11045 fix: decimation plugin data not writeable after clean

Bugs Fixed

  • #​11069 Use maxTicksLimit option to calculate the labels size on ticks

Types

  • #​11102 chore: #10963 revert
  • #​11115 Add colors plugin TS options to be configured
  • #​11081 fix: add bgColor type in RadialLinearScaleOptions
  • #​11095 🐛 fixes compilation error when option --isolatedModules is set

Documentation

Development

  • #​11130 Bump to 4.2.1
  • #​11124 Remove circumference property retrieving from arc element for center calculation because not used
  • #​11113 Update link to new template

Thanks to @​LeeLenaleee, @​choichoijin, @​dangreen, @​etimberg, @​jljouannic, @​johakr, @​n1313 and @​stockiNail

v4.2.0

Compare Source

Essential Links

  • #​11054 Add pointLabel context type documentation
  • #​11043 chore: Add Chart.js meetup announcement to README

Enhancements

  • #​11063 Add format method to time scale to format timestamp using scale options

Bugs Fixed

  • #​11003 Check colors definition in the chart options

Types

  • #​11017 Change 'normal' update mode to 'default' as documented
  • #​11051 fix: updated type for doughnut offset

Documentation

Development

Thanks to @​ankane, @​igorlukanin, @​mlankamp and @​stockiNail

v4.1.2

Compare Source

Essential Links

Types

Documentation

  • #​11006 Fixes missing markdown links in docs

Development

Thanks to @​LeeLenaleee, @​dangreen and @​matveycodes

v4.1.1

Compare Source

Essential Links

  • #​10988 chore: Revert "Add Product Hunt button (temporarily)"

Bugs Fixed

  • #​10971 fix: avoid resize loop when browser zoom is set to 90%
  • #​10993 fix: move types to src dir to escape src / dist dirs in paths
  • #​10992 fix: hotfix chart.js/auto for commonjs

Types

  • #​10993 fix: move types to src dir to escape src / dist dirs in paths

Development

Thanks to @​dangreen, @​etimberg, @​gbaron and @​igorlukanin

v4.1.0

Compare Source

Essential Links

  • #​10980 chore: Add Product Hunt button (temporarily)
  • #​10917 fix: move @​kurkle/color to dependencies

Enhancements

Bugs Fixed

  • #​10942 Ensure that args are saved inside of the throttled helper
  • #​10766 fix: stacked bar chart minBarLength causes overlapping
  • #​10898 Set the transition mode to the context for scriptable options

Types

  • #​10963 fix: unbind instance config from chart type
  • #​10910 Add stepSize option to time scale options types

Documentation

Development

Thanks to @​Kit-p, @​LeeLenaleee, @​Simon-He95, @​benmccann, @​dangreen, @​etimberg, @​igorlukanin, @​letheri and @​stockiNail

v4.0.1

Compare Source

Essential Links

Bugs Fixed

Thanks to @​LeeLenaleee


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Jun 16, 2024
Copy link
Contributor Author

renovate bot commented Jun 16, 2024

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: package-lock.json
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR! 
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/chart.js
npm ERR!   chart.js@"^4.0.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer chart.js@"^3.5.1" from [email protected]
npm ERR! node_modules/chartjs-node-canvas
npm ERR!   chartjs-node-canvas@"^4.1.6" from the root project
npm ERR! 
npm ERR! Conflicting peer dependency: [email protected]
npm ERR! node_modules/chart.js
npm ERR!   peer chart.js@"^3.5.1" from [email protected]
npm ERR!   node_modules/chartjs-node-canvas
npm ERR!     chartjs-node-canvas@"^4.1.6" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR! 
npm ERR! See /runner/cache/others/npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /runner/cache/others/npm/_logs/2025-08-19T18_53_19_157Z-debug-0.log

@renovate renovate bot force-pushed the renovate/chart.js-4.x branch 2 times, most recently from 657d6f1 to 78a2088 Compare June 27, 2024 01:38
@Domin0de
Copy link
Member

Requires update for peer dependency to: https://www.npmjs.com/package/chartjs-node-canvas

@renovate renovate bot changed the title fix(deps): update dependency chart.js to v4 Update dependency chart.js to v4 Jul 14, 2024
@renovate renovate bot force-pushed the renovate/chart.js-4.x branch from 78a2088 to 8e719ec Compare August 11, 2025 04:21
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant