Skip to content
This repository has been archived by the owner on Feb 24, 2022. It is now read-only.

Update dependency chart.js to v3 #100

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Apr 26, 2021

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
chart.js (source) ^2.7.2 -> ^3.0.0 age adoption passing confidence

Release Notes

chartjs/Chart.js

v3.5.1

Compare Source

Essential Links

  • #​9563 support crossAlign on mirrored y-axis

Bugs Fixed

  • #​9525 Keep track of parsed array changes when parsing===false
  • #​9489 Fix _isPointInArea helper when no area is provided
  • #​9469 Remove index interaction override barChart

Types

  • #​9550 Grid line z property in TS types
  • #​9546 Add number to the title scale padding as type
  • #​9490 Types: Add `tooltip` to chart instance
  • #​9477 Types: Change `context.chart` to plain `Chart`

Documentation

  • #​9555 Fix broken link.
  • #​9549 Ensure that docs have more width in the page
  • #​9516 fix 2 broken links, clarify order property
  • #​9524 Add more details on legend sort function
  • #​9503 Fix typo in docs on axes labelling
  • #​9479 Move pointStyle types and update plugin link&render chart
  • #​9465 Longhand labels key in getting started
  • #​9475 Adjust text to code example
  • #​9472 Update charts.md

Development

  • #​9565 Update to 3.5.1 version number
  • #​9556 Remove chart.scale property (always undefined)

Thanks to @​LeeLenaleee, @​M4sterShake, @​Yash-Singh1, @​etimberg, @​ewanmellor, @​juan-cortes, @​kurkle, @​niklasnoldin and @​snoozbuster

v3.5.0

Compare Source

Essential Links

Enhancements

  • #​9452 Bar: add 'middle' option for borderSkipped
  • #​9450 Add ability to hide specific data element
  • #​9451 Add data/dataset indices to line segment context
  • #​9364 Layout: support box stacking
  • #​9360 Add 'shape' mode for filler-plugin
  • #​9327 Adding threshold option to decimation plugin

Bugs Fixed

  • #​9431 Ensure getPrototypeOf will not crash on plugin options with no scopes
  • #​9448 Fix DomPlatform.isAttached
  • #​9447 Apply segment styles with only single segment
  • #​9446 Fix interaction on partially visible bar
  • #​9444 Typescript 4.2+ compatibility
  • #​9443 Don't draw points outside chartArea
  • #​9442 Fix: config.platform was ignored
  • #​9433 Linear scale handle min === max when abs(max) > Number.MAX_SAFE_INTEGER
  • #​9426 lower default value of grid z index so it draws behind chart elements
  • #​9425 Properly update stacks when datasets index changes
  • #​9413 Fix center axis title positions
  • #​9410 Limit Math.asin inputs to the range [-1, 1]
  • #​9399 Bar: inflate rects by 0.33px to avoid artifacts
  • #​9400 Fix bar direction when minBarLength is applied
  • #​9394 Fix stacked box dimension calculation with weights
  • #​9353 Adjust legend hitboxes when RTL and each item has a different size
  • #​9373 Point label specific scriptable context
  • #​9367 Decimation: Prevent buffer overflow

Types

  • #​9462 Update radar dataset option typings
  • #​9444 Typescript 4.2+ compatibility
  • #​9432 Allow dataset specific ChartMeta type extensions
  • #​9438 Define bounds as a field common to all cartesian axes options
  • #​9403 Add missing resizeDelay option to types
  • #​9386 Indicate that `SubTitle` is a plugin in TS types
  • #​9385 Fix type linting for merge between two PRs
  • #​9363 Resolve warnings from typings
  • #​9376 Improve LegendElement and TooltipItem type definitions

Documentation

  • #​9458 Adds HTMLCanvasElement as possible value for pointStyle option in the documentation
  • #​9384 Add SubTitle to the list of all esm imports

Development

Thanks to @​LeeLenaleee, @​Nico-DF, @​boreq, @​drewsonne, @​etimberg, @​kurkle and @​stockiNail

v3.4.1

Compare Source

