Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update dependency chartjs-plugin-annotation to v3 #61

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 1, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
chartjs-plugin-annotation (source) ^0.5.7 -> ^3.0.1 age adoption passing confidence

Release Notes

chartjs/chartjs-plugin-annotation

v3.0.1

Compare Source

Essential Links

Bugs Fixed

  • #​885 Fix documentation after setting plugin as module

Documentation

  • #​885 Fix documentation after setting plugin as module

Development

Thanks to @​stockiNail

v3.0.0

Compare Source

Essential Links

Breaking Changes

  • #​838 Set the plugin as module
  • #​863 Define default init animation logic to each annotation element

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

  • #​883 Bump to version 3.0.0
  • #​838 Set the plugin as module
  • #​881 Bump engine.io from 6.4.1 to 6.4.2

Thanks to @​SebastiaanSafeguard, @​dependabot, @​dependabot[bot], @​kurkle and @​stockiNail

v2.2.1

Compare Source

Essential Links

Bugs Fixed

  • #​867 Fix init option type setting it as optional

Types

  • #​867 Fix init option type setting it as optional

Development

Thanks to @​stockiNail

v2.2.0

Compare Source

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

Compare Source

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

Thanks to @​stockiNail

v2.1.1

Compare Source

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

Compare Source

Essential Links

Enhancements

  • #​749 Enable label on ellipse annotation
  • #​740 Enable callout in the label of line annotation

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

Compare Source

Essential Links

Bugs Fixed

  • #​790 Manage line label visibility when chart is zooming or panning

Development

Thanks to @​LeeLenaleee and @​stockiNail

v2.0.0

Compare Source

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

Compare Source

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

v1.3.1

Compare Source

Essential Links

Bugs Fixed

  • #​671 Fix the usage of the backgroundColor callback for applying a gradient on label annotation
  • #​670 Fix the usage of the original coordinates for applying a gradient on ellipse
  • #​664 Update the warning logic for missing scale

Documentation

Development

Thanks to @​joshkel and @​stockiNail

v1.3.0

Compare Source

Essential Links

Enhancements

  • #​555 Enable sub elements
  • #​608 Add arrows decoration to line annotation
  • #​619 Properly consider the border thickness on the annotations' events
  • #​600 Enable shadowing on the annotations

Bugs Fixed

  • #​653 Directly assign new element resolved properties
  • #​635 Fix auto callout position calculation in label annotation
  • #​627 Fix the scale limit update when annotation value is 0
  • #​603 Fixes events triggering on the label of a line annotation

Documentation

  • #​654 Fix wrong dataset index in sample
  • #​628 Fix the default options values in the documentation
  • #​623 Normalize table headers and samples blocks sequence in the documentation
  • #​613 Enable the link to label configuration from the guide navigation menu
  • #​609 Update labelVisibility sample to demonstrate different approaches
  • #​607 Remove `point` node from label annotation sample
  • #​606 Sort alphabetically the options definitions in the documentation

Development

  • #​661 Bump version to 1.3.0, update deps
  • #​657 Line: change event tests to inRange tests
  • #​650 Move events test cases to events.spec
  • #​651 Polygon: change event tests to inRange tests
  • #​649 Point: change event tests to inRange tests
  • #​647 Label fixtures: merge canvas test cases and remove useless point test
  • #​648 Label: change event tests to inRange tests
  • #​646 Label fixtures: merge similar callout test cases
  • #​645 Label fixtures: merge missing scales test cases
  • #​644 Add tests for missing and empty label content
  • #​643 Label fixtures: merge position tests in vertical and horizontal ones
  • #​641 Label fixtures: combine border tests to one file
  • #​640 Label fixtures: remove point tests, update padding
  • #​639 Remove old test cases
  • #​637 Tests: use helper function to fetch elements
  • #​638 Chart.js < v3.7 warning instead of exception
  • #​634 Box: test borderWidths. Ellipse: change events tests to inRange tests
  • #​632 Box: change event tests to inRange tests
  • #​633 Remove not used default route for backgroundColor option in label annotation
  • #​631 Remove (some) reduntant properties from fixtures
  • #​614 Improve event handling adding test cases
  • #​617 Remove `readValueToProps` function of options helpers
  • #​616 Add specific test cases for ellipse annotation event handling
  • #​622 Add test cases to test one or both missing scales
  • #​612 Sort shadow color default options alphabetically
  • #​605 Remove renaming the imports from chartjs.helpers of callback function
  • #​604 Add JSDoc to `labelIsVisible` method of line annotation
  • #​599 Use PI constant of Chartjs helpers instead of Math.PI
  • #​598 Normalize border style setting

Thanks to @​joshkel, @​kurkle and @​stockiNail

v1.2.2

Compare Source

Essential Links

Bugs Fixed

  • #​595 Fix dynamically showing/hiding line label
  • #​591 Properly consider the line thickness in the intersect calculation
  • #​583 Fix events catching on rotated ellipse annotations
  • #​582 Remove undefined event listeners from state if disabled at runtime

