Skip to content

Releases: chartjs/Chart.js

v4.0.1

14 Nov 23:27
ae1365e
Compare
Choose a tag to compare

Essential Links

Bugs Fixed

Thanks to @LeeLenaleee

v4.0.0

14 Nov 22:51
11f3cf6
Compare
Choose a tag to compare

Essential Links

Bugs Fixed

  • #10869 Remove type attribute from dataset specific type specification
  • #10867 check the data set type in DoughnutController
  • #10806 fix: Always draw full arcs and borders for doughnut slices
  • #10855 Fix the missing apply for the color on the legend labels
  • #10851 Enable colors plugin for pie charts

Types

  • #10869 Remove type attribute from dataset specific type specification
  • #10753 refactor: migrate helpers.options to typescript

Documentation

  • #10816 Updated docs (why Chart.js + getting started + step-by-step guide)
  • #10857 docs: notes about html legend, tooltip and title
  • #10826 Fix month
  • #10827 Grammar error fixes
  • #10831 Update example chart config type, remove whitespace

Development

Thanks to @BrilliantDeviation7, @LeeLenaleee, @dangreen, @etimberg, @gibson042, @igorlukanin, @luckened, @puneetkathar1, @stockiNail and @t-mangoe

V4.0.0-alpha.3

24 Oct 05:58
3557559
Compare
Choose a tag to compare
V4.0.0-alpha.3 Pre-release
Pre-release
v4.0.0-alpha.3

