vueuse/vueuse (@vueuse/core)
### [`v10.7.0`](https://togithub.com/vueuse/vueuse/releases/tag/v10.7.0)
[Compare Source](https://togithub.com/vueuse/vueuse/compare/v10.6.1...v10.7.0)
##### 🚀 Features
- Upgrade deps - by [@antfu](https://togithub.com/antfu) in [https://github.com/vueuse/vueuse/issues/3614](https://togithub.com/vueuse/vueuse/issues/3614) [(fccf2)](https://togithub.com/vueuse/vueuse/commit/fccf2e4d)
- **isIOS**: Detect new iPad - by [@Doctor-wu](https://togithub.com/Doctor-wu) and [@antfu](https://togithub.com/antfu) in [https://github.com/vueuse/vueuse/issues/3582](https://togithub.com/vueuse/vueuse/issues/3582) [(47d2d)](https://togithub.com/vueuse/vueuse/commit/47d2d2e9)
- **onLongPress**: Add `distanceThreshold` option - by [@donaldxdonald](https://togithub.com/donaldxdonald) and [@antfu](https://togithub.com/antfu) in [https://github.com/vueuse/vueuse/issues/3578](https://togithub.com/vueuse/vueuse/issues/3578) [(0e04a)](https://togithub.com/vueuse/vueuse/commit/0e04aa4a)
- **tryOnMounted**: Support target arguement - by [@tolking](https://togithub.com/tolking) and [@antfu](https://togithub.com/antfu) in [https://github.com/vueuse/vueuse/issues/3185](https://togithub.com/vueuse/vueuse/issues/3185) [(f2aeb)](https://togithub.com/vueuse/vueuse/commit/f2aeb453)
- **useBreakpoints**: Make parameters reactivity - by [@Doctor-wu](https://togithub.com/Doctor-wu) in [https://github.com/vueuse/vueuse/issues/3592](https://togithub.com/vueuse/vueuse/issues/3592) [(dc624)](https://togithub.com/vueuse/vueuse/commit/dc6245b3)
- **useFileDialog**: Trigger onChange when reset - by [@Doctor-wu](https://togithub.com/Doctor-wu) in [https://github.com/vueuse/vueuse/issues/3548](https://togithub.com/vueuse/vueuse/issues/3548) [(7e2da)](https://togithub.com/vueuse/vueuse/commit/7e2da58a)
- **useInfiniteScroll**: Add the `canLoadMore` option - by [@Alfred-Skyblue](https://togithub.com/Alfred-Skyblue) in [https://github.com/vueuse/vueuse/issues/3558](https://togithub.com/vueuse/vueuse/issues/3558) [(e780f)](https://togithub.com/vueuse/vueuse/commit/e780f5a0)
- **usePointerSwipe**: Add `disableTextSelect` option - by [@aminmokhtari94](https://togithub.com/aminmokhtari94) in [https://github.com/vueuse/vueuse/issues/3604](https://togithub.com/vueuse/vueuse/issues/3604) [(fd67b)](https://togithub.com/vueuse/vueuse/commit/fd67ba3a)
- **useTitle**: Restore title on unmounted - by [@Doctor-wu](https://togithub.com/Doctor-wu) and [@antfu](https://togithub.com/antfu) in [https://github.com/vueuse/vueuse/issues/3570](https://togithub.com/vueuse/vueuse/issues/3570) [(0ab76)](https://togithub.com/vueuse/vueuse/commit/0ab768d0)
##### 🐞 Bug Fixes
- **createEventHook**: Make createEventHook union type can be inferred correctly - by [@Doctor-wu](https://togithub.com/Doctor-wu) in [https://github.com/vueuse/vueuse/issues/3569](https://togithub.com/vueuse/vueuse/issues/3569) [(e48ca)](https://togithub.com/vueuse/vueuse/commit/e48ca071)
- **createEventHook**: `trigger` should not ignore falsy values - by [@romansp](https://togithub.com/romansp) and [@Alfred-Skyblue](https://togithub.com/Alfred-Skyblue) in [https://github.com/vueuse/vueuse/issues/3561](https://togithub.com/vueuse/vueuse/issues/3561) [(3733b)](https://togithub.com/vueuse/vueuse/commit/3733b8ee)
- **syncRef**: SyncRef typing issue for boolean - by [@s-montigny-desautels](https://togithub.com/s-montigny-desautels) in [https://github.com/vueuse/vueuse/issues/3553](https://togithub.com/vueuse/vueuse/issues/3553) [(acb2f)](https://togithub.com/vueuse/vueuse/commit/acb2fe6b)
- **useAxios**: Reset `isAborted` value on success - by [@17359898647](https://togithub.com/17359898647) and [@antfu](https://togithub.com/antfu) in [https://github.com/vueuse/vueuse/issues/3547](https://togithub.com/vueuse/vueuse/issues/3547) [(4b159)](https://togithub.com/vueuse/vueuse/commit/4b159380)
- **useDark**: In Vue 2.6 mode.system is undefined - by [@Teaghy](https://togithub.com/Teaghy), **hguan** and [@antfu](https://togithub.com/antfu) in [https://github.com/vueuse/vueuse/issues/3562](https://togithub.com/vueuse/vueuse/issues/3562) [(68688)](https://togithub.com/vueuse/vueuse/commit/686884a1)
- **useDropZone**: Fix file types filter - by [@getname1997](https://togithub.com/getname1997) and [@antfu](https://togithub.com/antfu) in [https://github.com/vueuse/vueuse/issues/3540](https://togithub.com/vueuse/vueuse/issues/3540) [(8f42a)](https://togithub.com/vueuse/vueuse/commit/8f42a92e)
- **useElementVisibility**: Use last intersection entry - by [@ziolko-appfire](https://togithub.com/ziolko-appfire), **Mateusz Zieliński** and [@antfu](https://togithub.com/antfu) in [https://github.com/vueuse/vueuse/issues/3365](https://togithub.com/vueuse/vueuse/issues/3365) [(07d39)](https://togithub.com/vueuse/vueuse/commit/07d39853)
- **useFetch**: Immediately modify the status after the request is completed - by [@tolking](https://togithub.com/tolking) and [@antfu](https://togithub.com/antfu) in [https://github.com/vueuse/vueuse/issues/3603](https://togithub.com/vueuse/vueuse/issues/3603) [(3456d)](https://togithub.com/vueuse/vueuse/commit/3456d1b0)
- **useFetch**: Clone 'Response' on reading - by [@mymx2](https://togithub.com/mymx2) and [@antfu](https://togithub.com/antfu) in [https://github.com/vueuse/vueuse/issues/3607](https://togithub.com/vueuse/vueuse/issues/3607) and [https://github.com/vueuse/vueuse/issues/3608](https://togithub.com/vueuse/vueuse/issues/3608) [(8cbfd)](https://togithub.com/vueuse/vueuse/commit/8cbfd9d3)
- **useMemoize**: Use shallowReactive to wrap Map - by [@antfu](https://togithub.com/antfu) [(fecbe)](https://togithub.com/vueuse/vueuse/commit/fecbe00e)
- **useMousePressed**: Change type of element parameter to MaybeComputedElementRef - by [@4350pChris](https://togithub.com/4350pChris) in [https://github.com/vueuse/vueuse/issues/3566](https://togithub.com/vueuse/vueuse/issues/3566) [(17f97)](https://togithub.com/vueuse/vueuse/commit/17f97f63)
- **useOffsetPagination**: Don't mutate props when it's readonly - by [@Doctor-wu](https://togithub.com/Doctor-wu) in [https://github.com/vueuse/vueuse/issues/3581](https://togithub.com/vueuse/vueuse/issues/3581) [(4dace)](https://togithub.com/vueuse/vueuse/commit/4dacec8a)
- **useScreenOrientation**: Add fault tolerance to lock and unlock - by [@satrong](https://togithub.com/satrong) in [https://github.com/vueuse/vueuse/issues/3575](https://togithub.com/vueuse/vueuse/issues/3575) [(be3cc)](https://togithub.com/vueuse/vueuse/commit/be3ccc78)
- **useStorage**: Fix undefined defaults - by [@Doctor-wu](https://togithub.com/Doctor-wu) in [https://github.com/vueuse/vueuse/issues/3597](https://togithub.com/vueuse/vueuse/issues/3597) [(04220)](https://togithub.com/vueuse/vueuse/commit/04220788)
##### [View changes on GitHub](https://togithub.com/vueuse/vueuse/compare/v10.6.1...v10.7.0)
Configuration
📅 Schedule: Branch creation - "before 4am on Monday" in timezone Asia/Shanghai, Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ 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.
This PR contains the following updates:
^10.6.1
->^10.7.0
Release Notes
vueuse/vueuse (@vueuse/core)
### [`v10.7.0`](https://togithub.com/vueuse/vueuse/releases/tag/v10.7.0) [Compare Source](https://togithub.com/vueuse/vueuse/compare/v10.6.1...v10.7.0) ##### 🚀 Features - Upgrade deps - by [@antfu](https://togithub.com/antfu) in [https://github.com/vueuse/vueuse/issues/3614](https://togithub.com/vueuse/vueuse/issues/3614) [(fccf2)](https://togithub.com/vueuse/vueuse/commit/fccf2e4d) - **isIOS**: Detect new iPad - by [@Doctor-wu](https://togithub.com/Doctor-wu) and [@antfu](https://togithub.com/antfu) in [https://github.com/vueuse/vueuse/issues/3582](https://togithub.com/vueuse/vueuse/issues/3582) [(47d2d)](https://togithub.com/vueuse/vueuse/commit/47d2d2e9) - **onLongPress**: Add `distanceThreshold` option - by [@donaldxdonald](https://togithub.com/donaldxdonald) and [@antfu](https://togithub.com/antfu) in [https://github.com/vueuse/vueuse/issues/3578](https://togithub.com/vueuse/vueuse/issues/3578) [(0e04a)](https://togithub.com/vueuse/vueuse/commit/0e04aa4a) - **tryOnMounted**: Support target arguement - by [@tolking](https://togithub.com/tolking) and [@antfu](https://togithub.com/antfu) in [https://github.com/vueuse/vueuse/issues/3185](https://togithub.com/vueuse/vueuse/issues/3185) [(f2aeb)](https://togithub.com/vueuse/vueuse/commit/f2aeb453) - **useBreakpoints**: Make parameters reactivity - by [@Doctor-wu](https://togithub.com/Doctor-wu) in [https://github.com/vueuse/vueuse/issues/3592](https://togithub.com/vueuse/vueuse/issues/3592) [(dc624)](https://togithub.com/vueuse/vueuse/commit/dc6245b3) - **useFileDialog**: Trigger onChange when reset - by [@Doctor-wu](https://togithub.com/Doctor-wu) in [https://github.com/vueuse/vueuse/issues/3548](https://togithub.com/vueuse/vueuse/issues/3548) [(7e2da)](https://togithub.com/vueuse/vueuse/commit/7e2da58a) - **useInfiniteScroll**: Add the `canLoadMore` option - by [@Alfred-Skyblue](https://togithub.com/Alfred-Skyblue) in [https://github.com/vueuse/vueuse/issues/3558](https://togithub.com/vueuse/vueuse/issues/3558) [(e780f)](https://togithub.com/vueuse/vueuse/commit/e780f5a0) - **usePointerSwipe**: Add `disableTextSelect` option - by [@aminmokhtari94](https://togithub.com/aminmokhtari94) in [https://github.com/vueuse/vueuse/issues/3604](https://togithub.com/vueuse/vueuse/issues/3604) [(fd67b)](https://togithub.com/vueuse/vueuse/commit/fd67ba3a) - **useTitle**: Restore title on unmounted - by [@Doctor-wu](https://togithub.com/Doctor-wu) and [@antfu](https://togithub.com/antfu) in [https://github.com/vueuse/vueuse/issues/3570](https://togithub.com/vueuse/vueuse/issues/3570) [(0ab76)](https://togithub.com/vueuse/vueuse/commit/0ab768d0) ##### 🐞 Bug Fixes - **createEventHook**: Make createEventHook union type can be inferred correctly - by [@Doctor-wu](https://togithub.com/Doctor-wu) in [https://github.com/vueuse/vueuse/issues/3569](https://togithub.com/vueuse/vueuse/issues/3569) [(e48ca)](https://togithub.com/vueuse/vueuse/commit/e48ca071) - **createEventHook**: `trigger` should not ignore falsy values - by [@romansp](https://togithub.com/romansp) and [@Alfred-Skyblue](https://togithub.com/Alfred-Skyblue) in [https://github.com/vueuse/vueuse/issues/3561](https://togithub.com/vueuse/vueuse/issues/3561) [(3733b)](https://togithub.com/vueuse/vueuse/commit/3733b8ee) - **syncRef**: SyncRef typing issue for boolean - by [@s-montigny-desautels](https://togithub.com/s-montigny-desautels) in [https://github.com/vueuse/vueuse/issues/3553](https://togithub.com/vueuse/vueuse/issues/3553) [(acb2f)](https://togithub.com/vueuse/vueuse/commit/acb2fe6b) - **useAxios**: Reset `isAborted` value on success - by [@17359898647](https://togithub.com/17359898647) and [@antfu](https://togithub.com/antfu) in [https://github.com/vueuse/vueuse/issues/3547](https://togithub.com/vueuse/vueuse/issues/3547) [(4b159)](https://togithub.com/vueuse/vueuse/commit/4b159380) - **useDark**: In Vue 2.6 mode.system is undefined - by [@Teaghy](https://togithub.com/Teaghy), **hguan** and [@antfu](https://togithub.com/antfu) in [https://github.com/vueuse/vueuse/issues/3562](https://togithub.com/vueuse/vueuse/issues/3562) [(68688)](https://togithub.com/vueuse/vueuse/commit/686884a1) - **useDropZone**: Fix file types filter - by [@getname1997](https://togithub.com/getname1997) and [@antfu](https://togithub.com/antfu) in [https://github.com/vueuse/vueuse/issues/3540](https://togithub.com/vueuse/vueuse/issues/3540) [(8f42a)](https://togithub.com/vueuse/vueuse/commit/8f42a92e) - **useElementVisibility**: Use last intersection entry - by [@ziolko-appfire](https://togithub.com/ziolko-appfire), **Mateusz Zieliński** and [@antfu](https://togithub.com/antfu) in [https://github.com/vueuse/vueuse/issues/3365](https://togithub.com/vueuse/vueuse/issues/3365) [(07d39)](https://togithub.com/vueuse/vueuse/commit/07d39853) - **useFetch**: Immediately modify the status after the request is completed - by [@tolking](https://togithub.com/tolking) and [@antfu](https://togithub.com/antfu) in [https://github.com/vueuse/vueuse/issues/3603](https://togithub.com/vueuse/vueuse/issues/3603) [(3456d)](https://togithub.com/vueuse/vueuse/commit/3456d1b0) - **useFetch**: Clone 'Response' on reading - by [@mymx2](https://togithub.com/mymx2) and [@antfu](https://togithub.com/antfu) in [https://github.com/vueuse/vueuse/issues/3607](https://togithub.com/vueuse/vueuse/issues/3607) and [https://github.com/vueuse/vueuse/issues/3608](https://togithub.com/vueuse/vueuse/issues/3608) [(8cbfd)](https://togithub.com/vueuse/vueuse/commit/8cbfd9d3) - **useMemoize**: Use shallowReactive to wrap Map - by [@antfu](https://togithub.com/antfu) [(fecbe)](https://togithub.com/vueuse/vueuse/commit/fecbe00e) - **useMousePressed**: Change type of element parameter to MaybeComputedElementRef - by [@4350pChris](https://togithub.com/4350pChris) in [https://github.com/vueuse/vueuse/issues/3566](https://togithub.com/vueuse/vueuse/issues/3566) [(17f97)](https://togithub.com/vueuse/vueuse/commit/17f97f63) - **useOffsetPagination**: Don't mutate props when it's readonly - by [@Doctor-wu](https://togithub.com/Doctor-wu) in [https://github.com/vueuse/vueuse/issues/3581](https://togithub.com/vueuse/vueuse/issues/3581) [(4dace)](https://togithub.com/vueuse/vueuse/commit/4dacec8a) - **useScreenOrientation**: Add fault tolerance to lock and unlock - by [@satrong](https://togithub.com/satrong) in [https://github.com/vueuse/vueuse/issues/3575](https://togithub.com/vueuse/vueuse/issues/3575) [(be3cc)](https://togithub.com/vueuse/vueuse/commit/be3ccc78) - **useStorage**: Fix undefined defaults - by [@Doctor-wu](https://togithub.com/Doctor-wu) in [https://github.com/vueuse/vueuse/issues/3597](https://togithub.com/vueuse/vueuse/issues/3597) [(04220)](https://togithub.com/vueuse/vueuse/commit/04220788) ##### [View changes on GitHub](https://togithub.com/vueuse/vueuse/compare/v10.6.1...v10.7.0)Configuration
📅 Schedule: Branch creation - "before 4am on Monday" in timezone Asia/Shanghai, Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ 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.
This PR has been generated by Mend Renovate. View repository job log here.