Essential Links

Bugs Fixed

  • #​9345 Timeseries: support panning
  • #​9343 Account for floating point error in niceNum helper
  • #​9341 Enable pointStyle for doughnut, pie, and polar area charts
  • #​9340 Ensure correct item is clicked when a horizontal legend is in RTL mode
  • #​9326 Fix comma causing Terser issue

Types

  • #​9348 Add type tests for float bar / object data arrays
  • #​9336 Update types with more possible events
  • #​9330 Fix typing of the isoWeekday field

Documentation

  • #​9338 Fixes spacing options in the documentation for doughnuts charts

Development

Thanks to @​LeeLenaleee, @​TriPSs, @​etimberg, @​kurkle and @​stockiNail

v3.4.0

Compare Source

Essential Links

Enhancements

  • #​9294 New plugin: subtitle
  • #​9277 Apply maxTicksLimit to grid when ticks are hidden
  • #​9286 Fix: Don't use clip/unclipArea when `clip: false`
  • #​9262 Docs: Add copy button to code blocks
  • #​9208 Bar width and height are always defined regardless of orientation

Bugs Fixed

  • #​9290 Legend: fix layout padding handling
  • #​9291 Bar: ignore not-grouped bars from group bar count
  • #​9287 Filler: skip NaN points from end of segment
  • #​9261 Fix updating of active elements
  • #​9260 Replace [...set] with Array.from(set)
  • #​9252 `null` or `undefined` should skip grid lines in the time scale
  • #​9199 Fix rtl legend text alignment
  • #​9191 Tick backdrop padding is not scriptable

Types

  • #​9318 fix typings
  • #​9317 Change callback name in typing and documentation
  • #​9292 resolve auto register typescript failure
  • #​9284 added fill type to line in options object and to radar dataset options
  • #​9263 Fix type definitions and docs for `getPixelForValue`
  • #​9226 Add missing types to legend

Documentation

  • #​9319 Clarify how to import and use the helper functions with bundlers
  • #​9318 fix typings
  • #​9317 Change callback name in typing and documentation
  • #​9315 Fix broken link in scatter chart doc
  • #​9296 Docs: describe catching events with plugin
  • #​9263 Fix type definitions and docs for `getPixelForValue`
  • #​9262 Docs: Add copy button to code blocks
  • #​9237 Docs: fix broken and inconsistent links
  • #​9228 Fix broken guidelines url in PR template
  • #​9219 Update custom legend onClick example
  • #​9207 Add explanation on how to run the samples locally

Development

  • #​9322 Bump to version 3.4.0
  • #​9276 Refactor radialLinear scale and renderText helper

Thanks to @​DPS0340, @​LeeLenaleee, @​akeinhell, @​benlumley, @​etimberg, @​joshkel and @​kurkle

v3.3.2

Compare Source

Essential Links

Bugs Fixed

  • #​9187 Make sure data is parsed before updateElements
  • #​9183 Fix error when swapping dataset locations

Development

Thanks to @​kurkle

v3.3.1

Compare Source

Essential Links

Bugs Fixed

  • #​9181 Linear: Respect bounds option in tick generation
  • #​9172 Add declaration for Decimation plugin
  • #​9170 Fix clearStacks with custom scaleId
  • #​9171 Ignore items outside chart area for interaction
  • #​9153 Stop mutating arc state while drawing
  • #​9152 Fix: Arc getCenterPoint when full circle

Types

  • #​9172 Add declaration for Decimation plugin

Documentation

  • #​9173 Add documentation about default scales
  • #​9168 Update pointstyle type and default value
  • #​9160 show the utils file in the samples page to clarify what the functions do

Development

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

v3.3.0

Compare Source

Essential Links

Enhancements

  • #​9084 Support monotone cubic interpolation for vertical line charts
  • #​9088 Fix element reset animations in vertical line and bubble charts
  • #​9020 Add includeBounds option for cartesian ticks