Bump alpha 3 (#10822)

v4.0.0-alpha.2

12 Oct 17:09
c849b7b
Compare
Choose a tag to compare
v4.0.0-alpha.2 Pre-release
Pre-release

Essential Links

Development

Thanks to @LeeLenaleee

v4.0.0-alpha.1

12 Oct 12:48
02a7bdb
Compare
Choose a tag to compare
v4.0.0-alpha.1 Pre-release
Pre-release

Essential Links

  • #10759 Fix #10749 - backdrops with rotated labels
  • #10667 fix: calc visible points on update
  • #10655 Provide an empty object when the target of the resolver is undefined
  • #10661 TypeScript: NodeNext support
  • #10639 enable pointStyleWidth for all legend styles

Breaking Changes

  • #10733 Convert the curve helpers to TS
  • #10728 Convert helpers.extra to TS
  • #10663 Fix autoskip logic
  • #10653 Use ticks.steSize instead of time.stepSize on time and timeseries scales
  • #10646 fix: respect aspect ratio with container height
  • #10643 feat: remove default axis override when custom id is given
  • #10612 Remove tooltip constructor fallbacks, `this.chart` and `this._chart`
  • #9166 Refine logarithmic scaling / tick generation
  • #10571 Put the border opts in own object
  • #10548 fix: same-looking tooltips on charts
  • #10551 Use borderRadius for legend and remove fallbacks
  • #10591 Change way that linear scales calculate min and max
  • #10526 feat: sideEffects false
  • #10549 Remove destroy hook
  • #10540 fix: pass timestamp to ticks callback
  • #10525 feat: add ESM support
  • #10504 fix: treeshaking
  • #10550 Move parameter of TType in ChartMeta to first option
  • #10469 Fix offset on doughnut charts

Enhancements

  • #10683 Use guard clause typings
  • #10702 Add warning if filler plugin is used but not registered
  • #10653 Use ticks.steSize instead of time.stepSize on time and timeseries scales
  • #10643 feat: remove default axis override when custom id is given
  • #10608 Use the element's window in getComputedStyle
  • #10571 Put the border opts in own object
  • #10605 Change react integration test to TS
  • #10548 fix: same-looking tooltips on charts
  • #10551 Use borderRadius for legend and remove fallbacks
  • #10567 feat: tooltip callbacks fallback
  • #10568 build: emit sourcemaps
  • #10526 feat: sideEffects false
  • #10525 feat: add ESM support
  • #10504 fix: treeshaking

Bugs Fixed

  • #10691 Use the correct area to clip for dataset drawing when stacked scales are used
  • #10693 fix: aspect ratio calc
  • #10641 FIX: render multiline legend items without overlapping (#10532)
  • #10663 Fix autoskip logic
  • #9166 Refine logarithmic scaling / tick generation
  • #10598 fix: allow beforeTooltipDraw to be cancelable
  • #10540 fix: pass timestamp to ticks callback
  • #10469 Fix offset on doughnut charts

Types

  • #10772 Convert the Arc element to TS
  • #10734 refactor: migrate helpers.dom to typescript
  • #10733 Convert the curve helpers to TS
  • #10730 Convert the PointElement to TS
  • #10760 Types: Change grid option of CartesianScaleOptions and RadialLinearScaleOptions to Partial of GridLineOptions
  • #10739 Allow to configure X and Y axis ID in TS for bubble charts
  • #10728 Convert helpers.extra to TS
  • #10729 Export declare const enums
  • #10726 Types: Export UpdateModeEnum as const
  • #10722 refactor: move batch of helpers to ts
  • #10712 Add defaults to plugin interface
  • #10683 Use guard clause typings
  • #10660 fix: types and tests
  • #10652 Update bar data type to comply with floating bar charts data
  • #10627 Convert the easing helpers to typescript
  • #10582 Allow animations to be set to false for the tooltip typings
  • #10590 Add `grouped` option to the typings for barchart
  • #10585 add correct padding object to type
  • #10579 fix: allow nulls in barchart data type
  • #10550 Move parameter of TType in ChartMeta to first option

Documentation

  • #10763 docs: fix typos
  • #10748 Updated dead sample link
  • #10719 Update namespace of logarithmic ticks section
  • #10708 Unify data structure snipets and add ts explanation
  • #10702 Add warning if filler plugin is used but not registered
  • #10666 Fixed broken link in docs
  • #10645 Update link to master umd build
  • #10640 Fix broken link
  • #10621 docs: fix images loading
  • #10569 Document components for bundle optimization
  • #10613 move option to correct namespace
  • #10611 fix lint in docs
  • #10607 Documentation: how to add static typing to plugins

Development

  • #10787 Bump alpha v4
  • #10632 Bump `markdown-it` in docs
  • #10591 Change way that linear scales calculate min and max
  • #10573 chore: upgrade dependencies
  • #10589 Downgrade karma preprocessor

Thanks to @Brainshaker95, @GrantHynd, @LeeLenaleee, @Lonylis, @New-dev0, @Zivangu9, @amincheloh, @benmccann, @cmcnulty, @dangreen, @etimberg, @jdufresne, @jwilliams-met, @kartik-madhak, @kurkle, @lucianosantana, @luckened, @rupert-br, @sashashura, @stockiNail, @touletan and @wenzdey

v3.9.1

03 Aug 12:47
5ea4b3a
Compare
Choose a tag to compare

Essential Links

Bugs Fixed

Thanks to @LeeLenaleee

v3.9.0

02 Aug 13:03
7079a1c
Compare
Choose a tag to compare

Essential Links

Enhancements

  • #10439 feat: remove line element from scatter controller
  • #10528 feat: pass some chart options to DateAdapter
  • #10405 Add circular prop to arc element
  • #10530 Skip all borders if borderSkipped === true
  • #10517 parsing: support dot(s) in object keys
  • #10519 Enable borderDash option in the grid as scriptable

Performance

  • #10517 parsing: support dot(s) in object keys

Bugs Fixed

  • #10524 pass boxWidth only if pointStyleWidth presents
  • #10523 fix: calc visible points on update #10467

Documentation

  • #10527 Add docs for changing from time scale to logarithmic/linear scale
  • #10518 Improve docs radial linear grid
  • #10522 Fix Stack Overflow tag: chart.js
  • #10520 Fix Stack Overflow tag: chart.js
  • #10515 Fix dead link on reload or open in new tab
  • #10516 Clarifying threshold requirement in the docs for decimation

Development

Thanks to @LeeLenaleee, @M4sterShake, @benmccann, @dangreen, @kurkle, @peterhauke, @stockiNail, @thabarbados and @touletan

v3.8.2

24 Jul 18:49
26e70b7
Compare
Choose a tag to compare

Essential Links

Bugs Fixed

  • #10513 Explicitly include package.json files for subpackages

Development

  • #10513 Explicitly include package.json files for subpackages

Thanks to @etimberg

v3.8.1

24 Jul 15:47
aa4507d
Compare
Choose a tag to compare

Essential Links

Enhancements

  • #10495 Improve error message with id of the canvas
  • #10412 Add pointStyleWidth option for legend

Bugs Fixed

  • #10484 Resolve plugin defaults for local plugins
  • #10489 draw tooltip with object borderwidth
  • #10451 Fix options update when changing to shared opts
  • #10454 Fix crash with skipNull and uneven datasets
  • #10414 Respect `fill: false` with custom draw times

Types

  • #10494 Allow clip to be configurable in options object typescript
  • #10436 Add index to legendItem interface
  • #10404 Add padding to pointLabels type, add type to scriptable context
  • #10387 Allow for each dataset to be individually typed without a main type

Documentation

  • #10490 document defaults for plugins
  • #10497 Update link to be able to use within github
  • #10446 Add a stale version warning + a link to the latest version of docs
  • #10470 Update integration.md
  • #10447 Enforce maximum width on chart editor blocks in the docs
  • #10456 Update aspectRatio documentation
  • #10415 Update responsive.md
  • #10434 Clarify helpers need to be imported when using bundlers
  • #10410 Fix typo in link to documentation from sample
  • #10400 Fix default value of 'includeInvisible' option in the documentation
  • #10392 Clarify api docs

Development

  • #10509 Bump to 3.8.1
  • #10493 Bump terser from 4.8.0 to 4.8.1
  • #10471 Bump moment from 2.29.2 to 2.29.4
  • #10431 Bump actions/setup-node from 2 to 3
  • #10430 Bump actions/checkout from 2 to 3
  • #10393 Bump eventsource from 1.1.0 to 1.1.1

Thanks to @LeeLenaleee, @Pourbahrami, @andrewl64, @dependabot, @dependabot[bot], @etimberg, @ideabrian, @igorlukanin, @kurkle, @naveensrinivasan, @stockiNail and @touletan

v3.8.0

25 May 14:13
1a1151b
Compare
Choose a tag to compare

Essential Links

  • #10341 Correct auto.esm.js import to allow module to work in browser
  • #10316 Use abs() when comparing for spanGaps
  • #10320 Bump async from 2.6.3 to 2.6.4
  • #10290 Bump moment from 2.29.1 to 2.29.2
  • #10260 Bump minimist from 1.2.5 to 1.2.6
  • #10204 Bump karma from 6.3.14 to 6.3.16
  • #10200 Bump url-parse from 1.5.7 to 1.5.10
  • #10198 Bump prismjs from 1.25.0 to 1.27.0
  • #10181 Bump url-parse from 1.5.3 to 1.5.7
  • #10146 Bump karma from 6.3.9 to 6.3.14
  • #10150 Bump log4js from 6.3.0 to 6.4.1
  • #10152 Bump engine.io from 6.1.0 to 6.1.2
  • #10151 Bump node-fetch from 2.6.6 to 2.6.7
  • #10149 Bump follow-redirects from 1.14.6 to 1.14.8

Enhancements

  • #10362 Add option to include invisible points
  • #10328 Resolve canvasGradient is undefined in node
  • #10293 Enable configuration of radial scale point label border radius
  • #10278 Allow time scale to offset using skipped ticks
  • #10046 Interaction functions
  • #10182 Allow individual chart controllers to opt-in to the decimation plugin
  • #10088 Make object notation usable for polarArea and radar
  • #10106 Add new align 'inner' for X axis

Bugs Fixed

  • #10371 Update to v0.2.1 color dependency to fix bug with invalid colours
  • #10340 Update scale polarArea correctly on data hide
  • #10289 display tooltips only at points in chart area
  • #10328 Resolve canvasGradient is undefined in node
  • #10301 Trigger legend onLeave when the mouse leaves the canvas
  • #10276 Document tooltip draw hooks and only call hooks when the tooltip draws
  • #10157 minimum bar length setting keeps bar base in view

Types

  • #10364 Types: Allow font to be partial scriptable and individually scriptable
  • #10283 Types: add 'middle' to borderSkipped
  • #10275 Export types for cartesian and radial tick options
  • #10269 add startAngle to radial scale options typings
  • #10254 Add missing fields to the ScriptableContext type
  • #10179 Allow array for line opts in dataset

Documentation

  • #10308 Add links to docs in all the samples
  • #10259 Fix a typo in data-structures.md
  • #10266 Correct chart initialization flow
  • #10250 Update link to filler plugin
  • #10184 Fix broken link in Animations docs page.
  • #10158 remove hardcoded licenseYear in docs
  • #10156 update link to license and bump license year
  • #10154 Document scale update plugin hooks

Development

  • #10377 Bump to 3.8.0
  • #10247 Resolve circulair import filler plugin
  • #10243 Replace deprecated String.prototype.substr()
  • #10040 Refactor filler plugin for easier maintenance

Thanks to @CommanderRoot, @LeeLenaleee, @Talla2XLC, @akiraaso, @dependabot, @dependabot[bot], @etimberg, @joshkel, @kurkle, @kylejonesdev, @linkviii, @luke-heberling, @msteiger, @pzelnip, @t-mangoe and @yhvicey