Skip to content

v1.2.0

Compare
Choose a tag to compare
@github-actions github-actions released this 14 Dec 17:52
· 197 commits to master since this release
d96afe1

Essential Links

  • #558 Remove `point` node from label annotation
  • #521 Add pointStyle and rotation to point options (label and point annotations)
  • #525 Updates README with new features
  • #507 Add callout and point nodes to the label annotation
  • #501 Add borderCapStyle and borderJoinStyle options to BoxAnnotation

Enhancements

  • #554 Enable label `position` as percentage of the size
  • #551 Add `xAdjust` and `yAdjust` options to point and polygon annotations
  • #534 Enable HTMLCanvasElement as label content
  • #527 Add point positioning by box options for point, polygon and label annotations
  • #528 Use the context of element for events dispatching
  • #523 Add clip option
  • #503 Add POLYGON annotation
  • #506 Enable label padding as object
  • #502 Add LABEL annotation and label node to BOX annotation

Bugs Fixed

  • #560 Fix `animations` option type and add missing documentation
  • #547 Make a consistent implementations of `inRange` in all annotations
  • #550 Fix `isBoundToPoint` function implementation
  • #541 Enable label annotation animations
  • #530 Log warning when unknown annotation type is used
  • #526 Log a warning instead of throwing when non-existing scale id is used
  • #518 Throw error when non-existing scale id is used

Types

  • #560 Fix `animations` option type and add missing documentation
  • #517 Add missing options to types definition

Documentation

  • #560 Fix `animations` option type and add missing documentation
  • #548 Disclosure box sample is made responsive
  • #538 Add samples to the documentation
  • #536 Add note about clip option usage and events catching
  • #518 Throw error when non-existing scale id is used
  • #505 Fix line annotation documentation
  • #499 Fix broken 'View this example' link
  • #500 Add border* options documentation and types for the label in the line annotation

Development

  • #561 Bump version to 1.2.0, update dependencies
  • #544 Resolve circulare dependencies
  • #519 Move annotation types handling to types/index.js

Thanks to @Marcel0024, @kurkle and @stockiNail