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

Update dependency chartjs-plugin-zoom to v2.2.0 #527

Merged
merged 2 commits into from
Dec 11, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 29, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence Type Update
chartjs-plugin-zoom (source) 2.0.0 -> 2.2.0 age adoption passing confidence dependencies minor
chartjs-plugin-zoom 2.0.0 -> 2.2.0 age adoption passing confidence minor

Release Notes

chartjs/chartjs-plugin-zoom (chartjs-plugin-zoom)

v2.2.0

Compare Source

Essential Links

Enhancements

  • #​901 feat: add trigger to onZoom context

Bugs Fixed

  • #​905 fix: pinch events
  • #​898 Fix handling at canvas edge
  • #​896 Clamp drag rectangle to chart area

Types

  • #​900 Fixes to types and spelling

Documentation

  • #​900 Fixes to types and spelling

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

v2.1.0

Compare Source

Essential Links

Enhancements

  • #​861 feat(drag): maintainAspectRatio
  • #​780 Add a function for getting zoom range
  • #​823 Add isZoomingOrPanning method

Bugs Fixed

  • #​891 fix: filter only one click after drag/pan is completed
  • #​889 fix: trigger onZoom from zoomScale
  • #​888 fix: incorrect zoom out factor when using using wheel
  • #​868 fix: stop zooming (panning) at limit
  • #​864 fix: wheel zoom on logarighmic scale
  • #​863 fix: enabling pan after chart initialization
  • #​811 Fix zoom outside of chart area
  • #​856 fix: explicit passive: false for wheel events to prevent warnings on console
  • #​835 fixed missing args to onZoomComplete callback
  • #​810 fix: trigger `onZoomStart` from `pinchStart`
  • #​774 fix "original" scale limits with nonlinear pan
  • #​772 Don't trigger the zoom on legends area

Types

  • #​822 More descriptive types for Hammer.js events

Documentation

  • #​890 chore: add sample for rejecting drag start outside chartArea
  • #​873 chore: add sample for minRange on category scale
  • #​784 fix: typo in drag options documentation

Development

  • #​808 chore: update rollup
  • #​885 chore: split ci to more steps
  • #​862 chore: build cleanup, include homepage

Thanks to @​ZaLiTHkA, @​bavoco, @​dependabot, @​dependabot[bot], @​gopal-panigrahi, @​ikkala, @​joshkel, @​krystxf, @​kurkle and @​trullock

v2.0.1

Compare Source

Essential Links

Bugs Fixed

  • #​736 Modify UpdateModeEnum to not be const
  • #​732 Fix drag rectangle calculation when inside shadow BOM / WebComponent
  • #​708 Handling zoom edge cases (#<!---->690)

Development

Thanks to @​AsturaPhoenix, @​CodingMarco, @​SebastiaanSafeguard, @​dependabot, @​dependabot[bot] and @​shrujalshah28


Configuration

📅 Schedule: Branch creation - "* 0-4,22-23 * * 1-5,* * * * 0,6" (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 these updates again.


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

This PR was generated by Mend Renovate. View the repository job log.

Copy link

codecov bot commented Nov 29, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.90%. Comparing base (d83d189) to head (034c78f).
Report is 3 commits behind head on develop.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #527   +/-   ##
========================================
  Coverage    97.90%   97.90%           
========================================
  Files           93       93           
  Lines        12108    12108           
  Branches      1974     1974           
========================================
  Hits         11854    11854           
  Misses         250      250           
  Partials         4        4           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@louise-davies
Copy link
Member

Slight change to the zoom level of the snapshots - seems consistent across browsers so likely due to a slight change to the zooming code. Probably should just test it's actually ok and then update the snapshots

@renovate renovate bot force-pushed the renovate/chartjs-plugin-zoom-2.x branch 2 times, most recently from ecf235b to 9815c8b Compare December 10, 2024 16:29
@renovate renovate bot force-pushed the renovate/chartjs-plugin-zoom-2.x branch from 9815c8b to f358f1b Compare December 11, 2024 14:45
@louise-davies louise-davies merged commit 525c18f into develop Dec 11, 2024
6 checks passed
@renovate renovate bot deleted the renovate/chartjs-plugin-zoom-2.x branch December 11, 2024 16:10
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