This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| @vueuse/shared (source) | ^9.3.0 -> ^10.11.1 |
Release Notes
vueuse/vueuse (@​vueuse/shared)
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
🚀 Features
- createInjectionState: Add defaultValue option - by @melishev in https://github.com/vueuse/vueuse/issues/3902 <samp>(fb468)</samp>
- makeDestructurable: Support parameters without
as const- by @enpitsuLin in https://github.com/vueuse/vueuse/issues/3971 <samp>(4ea13)</samp> - nuxt: Add router addon to nuxt module - by @Coiggahou2002 and rorycai in https://github.com/vueuse/vueuse/issues/3975 <samp>(2a77f)</samp>
- onLongPress:
options.onMouseUpcallback - by @noook and Anthony Fu in https://github.com/vueuse/vueuse/issues/3791 <samp>(7346a)</samp> - useActiveElement: Add
triggerOnRemovaloption - by @alexzhang1030 and @antfu in https://github.com/vueuse/vueuse/issues/3958 <samp>(f3515)</samp> - useEventSource: Return
lastEventId- by @pkc918 in https://github.com/vueuse/vueuse/issues/3984 <samp>(29bc6)</samp> - useTimeout: Target support reactivity - by @huiliangShen and banruo in https://github.com/vueuse/vueuse/issues/3923 <samp>(4eede)</samp>
- useWebWorkerFn: Support local function dependencies - by @thefeymesaleng in https://github.com/vueuse/vueuse/issues/3899 <samp>(f4028)</samp>
🐞 Bug Fixes
- nuxt: Opt in to
import.meta.*properties - by @danielroe in https://github.com/vueuse/vueuse/issues/3888 <samp>(1558c)</samp> - useAnimate:
commitStyleswhen finish - by @a1mersnow in https://github.com/vueuse/vueuse/issues/3990 <samp>(fba4e)</samp> - useDisplayMedia: Stop stream when screen is not shared anymore - by @robertrosman in https://github.com/vueuse/vueuse/issues/3976 <samp>(a3c6f)</samp>
- useDraggable: Should ignore right clicks - by @Justineo in https://github.com/vueuse/vueuse/issues/3850 <samp>(9f10a)</samp>
- useElementSize: Use getBoundingClientRect get element size on SVG - by @siaikin in https://github.com/vueuse/vueuse/issues/3940 <samp>(d8015)</samp>
- useFileDialog: Check if input value exists before trigger onChange - by @jinkaiqin in https://github.com/vueuse/vueuse/issues/3972 <samp>(424a2)</samp>
- useGamepad: Avoid spread to fix gamepad state - by @yue4u in https://github.com/vueuse/vueuse/issues/3913 <samp>(2ccbd)</samp>
- useMediaControls: Target params may not be ref - by @huiliangShen in https://github.com/vueuse/vueuse/issues/3921 <samp>(1fe2f)</samp>
- useMounted: The second argument in vue2.7 should be
undefined- by @yanbowe, @antfu and Glandos in https://github.com/vueuse/vueuse/issues/3830 <samp>(7966b)</samp> - useRouteParams: Support optional params - by @huiliangShen in https://github.com/vueuse/vueuse/issues/3934 <samp>(4a882)</samp>
- useScroll: Sync scroll val to internal state, fix #3809 - by @kongmoumou in https://github.com/vueuse/vueuse/issues/3817 and https://github.com/vueuse/vueuse/issues/3809 <samp>(317ca)</samp>
- useScrollLock: Function unlock does not work - by @loongzhu in https://github.com/vueuse/vueuse/issues/3847 <samp>(d9ee4)</samp>
- useTextareaAutosize: OnResize callback fires not only on resize - by @huiliangShen and banruo in https://github.com/vueuse/vueuse/issues/3887 <samp>(a6ede)</samp>
- useVirtualList: Add containerRef to watch list - by @eliamartani in https://github.com/vueuse/vueuse/issues/3855 <samp>(4636f)</samp>
- useWebNotification: Detect
isSupportedwith try-catch - by @9romise in https://github.com/vueuse/vueuse/issues/3980 <samp>(b291c)</samp> - useWebSocket: UrlRef changes were not being tracked - by @ferferga in https://github.com/vueuse/vueuse/issues/3870 <samp>(c2f92)</samp>
View changes on GitHub
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 MaybeComputedElementRef - by @huodoushigemi in https://github.com/vueuse/vueuse/issues/3430 <samp>(8167b)</samp>
- useRafFn: Option fpsLimit - by @f820602h and @antfu in https://github.com/vueuse/vueuse/issues/3459 <samp>(8e4c0)</samp>
🐞 Bug Fixes
- Vue 2 support for provideLocal and injectLocal - by @xiaoxiangmoe in https://github.com/vueuse/vueuse/issues/3464 <samp>(cf757)</samp>
- useBreakpoints: Add missing breakpoint for the bootstrap - by @edtorba in https://github.com/vueuse/vueuse/issues/3413 <samp>(ec9a4)</samp>
- useDrauu: Spread options for
brush- by @17359898647 in https://github.com/vueuse/vueuse/issues/3463 <samp>(87ea3)</samp> - useVModels: Type error with passive: true - by @chaii3 in https://github.com/vueuse/vueuse/issues/3362 <samp>(51f01)</samp>
- useWebNotification: Condition check on permission - by @SampsonCrowley in https://github.com/vueuse/vueuse/issues/3422 <samp>(2f2b4)</samp>
- useWebSocket: Ssr support - by @huangyan321 in https://github.com/vueuse/vueuse/issues/3370 <samp>(c3a69)</samp>
View changes on GitHub
v10.4.1
🐞 Bug Fixes
- Transpile target to
es2018, close #3349 - by @antfu in https://github.com/vueuse/vueuse/issues/3349 <samp>(0e4a5)</samp> - useEventListener: Immutable options on removal, close #2825 - by @antfu in https://github.com/vueuse/vueuse/issues/3346 and https://github.com/vueuse/vueuse/issues/2825 <samp>(3ef59)</samp>
View changes on GitHub
v10.4.0
🚀 Features
- refAutoReset: Support maybe-ref as value - by @moander in https://github.com/vueuse/vueuse/issues/3342 <samp>(71685)</samp>
- useAsyncQueue: Support in infinite tasks in typescript - by @ethansnow2012 in https://github.com/vueuse/vueuse/issues/3333 <samp>(22e26)</samp>
- useBreakpoints: Add breakpoints for PrimeFlex - by @adrianrudnik and @antfu in https://github.com/vueuse/vueuse/issues/3317 <samp>(8b5ed)</samp>
- useDraggable: Allowing calculations of bounds with fixed element - by @linspw in https://github.com/vueuse/vueuse/issues/3335 <samp>(c08e5)</samp>
- useFetch: Introduce
updateDataOnErroroption - by @climba03003 and @antfu in https://github.com/vueuse/vueuse/issues/3092 <samp>(945ca)</samp> - useIdbKeyval: Ability to wait for IDB writes - by @AbdallahAlhaddad and @antfu in https://github.com/vueuse/vueuse/issues/3338 <samp>(77a86)</samp>
- useWebNotification: Add
requestPermissionsoption, returnpermissionGrantedandensurePermissions- by @michealroberts and @antfu in https://github.com/vueuse/vueuse/issues/3325 <samp>(a1753)</samp>
🐞 Bug Fixes
- syncRef: Avoid infinite sync - by @chaii3 and @antfu in https://github.com/vueuse/vueuse/issues/3312 <samp>(bc966)</samp>
- useElementSize: Add
asprop for component usage - by @menghany in https://github.com/vueuse/vueuse/issues/3274 <samp>(791f7)</samp> - useElementVisibility: Adjust threshold to 0 to fix visibility issue with large element - by @erikkkwu in https://github.com/vueuse/vueuse/issues/3308 <samp>(429ed)</samp>
- useFileSystemAccess: Make options to be optional - by @171h in https://github.com/vueuse/vueuse/issues/3320 <samp>(a9c8b)</samp>
- useMouse: Position won't be changed on page scroll when
typeispage, closes #2922 - by @CatsJuice and @antfu in https://github.com/vueuse/vueuse/issues/3244 and https://github.com/vueuse/vueuse/issues/2922 <samp>(c2f64)</samp> - useScroll: Evade edge case when window or document is Proxy - by @MinatoHikari in https://github.com/vueuse/vueuse/issues/3280 <samp>(c1b29)</samp>
- useScrollLock: Support using window or document - by @lzl0304 in https://github.com/vueuse/vueuse/issues/3319 <samp>(8acdb)</samp>
- useSortable: Fixed moveArrayElement repeatedly triggering side effects - by @Alfred-Skyblue in https://github.com/vueuse/vueuse/issues/3322 <samp>(b8515)</samp>
- useStorage: Read object only when it's serialized differently - by @chenglu4343, chenglu and @antfu in https://github.com/vueuse/vueuse/issues/2782 and https://github.com/vueuse/vueuse/issues/3091 <samp>(6fabe)</samp>
- useVModel: Clone set to true triggered infinite loop - by @motian and @antfu in https://github.com/vueuse/vueuse/issues/3097 <samp>(48f4c)</samp>
- useWebWorker: Prevent error event bubbling - by @Luvoy and @antfu in https://github.com/vueuse/vueuse/issues/3141 <samp>(34206)</samp>
- useWebsocket: PongTimeout auto-reconnect no work - by @shanyi-front and @antfu in https://github.com/vueuse/vueuse/issues/3321 <samp>(93372)</samp>
- useWebsocket: Reset pongTimeout on close - by @alipay404 and @antfu in [https://github.com/vueuse/vueuse/issues/3324](https://togithub.com/vueuse/vueuse/is
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.