Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ template: |
# Essential Links

* [npm](https://www.npmjs.com/package/chartjs-plugin-annotation)
* [Migration guide](https://www.chartjs.org/chartjs-plugin-annotation/latest/guide/migrationV2.html)
* [Migration guide](https://www.chartjs.org/chartjs-plugin-annotation/latest/guide/migrationV3.html)
* [Docs](https://www.chartjs.org/chartjs-plugin-annotation/)
* [API](https://www.chartjs.org/chartjs-plugin-annotation/latest/api/)
* [Samples](https://www.chartjs.org/chartjs-plugin-annotation/latest/samples/intro.html)
Expand Down
4 changes: 4 additions & 0 deletions docs/guide/migrationV3.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,7 @@ The [UMD bundle](integration.md#script-tag) is still available.
## Chart.js version

The annotation plugin requires at least version 4.0.0 to work because of Chart.js becomes an ESM-only package.

### Type changes

* The `init` options callback return value types have been changed from `void | boolean | AnnotationBoxModel` to `void | boolean | AnnotationElement`.