v2.0.0
github-actions
released this
26 Jul 14:19
·
80 commits
to refs/heads/master
since this release
Essential Links
Breaking Changes
- #764 Remove label clipping to box annotation size
- #759 Change and reorder the types definitions
- #727 Enable line annotation label as label sub-element
- #630 Move element fallback to plugins.annotation.common
- #725 Enable box annotation label as label sub-element
- #723 Require at least chartjs v3.7
- #720 Reduce visibility of some line annotation element methods
- #716 Remove dblclick hook to prepare chart redrawing from an event hook
- #706 Normalize annotations elements to be based on common box model
- #703 Change enabled to display option in all nodes of annotations
- #702 Remove x/yPadding options from the label of line annotation
- #701 Remove cornerRadius option from box and line annotations
- #659 Enable interaction mode support for events
- #655 Enable stacked scales and with reverse option support
- #678 Use scale defined in the chart when x/y ScaleID options are not set
Enhancements
- #738 Add z option to all annotations
- #731 Callout position calculated when label is drawn
- #725 Enable box annotation label as label sub-element
- #717 Enable event handlers to indicate chart should be re-drawn
- #659 Enable interaction mode support for events
- #655 Enable stacked scales and with reverse option support
- #678 Use scale defined in the chart when x/y ScaleID options are not set
Bugs Fixed
- #742 Use margin option in the callout check for being shown
- #630 Move element fallback to plugins.annotation.common
Types
- #759 Change and reorder the types definitions
- #737 Add point option to polygon annotation options type
- #733 Add documentation and type for 'common' plugin option
Documentation
- #771 Add API docs
- #758 Remove animation properties from documentation, not used anymore
- #760 Add element diagrams to the annotation types guide
- #752 Update line annotation diagram to describe new element structure
- #751 Add sample how to select annotations
- #747 Adds common annotation options section in the documentation
- #733 Add documentation and type for 'common' plugin option
- #722 Add JSDoc to exported functions
- #724 Update min version req in readme
- #721 Add sample about interaction options
- #719 Change default interaction options in chart defaults for the samples
- #715 Move v3-migration.md file in the documentation
- #709 Add migration guide v2 section to getting started page
Development
- #777 Bump to version 2.0.0
- #756 Bump eventsource from 1.1.0 to 1.1.1
- #743 Reduce complexity for resolving the label callout position
- #736 Move interaction object at top level of plugin options
- #735 Improve usage of rotation option in callout management
- #734 Change tests configuration using new 'common' plugin option
- #729 Bump async from 2.6.3 to 2.6.4
- #723 Require at least chartjs v3.7
- #712 Bump minimist from 1.2.5 to 1.2.6
- #711 Replace deprecated String.prototype.substr()
Thanks to @CommanderRoot, @LeeLenaleee, @dependabot, @dependabot[bot], @kurkle and @stockiNail