chore(deps): update dependency chart.js to v4
This MR contains the following updates:
Package | Update | Change |
---|---|---|
Chart.js (source) | major |
3.9.1 -> 4.4.1
|
Release Notes
chartjs/Chart.js (Chart.js)
v4.4.1
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
- #11606 Bump 4.4.1
- #11599 Remove size limit from CI
- #11570 Replace deprecated command with environment file
- #11560 Bump actions/setup-node from 3 to 4
- #11490 fix: simplify check hasFunction
Thanks to @CatchABus, @Cazka, @Connormiha, @LeeLenaleee, @Sengulair, @bboy-chocomint, @dependabot, @dependabot[bot], @jongwooo, @joshkel and @unverbraucht
v4.4.0
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
- #11461 Bump 4.4.0
Thanks to @LeeLenaleee, @Mer-cat, @bogdankorshunov and @stockiNail
v4.3.3
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
Essential Links
Types
Development
- #11423 Bump 4.3.2
Thanks to @LeeLenaleee, @joshkel and @stockiNail
v4.3.1
Essential Links
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
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
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
- #11110 Remove override warning tooltips
- #11093 Remove meetup banner
- #11077 Fix documentation typo
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
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
Essential Links
Types
Documentation
- #11006 Fixes missing markdown links in docs
Development
- #11034 chore: version bump
- #11004 Update link to UMD bundle for master
- #11000 chore: replace cp with js code
Thanks to @LeeLenaleee, @dangreen and @matveycodes
v4.1.1
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
- #10997 Bump to 4.1.1
Thanks to @dangreen, @etimberg, @gbaron and @igorlukanin
v4.1.0
Essential Links
- #10980 chore: Add Product Hunt button (temporarily)
- #10917 fix: move @<!---->kurkle/color to dependencies
Enhancements
- #10966 add getLabelItems public method
- #10984 feat: restore commonjs bundle
- #10964 Allow dynamic datasets to be colored
- #10904 Allow color plugin to work with custom dataset controllers
- #10870 feat: colors for mixed charts
- #10886 Pointstyle false
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
- #10976 docs: Update Slack link
- #10965 Broken link is fixed.
- #10955 Update auto import in usage docs
- #10903 docs: add info about ESM into migration guide.
- #10885 update migration guide
- #10884 Move border opts to correct location for samples
- #10872 Remove V3 support, update readme
Development
- #10962 test: turn on types linting
- #10983 bunp version to 4.1.0
- #10974 chore: add lint cache
- #10930 Update react template to V4 vite
- #10919 Use UDM build for reproducible sample
Thanks to @Kit-p, @LeeLenaleee, @Simon-He95, @benmccann, @dangreen, @etimberg, @igorlukanin, @letheri and @stockiNail
v4.0.1
Essential Links
Bugs Fixed
- #10871 Fix release
Thanks to @LeeLenaleee
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.