Bugs Fixed

  • #​9129 Further improve linear tick collision estimation
  • #​9122 Show correct decimal places when using count but `min` is not an integer
  • #​9118 Fix arc offset calculation
  • #​9120 Fix animations when data is replaced
  • #​9121 Fix doughnut rotation on float edge cases
  • #​9105 Delay data to elements synchronization to update
  • #​9101 Make sure context indices are up to date
  • #​9062 Fix setting options in array of objects
  • #​9067 Fix polar area tooltip item label
  • #​9060 add derived axis default values
  • #​9050 Fix detecting changed events
  • #​9015 Round canvas.style dimensions to avoid blurring
  • #​9046 Types: Export DecimationAlgorithm as const
  • #​9045 Allow scale to auto-adjust it's min when stacked
  • #​9042 Fix line segments with alignToPixel
  • #​9027 Fix: Avoid negative layout dimensions

Types

  • #​9124 Correctly extend ExtendedPlugin interface
  • #​9123 Add missing props to ChartArea type
  • #​9046 Types: Export DecimationAlgorithm as const

Documentation

  • #​9147 Improved error message when no date adapter provided
  • #​9146 Fix scales option in example
  • #​9126 Add attribute to custom legend onclick sample
  • #​9115 Add documentation note about only styling the parent div
  • #​9111 remove double sentence and adjust scale to scales.r
  • #​9044 HTML legend handles doughnut/pie charts
  • #​9030 fix typo on api.md
  • #​9024 Docs update file location pointers

Development

Thanks to @​Flupp, @​LeeLenaleee, @​esuEichi, @​etimberg, @​jonrimmer, @​joshkel, @​kurkle, @​nagix and @​sylhare

v3.2.1

Compare Source

Essential Links

Bugs Fixed

  • #​9012 Enable scriptable element chart options
  • #​9008 Fix for enabling monotone cubicInterpolationMode when tension is 0
  • #​8995 Ignore truncated pixels in bar width calculation
  • #​8983 Improve linear tick generators collision estimation

Types

  • #​9012 Enable scriptable element chart options
  • #​9010 Add test for DecimationAlgorithm type

Documentation

  • #​9011 Add documentation on tooltip xAlign and yAlign

Development

Thanks to @​etimberg, @​kurkle and @​nagix

v3.2.0

Compare Source

Essential Links

Enhancements

  • #​8973 Add drawTime: beforeDraw option to filler
  • #​8941 Only enable the bar borderRadius at the end of the stacks
  • #​8936 Scale: draw border on separate layer after grid
  • #​8931 Cartesian scale tick backdrop
  • #​8926 Add `initial` property to animation callbacks

Performance

  • #​8933 Time: cache options needed by parse

Bugs Fixed

  • #​8972 Fix skipNull for subsequent datasets
  • #​8934 Fix for allowing parsing:false with stacks
  • #​8928 Allow the events option to be changed at runtime

Types

Documentation

  • #​8971 In html tooltip sample padding is read from the options
  • #​8942 Add example plugins for border and quadrants

Development

Thanks to @​TinfoilPancakes, @​etimberg and @​kurkle

v3.1.1

Compare Source

Essential Links

Performance

  • #​8898 Do not redraw endlessly on mouse move

Bugs Fixed

  • #​8919 Fix: Fill vertical lines
  • #​8913 Scale: Make sure grace is applied only once
  • #​8918 Fix: Initialize data object when replaced
  • #​8914 Skip ticks by callback value as documented
  • #​8911 Fix: don't draw segments out of bounds
  • #​8898 Do not redraw endlessly on mouse move
  • #​8883 Setting correct decimated values when below threshold
  • #​8882 Update @​<!---->simonbrunel/vuepress-plugin-versions

Types

  • #​8909 Fix tooltip positioners and scriptable signature
  • #​8891 add number, null and undefined as valid return types

Documentation

  • #​8910 Fix minor issues in docs
  • #​8907 Fix javascript syntax error in docs/general/padding.md
  • #​8904 Update v3-migration.md
  • #​8887 Docs: Update version menu title
  • #​8882 Update @​<!---->simonbrunel/vuepress-plugin-versions

Development