Types

  • #​586 new annotation types added to ElementOptionsByType

Documentation

  • #​587 Add borderJoinStyle round to the road signals sample
  • #​584 Change `var` to `const` in the samples

Development

  • #​592 Bump version to 1.2.2, update deps
  • #​578 Fix complexity and duplicated code on scale management
  • #​571 Store drawable elements to the state
  • #​570 Sort default options alphabetically
  • #​574 Move scale management functions to a dedicated file

Thanks to @​elitastic, @​kurkle and @​stockiNail

v1.2.1

Compare Source

Essential Links

Bugs Fixed

  • #​575 Workaround for array syntax bug with Chart.js<v3.7
  • #​569 Fix Typescript < v4.1 compile error

Development

Thanks to @​LeeLenaleee, @​kurkle and @​stockiNail

v1.2.0

Compare Source

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

v1.1.0

Compare Source

Essential Links

Enhancements

  • #​456 Add rotation support for ellipse annotations
  • #​457 Per corner cornerRadius for box and line label
  • #​459 Add border support for line label
  • #​451 Pass event instance to listeners

Bugs Fixed

  • #​485 Fix type for CoreAnnotationOptions.borderDash
  • #​475 Use font.lineHeight instead of font.size for labelling in line annotation
  • #​458 Hide line-annotations completely outside chartArea

Types

  • #​485 Fix type for CoreAnnotationOptions.borderDash
  • #​471 Typings for default settings on element
  • #​453 LabelOptions.width and .height are optional
  • #​448 Add missing animations prop to options interface.

Documentation

  • #​476 Fix the point annotation documentation guide
  • #​460 docs: typo YMax -> yMax
  • #​455 Prevent error when removing data in point sample
  • #​447 Change important note part to title of the block
  • #​440 Update types of config
  • #​436 Move readme example from codepen to docs

Development

  • #​486 Bump version to 1.1.0, update deps
  • #​454 Prevent infinity in line example, unused utils

Thanks to @​LeeLenaleee, @​elitastic, @​kurkle, @​multipolygon, @​philfontaine and @​stockiNail

v1.0.2

Compare Source

Essential Links

Bugs Fixed

  • #​428 Fixes for line mouse events
  • #​424 Add missing `adjustScaleRange` to AnnotationOptions

Types

  • #​424 Add missing `adjustScaleRange` to AnnotationOptions

Development

  • #​429 Bump to 1.0.2, update deps, remove next tag

Thanks to @​jbelien, @​joshkel and @​kurkle

v1.0.1

Compare Source

Essential Links

  • #​419 Add adjustScaleRange options

Bugs Fixed

  • #​414 Fix drawing of lines with points out of chartArea
  • #​403 Restrict mouse events to where the line actually is

Types

  • #​404 Update LabelPosition type to match v1.0.0

Documentation

  • #​415 Add warning about registration to Getting Started
  • #​406 Update installation instructions

Development

Thanks to @​joshkel, @​kurkle and @​tlserver

v1.0.0

Compare Source

Essential Links

Enhancements

  • #​386 Enables textAlign option to line label

Bugs Fixed

  • #​393 Update option typings, fix `type`
  • #​385 Depend on chart.js v3.0.1
  • #​378 Skip annotations outside chartArea

Types

Documentation

Development

  • #​394 Bump version to 1.0.0
  • #​384 Depend on chart.js v3.0.0
  • #​383 Add point example
  • #​381 Add version information to charts in documentation
  • #​379 Update dependencies

Thanks to @​joshkel, @​kurkle and @​stockiNail

Included changes from pre-releases


Configuration

📅 Schedule: Branch creation - "before 3am on the first day of the month" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot added the dependencies label Jun 1, 2023
@renovate
Copy link
Contributor Author

renovate bot commented Jun 1, 2023

⚠ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: package-lock.json
npm notice 
npm notice New major version of npm available! 8.19.4 -> 9.6.7
npm notice Changelog: <https://github.com/npm/cli/releases/tag/v9.6.7>
npm notice Run `npm install -g [email protected]` to update!
npm notice 
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: @ecomplus/[email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/chart.js
npm ERR!   chart.js@"^2.9.4" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer chart.js@">=4.0.0" from [email protected]
npm ERR! node_modules/chartjs-plugin-annotation
npm ERR!   chartjs-plugin-annotation@"^3.0.1" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR! 
npm ERR! See /tmp/worker/baf481/ce4369/cache/others/npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /tmp/worker/baf481/ce4369/cache/others/npm/_logs/2023-06-01T01_14_14_408Z-debug-0.log

@renovate renovate bot force-pushed the renovate/chartjs-plugin-annotation-3.x branch from 92072a8 to 90fccbb Compare June 1, 2023 01:14
@leomp12 leomp12 closed this Jun 1, 2023
@leomp12 leomp12 deleted the renovate/chartjs-plugin-annotation-3.x branch June 1, 2023 01:14
@renovate
Copy link
Contributor Author

renovate bot commented Jun 1, 2023

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 3.x releases. But if you manually upgrade to 3.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant