Skip to content

v4.6.3

Latest

Choose a tag to compare

@github-actions github-actions released this 06 Dec 18:07
027cc91

Essential Links

  • #12615 Revert "feat: animate properties of inner objects by their path"
  • #12614 Revert "feat: `index` mode follows `indexAxis`"
  • #12611 chore: fix typo in comments
  • #12390 Fix rounding of the first logarithmic tick
  • #12591 refactor: `controller.bar.js` in TypeScript
  • #12588 feat: `index` mode follows `indexAxis`
  • #12584 feat: animate properties of inner objects by their path
  • #12553 refactor: convert LineElement to TypeScript
  • #12582 refactor(types): make the hand-kept declarations TypeScript modules
  • #12581 fix: bars cut off by the chart area are found and pointed at through their visible part
  • #12579 fix: end the tooltip and hover the pointer started when it leaves the chart area
  • #12334 fix(bar): resolve scriptable and indexable bases per data point
  • #12573 fix(scale): count the labels that fit over the part of the axis the ticks cover
  • #12574 fix: only bar datasets count as index axes
  • #12572 refactor: convert the bar element to TypeScript
  • #12571 docs: bar borders are fills, so borderDash does not apply
  • #12570 fix(linear-scale): keep tick values finite at the ends of the number range
  • #12561 fix(scale): repeat the same whole step from each major tick
  • #12546 refactor: convert the layout service to TypeScript
  • #12567 fix(linear-scale): count the stepSize tick limit on the grace range
  • #12547 refactor: convert the radar and polar area controllers to TypeScript
  • #12513 docs: design the bar chart rework
  • #12564 fix: make legend rows as tall as their tallest item
  • #12560 fix: hidden data is not active, so a hovered dataset fades out when hidden
  • #12225 fix(linear-scale): respect stepSize for non-divisible min/max ranges
  • #12494 docs: design the switch from ESLint to Biome
  • #12559 refactor: draw the legend from its hit boxes
  • #12558 ci: run the unit specs on Windows
  • #12557 test: run core.helpers and helpers.curve in Node
  • #12556 refactor: split the scale merge into stored entries and their sources
  • #12287 fix(scale): detect even major-tick spacing when first major is at index 0
  • #12288 fix(scale): avoid duplicate final tick with bounds:'data' and fractional max
  • #12555 docs: P19 of the ticks design takes #12543 with one more test
  • #12548 refactor: convert the segment helpers to TypeScript
  • #12550 refactor: convert Defaults to TypeScript
  • #12549 refactor: convert the filler options, targets and entry to TypeScript
  • #12545 refactor: convert the interaction modes to TypeScript
  • #12544 refactor: convert Animation to TypeScript
  • #12542 test: run the DOM-free specs in Node
  • #12535 refactor: convert the registries and the plugin service to TypeScript
  • #12534 refactor: convert the barrel modules and the defaults modules to TypeScript
  • #12524 docs: say that hover options of line and radar datasets reach their points
  • #12492 docs: design the ticks rework
  • #12537 refactor: convert the legend plugin to TypeScript
  • #12541 fix(types): do not infer the chart type from the legend callbacks
  • #12540 build: strip comments from TypeScript sources in the ESM and CJS bundles
  • #12536 docs: legend click handlers per chart type, hover and scrolling, HTML legend container and typings
  • #12533 refactor: convert BasePlatform to TypeScript
  • #12527 refactor(config): keep a scriptable's second argument in step with setContext, override and array items
  • #12521 fix: decide the axis of a scale by the dataset that binds it first
  • #12539 test: record the function form of _lookupByKey and _rlookupByKey in the helpers API
  • #12528 refactor: let the defaults list the routes of a scope
  • #12532 test: record the events parameter of _isClickEvent in the helpers API
  • #12522 test: record the public type API of chart.js and chart.js/helpers
  • #12526 fix: run onClick once for one press
  • #12523 build: lint TypeScript sources with the JavaScript rules
  • #12520 build: check the TypeScript sources with the transition flags
  • #12388 fix(config): don't use an options array as a scope for its items
  • #12268 fix: prevent prototype pollution in Chart.defaults path APIs
  • #12519 test: compile the published types with TypeScript 4.7.4 and the newest TypeScript
  • #12518 docs: design running the DOM-free specs in Node
  • #12517 fix(legend): show only array labels on several lines
  • #12516 test: remove Karma and Jasmine
  • #12512 docs: design the end of the TypeScript conversion
  • #12514 test: run the animation, controller, scale and ticks core specs under Vitest
  • #12507 docs: settle the second review of the options design
  • #12505 test: run the bar, doughnut, line and scatter controller specs under Vitest
  • #12511 test: run the category, linear, logarithmic and time scale specs under Vitest
  • #12509 test: run the decimation, filler, legend, title and tooltip plugin specs under Vitest
  • #12506 test: run the color, config, dom, math and platform specs under Vitest
  • #12504 docs: design the options rework
  • #12487 docs: write redirect stubs for the old docs addresses
  • #12484 docs: generate the API reference for the VitePress site
  • #12481 fix: accept multi-line labels as category values
  • #12454 docs: add the version menu to the VitePress site
  • #12452 fix: parse data changed in place in data order
  • #12482 docs: design the legend rework
  • #12483 fix(deps): update @babel/preset-env to match @babel/core 7.29
  • #12451 docs: give the VitePress site the guide and samples sidebars
  • #12453 ci: build and type-check the VitePress docs
  • #12450 docs: preview the VitePress site under /vitepress/
  • #12449 fix: keep the labels a category axis finds in the data on that axis
  • #12446 fix: take the scatter and bubble tooltip label from the category axis
  • #12445 docs: build a VitePress site beside VuePress
  • #12435 docs: fix links that resolve only by accident

Performance

  • #12401 perf(scale): remove skipped ticks in a single pass
  • #12586 perf: find a dataset's meta through a Map keyed by the dataset
  • #12566 perf: look up skipNull values by position in sorted bar data
  • #12529 perf: share the animations between elements again
  • #12531 perf: parse and clear stacks without garbage per item
  • #12530 perf: build line and fill paths without closures
  • #12525 perf: binary search without a compare closure
  • #12489 perf: generate time scale ticks without string-keyed objects
  • #12493 perf: check the options cache before resolving

Bugs Fixed

  • #12568 fix: wrap the legend within maxWidth and maxHeight
  • #12587 fix: destroy matched dataset meta on type change
  • #12331 fix: keep the stack order when the first dataset of a stack is hidden
  • #12275 Don't run tooltip content callbacks when all items are filtered out
  • #12266 fix: prevent _decimalPlaces infinite loop when multiplier overflows to Infinity
  • #12480 Keep chart elements in sync with dataset splice operations
  • #12398 Fix TypeError when element.ownerDocument.defaultView is null
  • #12187 fix(legend): respect horizontal padding for legend title
  • #12316 fix: cover aligned text with the legend hit boxes
  • #12346 fix(legend): draw last item when align is end (#12345)
  • #12508 Make arc `borderDashOffset` non-indexable for polarArea and remove the unused hover check
  • #12491 fix: mark major ticks on a reversed time scale
  • #12502 fix: restore decimated datasets on destroy and skip frozen datasets
  • #12391 Cancel delayed resize updates when a chart is destroyed
  • #12438 fix: register every export of an ES module namespace
  • #12330 fix: include title width when fitting vertical legends
  • #12431 fix: keep inferred category labels in data order with string bounds

Types

  • #12578 fix(types): prevent plugins from widening ChartConfiguration TType
  • #12349 fix(types): allow scriptable title padding

Documentation

  • #12400 docs: show how to append time-series points

Development

  • #12618 chore: version bump to 4.6.3 to prepare for release
  • #12569 test: make the image fixtures with text pass on macOS
  • #12456 chore(deps): bump browserslist from 4.21.5 to 4.29.6
  • #12479 chore(deps): bump body-parser from 1.20.2 to 1.20.9
  • #12478 chore(deps): bump @babel/traverse from 7.21.3 to 7.29.15
  • #12477 chore(deps): bump browserify-sign from 4.2.1 to 4.2.6
  • #12469 chore(deps-dev): bump webpack from 4.46.0 to 4.47.0
  • #12472 chore(deps): bump @babel/runtime from 7.21.0 to 7.29.15
  • #12476 chore(deps): bump ejs from 3.1.9 to 3.1.10
  • #12392 chore(deps): bump pnpm/action-setup from 6.1.0 to 6.1.1
  • #12475 chore(deps): bump express from 4.18.2 to 4.22.3
  • #12473 chore(deps): bump prismjs from 1.29.0 to 1.30.0
  • #12470 chore(deps): bump sha.js from 2.4.11 to 2.4.12
  • #12471 chore(deps): bump cipher-base from 1.0.4 to 1.0.7
  • #12459 chore(deps): bump @babel/core from 7.21.3 to 7.29.6
  • #12443 chore(deps): bump handlebars from 4.7.7 to 4.7.10
  • #12442 chore(deps): bump launch-editor from 2.6.0 to 2.14.2
  • #12440 chore(deps): bump pbkdf2 from 3.1.2 to 3.1.7
  • #12441 chore(deps): bump proxy-addr from 2.0.7 to 2.0.8
  • #12467 chore(deps): bump flatted from 3.2.7 to 3.4.4
  • #12466 chore(deps): bump min-document from 2.19.0 to 2.19.2
  • #12465 chore(deps): bump lodash.template from 4.5.0 to 4.18.1
  • #12455 chore(deps): bump colord from 2.9.3 to 2.14.0
  • #12468 chore(deps): bump yaml from 1.10.2 to 1.10.3
  • #12457 chore(deps): bump nanoid from 3.3.6 to 3.3.20
  • #12460 chore(deps): bump socket.io-parser from 4.2.4 to 4.2.7
  • #12461 chore(deps): bump tmp from 0.2.1 to 0.2.7
  • #12462 chore(deps): bump lodash from 4.17.21 to 4.18.1
  • #12464 chore(deps): bump follow-redirects from 1.15.6 to 1.16.3
  • #12458 chore(deps): bump shell-quote from 1.8.0 to 1.12.0
  • #12463 chore(deps): bump @babel/plugin-transform-modules-systemjs from 7.20.11 to 7.29.15
  • #12428 chore(deps): bump release-drafter/release-drafter from 6.4.0 to 7.11.0
  • #12427 chore(deps): bump dorny/paths-filter from 3.0.4 to 4.0.3
  • #12447 chore(deps): bump source-map-js from 1.0.2 to 1.2.4
  • #12448 chore(deps): bump compression from 1.7.4 to 1.8.2
  • #12434 docs: design isolated category scale labels

Thanks to @abdul-karim-mia, @ahmadstone, @b84330808, @chang-pro, @contactjawad, @csworm-rudraksha, @Doomguy-BFG9000, @exclusiveabhi, @FFspiky, @Fire162, @hoangquocviet-dev, @JayPokale, @jonathan-fulton, @JSap0914, @kurkle, @minwookshin, @pentaoa, @phatstraws, @ravitejas-tech, @sergioperezcheco, @StrikeRougeAgent, @syawqy, @tranhoangtu-it, @vasilich6107, @xlb3055, @dependabot[bot], @godfengliang, @saadkhantareen and @Yahiro025