Thanks to @​DaaGER, @​LeeLenaleee, @​Nico-DF, @​etimberg and @​kurkle

v3.1.0

Compare Source

Essential Links

  • #​8856 Update dependencies (excluding typescript)
  • #​8843 Filtering data before decimation

Enhancements

  • #​8876 Enable event filtering per plugin
  • #​8875 Legend boxes support borderRadius
  • #​8874 Tooltip colorbox supports configurable borderWidth, borderRadius, and dash effect
  • #​8867 Support mirror option on x-axis
  • #​8864 Filler: support segment backgroundColor
  • #​8844 Allow styling of line segments
  • #​8839 Apply scale context to ticks scriptable options instead of chart context
  • #​8823 Dissociate border options from grid options

Bugs Fixed

  • #​8794 Limit onHover to chartArea
  • #​8877 Font: validate style, move defaults to `weight`
  • #​8872 Handle animating stacked bars from null values
  • #​8867 Support mirror option on x-axis
  • #​8868 Consider dynamically positioned scales for padding
  • #​8838 _boundSegments did not work on rising line
  • #​8832 Fix: update line options on resize, for gradients
  • #​8822 Time: Use callback helper on ticks.callback

Types

  • #​8847 Include `grace` in LinearScaleOptions type definition

Documentation

  • #​8866 Add version menu in documentation
  • #​8869 Document the no-parsing requirement of decimation
  • #​8863 Docs/broken link
  • #​8850 Docs migration register options
  • #​8837 Fix typos in canvas-background.md
  • #​8836 Fix typo in migration guide
  • #​8829 complete the first 'getting-started' example
  • #​8828 Document plugin event handling

Development

Thanks to @​LeeLenaleee, @​MosesMendoza, @​Nico-DF, @​etimberg, @​kurkle, @​m-ahmadi, @​mjcross and @​stockiNail

v3.0.2

Compare Source

Essential Links

Bugs Fixed

  • #​8811 Fix: tick spacing when min=0 | niceMin or max=0
  • #​8801 Correct decimation plugin documentation
  • #​8793 Logarithmic: handle null/NaN values

Documentation

  • #​8791 Docs small update
  • #​8803 Update documentation for getElementsAtEventForMode
  • #​8801 Correct decimation plugin documentation
  • #​8798 Update ticks.callback documentation

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

v3.0.1

Compare Source

Essential Links

Bugs Fixed

  • #​8789 Patch: option scope might not be an object

Thanks to @​kurkle

v3.0.0

Compare Source

Essential Links

Bugs Fixed

  • #​8787 Proxy: make sure set value ends up in first scope
  • #​8782 Fix tooltip align & external types

Types

  • #​8782 Fix tooltip align & external types

Documentation

  • #​8693 Update readme links and bug issue template
  • #​8788 Tweak redirect urls
  • #​8785 Vuepress HTML redirect for samples folder
  • #​8786 Adds scriptable column to options table in the title documentation
  • #​8784 Add vuepress-plugin-flexsearch
  • #​8783 Redirect to first sample
  • #​8780 Make samples more inline with eachother

Development

Included pre-releases

Thanks to @​LeeLenaleee, @​etimberg, @​kurkle and @​stockiNail

v2.9.4

Compare Source

This is the last release of v2 and focused on fixing bugs identified in the v2.9.3 release.

Bugs Fixed

v2.9.3

Compare Source

Bug Fixes
  • #​6698 Fix undefined variable
  • #​6719 Don't make legend empty when fill is false

Thanks to the maintainers and collaborators for their help to improve and test Chart.js (@​kurkle, @​benmccann, and @​etimberg).

v2.9.2

Compare Source

Bug Fixes
  • #​6641 IE11 & Edge compatible style injection
  • #​6655 Backwards compatible default fill for radar charts
  • #​6660 Improve clipping of line charts when border widths are large
  • #​6661 When a legend item is clicked, make sure the correct item is hidden
  • #​6663 Refresh package-lock file to pick up new dependency
Performance
  • #​6671 Stop unnecessary line calculations
Documentation
  • #​6643 Combine performance documentation sections

Thanks to the maintainers and collaborators for their help to improve and test Chart.js (@​nagix, @​kurkle, @​benmccann, @​etimberg and @​simonbrunel).

v2.9.1

Compare Source

Bug Fixes
  • #​6603 Fix deprecation warnings for horizontal bar charts
  • #​6608 Fix zoom plugin by no longer clipping scale.getDecimalForPixel to the chart area
  • #​6617 Non numeric Y axes did not work
Documentation
  • #​6613 Add link to performance documentation
Development
  • #​6609 - Tests no longer use deprecated options

Thanks to the maintainers and collaborators for their help to improve and test Chart.js (@​nagix, @​kurkle, @​benmccann, @​etimberg and @​simonbrunel).

v2.9.0

Compare Source

Breaking changes
Enhancements
Performance
Bug Fixes
Documentation
Development

Thanks to the maintainers and collaborators for their help to improve and test Chart.js (@​nagix, @​kurkle, @​benmccann, @​etimberg and @​simonbrunel).

v2.8.0

Compare Source

Documentation: http://www.chartjs.org/docs/2.8.0/

Deprecations
  • #​5868 Deprecate Chart.{Type} classes
  • #​6022 Deprecate configMerge and scaleMerge helpers
Enhancements
  • #​5741 Add minBarLength option for bar chart. Thanks @​adube
  • #​5780 Bar options are now scriptable
  • #​5841 Draw inner border for arc elements
  • #​5850 Add support for gridLines/angleLines borderDash for polar area and radar charts
  • #​5855 Moved drawing of radial lines before drawing the tick labels. Thanks @​fhp
  • #​5885 Add support for hiding axis when all datasets are hidden. Thanks @​davesalomon
  • #​5905 Add support for typed arrays
  • #​5908 Add midpoint interpolation to stepped line. Thanks @​veggiesaurus
  • #​5927 Add reverse support to time scale
  • #​5938 Improve tick generation for linear scales
  • #​5951 New weight option for pie and doughnut charts
  • #​5960 Implement adapter to abstract date/time features
  • #​5966 Doughnut options are now scriptable
  • #​5973 Line options are now scriptable
  • #​5976 Polar area options are now scriptable
  • #​5978 Make moment optional from our UMD builds
  • #​5982 Remove date auto type conversions
  • #​6019 Improve time scale performances
  • #​6041 Radar options are now scriptable
  • #​6048 Move CSS in a separate file to be CSP-compliant
  • #​6059 Add onLeave callback to legend. Thanks @​jonrimmer
  • #​6077 Allow configuration of borderWidth as object
  • #​6105 Optimize the npm package by removing useless files
Issues Fixed
  • #​5331 Make animation duration consistent across browsers. Thanks @​serhii-yakymuk
  • #​5609 Fix offsetGridLine behavior with a single data point
  • #​5750 Ensure that the time scale safely accesses data.labels
  • #​5751 Handle axis lineWidth as an array
  • #​5752 Ensure that new Number() is correctly handled
  • #​5776 Fix legend layout padding at the start of columns. Thanks @​jtagscherer
  • #​5786 Support decimal stepSize
  • #​5790 Add error margin for detecting if a point or line is in the chart area
  • #​5816 Fix legend item layout issue
  • #​5828 Improve shadow root detection. Thanks @​karaxuna
  • #​5846 Correct calculation of padding in percent. Thanks @​chtheis
  • #​5848 Fix radial scale topmost tick label and the bottom of the chart area that were cut off
  • #​5857 Fix nearest interaction mode
  • #​5858 Adjust the size of rectRounded/rectRot points to fit the circle with pointRadius
  • #​5865 Support CanvasGradient for hover colors
  • #​5869 Tooltip support for CanvasPattern and CanvasGradient
  • #​5880 Fix the rounding issue of floating point numbers in category scale
  • #​5884 Remove gaps on the left and right when the axis offset is set t

Configuration

📅 Schedule: 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 has been generated by WhiteSource Renovate. View repository job log here.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant