🚀 Features
- Upgrade deps - by @antfu in #3614 (fccf2)
- isIOS: Detect new iPad - by @Doctor-wu and @antfu in #3582 (47d2d)
- onLongPress: Add
distanceThreshold
option - by @donaldxdonald and @antfu in #3578 (0e04a) - tryOnMounted: Support target arguement - by @tolking and @antfu in #3185 (f2aeb)
- useBreakpoints: Make parameters reactivity - by @Doctor-wu in #3592 (dc624)
- useFileDialog: Trigger onChange when reset - by @Doctor-wu in #3548 (7e2da)
- useInfiniteScroll: Add the
canLoadMore
option - by @Alfred-Skyblue in #3558 (e780f) - usePointerSwipe: Add
disableTextSelect
option - by @aminmokhtari94 in #3604 (fd67b) - useTitle: Restore title on unmounted - by @Doctor-wu and @antfu in #3570 (0ab76)
🐞 Bug Fixes
- createEventHook: Make createEventHook union type can be inferred correctly - by @Doctor-wu in #3569 (e48ca)
- createEventHook:
trigger
should not ignore falsy values - by @romansp and @Alfred-Skyblue in #3561 (3733b) - syncRef: SyncRef typing issue for boolean - by @s-montigny-desautels in #3553 (acb2f)
- useAxios: Reset
isAborted
value on success - by @17359898647 and @antfu in #3547 (4b159) - useDark: In Vue 2.6 mode.system is undefined - by @Teaghy, hguan and @antfu in #3562 (68688)
- useDropZone: Fix file types filter - by @getname1997 and @antfu in #3540 (8f42a)
- useElementVisibility: Use last intersection entry - by @ziolko-appfire, Mateusz Zieliński and @antfu in #3365 (07d39)
- useFetch: Immediately modify the status after the request is completed - by @tolking and @antfu in #3603 (3456d)
- useFetch: Clone 'Response' on reading - by @mymx2 and @antfu in #3607 and #3608 (8cbfd)
- useMemoize: Use shallowReactive to wrap Map - by @antfu (fecbe)
- useMousePressed: Change type of element parameter to MaybeComputedElementRef - by @4350pChris in #3566 (17f97)
- useOffsetPagination: Don't mutate props when it's readonly - by @Doctor-wu in #3581 (4dace)
- useScreenOrientation: Add fault tolerance to lock and unlock - by @satrong in #3575 (be3cc)
- useStorage: Fix undefined defaults - by @Doctor-wu in #3597 (04220)