vueuse/vueuse (@vueuse/core)
### [`v11.3.0`](https://redirect.github.com/vueuse/vueuse/releases/tag/v11.3.0)
[Compare Source](https://redirect.github.com/vueuse/vueuse/compare/v11.2.0...v11.3.0)
##### 🚀 Features
- **OnClickOutside**: Support component with fragments - by [@ilyaliao](https://redirect.github.com/ilyaliao) in [https://github.com/vueuse/vueuse/issues/4313](https://redirect.github.com/vueuse/vueuse/issues/4313) [(fe322)](https://redirect.github.com/vueuse/vueuse/commit/fe322bd9)
- **router**: Transform get / set - by [@Akryum](https://redirect.github.com/Akryum), **Anthony Fu** and [@antfu](https://redirect.github.com/antfu) in [https://github.com/vueuse/vueuse/issues/4326](https://redirect.github.com/vueuse/vueuse/issues/4326) [(65aa0)](https://redirect.github.com/vueuse/vueuse/commit/65aa0765)
- **useFetch**: Infer 'json' type for array payloads - by [@WingSMC](https://redirect.github.com/WingSMC), **Gergely Dremak** and [@antfu](https://redirect.github.com/antfu) in [https://github.com/vueuse/vueuse/issues/4329](https://redirect.github.com/vueuse/vueuse/issues/4329) [(3d29c)](https://redirect.github.com/vueuse/vueuse/commit/3d29c16e)
##### 🐞 Bug Fixes
- **useFetch**: Ensure single slash - by [@mrchar](https://redirect.github.com/mrchar) and [@antfu](https://redirect.github.com/antfu) in [https://github.com/vueuse/vueuse/issues/4296](https://redirect.github.com/vueuse/vueuse/issues/4296) [(3de68)](https://redirect.github.com/vueuse/vueuse/commit/3de68720)
- **useMouse**: Record the previous scroll value - by [@pkc918](https://redirect.github.com/pkc918) and **Anthony Fu** in [https://github.com/vueuse/vueuse/issues/4244](https://redirect.github.com/vueuse/vueuse/issues/4244) [(e8d11)](https://redirect.github.com/vueuse/vueuse/commit/e8d11892)
- **useMouse**: Correct spelling error - by [@pkc918](https://redirect.github.com/pkc918) in [https://github.com/vueuse/vueuse/issues/4348](https://redirect.github.com/vueuse/vueuse/issues/4348) [(cceeb)](https://redirect.github.com/vueuse/vueuse/commit/cceebf46)
- **useRouteParams, useRouteQuery**: Effect triggers twice with object getter as watch source - by [@jack-allocate](https://redirect.github.com/jack-allocate) and **Anthony Fu** in [https://github.com/vueuse/vueuse/issues/4283](https://redirect.github.com/vueuse/vueuse/issues/4283) [(44772)](https://redirect.github.com/vueuse/vueuse/commit/44772a44)
- **useSortable**: Wrong order of elements - by [@ilyaliao](https://redirect.github.com/ilyaliao) in [https://github.com/vueuse/vueuse/issues/4332](https://redirect.github.com/vueuse/vueuse/issues/4332) [(9e78e)](https://redirect.github.com/vueuse/vueuse/commit/9e78eda0)
- **useSwipe**: Allow vertical scrolling during swipe - by [@ilyaliao](https://redirect.github.com/ilyaliao) in [https://github.com/vueuse/vueuse/issues/4323](https://redirect.github.com/vueuse/vueuse/issues/4323) [(1bb54)](https://redirect.github.com/vueuse/vueuse/commit/1bb547e0)
- **useUrlSearchParams**: `hash` mode missing `location.search` - by [@Huodoo](https://redirect.github.com/Huodoo), **霍冬冬** and [@antfu](https://redirect.github.com/antfu) in [https://github.com/vueuse/vueuse/issues/4340](https://redirect.github.com/vueuse/vueuse/issues/4340) [(e77ca)](https://redirect.github.com/vueuse/vueuse/commit/e77cab13)
##### [View changes on GitHub](https://redirect.github.com/vueuse/vueuse/compare/v11.2.0...v11.3.0)
### [`v11.2.0`](https://redirect.github.com/vueuse/vueuse/releases/tag/v11.2.0)
[Compare Source](https://redirect.github.com/vueuse/vueuse/compare/v11.1.0...v11.2.0)
##### 🚀 Features
- **useBreakpoints**: Add breakpoints for ElementUI/ElementPlus - by [@AAABingBing](https://redirect.github.com/AAABingBing) and **Anthony Fu** in [https://github.com/vueuse/vueuse/issues/4238](https://redirect.github.com/vueuse/vueuse/issues/4238) [(f71e5)](https://redirect.github.com/vueuse/vueuse/commit/f71e5138)
- **useMediaControls**: Add playback error event - by [@DarrenSG](https://redirect.github.com/DarrenSG) and **Anthony Fu** in [https://github.com/vueuse/vueuse/issues/4253](https://redirect.github.com/vueuse/vueuse/issues/4253) [(e1169)](https://redirect.github.com/vueuse/vueuse/commit/e11699d2)
##### 🐞 Bug Fixes
- **useArrayReduce**: InitialValue can be a function - by [@Mutter45](https://redirect.github.com/Mutter45) and **Anthony Fu** in [https://github.com/vueuse/vueuse/issues/4243](https://redirect.github.com/vueuse/vueuse/issues/4243) [(ae542)](https://redirect.github.com/vueuse/vueuse/commit/ae542c6b)
- **useDevicesList**: Handle NotAllowedError on reject/close - by [@espensgr](https://redirect.github.com/espensgr) and **Anthony Fu** in [https://github.com/vueuse/vueuse/issues/4246](https://redirect.github.com/vueuse/vueuse/issues/4246) [(bf0f2)](https://redirect.github.com/vueuse/vueuse/commit/bf0f249e)
- **useDropZone**: Remove file kind restriction - by [@jackcodetw](https://redirect.github.com/jackcodetw) in [https://github.com/vueuse/vueuse/issues/4305](https://redirect.github.com/vueuse/vueuse/issues/4305) [(1d661)](https://redirect.github.com/vueuse/vueuse/commit/1d661f9d)
- **useIntervalFn**: Prevent timer being set after pause is called in cb - by [@laporchen](https://redirect.github.com/laporchen) and **Anthony Fu** in [https://github.com/vueuse/vueuse/issues/4258](https://redirect.github.com/vueuse/vueuse/issues/4258) [(59f8c)](https://redirect.github.com/vueuse/vueuse/commit/59f8c944)
- **useManualRefHistory**: `canUndo` and `canRedo` typing to be computed ref - by [@roydukkey](https://redirect.github.com/roydukkey) and **Anthony Fu** in [https://github.com/vueuse/vueuse/issues/4261](https://redirect.github.com/vueuse/vueuse/issues/4261) [(b46d2)](https://redirect.github.com/vueuse/vueuse/commit/b46d2a0e)
- **useWebSocket**: Autoreconnect when ws close - by [@jackcodetw](https://redirect.github.com/jackcodetw) in [https://github.com/vueuse/vueuse/issues/4314](https://redirect.github.com/vueuse/vueuse/issues/4314) [(08412)](https://redirect.github.com/vueuse/vueuse/commit/08412e8c)
##### [View changes on GitHub](https://redirect.github.com/vueuse/vueuse/compare/v11.1.0...v11.2.0)
### [`v11.1.0`](https://redirect.github.com/vueuse/vueuse/releases/tag/v11.1.0)
[Compare Source](https://redirect.github.com/vueuse/vueuse/compare/v11.0.3...v11.1.0)
##### 🚀 Features
- **useCurrentElement**: Try to infer type from `$el` - by [@KazariEX](https://redirect.github.com/KazariEX) in [https://github.com/vueuse/vueuse/issues/4202](https://redirect.github.com/vueuse/vueuse/issues/4202) [(8e141)](https://redirect.github.com/vueuse/vueuse/commit/8e141e54)
- **useDropZone**: Add multiple prop to control multi-file drop - by [@danngossinga](https://redirect.github.com/danngossinga) and **Dan T. Ngossinga** in [https://github.com/vueuse/vueuse/issues/4227](https://redirect.github.com/vueuse/vueuse/issues/4227) [(3b94d)](https://redirect.github.com/vueuse/vueuse/commit/3b94de47)
- **useFileDialog**: Return `onCancel` handler - by [@AndreyYolkin](https://redirect.github.com/AndreyYolkin) in [https://github.com/vueuse/vueuse/issues/4184](https://redirect.github.com/vueuse/vueuse/issues/4184) [(30452)](https://redirect.github.com/vueuse/vueuse/commit/30452c27)
##### 🐞 Bug Fixes
- **computedAsync**: Type signature - by [@ferferga](https://redirect.github.com/ferferga) in [https://github.com/vueuse/vueuse/issues/4207](https://redirect.github.com/vueuse/vueuse/issues/4207) [(45b18)](https://redirect.github.com/vueuse/vueuse/commit/45b187a0)
- **onClickOutside**: Make `ignore` accept reactive values - by [@CernyMatej](https://redirect.github.com/CernyMatej) in [https://github.com/vueuse/vueuse/issues/4211](https://redirect.github.com/vueuse/vueuse/issues/4211) [(aa5e3)](https://redirect.github.com/vueuse/vueuse/commit/aa5e35d5)
- **onClickOutside**: Improve cross-browser compatibility - by [@Onion-L](https://redirect.github.com/Onion-L) and [@antfu](https://redirect.github.com/antfu) in [https://github.com/vueuse/vueuse/issues/4185](https://redirect.github.com/vueuse/vueuse/issues/4185) [(9e598)](https://redirect.github.com/vueuse/vueuse/commit/9e598c42)
- **useArrayFilter**: Match type to Array.prototype.filter - by [@Jesse205](https://redirect.github.com/Jesse205) in [https://github.com/vueuse/vueuse/issues/4175](https://redirect.github.com/vueuse/vueuse/issues/4175) [(71fd1)](https://redirect.github.com/vueuse/vueuse/commit/71fd1408)
- **useDraggable**: Draggable component not work with container - by [@huiliangShen](https://redirect.github.com/huiliangShen) in [https://github.com/vueuse/vueuse/issues/4192](https://redirect.github.com/vueuse/vueuse/issues/4192) [(7f25b)](https://redirect.github.com/vueuse/vueuse/commit/7f25b3a0)
- **useFocusWithin**: Make useFocusWhithin match the behavior of the :focus-within - by [@ben-lau](https://redirect.github.com/ben-lau) in [https://github.com/vueuse/vueuse/issues/4134](https://redirect.github.com/vueuse/vueuse/issues/4134) [(c5407)](https://redirect.github.com/vueuse/vueuse/commit/c5407011)
- **useInfiniteScroll**: Stop watch when unmounted - by [@zyyv](https://redirect.github.com/zyyv) in [https://github.com/vueuse/vueuse/issues/4110](https://redirect.github.com/vueuse/vueuse/issues/4110) [(f30cc)](https://redirect.github.com/vueuse/vueuse/commit/f30ccf08)
- **useIntersectionObserver**: Add `Document` type for root - by [@phk422](https://redirect.github.com/phk422) in [https://github.com/vueuse/vueuse/issues/4210](https://redirect.github.com/vueuse/vueuse/issues/4210) [(6b584)](https://redirect.github.com/vueuse/vueuse/commit/6b584307)
- **useMouseInElement**: Allow `el` to be instanceof Element - by [@FRSgit](https://redirect.github.com/FRSgit) in [https://github.com/vueuse/vueuse/issues/4189](https://redirect.github.com/vueuse/vueuse/issues/4189) [(4dcc2)](https://redirect.github.com/vueuse/vueuse/commit/4dcc2b7b)
- **useNetwork**: Return immutable values - by [@rudnovd](https://redirect.github.com/rudnovd) in [https://github.com/vueuse/vueuse/issues/4187](https://redirect.github.com/vueuse/vueuse/issues/4187) [(99179)](https://redirect.github.com/vueuse/vueuse/commit/991793a7)
- **useResizeObserver**: Update type - by [@phk422](https://redirect.github.com/phk422) in [https://github.com/vueuse/vueuse/issues/4218](https://redirect.github.com/vueuse/vueuse/issues/4218) [(044dd)](https://redirect.github.com/vueuse/vueuse/commit/044dd7ae)
##### [View changes on GitHub](https://redirect.github.com/vueuse/vueuse/compare/v11.0.3...v11.1.0)
### [`v11.0.3`](https://redirect.github.com/vueuse/vueuse/releases/tag/v11.0.3)
[Compare Source](https://redirect.github.com/vueuse/vueuse/compare/v11.0.1...v11.0.3)
##### 🚀 Features
- **templateRef**: Support specifying allowed keys via generic argument - by [@zhiyuanzmj](https://redirect.github.com/zhiyuanzmj) in [https://github.com/vueuse/vueuse/issues/4162](https://redirect.github.com/vueuse/vueuse/issues/4162) [(acce3)](https://redirect.github.com/vueuse/vueuse/commit/acce3bb3)
##### 🐞 Bug Fixes
- **createSharedComposable**: Handle the case where the return value of composable function is empty - by [@XinXiaoIsMe](https://redirect.github.com/XinXiaoIsMe) in [https://github.com/vueuse/vueuse/issues/4151](https://redirect.github.com/vueuse/vueuse/issues/4151) [(a2441)](https://redirect.github.com/vueuse/vueuse/commit/a24411ed)
- **useCssVar**: Replace getComputedStyle with direct style property access - by [@babu-ch](https://redirect.github.com/babu-ch) in [https://github.com/vueuse/vueuse/issues/4166](https://redirect.github.com/vueuse/vueuse/issues/4166) [(d0523)](https://redirect.github.com/vueuse/vueuse/commit/d0523dad)
- **useDropZone**: Ensure files ref is updated even without onDrop callback - by [@babu-ch](https://redirect.github.com/babu-ch) in [https://github.com/vueuse/vueuse/issues/4168](https://redirect.github.com/vueuse/vueuse/issues/4168) [(1c849)](https://redirect.github.com/vueuse/vueuse/commit/1c849e2c)
- **usePermission**: State setting - by [@ferferga](https://redirect.github.com/ferferga) in [https://github.com/vueuse/vueuse/issues/4167](https://redirect.github.com/vueuse/vueuse/issues/4167) [(2aaa1)](https://redirect.github.com/vueuse/vueuse/commit/2aaa1c23)
- **useWebSocket**: Only reconnect if is the current ws socket - by [@freakbite](https://redirect.github.com/freakbite) in [https://github.com/vueuse/vueuse/issues/4161](https://redirect.github.com/vueuse/vueuse/issues/4161) [(e0e99)](https://redirect.github.com/vueuse/vueuse/commit/e0e99c85)
- **useWebSocket**: Should reset retry count when connection is established - by [@freakbite](https://redirect.github.com/freakbite) in [https://github.com/vueuse/vueuse/issues/4164](https://redirect.github.com/vueuse/vueuse/issues/4164) [(3c2fc)](https://redirect.github.com/vueuse/vueuse/commit/3c2fc392)
##### [View changes on GitHub](https://redirect.github.com/vueuse/vueuse/compare/v11.0.1...v11.0.2)
### [`v11.0.1`](https://redirect.github.com/vueuse/vueuse/compare/v11.0.0...5a4224e269a7786e1748f11f97af6fa2255e7fa9)
[Compare Source](https://redirect.github.com/vueuse/vueuse/compare/v11.0.0...v11.0.1)
### [`v11.0.0`](https://redirect.github.com/vueuse/vueuse/releases/tag/v11.0.0)
[Compare Source](https://redirect.github.com/vueuse/vueuse/compare/v10.11.1...v11.0.0)
##### 🚨 Breaking Changes
- **useChangeCase**: Migrate to `change-case@v5`, closes [#3457](https://redirect.github.com/vueuse/vueuse/issues/3457) - by [@wheatjs](https://redirect.github.com/wheatjs) and [@antfu](https://redirect.github.com/antfu) in [https://github.com/vueuse/vueuse/issues/3460](https://redirect.github.com/vueuse/vueuse/issues/3460) and [https://github.com/vueuse/vueuse/issues/3457](https://redirect.github.com/vueuse/vueuse/issues/3457) [(df343)](https://redirect.github.com/vueuse/vueuse/commit/df343afd)
- **useFuse**: Upgrade `fuse.js` to v7 - by [@antfu](https://redirect.github.com/antfu) in [https://github.com/vueuse/vueuse/issues/4036](https://redirect.github.com/vueuse/vueuse/issues/4036) [(cb44c)](https://redirect.github.com/vueuse/vueuse/commit/cb44cee2)
- **useIntersectionObserver**: Update the `threshold` default to 0 - by [@Alfred-Skyblue](https://redirect.github.com/Alfred-Skyblue) in [https://github.com/vueuse/vueuse/issues/4069](https://redirect.github.com/vueuse/vueuse/issues/4069) [(13e36)](https://redirect.github.com/vueuse/vueuse/commit/13e367c3)
- **useJwt**: Upgrade `jwt-decode` to v4 - by [@root5427](https://redirect.github.com/root5427) and [@antfu](https://redirect.github.com/antfu) in [https://github.com/vueuse/vueuse/issues/3510](https://redirect.github.com/vueuse/vueuse/issues/3510) [(9037d)](https://redirect.github.com/vueuse/vueuse/commit/9037d60d)
##### 🚀 Features
- **integrations**: Bump `drauu` and `universal-cookie` major version - by [@antfu](https://redirect.github.com/antfu) [(1c9ec)](https://redirect.github.com/vueuse/vueuse/commit/1c9ecb1c)
- **useCssVars**: Remove property on null/undefined - by [@ferferga](https://redirect.github.com/ferferga) in [https://github.com/vueuse/vueuse/issues/3821](https://redirect.github.com/vueuse/vueuse/issues/3821) [(fe19c)](https://redirect.github.com/vueuse/vueuse/commit/fe19c747)
- **useDateFormat**: Locales is now reactive - by [@OrbisK](https://redirect.github.com/OrbisK) and [@antfu](https://redirect.github.com/antfu) in [https://github.com/vueuse/vueuse/issues/3907](https://redirect.github.com/vueuse/vueuse/issues/3907) [(4a7a8)](https://redirect.github.com/vueuse/vueuse/commit/4a7a8ed9)
- **useDraggable**: Add `buttons` option - by [@DrJonki](https://redirect.github.com/DrJonki) and [@antfu](https://redirect.github.com/antfu) in [https://github.com/vueuse/vueuse/issues/4084](https://redirect.github.com/vueuse/vueuse/issues/4084) [(e9938)](https://redirect.github.com/vueuse/vueuse/commit/e9938ea0)
- **useElementBounding**: Add `updateTiming` option - by [@DerZade](https://redirect.github.com/DerZade) and [@antfu](https://redirect.github.com/antfu) in [https://github.com/vueuse/vueuse/issues/3869](https://redirect.github.com/vueuse/vueuse/issues/3869) [(0fa17)](https://redirect.github.com/vueuse/vueuse/commit/0fa179ec)
- **useElementHover**: Add options to the directive - by [@userquin](https://redirect.github.com/userquin) and [@antfu](https://redirect.github.com/antfu) in [https://github.com/vueuse/vueuse/issues/3897](https://redirect.github.com/vueuse/vueuse/issues/3897) [(cf439)](https://redirect.github.com/vueuse/vueuse/commit/cf439ddf)
- **useFocusTrap**: Support multiple refs - by [@Sma11X](https://redirect.github.com/Sma11X) in [https://github.com/vueuse/vueuse/issues/4022](https://redirect.github.com/vueuse/vueuse/issues/4022) [(83c41)](https://redirect.github.com/vueuse/vueuse/commit/83c4181b)
- **useInfiniteScroll**: Add a reset method - by [@schelmo](https://redirect.github.com/schelmo) in [https://github.com/vueuse/vueuse/issues/3892](https://redirect.github.com/vueuse/vueuse/issues/3892) [(aefb6)](https://redirect.github.com/vueuse/vueuse/commit/aefb64fa)
- **usePermission**: Add local-fonts permission - by [@seanmcbroom](https://redirect.github.com/seanmcbroom), [@antfu](https://redirect.github.com/antfu) and **autofix-ci\[bot]** in [https://github.com/vueuse/vueuse/issues/4098](https://redirect.github.com/vueuse/vueuse/issues/4098) [(5f584)](https://redirect.github.com/vueuse/vueuse/commit/5f584701)
- **useResizeObserver**: Added `vResizeObserver` directive - by [@pkc918](https://redirect.github.com/pkc918) in [https://github.com/vueuse/vueuse/issues/4008](https://redirect.github.com/vueuse/vueuse/issues/4008) [(d4310)](https://redirect.github.com/vueuse/vueuse/commit/d4310871)
- **useSpeechRecognition**: Support `maxAlternatives` option - by [@pkc918](https://redirect.github.com/pkc918) in [https://github.com/vueuse/vueuse/issues/4067](https://redirect.github.com/vueuse/vueuse/issues/4067) [(9eda8)](https://redirect.github.com/vueuse/vueuse/commit/9eda885f)
- **useStorage**: Conditionally use event based on the used storage backend - by [@ferferga](https://redirect.github.com/ferferga) in [https://github.com/vueuse/vueuse/issues/3822](https://redirect.github.com/vueuse/vueuse/issues/3822) [(5a302)](https://redirect.github.com/vueuse/vueuse/commit/5a3024cb)
- **useWebSocket**: Allow different heartbeat response message - by [@lavolpecheprogramma](https://redirect.github.com/lavolpecheprogramma) and [@antfu](https://redirect.github.com/antfu) in [https://github.com/vueuse/vueuse/issues/3950](https://redirect.github.com/vueuse/vueuse/issues/3950) [(adbe0)](https://redirect.github.com/vueuse/vueuse/commit/adbe0178)
- **useWindowSize**: Add ability to get outer sizes of the window - by [@khawarizmus](https://redirect.github.com/khawarizmus) and [@antfu](https://redirect.github.com/antfu) in [https://github.com/vueuse/vueuse/issues/3999](https://redirect.github.com/vueuse/vueuse/issues/3999) [(bfba3)](https://redirect.github.com/vueuse/vueuse/commit/bfba3f3f)
##### 🐞 Bug Fixes
- **computedWithControl**: Allow optional oldValue parameter in computedWithControl getter - by [@haoyun](https://redirect.github.com/haoyun) in [https://github.com/vueuse/vueuse/issues/4132](https://redirect.github.com/vueuse/vueuse/issues/4132) [(5725a)](https://redirect.github.com/vueuse/vueuse/commit/5725a581)
- **isDefined**: Moves most specific overload to the top - by [@bjacobgordon-cy](https://redirect.github.com/bjacobgordon-cy) in [https://github.com/vueuse/vueuse/issues/4141](https://redirect.github.com/vueuse/vueuse/issues/4141) [(fd884)](https://redirect.github.com/vueuse/vueuse/commit/fd8842b0)
- **until**: Cleanup at next tick to avoid memory leak - by [@Gianthard-cyh](https://redirect.github.com/Gianthard-cyh), [@antfu](https://redirect.github.com/antfu) and **delaneyb** in [https://github.com/vueuse/vueuse/issues/4039](https://redirect.github.com/vueuse/vueuse/issues/4039) [(8a023)](https://redirect.github.com/vueuse/vueuse/commit/8a023fe0)
- **useChangeCase**: Use the exported key for filter - by [@thyngster](https://redirect.github.com/thyngster), **autofix-ci\[bot]** and [@antfu](https://redirect.github.com/antfu) in [https://github.com/vueuse/vueuse/issues/4130](https://redirect.github.com/vueuse/vueuse/issues/4130) [(5c598)](https://redirect.github.com/vueuse/vueuse/commit/5c598f15)
- **useColorMode, useDark**: Fix full page reflows when calling useColorMode and useDark - by [@jpleclerc](https://redirect.github.com/jpleclerc), **Jean-Philippe Leclerc** and [@antfu](https://redirect.github.com/antfu) in [https://github.com/vueuse/vueuse/issues/4001](https://redirect.github.com/vueuse/vueuse/issues/4001) [(905b9)](https://redirect.github.com/vueuse/vueuse/commit/905b9702)
- **useEventListener**: Event target can be an empty ref/getter - by [@floryst](https://redirect.github.com/floryst) in [https://github.com/vueuse/vueuse/issues/4014](https://redirect.github.com/vueuse/vueuse/issues/4014) [(edab6)](https://redirect.github.com/vueuse/vueuse/commit/edab62b3)
- **useGamepad**: Handle case where hapticActuators is not present - by [@Aaron-zon](https://redirect.github.com/Aaron-zon) in [https://github.com/vueuse/vueuse/issues/4068](https://redirect.github.com/vueuse/vueuse/issues/4068) [(0ca13)](https://redirect.github.com/vueuse/vueuse/commit/0ca1341a)
- **useMouseInElement**: `el.getBoundingClientRect` is not a function - by [@loongzhu](https://redirect.github.com/loongzhu) in [https://github.com/vueuse/vueuse/issues/4056](https://redirect.github.com/vueuse/vueuse/issues/4056) [(efe4d)](https://redirect.github.com/vueuse/vueuse/commit/efe4df89)
- **useMutationObserver**: Stop watching before cleaning up - by [@pimlie](https://redirect.github.com/pimlie) in [https://github.com/vueuse/vueuse/issues/4037](https://redirect.github.com/vueuse/vueuse/issues/4037) [(489a9)](https://redirect.github.com/vueuse/vueuse/commit/489a9ff9)
- **useResizeObserver**: Fix `target` is Ref Array - by [@Alfred-Skyblue](https://redirect.github.com/Alfred-Skyblue) and [@antfu](https://redirect.github.com/antfu) in [https://github.com/vueuse/vueuse/issues/4005](https://redirect.github.com/vueuse/vueuse/issues/4005) [(1c124)](https://redirect.github.com/vueuse/vueuse/commit/1c124276)
- **useRouteHash, useRouteParams, useRouteQuery**: Fix effect triggering multiple times - by [@aethr](https://redirect.github.com/aethr) in [https://github.com/vueuse/vueuse/issues/4113](https://redirect.github.com/vueuse/vueuse/issues/4113) [(965bf)](https://redirect.github.com/vueuse/vueuse/commit/965bf051)
- **useTextareaAutosize**: Improve `triggerResize` triggering - by [@Mutter45](https://redirect.github.com/Mutter45) and [@antfu](https://redirect.github.com/antfu) in [https://github.com/vueuse/vueuse/issues/4074](https://redirect.github.com/vueuse/vueuse/issues/4074) [(06c6f)](https://redirect.github.com/vueuse/vueuse/commit/06c6f37b)
- **useWakeLock**: Should delay wake lock request if document is hidden - by [@KermanX](https://redirect.github.com/KermanX) in [https://github.com/vueuse/vueuse/issues/4055](https://redirect.github.com/vueuse/vueuse/issues/4055) [(5ca57)](https://redirect.github.com/vueuse/vueuse/commit/5ca57d07)
- **watchDeep**: Unify overload declaration for watch functions - by [@KazariEX](https://redirect.github.com/KazariEX) and [@antfu](https://redirect.github.com/antfu) in [https://github.com/vueuse/vueuse/issues/4043](https://redirect.github.com/vueuse/vueuse/issues/4043) [(0716d)](https://redirect.github.com/vueuse/vueuse/commit/0716dfa1)
##### 🏎 Performance
- **useAnimate**: Set `sync` false - by [@JianJroh](https://redirect.github.com/JianJroh), [@antfu](https://redirect.github.com/antfu) and **autofix-ci\[bot]** in [https://github.com/vueuse/vueuse/issues/3916](https://redirect.github.com/vueuse/vueuse/issues/3916) [(7b108)](https://redirect.github.com/vueuse/vueuse/commit/7b1082c7)
##### [View changes on GitHub](https://redirect.github.com/vueuse/vueuse/compare/v10.11.1...v11.0.0)
### [`v10.11.1`](https://redirect.github.com/vueuse/vueuse/releases/tag/v10.11.1)
[Compare Source](https://redirect.github.com/vueuse/vueuse/compare/v10.11.0...v10.11.1)
*No significant changes*
##### [View changes on GitHub](https://redirect.github.com/vueuse/vueuse/compare/v10.11.0...v10.11.1)
### [`v10.11.0`](https://redirect.github.com/vueuse/vueuse/releases/tag/v10.11.0)
[Compare Source](https://redirect.github.com/vueuse/vueuse/compare/v10.10.1...v10.11.0)
##### 🐞 Bug Fixes
- **integrations**: Specify major version of peerDeps - by [@antfu](https://redirect.github.com/antfu) [(2f67a)](https://redirect.github.com/vueuse/vueuse/commit/2f67ac72)
##### [View changes on GitHub](https://redirect.github.com/vueuse/vueuse/compare/v10.10.1...v10.11.0)
### [`v10.10.1`](https://redirect.github.com/vueuse/vueuse/releases/tag/v10.10.1)
[Compare Source](https://redirect.github.com/vueuse/vueuse/compare/v10.10.0...v10.10.1)
##### 🚀 Features
- **useFocus**: Support `preventScroll` option - by [@pkc918](https://redirect.github.com/pkc918) in [https://github.com/vueuse/vueuse/issues/3994](https://redirect.github.com/vueuse/vueuse/issues/3994) [(4d868)](https://redirect.github.com/vueuse/vueuse/commit/4d868f5e)
##### 🐞 Bug Fixes
- **makeDestructurable**: Fix Typescript < 5.0.0 support - by [@brenoepics](https://redirect.github.com/brenoepics) in [https://github.com/vueuse/vueuse/issues/4028](https://redirect.github.com/vueuse/vueuse/issues/4028) [(842d7)](https://redirect.github.com/vueuse/vueuse/commit/842d7c98)
- **useSpeechRecognition**: Send correct transcript result - by [@noook](https://redirect.github.com/noook) in [https://github.com/vueuse/vueuse/issues/3891](https://redirect.github.com/vueuse/vueuse/issues/3891) [(7c36f)](https://redirect.github.com/vueuse/vueuse/commit/7c36fe54)
##### [View changes on GitHub](https://redirect.github.com/vueuse/vueuse/compare/v10.10.0...v10.10.1)
### [`v10.10.0`](https://redirect.github.com/vueuse/vueuse/compare/v10.9.0...34c047bcc6a4da80c572f8b7896861cdcbdd4c5e)
[Compare Source](https://redirect.github.com/vueuse/vueuse/compare/v10.9.0...v10.10.0)
Configuration
📅 Schedule: Branch creation - "every weekend" (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 contains the following updates:
10.9.0
->11.3.0
Release Notes
vueuse/vueuse (@vueuse/core)
### [`v11.3.0`](https://redirect.github.com/vueuse/vueuse/releases/tag/v11.3.0) [Compare Source](https://redirect.github.com/vueuse/vueuse/compare/v11.2.0...v11.3.0) ##### 🚀 Features - **OnClickOutside**: Support component with fragments - by [@ilyaliao](https://redirect.github.com/ilyaliao) in [https://github.com/vueuse/vueuse/issues/4313](https://redirect.github.com/vueuse/vueuse/issues/4313) [(fe322)](https://redirect.github.com/vueuse/vueuse/commit/fe322bd9) - **router**: Transform get / set - by [@Akryum](https://redirect.github.com/Akryum), **Anthony Fu** and [@antfu](https://redirect.github.com/antfu) in [https://github.com/vueuse/vueuse/issues/4326](https://redirect.github.com/vueuse/vueuse/issues/4326) [(65aa0)](https://redirect.github.com/vueuse/vueuse/commit/65aa0765) - **useFetch**: Infer 'json' type for array payloads - by [@WingSMC](https://redirect.github.com/WingSMC), **Gergely Dremak** and [@antfu](https://redirect.github.com/antfu) in [https://github.com/vueuse/vueuse/issues/4329](https://redirect.github.com/vueuse/vueuse/issues/4329) [(3d29c)](https://redirect.github.com/vueuse/vueuse/commit/3d29c16e) ##### 🐞 Bug Fixes - **useFetch**: Ensure single slash - by [@mrchar](https://redirect.github.com/mrchar) and [@antfu](https://redirect.github.com/antfu) in [https://github.com/vueuse/vueuse/issues/4296](https://redirect.github.com/vueuse/vueuse/issues/4296) [(3de68)](https://redirect.github.com/vueuse/vueuse/commit/3de68720) - **useMouse**: Record the previous scroll value - by [@pkc918](https://redirect.github.com/pkc918) and **Anthony Fu** in [https://github.com/vueuse/vueuse/issues/4244](https://redirect.github.com/vueuse/vueuse/issues/4244) [(e8d11)](https://redirect.github.com/vueuse/vueuse/commit/e8d11892) - **useMouse**: Correct spelling error - by [@pkc918](https://redirect.github.com/pkc918) in [https://github.com/vueuse/vueuse/issues/4348](https://redirect.github.com/vueuse/vueuse/issues/4348) [(cceeb)](https://redirect.github.com/vueuse/vueuse/commit/cceebf46) - **useRouteParams, useRouteQuery**: Effect triggers twice with object getter as watch source - by [@jack-allocate](https://redirect.github.com/jack-allocate) and **Anthony Fu** in [https://github.com/vueuse/vueuse/issues/4283](https://redirect.github.com/vueuse/vueuse/issues/4283) [(44772)](https://redirect.github.com/vueuse/vueuse/commit/44772a44) - **useSortable**: Wrong order of elements - by [@ilyaliao](https://redirect.github.com/ilyaliao) in [https://github.com/vueuse/vueuse/issues/4332](https://redirect.github.com/vueuse/vueuse/issues/4332) [(9e78e)](https://redirect.github.com/vueuse/vueuse/commit/9e78eda0) - **useSwipe**: Allow vertical scrolling during swipe - by [@ilyaliao](https://redirect.github.com/ilyaliao) in [https://github.com/vueuse/vueuse/issues/4323](https://redirect.github.com/vueuse/vueuse/issues/4323) [(1bb54)](https://redirect.github.com/vueuse/vueuse/commit/1bb547e0) - **useUrlSearchParams**: `hash` mode missing `location.search` - by [@Huodoo](https://redirect.github.com/Huodoo), **霍冬冬** and [@antfu](https://redirect.github.com/antfu) in [https://github.com/vueuse/vueuse/issues/4340](https://redirect.github.com/vueuse/vueuse/issues/4340) [(e77ca)](https://redirect.github.com/vueuse/vueuse/commit/e77cab13) ##### [View changes on GitHub](https://redirect.github.com/vueuse/vueuse/compare/v11.2.0...v11.3.0) ### [`v11.2.0`](https://redirect.github.com/vueuse/vueuse/releases/tag/v11.2.0) [Compare Source](https://redirect.github.com/vueuse/vueuse/compare/v11.1.0...v11.2.0) ##### 🚀 Features - **useBreakpoints**: Add breakpoints for ElementUI/ElementPlus - by [@AAABingBing](https://redirect.github.com/AAABingBing) and **Anthony Fu** in [https://github.com/vueuse/vueuse/issues/4238](https://redirect.github.com/vueuse/vueuse/issues/4238) [(f71e5)](https://redirect.github.com/vueuse/vueuse/commit/f71e5138) - **useMediaControls**: Add playback error event - by [@DarrenSG](https://redirect.github.com/DarrenSG) and **Anthony Fu** in [https://github.com/vueuse/vueuse/issues/4253](https://redirect.github.com/vueuse/vueuse/issues/4253) [(e1169)](https://redirect.github.com/vueuse/vueuse/commit/e11699d2) ##### 🐞 Bug Fixes - **useArrayReduce**: InitialValue can be a function - by [@Mutter45](https://redirect.github.com/Mutter45) and **Anthony Fu** in [https://github.com/vueuse/vueuse/issues/4243](https://redirect.github.com/vueuse/vueuse/issues/4243) [(ae542)](https://redirect.github.com/vueuse/vueuse/commit/ae542c6b) - **useDevicesList**: Handle NotAllowedError on reject/close - by [@espensgr](https://redirect.github.com/espensgr) and **Anthony Fu** in [https://github.com/vueuse/vueuse/issues/4246](https://redirect.github.com/vueuse/vueuse/issues/4246) [(bf0f2)](https://redirect.github.com/vueuse/vueuse/commit/bf0f249e) - **useDropZone**: Remove file kind restriction - by [@jackcodetw](https://redirect.github.com/jackcodetw) in [https://github.com/vueuse/vueuse/issues/4305](https://redirect.github.com/vueuse/vueuse/issues/4305) [(1d661)](https://redirect.github.com/vueuse/vueuse/commit/1d661f9d) - **useIntervalFn**: Prevent timer being set after pause is called in cb - by [@laporchen](https://redirect.github.com/laporchen) and **Anthony Fu** in [https://github.com/vueuse/vueuse/issues/4258](https://redirect.github.com/vueuse/vueuse/issues/4258) [(59f8c)](https://redirect.github.com/vueuse/vueuse/commit/59f8c944) - **useManualRefHistory**: `canUndo` and `canRedo` typing to be computed ref - by [@roydukkey](https://redirect.github.com/roydukkey) and **Anthony Fu** in [https://github.com/vueuse/vueuse/issues/4261](https://redirect.github.com/vueuse/vueuse/issues/4261) [(b46d2)](https://redirect.github.com/vueuse/vueuse/commit/b46d2a0e) - **useWebSocket**: Autoreconnect when ws close - by [@jackcodetw](https://redirect.github.com/jackcodetw) in [https://github.com/vueuse/vueuse/issues/4314](https://redirect.github.com/vueuse/vueuse/issues/4314) [(08412)](https://redirect.github.com/vueuse/vueuse/commit/08412e8c) ##### [View changes on GitHub](https://redirect.github.com/vueuse/vueuse/compare/v11.1.0...v11.2.0) ### [`v11.1.0`](https://redirect.github.com/vueuse/vueuse/releases/tag/v11.1.0) [Compare Source](https://redirect.github.com/vueuse/vueuse/compare/v11.0.3...v11.1.0) ##### 🚀 Features - **useCurrentElement**: Try to infer type from `$el` - by [@KazariEX](https://redirect.github.com/KazariEX) in [https://github.com/vueuse/vueuse/issues/4202](https://redirect.github.com/vueuse/vueuse/issues/4202) [(8e141)](https://redirect.github.com/vueuse/vueuse/commit/8e141e54) - **useDropZone**: Add multiple prop to control multi-file drop - by [@danngossinga](https://redirect.github.com/danngossinga) and **Dan T. Ngossinga** in [https://github.com/vueuse/vueuse/issues/4227](https://redirect.github.com/vueuse/vueuse/issues/4227) [(3b94d)](https://redirect.github.com/vueuse/vueuse/commit/3b94de47) - **useFileDialog**: Return `onCancel` handler - by [@AndreyYolkin](https://redirect.github.com/AndreyYolkin) in [https://github.com/vueuse/vueuse/issues/4184](https://redirect.github.com/vueuse/vueuse/issues/4184) [(30452)](https://redirect.github.com/vueuse/vueuse/commit/30452c27) ##### 🐞 Bug Fixes - **computedAsync**: Type signature - by [@ferferga](https://redirect.github.com/ferferga) in [https://github.com/vueuse/vueuse/issues/4207](https://redirect.github.com/vueuse/vueuse/issues/4207) [(45b18)](https://redirect.github.com/vueuse/vueuse/commit/45b187a0) - **onClickOutside**: Make `ignore` accept reactive values - by [@CernyMatej](https://redirect.github.com/CernyMatej) in [https://github.com/vueuse/vueuse/issues/4211](https://redirect.github.com/vueuse/vueuse/issues/4211) [(aa5e3)](https://redirect.github.com/vueuse/vueuse/commit/aa5e35d5) - **onClickOutside**: Improve cross-browser compatibility - by [@Onion-L](https://redirect.github.com/Onion-L) and [@antfu](https://redirect.github.com/antfu) in [https://github.com/vueuse/vueuse/issues/4185](https://redirect.github.com/vueuse/vueuse/issues/4185) [(9e598)](https://redirect.github.com/vueuse/vueuse/commit/9e598c42) - **useArrayFilter**: Match type to Array.prototype.filter - by [@Jesse205](https://redirect.github.com/Jesse205) in [https://github.com/vueuse/vueuse/issues/4175](https://redirect.github.com/vueuse/vueuse/issues/4175) [(71fd1)](https://redirect.github.com/vueuse/vueuse/commit/71fd1408) - **useDraggable**: Draggable component not work with container - by [@huiliangShen](https://redirect.github.com/huiliangShen) in [https://github.com/vueuse/vueuse/issues/4192](https://redirect.github.com/vueuse/vueuse/issues/4192) [(7f25b)](https://redirect.github.com/vueuse/vueuse/commit/7f25b3a0) - **useFocusWithin**: Make useFocusWhithin match the behavior of the :focus-within - by [@ben-lau](https://redirect.github.com/ben-lau) in [https://github.com/vueuse/vueuse/issues/4134](https://redirect.github.com/vueuse/vueuse/issues/4134) [(c5407)](https://redirect.github.com/vueuse/vueuse/commit/c5407011) - **useInfiniteScroll**: Stop watch when unmounted - by [@zyyv](https://redirect.github.com/zyyv) in [https://github.com/vueuse/vueuse/issues/4110](https://redirect.github.com/vueuse/vueuse/issues/4110) [(f30cc)](https://redirect.github.com/vueuse/vueuse/commit/f30ccf08) - **useIntersectionObserver**: Add `Document` type for root - by [@phk422](https://redirect.github.com/phk422) in [https://github.com/vueuse/vueuse/issues/4210](https://redirect.github.com/vueuse/vueuse/issues/4210) [(6b584)](https://redirect.github.com/vueuse/vueuse/commit/6b584307) - **useMouseInElement**: Allow `el` to be instanceof Element - by [@FRSgit](https://redirect.github.com/FRSgit) in [https://github.com/vueuse/vueuse/issues/4189](https://redirect.github.com/vueuse/vueuse/issues/4189) [(4dcc2)](https://redirect.github.com/vueuse/vueuse/commit/4dcc2b7b) - **useNetwork**: Return immutable values - by [@rudnovd](https://redirect.github.com/rudnovd) in [https://github.com/vueuse/vueuse/issues/4187](https://redirect.github.com/vueuse/vueuse/issues/4187) [(99179)](https://redirect.github.com/vueuse/vueuse/commit/991793a7) - **useResizeObserver**: Update type - by [@phk422](https://redirect.github.com/phk422) in [https://github.com/vueuse/vueuse/issues/4218](https://redirect.github.com/vueuse/vueuse/issues/4218) [(044dd)](https://redirect.github.com/vueuse/vueuse/commit/044dd7ae) ##### [View changes on GitHub](https://redirect.github.com/vueuse/vueuse/compare/v11.0.3...v11.1.0) ### [`v11.0.3`](https://redirect.github.com/vueuse/vueuse/releases/tag/v11.0.3) [Compare Source](https://redirect.github.com/vueuse/vueuse/compare/v11.0.1...v11.0.3) ##### 🚀 Features - **templateRef**: Support specifying allowed keys via generic argument - by [@zhiyuanzmj](https://redirect.github.com/zhiyuanzmj) in [https://github.com/vueuse/vueuse/issues/4162](https://redirect.github.com/vueuse/vueuse/issues/4162) [(acce3)](https://redirect.github.com/vueuse/vueuse/commit/acce3bb3) ##### 🐞 Bug Fixes - **createSharedComposable**: Handle the case where the return value of composable function is empty - by [@XinXiaoIsMe](https://redirect.github.com/XinXiaoIsMe) in [https://github.com/vueuse/vueuse/issues/4151](https://redirect.github.com/vueuse/vueuse/issues/4151) [(a2441)](https://redirect.github.com/vueuse/vueuse/commit/a24411ed) - **useCssVar**: Replace getComputedStyle with direct style property access - by [@babu-ch](https://redirect.github.com/babu-ch) in [https://github.com/vueuse/vueuse/issues/4166](https://redirect.github.com/vueuse/vueuse/issues/4166) [(d0523)](https://redirect.github.com/vueuse/vueuse/commit/d0523dad) - **useDropZone**: Ensure files ref is updated even without onDrop callback - by [@babu-ch](https://redirect.github.com/babu-ch) in [https://github.com/vueuse/vueuse/issues/4168](https://redirect.github.com/vueuse/vueuse/issues/4168) [(1c849)](https://redirect.github.com/vueuse/vueuse/commit/1c849e2c) - **usePermission**: State setting - by [@ferferga](https://redirect.github.com/ferferga) in [https://github.com/vueuse/vueuse/issues/4167](https://redirect.github.com/vueuse/vueuse/issues/4167) [(2aaa1)](https://redirect.github.com/vueuse/vueuse/commit/2aaa1c23) - **useWebSocket**: Only reconnect if is the current ws socket - by [@freakbite](https://redirect.github.com/freakbite) in [https://github.com/vueuse/vueuse/issues/4161](https://redirect.github.com/vueuse/vueuse/issues/4161) [(e0e99)](https://redirect.github.com/vueuse/vueuse/commit/e0e99c85) - **useWebSocket**: Should reset retry count when connection is established - by [@freakbite](https://redirect.github.com/freakbite) in [https://github.com/vueuse/vueuse/issues/4164](https://redirect.github.com/vueuse/vueuse/issues/4164) [(3c2fc)](https://redirect.github.com/vueuse/vueuse/commit/3c2fc392) ##### [View changes on GitHub](https://redirect.github.com/vueuse/vueuse/compare/v11.0.1...v11.0.2) ### [`v11.0.1`](https://redirect.github.com/vueuse/vueuse/compare/v11.0.0...5a4224e269a7786e1748f11f97af6fa2255e7fa9) [Compare Source](https://redirect.github.com/vueuse/vueuse/compare/v11.0.0...v11.0.1) ### [`v11.0.0`](https://redirect.github.com/vueuse/vueuse/releases/tag/v11.0.0) [Compare Source](https://redirect.github.com/vueuse/vueuse/compare/v10.11.1...v11.0.0) ##### 🚨 Breaking Changes - **useChangeCase**: Migrate to `change-case@v5`, closes [#3457](https://redirect.github.com/vueuse/vueuse/issues/3457) - by [@wheatjs](https://redirect.github.com/wheatjs) and [@antfu](https://redirect.github.com/antfu) in [https://github.com/vueuse/vueuse/issues/3460](https://redirect.github.com/vueuse/vueuse/issues/3460) and [https://github.com/vueuse/vueuse/issues/3457](https://redirect.github.com/vueuse/vueuse/issues/3457) [(df343)](https://redirect.github.com/vueuse/vueuse/commit/df343afd) - **useFuse**: Upgrade `fuse.js` to v7 - by [@antfu](https://redirect.github.com/antfu) in [https://github.com/vueuse/vueuse/issues/4036](https://redirect.github.com/vueuse/vueuse/issues/4036) [(cb44c)](https://redirect.github.com/vueuse/vueuse/commit/cb44cee2) - **useIntersectionObserver**: Update the `threshold` default to 0 - by [@Alfred-Skyblue](https://redirect.github.com/Alfred-Skyblue) in [https://github.com/vueuse/vueuse/issues/4069](https://redirect.github.com/vueuse/vueuse/issues/4069) [(13e36)](https://redirect.github.com/vueuse/vueuse/commit/13e367c3) - **useJwt**: Upgrade `jwt-decode` to v4 - by [@root5427](https://redirect.github.com/root5427) and [@antfu](https://redirect.github.com/antfu) in [https://github.com/vueuse/vueuse/issues/3510](https://redirect.github.com/vueuse/vueuse/issues/3510) [(9037d)](https://redirect.github.com/vueuse/vueuse/commit/9037d60d) ##### 🚀 Features - **integrations**: Bump `drauu` and `universal-cookie` major version - by [@antfu](https://redirect.github.com/antfu) [(1c9ec)](https://redirect.github.com/vueuse/vueuse/commit/1c9ecb1c) - **useCssVars**: Remove property on null/undefined - by [@ferferga](https://redirect.github.com/ferferga) in [https://github.com/vueuse/vueuse/issues/3821](https://redirect.github.com/vueuse/vueuse/issues/3821) [(fe19c)](https://redirect.github.com/vueuse/vueuse/commit/fe19c747) - **useDateFormat**: Locales is now reactive - by [@OrbisK](https://redirect.github.com/OrbisK) and [@antfu](https://redirect.github.com/antfu) in [https://github.com/vueuse/vueuse/issues/3907](https://redirect.github.com/vueuse/vueuse/issues/3907) [(4a7a8)](https://redirect.github.com/vueuse/vueuse/commit/4a7a8ed9) - **useDraggable**: Add `buttons` option - by [@DrJonki](https://redirect.github.com/DrJonki) and [@antfu](https://redirect.github.com/antfu) in [https://github.com/vueuse/vueuse/issues/4084](https://redirect.github.com/vueuse/vueuse/issues/4084) [(e9938)](https://redirect.github.com/vueuse/vueuse/commit/e9938ea0) - **useElementBounding**: Add `updateTiming` option - by [@DerZade](https://redirect.github.com/DerZade) and [@antfu](https://redirect.github.com/antfu) in [https://github.com/vueuse/vueuse/issues/3869](https://redirect.github.com/vueuse/vueuse/issues/3869) [(0fa17)](https://redirect.github.com/vueuse/vueuse/commit/0fa179ec) - **useElementHover**: Add options to the directive - by [@userquin](https://redirect.github.com/userquin) and [@antfu](https://redirect.github.com/antfu) in [https://github.com/vueuse/vueuse/issues/3897](https://redirect.github.com/vueuse/vueuse/issues/3897) [(cf439)](https://redirect.github.com/vueuse/vueuse/commit/cf439ddf) - **useFocusTrap**: Support multiple refs - by [@Sma11X](https://redirect.github.com/Sma11X) in [https://github.com/vueuse/vueuse/issues/4022](https://redirect.github.com/vueuse/vueuse/issues/4022) [(83c41)](https://redirect.github.com/vueuse/vueuse/commit/83c4181b) - **useInfiniteScroll**: Add a reset method - by [@schelmo](https://redirect.github.com/schelmo) in [https://github.com/vueuse/vueuse/issues/3892](https://redirect.github.com/vueuse/vueuse/issues/3892) [(aefb6)](https://redirect.github.com/vueuse/vueuse/commit/aefb64fa) - **usePermission**: Add local-fonts permission - by [@seanmcbroom](https://redirect.github.com/seanmcbroom), [@antfu](https://redirect.github.com/antfu) and **autofix-ci\[bot]** in [https://github.com/vueuse/vueuse/issues/4098](https://redirect.github.com/vueuse/vueuse/issues/4098) [(5f584)](https://redirect.github.com/vueuse/vueuse/commit/5f584701) - **useResizeObserver**: Added `vResizeObserver` directive - by [@pkc918](https://redirect.github.com/pkc918) in [https://github.com/vueuse/vueuse/issues/4008](https://redirect.github.com/vueuse/vueuse/issues/4008) [(d4310)](https://redirect.github.com/vueuse/vueuse/commit/d4310871) - **useSpeechRecognition**: Support `maxAlternatives` option - by [@pkc918](https://redirect.github.com/pkc918) in [https://github.com/vueuse/vueuse/issues/4067](https://redirect.github.com/vueuse/vueuse/issues/4067) [(9eda8)](https://redirect.github.com/vueuse/vueuse/commit/9eda885f) - **useStorage**: Conditionally use event based on the used storage backend - by [@ferferga](https://redirect.github.com/ferferga) in [https://github.com/vueuse/vueuse/issues/3822](https://redirect.github.com/vueuse/vueuse/issues/3822) [(5a302)](https://redirect.github.com/vueuse/vueuse/commit/5a3024cb) - **useWebSocket**: Allow different heartbeat response message - by [@lavolpecheprogramma](https://redirect.github.com/lavolpecheprogramma) and [@antfu](https://redirect.github.com/antfu) in [https://github.com/vueuse/vueuse/issues/3950](https://redirect.github.com/vueuse/vueuse/issues/3950) [(adbe0)](https://redirect.github.com/vueuse/vueuse/commit/adbe0178) - **useWindowSize**: Add ability to get outer sizes of the window - by [@khawarizmus](https://redirect.github.com/khawarizmus) and [@antfu](https://redirect.github.com/antfu) in [https://github.com/vueuse/vueuse/issues/3999](https://redirect.github.com/vueuse/vueuse/issues/3999) [(bfba3)](https://redirect.github.com/vueuse/vueuse/commit/bfba3f3f) ##### 🐞 Bug Fixes - **computedWithControl**: Allow optional oldValue parameter in computedWithControl getter - by [@haoyun](https://redirect.github.com/haoyun) in [https://github.com/vueuse/vueuse/issues/4132](https://redirect.github.com/vueuse/vueuse/issues/4132) [(5725a)](https://redirect.github.com/vueuse/vueuse/commit/5725a581) - **isDefined**: Moves most specific overload to the top - by [@bjacobgordon-cy](https://redirect.github.com/bjacobgordon-cy) in [https://github.com/vueuse/vueuse/issues/4141](https://redirect.github.com/vueuse/vueuse/issues/4141) [(fd884)](https://redirect.github.com/vueuse/vueuse/commit/fd8842b0) - **until**: Cleanup at next tick to avoid memory leak - by [@Gianthard-cyh](https://redirect.github.com/Gianthard-cyh), [@antfu](https://redirect.github.com/antfu) and **delaneyb** in [https://github.com/vueuse/vueuse/issues/4039](https://redirect.github.com/vueuse/vueuse/issues/4039) [(8a023)](https://redirect.github.com/vueuse/vueuse/commit/8a023fe0) - **useChangeCase**: Use the exported key for filter - by [@thyngster](https://redirect.github.com/thyngster), **autofix-ci\[bot]** and [@antfu](https://redirect.github.com/antfu) in [https://github.com/vueuse/vueuse/issues/4130](https://redirect.github.com/vueuse/vueuse/issues/4130) [(5c598)](https://redirect.github.com/vueuse/vueuse/commit/5c598f15) - **useColorMode, useDark**: Fix full page reflows when calling useColorMode and useDark - by [@jpleclerc](https://redirect.github.com/jpleclerc), **Jean-Philippe Leclerc** and [@antfu](https://redirect.github.com/antfu) in [https://github.com/vueuse/vueuse/issues/4001](https://redirect.github.com/vueuse/vueuse/issues/4001) [(905b9)](https://redirect.github.com/vueuse/vueuse/commit/905b9702) - **useEventListener**: Event target can be an empty ref/getter - by [@floryst](https://redirect.github.com/floryst) in [https://github.com/vueuse/vueuse/issues/4014](https://redirect.github.com/vueuse/vueuse/issues/4014) [(edab6)](https://redirect.github.com/vueuse/vueuse/commit/edab62b3) - **useGamepad**: Handle case where hapticActuators is not present - by [@Aaron-zon](https://redirect.github.com/Aaron-zon) in [https://github.com/vueuse/vueuse/issues/4068](https://redirect.github.com/vueuse/vueuse/issues/4068) [(0ca13)](https://redirect.github.com/vueuse/vueuse/commit/0ca1341a) - **useMouseInElement**: `el.getBoundingClientRect` is not a function - by [@loongzhu](https://redirect.github.com/loongzhu) in [https://github.com/vueuse/vueuse/issues/4056](https://redirect.github.com/vueuse/vueuse/issues/4056) [(efe4d)](https://redirect.github.com/vueuse/vueuse/commit/efe4df89) - **useMutationObserver**: Stop watching before cleaning up - by [@pimlie](https://redirect.github.com/pimlie) in [https://github.com/vueuse/vueuse/issues/4037](https://redirect.github.com/vueuse/vueuse/issues/4037) [(489a9)](https://redirect.github.com/vueuse/vueuse/commit/489a9ff9) - **useResizeObserver**: Fix `target` is Ref Array - by [@Alfred-Skyblue](https://redirect.github.com/Alfred-Skyblue) and [@antfu](https://redirect.github.com/antfu) in [https://github.com/vueuse/vueuse/issues/4005](https://redirect.github.com/vueuse/vueuse/issues/4005) [(1c124)](https://redirect.github.com/vueuse/vueuse/commit/1c124276) - **useRouteHash, useRouteParams, useRouteQuery**: Fix effect triggering multiple times - by [@aethr](https://redirect.github.com/aethr) in [https://github.com/vueuse/vueuse/issues/4113](https://redirect.github.com/vueuse/vueuse/issues/4113) [(965bf)](https://redirect.github.com/vueuse/vueuse/commit/965bf051) - **useTextareaAutosize**: Improve `triggerResize` triggering - by [@Mutter45](https://redirect.github.com/Mutter45) and [@antfu](https://redirect.github.com/antfu) in [https://github.com/vueuse/vueuse/issues/4074](https://redirect.github.com/vueuse/vueuse/issues/4074) [(06c6f)](https://redirect.github.com/vueuse/vueuse/commit/06c6f37b) - **useWakeLock**: Should delay wake lock request if document is hidden - by [@KermanX](https://redirect.github.com/KermanX) in [https://github.com/vueuse/vueuse/issues/4055](https://redirect.github.com/vueuse/vueuse/issues/4055) [(5ca57)](https://redirect.github.com/vueuse/vueuse/commit/5ca57d07) - **watchDeep**: Unify overload declaration for watch functions - by [@KazariEX](https://redirect.github.com/KazariEX) and [@antfu](https://redirect.github.com/antfu) in [https://github.com/vueuse/vueuse/issues/4043](https://redirect.github.com/vueuse/vueuse/issues/4043) [(0716d)](https://redirect.github.com/vueuse/vueuse/commit/0716dfa1) ##### 🏎 Performance - **useAnimate**: Set `sync` false - by [@JianJroh](https://redirect.github.com/JianJroh), [@antfu](https://redirect.github.com/antfu) and **autofix-ci\[bot]** in [https://github.com/vueuse/vueuse/issues/3916](https://redirect.github.com/vueuse/vueuse/issues/3916) [(7b108)](https://redirect.github.com/vueuse/vueuse/commit/7b1082c7) ##### [View changes on GitHub](https://redirect.github.com/vueuse/vueuse/compare/v10.11.1...v11.0.0) ### [`v10.11.1`](https://redirect.github.com/vueuse/vueuse/releases/tag/v10.11.1) [Compare Source](https://redirect.github.com/vueuse/vueuse/compare/v10.11.0...v10.11.1) *No significant changes* ##### [View changes on GitHub](https://redirect.github.com/vueuse/vueuse/compare/v10.11.0...v10.11.1) ### [`v10.11.0`](https://redirect.github.com/vueuse/vueuse/releases/tag/v10.11.0) [Compare Source](https://redirect.github.com/vueuse/vueuse/compare/v10.10.1...v10.11.0) ##### 🐞 Bug Fixes - **integrations**: Specify major version of peerDeps - by [@antfu](https://redirect.github.com/antfu) [(2f67a)](https://redirect.github.com/vueuse/vueuse/commit/2f67ac72) ##### [View changes on GitHub](https://redirect.github.com/vueuse/vueuse/compare/v10.10.1...v10.11.0) ### [`v10.10.1`](https://redirect.github.com/vueuse/vueuse/releases/tag/v10.10.1) [Compare Source](https://redirect.github.com/vueuse/vueuse/compare/v10.10.0...v10.10.1) ##### 🚀 Features - **useFocus**: Support `preventScroll` option - by [@pkc918](https://redirect.github.com/pkc918) in [https://github.com/vueuse/vueuse/issues/3994](https://redirect.github.com/vueuse/vueuse/issues/3994) [(4d868)](https://redirect.github.com/vueuse/vueuse/commit/4d868f5e) ##### 🐞 Bug Fixes - **makeDestructurable**: Fix Typescript < 5.0.0 support - by [@brenoepics](https://redirect.github.com/brenoepics) in [https://github.com/vueuse/vueuse/issues/4028](https://redirect.github.com/vueuse/vueuse/issues/4028) [(842d7)](https://redirect.github.com/vueuse/vueuse/commit/842d7c98) - **useSpeechRecognition**: Send correct transcript result - by [@noook](https://redirect.github.com/noook) in [https://github.com/vueuse/vueuse/issues/3891](https://redirect.github.com/vueuse/vueuse/issues/3891) [(7c36f)](https://redirect.github.com/vueuse/vueuse/commit/7c36fe54) ##### [View changes on GitHub](https://redirect.github.com/vueuse/vueuse/compare/v10.10.0...v10.10.1) ### [`v10.10.0`](https://redirect.github.com/vueuse/vueuse/compare/v10.9.0...34c047bcc6a4da80c572f8b7896861cdcbdd4c5e) [Compare Source](https://redirect.github.com/vueuse/vueuse/compare/v10.9.0...v10.10.0)Configuration
📅 Schedule: Branch creation - "every weekend" (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.
This PR was generated by Mend Renovate. View the repository job log.