Essential Links
Breaking Changes
- #7989 Delay resize to just before draw when animating
- #7979 Relocate dataset defaults to defaults.controllers
- #7949 Add `args.mode` to before/after update plugin hooks
- #7936 Rename showLines to showLine
- #7924 Rename elements to mark as elements, i.e. Arc -> ArcElement
- #7900 Document
getElementsAtEventForMode
and remove APIs that can be replaced by it
Enhancements
- #7981 Preserve scriptable context
- #7972 feat: Draw tooltips with point styles. Closes #7774
- #7968 feat: Make options.layout.padding scriptable. Closes #7873
- #7951 feat: add borderRadius to bar charts. Closes #7701
- #7959 Enable overriding the legend pointStyle using new `pointStyle` option
- #7955 Enable suggestedMin and suggestedMax settings for logarithmic axes
- #7949 Add `args.mode` to before/after update plugin hooks
- #7924 Rename elements to mark as elements, i.e. Arc -> ArcElement
- #7905 Ability to fill a line to a specified value along an axis
- #7904 Bar chart base value overrides
Bugs Fixed
- #7989 Delay resize to just before draw when animating
- #7986 Check index bounds of datasets for isDatasetVisible
- #7983 Tooltip: clear cached animations on initialize
- #7964 Legend item lineWidth is the average of borderWidth when set as object (Bar)
- #7919 Block incorrect keys in merge code to prevent prototype pollution
- #7917 Use Object.create(null) as
merge
target, to prevent prototype pollution - #7910 Render points while animations are active
- #7908 Reduce tooltip implied padding at top and bottom edges of the canvas
- #7906 Fix Maximum call stack size exception in _computeLabelSizes
- #7899 Fix beginAtZero for logarithmic axes
- #7897 Share min sample size with all bars on the same scale
Types
- #7961 fix return type for setActiveElements
Documentation
- #7988 Use TypeScript syntax highlight for TypeScript code
- #7957 Update stacked line sample to remove duplicate dataset names
- #7953 Update category scale labels types to include string[][]
- #7914 Documentation Typos
- #7913 Minor Typos
- #7912 Fix broken url in docs
- #7909 Fix version numbers in Developers section of docs
- #7900 Document
getElementsAtEventForMode
and remove APIs that can be replaced by it
Development
- #7978 Rename lineTension back to tension
- #7979 Relocate dataset defaults to defaults.controllers
- #7939 Move config handling to a dedicated script
- #7949 Add `args.mode` to before/after update plugin hooks
- #7936 Rename showLines to showLine
- #7915 Update dependencies
- #7911 Stop deploying docs / drafting releases from forks
- #7902 Renamed .browserlistrc to .browserslistrc
- #7898 Remove circular dependencies from helpers
Thanks to @danmana, @etimberg, @fab313, @indigolain, @kurkle, @paul-cheung, @silentmatt, @stockiNail and @Yash-Singh1