NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #4447 most downloaded on npm
Core engine for receiving gestures
Last release 3 years ago
no release in 18 months
Release timing varies
gaps range from 1 weeks to 6 months
Nearly every release is documented
notes for 40 of 41 stable releases
Nothing withdrawn
no release was ever pulled
5 years old
67 releases · first in 2021
One column per quarter.
6f6f4a5b4: fix(types): compatibility with @types/react >=18.2.66
1ee9f42e3: Fix: touch support is reverted to only checking TouchEvent support #626
0dce2216c: detect lost pointer capture in PinchEngine
db0d934eb: fix: add a try catch when calculating the distance and angle as apparently some events might be undefined on Windows #551
3701753ea: fix: set startTime inside start function
60aae2149: feat: Added option to configure keyboard displacement in the drag gesture
79684a05f: types: add package exports
c6215e8ad: fix: properly resolve pointer.keys config
6f4c09b55: fix: rolls back wheel-based pinch movement to bounds (thanks @Andarist!)
6f4c09b55: fix: rolls back wheel-based pinch movement to bounds (thanks @Andarist!)
854f4dfc1: feat (pinch):
pinchOnwheel: false prevents pinching with wheel.de807fddc: fix: applying a new config to useGesture / Gesture shouldn't throw an error.
c7cb407bd: ts: Typescript 4.8 introduced a new mapping definition for NonNullable which breaks the package types.
c7cb407bd: ts: Typescript 4.8 introduced a new mapping definition for NonNullable which breaks the package types.
// Native NonNullable Utility Type
// definition on 4.7 and lower
type NonNullable<T> = T extends null | undefined ? never : T
// definition from 4.8
type NonNullable<T> = T & {}
This fix reverts the definition of NonNullable so that it works. More information here: https://github.com/pmndrs/use-gesture/issues/501#issuecomment-1229486104
115ee1f59: fix: don't let Enter key preventDefault on onClick when filterTaps is true.
48dc6a102: feat: add option to remove arrow keys listeners for the drag gesture.
a521a171f: types: remove React types dependency on core package
be1703a6d: fix: reset \_preventScroll when setting up scroll prevention to avoid side effects
e82f1c220: fix: improve detection for drag gesture, also fixes #494
6896094b3: fix: preventScroll should resist to multiple fingers drag
delta increment on first keydown for drag
config.bounds type for drag gestureseventOptions option for each gesture### Patch Changes - 91651b202: Fix config types
670e6e2db: - fix: trigger pointerDown event when triggerAllEvents and delay options are set
pointerDown event when triggerAllEvents and delay options are set
'mouse'axisThreshold property to set a threshold for axis calculation (can be set per device for the drag gesture)'ctrlKey'.f593dbe09: - fix: increase PINCH_WHEEL_RATIO to 100 to slow down zoom on wheel-based devices.
PINCH_WHEEL_RATIO to 100 to slow down zoom on wheel-based devices.
preventScroll.d86df73b9: feat: add pointer.mouse option to force mouse listeners instead of pointers when possible.
pointer.mouse option to force mouse listeners instead of pointers when possible.2c0fde118: fix: delta is now derived from the offset value _after_ it is clamped by bounds.
offset value after it is clamped by bounds.2d943428c: Fix a bug when a touch identifier is equal to 0
0916d178c6: fix: make sure the drag gesture is ended when touchcancel event is triggered.
touchcancel event is triggered.cd5533a4c: fix: change TouchEvent detection
tapThreshold)overflow state attribute telling when offset is overflowing bounds.
[Wheel] fix: only update offset when it stays within bounds.lostpointercapture listener for cases when the pointerup event is missed.ae631004a: fix: change isNaN to Number.isNaN in dev mode
8302c5bfd: fix: prevent deprecated resolvers from applying in dev mode
cffaba5ae: fix: logic error in intent detection
2f0cd466b: fix: release pointerId when PointerEvent is canceled. Should fix #376.
b4e6181e7: Fix: should fix transform function doesn't have [0,0] origin. This required some pretty drastic internal changes hence the minor version bu
transform function doesn't have [0,0] origin. This required some pretty drastic internal changes hence the minor version bump.9883b1c78: types: fix ReactDOMAttributes type
55505c071: fix: event.buttons condition was preventing pointer.touch from behaving properly.
event.buttons condition was preventing pointer.touch from behaving properly.090ba6b62: feat: allow pointer.buttons to accept an array or -1
a9f99ce3c: feat: warn in dev mode if transform function return invalid values
ed0073543: fix: add threshold to config resolver
8a0bfacb0: fix: Remove the console output statement.
b67543ff7: Feat (drag): add the pointer.buttons in order to customize which buttons combination will trigger the drag gesture.
pointer.buttons in order to customize which buttons combination will trigger the drag gesture.de01d7dbb: Sets state canceled / _active attributes synchronously with cancel().
canceled / _active attributes synchronously with cancel().a219d3f69: fix: make sure delay still set first to true when moving so that onDragStart can fire.
c00c7b1: fix: add movement to offset when using wheel-based browsers on pinch
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →