Releases: chartjs/chartjs-plugin-annotation
Releases · chartjs/chartjs-plugin-annotation
v3.0.1
v3.0.0
Essential Links
Breaking Changes
Enhancements
- #863 Define default init animation logic to each annotation element
Bugs Fixed
- #877 Fix compile errors when using multiple plugins
Documentation
- #882 Update migration guide for version 3
Development
Thanks to @SebastiaanSafeguard, @dependabot, @dependabot[bot], @kurkle and @stockiNail
v2.2.1
Essential Links
Bugs Fixed
- #867 Fix init option type setting it as optional
Types
- #867 Fix init option type setting it as optional
Development
- #868 Bump to version 2.2.1
Thanks to @stockiNail
v2.2.0
Essential Links
Enhancements
- #755 Enable initial animation on annotations
- #801 Enable different fonts and colors configuration on multiline labels
- #846 Enable opacity option to the labels when the content is an image or canvas
- #754 Enable the line curve in the line annotation
- #744 Add `beforeDraw` and `afterDraw` hooks to the annotations
Bugs Fixed
- #851 Fix center coordinates calculation for point and polygon annotations
Types
- #849 Fix font type definition to be partial
Documentation
- #858 Remove label node from point annotations from init samples
- #842 Add sample using gradient created by element dimension
- #843 Add cartesian plane sample to show a advanced use of annotations
- #834 Add sample for label auto scaling during chart resize
Development
- #861 Bump to version 2.2.0
- #860 Fix value stored in element options for indexable option
- #853 Update libraries dependencies versions
- #845 Bump http-cache-semantics from 4.1.0 to 4.1.1
- #841 Use isFunction helper of Chart.js instead of internal check
- #839 Bump ua-parser-js from 0.7.31 to 0.7.33
Thanks to @dependabot, @dependabot[bot] and @stockiNail
v2.1.2
Essential Links
Bugs Fixed
- #832 Add exports to manage "import" and "require" inclusions
Documentation
- #826 Fix links with anchors adding md extension in the documentation
- #830 Fix documentation about label annotation and its positioning
Development
- #833 Bump to version 2.1.2
Thanks to @stockiNail
v2.1.1
Essential Links
Documentation
- #823 Fix build status badge in README
- #821 Remove autocolors plugin from doc going to Chart.js color plugin
Development
- #822 Bump to version 2.1.1
- #824 Remove destroy plugin hook and replaced with afterDestroy
- #817 Bump decode-uri-component from 0.2.0 to 0.2.2
- #816 Update GHA versions
- #812 Bump engine.io and socket.io
Thanks to @dependabot, @dependabot[bot] and @stockiNail
v2.1.0
Essential Links
Enhancements
Bugs Fixed
- #808 Change CHART.JS dependency to version 4
Documentation
- #802 Fix the scales configuration of the basic label sample
- #799 Add new position option behavior for line label to migration guide 2
- #793 Add id option documentation to all annotations
Development
- #810 Bump minimatch from 3.0.4 to 3.1.2
- #809 Bump ansi-regex from 4.1.0 to 5.0.1
- #806 Bump socket.io-parser from 4.0.4 to 4.0.5
Thanks to @dependabot, @dependabot[bot] and @stockiNail
v2.0.1
Essential Links
Bugs Fixed
- #790 Manage line label visibility when chart is zooming or panning
Development
Thanks to @LeeLenaleee and @stockiNail
v2.0.0
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
v1.4.0
Essential Links
Enhancements
- #690 Enable rotation support to label of box annotation
- #679 Add stroke width and color options to label text
- #672 Enable rotation support to label annotation
- #668 Enable rotation support to box annotation
Bugs Fixed
- #688 Fix the usage where jsDOM is not present
- #682 Fix callout drawing that happens even if disabled
Documentation
- #704 Fix point sample on combined annotations
- #696 Add inner chart sample
- #691 Fix wrong sentence in the line annotation documentation
- #684 Add samples of image and canvas as label content
Development
- #708 Bump 1.4.0, update deps, fix some fixtures
- #705 Remove the assignment used only once
- #707 Bump karma from 6.3.14 to 6.3.16
- #700 Bump url-parse from 1.5.7 to 1.5.10
- #699 Bump prismjs from 1.26.0 to 1.27.0
- #694 Add dependencies label of PR to development section in release note
- #693 Bump url-parse from 1.5.4 to 1.5.7
- #689 Bump follow-redirects from 1.14.7 to 1.14.8
- #683 Bump karma from 6.3.12 to 6.3.14
- #667 Move elements management functions to a dedicated file
Thanks to @dependabot, @dependabot[bot], @kurkle and @stockiNail