This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| @vueuse/core (source) | 9.3.0 -> 11.1.0 |
Release Notes
vueuse/vueuse (@​vueuse/core)
v11.1.0
v11.0.3
🚀 Features
- templateRef: Support specifying allowed keys via generic argument - by @zhiyuanzmj in https://github.com/vueuse/vueuse/issues/4162 <samp>(acce3)</samp>
🐞 Bug Fixes
- createSharedComposable: Handle the case where the return value of composable function is empty - by @XinXiaoIsMe in https://github.com/vueuse/vueuse/issues/4151 <samp>(a2441)</samp>
- useCssVar: Replace getComputedStyle with direct style property access - by @babu-ch in https://github.com/vueuse/vueuse/issues/4166 <samp>(d0523)</samp>
- useDropZone: Ensure files ref is updated even without onDrop callback - by @babu-ch in https://github.com/vueuse/vueuse/issues/4168 <samp>(1c849)</samp>
- usePermission: State setting - by @ferferga in https://github.com/vueuse/vueuse/issues/4167 <samp>(2aaa1)</samp>
- useWebSocket: Only reconnect if is the current ws socket - by @freakbite in https://github.com/vueuse/vueuse/issues/4161 <samp>(e0e99)</samp>
- useWebSocket: Should reset retry count when connection is established - by @freakbite in https://github.com/vueuse/vueuse/issues/4164 <samp>(3c2fc)</samp>
View changes on GitHub
v11.0.1
v11.0.0
🚨 Breaking Changes
- useChangeCase: Migrate to
change-case@v5, closes #3457 - by @wheatjs and @antfu in https://github.com/vueuse/vueuse/issues/3460 and https://github.com/vueuse/vueuse/issues/3457 <samp>(df343)</samp> - useFuse: Upgrade
fuse.jsto v7 - by @antfu in https://github.com/vueuse/vueuse/issues/4036 <samp>(cb44c)</samp> - useIntersectionObserver: Update the
thresholddefault to 0 - by @Alfred-Skyblue in https://github.com/vueuse/vueuse/issues/4069 <samp>(13e36)</samp> - useJwt: Upgrade
jwt-decodeto v4 - by @root5427 and @antfu in https://github.com/vueuse/vueuse/issues/3510 <samp>(9037d)</samp>
🚀 Features
- integrations: Bump
drauuanduniversal-cookiemajor version - by @antfu <samp>(1c9ec)</samp> - useCssVars: Remove property on null/undefined - by @ferferga in https://github.com/vueuse/vueuse/issues/3821 <samp>(fe19c)</samp>
- useDateFormat: Locales is now reactive - by @OrbisK and @antfu in https://github.com/vueuse/vueuse/issues/3907 <samp>(4a7a8)</samp>
- useDraggable: Add
buttonsoption - by @DrJonki and @antfu in https://github.com/vueuse/vueuse/issues/4084 <samp>(e9938)</samp> - useElementBounding: Add
updateTimingoption - by @DerZade and @antfu in https://github.com/vueuse/vueuse/issues/3869 <samp>(0fa17)</samp> - useElementHover: Add options to the directive - by @userquin and @antfu in https://github.com/vueuse/vueuse/issues/3897 <samp>(cf439)</samp>
- useFocusTrap: Support multiple refs - by @Sma11X in https://github.com/vueuse/vueuse/issues/4022 <samp>(83c41)</samp>
- useInfiniteScroll: Add a reset method - by @schelmo in https://github.com/vueuse/vueuse/issues/3892 <samp>(aefb6)</samp>
- usePermission: Add local-fonts permission - by @seanmcbroom, @antfu and autofix-ci[bot] in https://github.com/vueuse/vueuse/issues/4098 <samp>(5f584)</samp>
- useResizeObserver: Added
vResizeObserverdirective - by @pkc918 in https://github.com/vueuse/vueuse/issues/4008 <samp>(d4310)</samp> - useSpeechRecognition: Support
maxAlternativesoption - by @pkc918 in https://github.com/vueuse/vueuse/issues/4067 <samp>(9eda8)</samp> - useStorage: Conditionally use event based on the used storage backend - by @ferferga in https://github.com/vueuse/vueuse/issues/3822 <samp>(5a302)</samp>
- useWebSocket: Allow different heartbeat response message - by @lavolpecheprogramma and @antfu in https://github.com/vueuse/vueuse/issues/3950 <samp>(adbe0)</samp>
- useWindowSize: Add ability to get outer sizes of the window - by @khawarizmus and @antfu in https://github.com/vueuse/vueuse/issues/3999 <samp>(bfba3)</samp>
🐞 Bug Fixes
- computedWithControl: Allow optional oldValue parameter in computedWithControl getter - by @haoyun in https://github.com/vueuse/vueuse/issues/4132 <samp>(5725a)</samp>
- isDefined: Moves most specific overload to the top - by @bjacobgordon-cy in https://github.com/vueuse/vueuse/issues/4141 <samp>(fd884)</samp>
- until: Cleanup at next tick to avoid memory leak - by @Gianthard-cyh, @antfu and delaneyb in https://github.com/vueuse/vueuse/issues/4039 <samp>(8a023)</samp>
- useChangeCase: Use the exported key for filter - by @thyngster, autofix-ci[bot] and @antfu in https://github.com/vueuse/vueuse/issues/4130 <samp>(5c598)</samp>
- useColorMode, useDark: Fix full page reflows when calling useColorMode and useDark - by @jpleclerc, Jean-Philippe Leclerc and @antfu in https://github.com/vueuse/vueuse/issues/4001 <samp>(905b9)</samp>
- useEventListener: Event target can be an empty ref/getter - by @floryst in https://github.com/vueuse/vueuse/issues/4014 <samp>(edab6)</samp>
- useGamepad: Handle case where hapticActuators is not present - by @Aaron-zon in https://github.com/vueuse/vueuse/issues/4068 <samp>(0ca13)</samp>
- useMouseInElement:
el.getBoundingClientRectis not a function - by @loongzhu in https://github.com/vueuse/vueuse/issues/4056 <samp>(efe4d)</samp> - useMutationObserver: Stop watching before cleaning up - by @pimlie in https://github.com/vueuse/vueuse/issues/4037 <samp>(489a9)</samp>
- useResizeObserver: Fix
targetis Ref Array - by @Alfred-Skyblue and @antfu in https://github.com/vueuse/vueuse/issues/4005 <samp>(1c124)</samp> - useRouteHash, useRouteParams, useRouteQuery: Fix effect triggering multiple times - by @aethr in https://github.com/vueuse/vueuse/issues/4113 <samp>(965bf)</samp>
- useTextareaAutosize: Improve
triggerResizetriggering - by @Mutter45 and @antfu in https://github.com/vueuse/vueuse/issues/4074 <samp>(06c6f)</samp> - useWakeLock: Should delay wake lock request if document is hidden - by @KermanX in https://github.com/vueuse/vueuse/issues/4055 <samp>(5ca57)</samp>
- watchDeep: Unify overload declaration for watch functions - by @KazariEX and @antfu in https://github.com/vueuse/vueuse/issues/4043 <samp>(0716d)</samp>
🏎 Performance
- useAnimate: Set
syncfalse - by @JianJroh, @antfu and autofix-ci[bot] in https://github.com/vueuse/vueuse/issues/3916 <samp>(7b108)</samp>
View changes on GitHub
v10.11.1
No significant changes
View changes on GitHub
v10.11.0
🐞 Bug Fixes
- integrations: Specify major version of peerDeps - by @antfu <samp>(2f67a)</samp>
View changes on GitHub
v10.10.1
🚀 Features
- useFocus: Support
preventScrolloption - by @pkc918 in https://github.com/vueuse/vueuse/issues/3994 <samp>(4d868)</samp>
🐞 Bug Fixes
- makeDestructurable: Fix Typescript < 5.0.0 support - by @brenoepics in https://github.com/vueuse/vueuse/issues/4028 <samp>(842d7)</samp>
- useSpeechRecognition: Send correct transcript result - by @noook in https://github.com/vueuse/vueuse/issues/3891 <samp>(7c36f)</samp>
View changes on GitHub
v10.10.0
v10.9.0
🚀 Features
- whenever: Override once option - by @chizukicn in https://github.com/vueuse/vueuse/issues/3800 <samp>(bd946)</samp>
🐞 Bug Fixes
- useActiveElement/useFocusWithin: Replace computedWithControl with locally tracked ref - by @jaketig in https://github.com/vueuse/vueuse/issues/3815 <samp>(b1426)</samp>
- useClipboard: Fix issue when permission is not defined - by @Mister-Hope in https://github.com/vueuse/vueuse/issues/3812 <samp>(a9f02)</samp>
- useIDBKeyval: Use toRaw instead of overriding the original object - by @ferferga in https://github.com/vueuse/vueuse/issues/3805 <samp>(1b67d)</samp>
- useMounted: Compatible with vue2.7 - by @yanbowe in https://github.com/vueuse/vueuse/issues/3802 <samp>(ee297)</samp>
- useScrollLock: InitialOverflow is not working - by @BJ0815 in https://github.com/vueuse/vueuse/issues/3798 <samp>(74e86)</samp>
View changes on GitHub
v10.8.0
🚀 Features
- createInjectionState: InjectionKey use composable name - by @zhangxuyang950313 in https://github.com/vueuse/vueuse/issues/3788 <samp>(c2cfd)</samp>
- nuxt: Move to ESM-first and fix types - by @userquin in https://github.com/vueuse/vueuse/issues/3606 <samp>(b3d74)</samp>
- throttleFilter: Support object as argument - by @17359898647 and Anthony Fu in https://github.com/vueuse/vueuse/issues/3722 <samp>(66d09)</samp>
- useAxios: Support
abortPreviousoption - by @jahnli and @antfu in https://github.com/vueuse/vueuse/issues/3735 <samp>(b94de)</samp> - useBreakpoints: Enable passing ref or getter to get breakpoints - by @Doctor-wu in https://github.com/vueuse/vueuse/issues/3621 <samp>(d3317)</samp>
- useBreakpoints: Add
strategyoption to allow desktop-first convention - by @jack-allocate and @antfu in https://github.com/vueuse/vueuse/issues/3783 <samp>(15fc0)</samp> - useBreakpoints: Add
activegetter, add breakpoints for Vuetify v3 - by @altrusl, @Doctor-wu and @antfu in https://github.com/vueuse/vueuse/issues/3687 <samp>(3ae45)</samp> - useCurrentElement: Allow get current element from a specific component - by @linspw and @antfu in https://github.com/vueuse/vueuse/issues/3750 <samp>(0a9aa)</samp>
- useCycleList: Add
gofunction - by @Jokerzhzh and @antfu in https://github.com/vueuse/vueuse/issues/3615 <samp>(2ae36)</samp> - useDraggable: Add disabled parameter - by @huiliangShen and banruo in https://github.com/vueuse/vueuse/issues/3613 <samp>(dee9a)</samp>
- useEventSource: Add
autoReconnectandimmediateto options, update typings - by @schelmo in https://github.com/vueuse/vueuse/issues/3793 <samp>(b33ab)</samp> - useMutationObserver: Allow multiple targets - by @chirokas in https://github.com/vueuse/vueuse/issues/3741 <samp>(98fac)</samp>
- useParallax: Can work with different screen orientation - by @huiliangShen and banruo in https://github.com/vueuse/vueuse/issues/3675 <samp>(3fd94)</samp>
- useTextareaAutosize: Allow configuring
stylePropto support nativerowsattribute - by @yakudik, alexander.kudinov, Anthony Fu and @antfu in https://github.com/vueuse/vueuse/issues/3552 <samp>(5025e)</samp>
🐞 Bug Fixes
- Stricter types - by @antfu <samp>(a086e)</samp>
- createReusableTemplate: Improve types - by @louiss0, louiss0, Anthony Fu and @antfu in https://github.com/vueuse/vueuse/issues/3641 <samp>(75168)</samp>
- useAnimate: Immediate option set false not working - by @huiliangShen, banruo and Anthony Fu in https://github.com/vueuse/vueuse/issues/3763 <samp>(12c09)</samp>
- useCloned: Correct return type - by @17359898647 in https://github.com/vueuse/vueuse/issues/3711 <samp>(e262f)</samp>
- useCounter: Allow
deltato be negative - by @leewakin, @Doctor-wu and @antfu in https://github.com/vueuse/vueuse/issues/3650 <samp>(cf29c)</samp> - useDraggable: Avoid moving out of container - by @wangliangxin and wangliangxin3 in https://github.com/vueuse/vueuse/issues/3768 <samp>(55b94)</samp>
- useElementVisiblity: Can configurable threshold - by @huiliangShen and @Doctor-wu in https://github.com/vueuse/vueuse/issues/3715 <samp>(ce9bb)</samp>
- useFetch: Mark
isFinished,isFetchingreadonly - by @baboon-king and @antfu in https://github.com/vueuse/vueuse/issues/3616 <samp>(31d4a)</samp> - useFetch: Remove unnecessary spread operator in iterable conversion - by @BlackCrowxyz in https://github.com/vueuse/vueuse/issues/3660 <samp>(f5587)</samp>
- useFileSystemAccess: UpdateData on modified file - by @PhE in https://github.com/vueuse/vueuse/issues/3780 <samp>(668ca)</samp>
- useGamepad: Explicitly ensure gamepad index is available - by @AntoninRousset and AntoninRousset in https://github.com/vueuse/vueuse/issues/3653 <samp>(8c735)</samp>
- useGamepad: Improve data updating logic - by @okydk in https://github.com/vueuse/vueuse/issues/3775 <samp>(9b8ed)</samp>
- useMounted: Hold the instance, close #3785, close #3795 - by @antfu in https://github.com/vueuse/vueuse/issues/3785 and https://github.com/vueuse/vueuse/issues/3795 <samp>(2f66e)</samp>
- useRafFn: Fix
fpsLimitoption, fix #3481, close #3482 - by @antfu in https://github.com/vueuse/vueuse/issues/3481 and https://github.com/vueuse/vueuse/issues/3482 <samp>(69990)</samp> - useResizeObserver: Do not watch deep to avoid cicular calls - by @birdxiao, birdxiao and @antfu in https://github.com/vueuse/vueuse/issues/3753 <samp>(48421)</samp>
- useRouteParams,useRouteQuery: Set route param/query to undefined when null or defaultValue - by @mtdvlpr and @antfu in https://github.com/vueuse/vueuse/issues/3583 <samp>(c44fe)</samp>
- useScroll: Add
onErrorhook and avoid throws by default, fix #3580 - by @steklopod, @antfu and Brendo Maciel in https://github.com/vueuse/vueuse/issues/3605 and https://github.com/vueuse/vueuse/issues/3580 <samp>(fab86)</samp> - useStorage: Ensure setting value to null syncs to other instances - by @callumacrae and @antfu in https://github.com/vueuse/vueuse/issues/3737 <samp>(f7ea1)</samp>
- useUserMedia: Stop stream on scope dispose - by @Waleed-KH in https://github.com/vueuse/vueuse/issues/3757 <samp>(6d44d)</samp>
- useWebSocket: Reset
wsRefon close, fix #3706 - by @a982246809 and @Doctor-wu in https://github.com/vueuse/vueuse/issues/3707 and https://github.com/vueuse/vueuse/issues/3706 <samp>(9a47a)</samp> - useWebSocket:
immediateshould only be applied once, close #3676 - by @antfu in https://github.com/vueuse/vueuse/issues/3676 <samp>(93b96)</samp>
View changes on GitHub
v10.7.2
🐞 Bug Fixes
- computedEager: Adapt to changes in vue3.4+ - by @Doctor-wu in https://github.com/vueuse/vueuse/issues/3689 <samp>(b6d8f)</samp>
- nuxt: Move
nuxtout of dependencies - by @antfu <samp>(866a1)</samp> - useAxios: Ignore undefined options - by @geektheripper, @Doctor-wu, @antfu and Doctorwu in https://github.com/vueuse/vueuse/issues/3662 <samp>(37eae)</samp>
- useBattery: Fake signal API support in some utilities - by @tachibana-shin and @Doctor-wu in https://github.com/vueuse/vueuse/issues/3634 <samp>(30245)</samp>
- useDraggable: Can not work well when parent element is scrollable - by @huiliangShen and banruo in https://github.com/vueuse/vueuse/issues/3692 <samp>(bdd79)</samp>
- useStorageAsync: Correct ssr handler - by @Doctor-wu in https://github.com/vueuse/vueuse/issues/3703 <samp>(c197e)</samp>
- useTimeAgo: Support custom UnitNames type for units field - by @nickmessing and @Doctor-wu in https://github.com/vueuse/vueuse/issues/3684 <samp>(1d6be)</samp>
View changes on GitHub
v10.7.1
🚀 Features
- syncRef: Enhance type - by @Doctor-wu in https://github.com/vueuse/vueuse/issues/3678 <samp>(dad66)</samp>
🐞 Bug Fixes
- Fix
tryOnMountedin vue2 - by @Doctor-wu in https://github.com/vueuse/vueuse/issues/3658 <samp>(ce420)</samp> - nuxt: Stable optimizeDeps augmenting - by @antfu <samp>(98985)</samp>
- useDropzone: Avoid circular reference - by @diegopf in https://github.com/vueuse/vueuse/issues/3683 <samp>(15a38)</samp>
- useElementBounding: Trigger by css or style - by @huiliangShen in https://github.com/vueuse/vueuse/issues/3664 <samp>(70dbd)</samp>
- useIpcRenderer: Set explicit return type - by @antfu <samp>(dd820)</samp>
- useMouse: Handle Touch class compatibility for Firefox - by @elschilling in https://github.com/vueuse/vueuse/issues/3679 <samp>(5719b)</samp>
- useVirtualList: Ensure component applies overflow style - by @reubns in https://github.com/vueuse/vueuse/issues/3626 <samp>(286c3)</samp>
View changes on GitHub
v10.7.0
🚀 Features
- Upgrade deps - by @antfu in https://github.com/vueuse/vueuse/issues/3614 <samp>(fccf2)</samp>
- isIOS: Detect new iPad - by @Doctor-wu and @antfu in https://github.com/vueuse/vueuse/issues/3582 <samp>(47d2d)</samp>
- onLongPress: Add
distanceThresholdoption - by @donaldxdonald and @antfu in https://github.com/vueuse/vueuse/issues/3578 <samp>(0e04a)</samp> - tryOnMounted: Support target arguement - by @tolking and @antfu in https://github.com/vueuse/vueuse/issues/3185 <samp>(f2aeb)</samp>
- useBreakpoints: Make parameters reactivity - by @Doctor-wu in https://github.com/vueuse/vueuse/issues/3592 <samp>(dc624)</samp>
- useFileDialog: Trigger onChange when reset - by @Doctor-wu in https://github.com/vueuse/vueuse/issues/3548 <samp>(7e2da)</samp>
- useInfiniteScroll: Add the
canLoadMoreoption - by @Alfred-Skyblue in https://github.com/vueuse/vueuse/issues/3558 <samp>(e780f)</samp> - usePointerSwipe: Add
disableTextSelectoption - by @aminmokhtari94 in https://github.com/vueuse/vueuse/issues/3604 <samp>(fd67b)</samp> - useTitle: Restore title on unmounted - by @Doctor-wu and @antfu in https://github.com/vueuse/vueuse/issues/3570 <samp>(0ab76)</samp>
🐞 Bug Fixes
- createEventHook: Make createEventHook union type can be inferred correctly - by @Doctor-wu in https://github.com/vueuse/vueuse/issues/3569 <samp>(e48ca)</samp>
- createEventHook:
triggershould not ignore falsy values - by @romansp and @Alfred-Skyblue in https://github.com/vueuse/vueuse/issues/3561 <samp>(3733b)</samp> - syncRef: SyncRef typing issue for boolean - by @s-montigny-desautels in https://github.com/vueuse/vueuse/issues/3553 <samp>(acb2f)</samp>
- useAxios: Reset
isAbortedvalue on success - by @17359898647 and @antfu in https://github.com/vueuse/vueuse/issues/3547 <samp>(4b159)</samp> - useDark: In Vue 2.6 mode.system is undefined - by @Teaghy, hguan and @antfu in https://github.com/vueuse/vueuse/issues/3562 <samp>(68688)</samp>
- useDropZone: Fix file types filter - by @getname1997 and @antfu in https://github.com/vueuse/vueuse/issues/3540 <samp>(8f42a)</samp>
- useElementVisibility: Use last intersection entry - by @ziolko-appfire, Mateusz Zieliński and @antfu in https://github.com/vueuse/vueuse/issues/3365 <samp>(07d39)</samp>
- useFetch: Immediately modify the status after the request is completed - by @tolking and @antfu in https://github.com/vueuse/vueuse/issues/3603 <samp>(3456d)</samp>
- useFetch: Clone 'Response' on reading - by @mymx2 and @antfu in https://github.com/vueuse/vueuse/issues/3607 and https://github.com/vueuse/vueuse/issues/3608 <samp>(8cbfd)</samp>
- useMemoize: Use shallowReactive to wrap Map - by @antfu <samp>(fecbe)</samp>
- useMousePressed: Change type of element parameter to MaybeComputedElementRef - by @4350pChris in https://github.com/vueuse/vueuse/issues/3566 <samp>(17f97)</samp>
- useOffsetPagination: Don't mutate props when it's readonly - by @Doctor-wu in https://github.com/vueuse/vueuse/issues/3581 <samp>(4dace)</samp>
- useScreenOrientation: Add fault tolerance to lock and unlock - by @satrong in https://github.com/vueuse/vueuse/issues/3575 <samp>(be3cc)</samp>
- useStorage: Fix undefined defaults - by @Doctor-wu in https://github.com/vueuse/vueuse/issues/3597 <samp>(04220)</samp>
View changes on GitHub
v10.6.1
🐞 Bug Fixes
- useScroll: Can not read properties of null (reading document) - by @Jokerzhzh and @joaopslins in https://github.com/vueuse/vueuse/issues/3544 <samp>(e9742)</samp>
- useVirtualList:
.stylecan be undefined - by @antfu <samp>(3d6b9)</samp>
View changes on GitHub
v10.6.0
🚀 Features
- createEventHook: Allow trigger to optionally have no parameters - by @curtgrimes in https://github.com/vueuse/vueuse/issues/3507 <samp>(6040e)</samp>
- onLongClick: Return stop function - by @its-lee and lee in https://github.com/vueuse/vueuse/issues/3506 <samp>(8eb0b)</samp>
- syncRef: Enhance syncRef type restrict - by @Doctor-wu in https://github.com/vueuse/vueuse/issues/3515 <samp>(89266)</samp>
- useClipboard: UseClipboard component - by @alexzvn, Alexzvn and @antfu in https://github.com/vueuse/vueuse/issues/3359 <samp>(71b46)</samp>
- useClipboardItems: New function - by @Doctor-wu and @antfu in https://github.com/vueuse/vueuse/issues/3477 <samp>(1aa50)</samp>
- useDateFormat: Add date ordinal formatting - by @Jokerzhzh and @antfu in https://github.com/vueuse/vueuse/issues/3474 <samp>(61ceb)</samp>
- useDropZone: Add
dataTypesoption - by @rtugeek and @antfu in https://github.com/vueuse/vueuse/issues/3471 <samp>(3f3f1)</samp> - useElementSize: Stop function - by @chaii3 and @antfu in https://github.com/vueuse/vueuse/issues/3367 <samp>(5f545)</samp>
- useFileDialog: Add directory parameters - by @huiliangShen and banruo in https://github.com/vueuse/vueuse/issues/3513 <samp>(cefca)</samp>
- useMutationObserver: Add
takeRecordsfunction - by @Alfred-Skyblue in https://github.com/vueuse/vueuse/issues/3480 <samp>(f9136)</samp> - useStorage: Add
waitOnMountedoption for SSR - by @posva and @antfu in https://github.com/vueuse/vueuse/issues/3504 <samp>(dc6f2)</samp> - useWindowScroll: Allow rewriting back to scroll - by @nothing-sy, chensiyuan and @antfu in https://github.com/vueuse/vueuse/issues/3500 <samp>(931b2)</samp>
- watchOnce: Return function for manual watcher stopping - by @valerypatorius in https://github.com/vueuse/vueuse/issues/3475 <samp>(bb0a7)</samp>
🐞 Bug Fixes
- onClickOutside: Adjust shouldListen handling timing - by @Doctor-wu in https://github.com/vueuse/vueuse/issues/3503 <samp>(69851)</samp>
- onScrollLock: Cache the el initial overflow value - by @Doctor-wu in https://github.com/vueuse/vueuse/issues/3527 <samp>(03866)</samp>
- useAxios: Bail out on request abort - by @jahnli in https://github.com/vueuse/vueuse/issues/3394 <samp>(151f9)</samp>
- useClipboard: Use legacy way when without permission - by @Cat1007, catye, @posva and @antfu in https://github.com/vueuse/vueuse/issues/3379 <samp>(37e86)</samp>
- useDraggable: Element can't relative parent element move - by @huiliangShen and banruo in https://github.com/vueuse/vueuse/issues/3531 <samp>(08246)</samp>
- useElementSize: Get value in onMounted hook - by @chaii3 and @antfu in https://github.com/vueuse/vueuse/issues/3366 <samp>(165c8)</samp>
- useFetch: Don't set isFetching to false when a request is aborted because of a refetch - by @mweghorst and @antfu in https://github.com/vueuse/vueuse/issues/3479 <samp>(75ca2)</samp>
- useMouseInElement: Optimize outside computation - by @qiYuei, fengmingjian and @antfu in https://github.com/vueuse/vueuse/issues/3380 <samp>(7c88d)</samp>
- useRouteQuery,useRouteParams: Prevent reset on other scope dispose - by @s-montigny-desautels and @antfu in https://github.com/vueuse/vueuse/issues/3418 <samp>(771e7)</samp>
- useScroll: Trigger once
onMountedto get correct inital arrivedStates values - by @nicooprat and @antfu in https://github.com/vueuse/vueuse/issues/3384 <samp>(86bd8)</samp> - useSortable: Prevent from creating multi instances - by @Doctor-wu in https://github.com/vueuse/vueuse/issues/3501 <samp>(d9846)</samp>
- useStorage: Fix defaults not unwrapped - by @Alfred-Skyblue in https://github.com/vueuse/vueuse/issues/3534 <samp>(b6d2b)</samp>
- useWebSocket: Webworker support - by @binary-signal and @antfu in https://github.com/vueuse/vueuse/issues/3469 <samp>(9b014)</samp>
View changes on GitHub
v10.5.0
🚀 Features
- Add
Promisifytype definition - by @Alfred-Skyblue in https://github.com/vueuse/vueuse/issues/3420 <samp>(b067b)</samp> - createInjectionState: Allow provide and inject in same component - by @xiaoxiangmoe and @antfu in https://github.com/vueuse/vueuse/issues/3387 <samp>(5d948)</samp>
- createInjectionState: Add injectionKey option - by @PPetau and @antfu in https://github.com/vueuse/vueuse/issues/3404 <samp>(90d34)</samp>
- rxjs: Add useExtractedObservable and watchExtractedObservable - by @Voltra in https://github.com/vueuse/vueuse/issues/3453 <samp>(23b8c)</samp>
- useFavicon: Add link tag if it doesn't exist - by @babu-ch in https://github.com/vueuse/vueuse/issues/3444 <samp>(d1fcc)</samp>
- useMousePressed: Add capture option - by @DerZade and @antfu in https://github.com/vueuse/vueuse/issues/3392 <samp>(d5c81)</samp>
- useMutationObserver: Use Mayb
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), 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 was generated by Mend Renovate. View the repository job log.