This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| @vueuse/core | 8.5.0 -> 9.13.0 |
Release Notes
vueuse/vueuse
v9.13.0
🚀 Features
- useArrayFindLast: New function - by @huynl-96 in https://github.com/vueuse/vueuse/issues/2471 <samp>(b0ac4)</samp>
- useAsyncState: Get a promise function parameter type declaration - by @Brain777777 in https://github.com/vueuse/vueuse/issues/2765 <samp>(b4c63)</samp>
- useAxios: Add success and error callbacks - by @Alfred-Skyblue in https://github.com/vueuse/vueuse/issues/2714 <samp>(809fc)</samp>
- useClamp: Composable computed usage improvements - by @ClemDee and @antfu in https://github.com/vueuse/vueuse/issues/2696 <samp>(08a07)</samp>
- useElementHover: Give hook delay properties - by @LockingReal and @antfu in https://github.com/vueuse/vueuse/issues/2741 <samp>(23283)</samp>
- useEventListener: Support reactive options - by @antfu <samp>(103d6)</samp>
- useFetch: Cancel previous request on refetch - by @Alfred-Skyblue and 丶远方 in https://github.com/vueuse/vueuse/issues/2750 <samp>(cd9d6)</samp>
- useInterval: Add
resetfunction - by @mohammadhosry and Mohammad Agbareya in https://github.com/vueuse/vueuse/issues/2686 <samp>(81db6)</samp> - useMutationObserver: Added test cases - by @Alfred-Skyblue in https://github.com/vueuse/vueuse/issues/2734 <samp>(192c8)</samp>
- useScroll: Support scrollend event - by @kongmoumou in https://github.com/vueuse/vueuse/issues/2716 <samp>(f8872)</samp>
- useSpeechSynthesis: Add
stopfunction - by @zwkkwz1 in https://github.com/vueuse/vueuse/issues/2774 <samp>(820e2)</samp>
🐞 Bug Fixes
- useAsyncValidator: Fix Schema importing from async-validator - by @theruziev and @okxiaoliang4 in https://github.com/vueuse/vueuse/issues/2761 <samp>(dbcdb)</samp>
- useAxios: Fix cancelToken - by @Alfred-Skyblue and 丶远方 in https://github.com/vueuse/vueuse/issues/2728 <samp>(7ad51)</samp>
- useDevicePixelRatio: Remove unnecessary cleanup - by @Waleed-KH and @antfu in https://github.com/vueuse/vueuse/issues/2325 <samp>(83feb)</samp>
- useFetch: Check if it's object for
isFetchOptions- by @antfu <samp>(c2bc6)</samp> - useFocus: Listen
focusandblurto thetargetElement- by @okxiaoliang4 in https://github.com/vueuse/vueuse/issues/2631 <samp>(7cd88)</samp> - useInterval: Fix types - by @antfu <samp>(db66c)</samp>
- useScrollLock: Detect parent with overflow auto - by @dpschen in https://github.com/vueuse/vueuse/issues/2699 <samp>(7e590)</samp>
- useStorage: Emit a custom event to support custom storage areas - by @43081j and @okxiaoliang4 in https://github.com/vueuse/vueuse/issues/2630 <samp>(c6185)</samp>
- useStorageAsync: Handle mergeDefaults option - by @ModyQyW in https://github.com/vueuse/vueuse/issues/2773 <samp>(105f4)</samp>
- useThrottleFn: Check negative timeout - by @vaakian in https://github.com/vueuse/vueuse/issues/2620 <samp>(a7238)</samp>
- useWindowScroll: Use
scrollXinstead ofpageXOffset- by @okxiaoliang4 in https://github.com/vueuse/vueuse/issues/2776 <samp>(e490a)</samp>
View changes on GitHub
v9.12.0
🚀 Features
- usePrevious: New function - by @antfu <samp>(e101f)</samp>
- useRafFn, useIntervalFn, useTimeoutFn: Make status readonly - by @rotu in https://github.com/vueuse/vueuse/issues/2685 <samp>(39183)</samp>
- useWebSocket: Allow undefined ref for url - by @ferferga in https://github.com/vueuse/vueuse/issues/2473 <samp>(13924)</samp>
🐞 Bug Fixes
- useElementSize: Use contentBoxSize as an array in useElementSize - by @threedayAAAAA and vaakian X in https://github.com/vueuse/vueuse/issues/2520 <samp>(30475)</samp>
- useElementSize: Fix incorrect element size on SVG - by @Lionad-Morotar, @wheatjs and @antfu in https://github.com/vueuse/vueuse/issues/2661 <samp>(902b3)</samp>
- useMediaControls: Ended status not updating - by @ferferga in https://github.com/vueuse/vueuse/issues/2680 <samp>(4ef27)</samp>
- useMouseInElement: Check if mouse out of window - by @chaii3 and @antfu in https://github.com/vueuse/vueuse/issues/2458 <samp>(54f4e)</samp>
- usePrecision: Fix return type - by @ClemDee in https://github.com/vueuse/vueuse/issues/2676 <samp>(e331b)</samp>
- useTimeoutFn: Respect callback parameters in start function - by @wvffle in https://github.com/vueuse/vueuse/issues/2693 <samp>(e054a)</samp>
View changes on GitHub
v9.11.1
🚀 Features
- nuxt: Add metadata to auto import - by @antfu <samp>(eee12)</samp>
View changes on GitHub
v9.11.0
🚀 Features
- computedAsync: Introduce
shadowoption - by @xiankaiqun in https://github.com/vueuse/vueuse/issues/2616 <samp>(a0656)</samp> - createInjectionState: Return state when providing injection state - by @Tanimodori and lsdsjy in https://github.com/vueuse/vueuse/issues/2309 <samp>(f7ce6)</samp>
- reactivePick: Add test cases - by @Alfred-Skyblue, 丶远方 and @wheatjs in https://github.com/vueuse/vueuse/issues/2653 <samp>(b06b8)</samp>
- useAsyncState: Add test cases - by @Alfred-Skyblue and @wheatjs in https://github.com/vueuse/vueuse/issues/2657 <samp>(5907f)</samp>
- usePointerLock: New function - by @daniser, Sergey Danilchenko, Jelf and @wheatjs in https://github.com/vueuse/vueuse/issues/2590 <samp>(ae69f)</samp>
- useThrottleFn: Add test cases - by @Alfred-Skyblue in https://github.com/vueuse/vueuse/issues/2649 <samp>(85ab1)</samp>
🐞 Bug Fixes
- Nuxt3 implementation - by @roiLeo in https://github.com/vueuse/vueuse/issues/2644 <samp>(8f6ce)</samp>
- components: Mark
defineComponentas pure - by @vaakian and @wheatjs in https://github.com/vueuse/vueuse/issues/2623 <samp>(d5321)</samp> - docs: Remove unnecessary import - by @yuyinws in https://github.com/vueuse/vueuse/issues/2611 <samp>(7a2ff)</samp>
- useAxios: Assign AxiosError to error.value when no url provided - by @syy11cn and @wheatjs in https://github.com/vueuse/vueuse/issues/2478 and https://github.com/vueuse/vueuse/issues/2484 <samp>(1e270)</samp>
- useDraggable: Write to useStorage - by @akifo in https://github.com/vueuse/vueuse/issues/2575 <samp>(e39c2)</samp>
- useElementByPoint: Make document configurable - by @vaakian in https://github.com/vueuse/vueuse/issues/2614 <samp>(c3639)</samp>
- useRouteQuery: Allow setting multiple route queries in same tick - by @wheatjs in https://github.com/vueuse/vueuse/issues/2646 <samp>(07c95)</samp>
- useVirtualList: List sometimes missing elements - by @begedin and @wheatjs in https://github.com/vueuse/vueuse/issues/2477 <samp>(25f6e)</samp>
View changes on GitHub
v9.10.0
🚀 Features
- useActiveElement: Support shadow roots - by @43081j and @antfu in https://github.com/vueuse/vueuse/issues/2592 <samp>(07f20)</samp>
- useArrayUnique: New function - by @Alfred-Skyblue in https://github.com/vueuse/vueuse/issues/2597 <samp>(162cd)</samp>
- useDebounceFn,useThrottleFn: Return result using promise - by @vaakian in https://github.com/vueuse/vueuse/issues/2580 <samp>(4d305)</samp>
- useMouse: Support for movement detection - by @daniser and Sergey Danilchenko in https://github.com/vueuse/vueuse/issues/2589 <samp>(0c39d)</samp>
- useVirutalList: Expose
scrollToin component - by @Agapanthus and Eric Skaliks in https://github.com/vueuse/vueuse/issues/2397 <samp>(9f495)</samp>
🐞 Bug Fixes
- nuxt: Disable useImage in the Nuxt package for auto imports - by @wheatjs in https://github.com/vueuse/vueuse/issues/2602 <samp>(d3d1d)</samp>
- onKeyStroke: Make
targetref nullable - by @vaakian in https://github.com/vueuse/vueuse/issues/2579 <samp>(28614)</samp> - useActiveElement: Ignore if relatedTarget is set - by @dpschen in https://github.com/vueuse/vueuse/issues/2600 <samp>(ae78d)</samp>
- useElementBounding: Update on scroll - by @Ducz01 and sibbng in https://github.com/vueuse/vueuse/issues/2596 <samp>(268a6)</samp>
- useScrollLock: Fix iOS touchmove bug - by @robinscholz, Robin Scholz, webfansplz and @antfu in https://github.com/vueuse/vueuse/issues/2362 <samp>(c9a9a)</samp>
View changes on GitHub
v9.9.0
🚀 Features
- useAsyncState: Add onSuccess callbacks - by @Alfred-Skyblue in https://github.com/vueuse/vueuse/issues/2562 <samp>(ed64f)</samp>
🐞 Bug Fixes
- formatTimeAgo: Typo
foramtTimeAgo->formatTimeAgo- by @QGIsK in https://github.com/vueuse/vueuse/issues/2568 <samp>(bb0fd)</samp> - useFetch: Doesn't work with formData payload - by @abitwhy in https://github.com/vueuse/vueuse/issues/2440 <samp>(000fd)</samp>
View changes on GitHub
v9.8.2
🐞 Bug Fixes
- useStorage: Sync within page, close #1595 - by @antfu in https://github.com/vueuse/vueuse/issues/1595 <samp>(800f7)</samp>
View changes on GitHub
v9.8.1
🐞 Bug Fixes
- useStorage: Resume the watch after setting the value, fix loop updates - by @antfu <samp>(c3851)</samp>
View changes on GitHub
v9.8.0
🚀 Features
- extendRef: Support 2.7, close #2340 - by @antfu in https://github.com/vueuse/vueuse/issues/2340 <samp>(8c82e)</samp>
- onClickOutside: Allow selector strings for ignore list - by @sibbng and @antfu in https://github.com/vueuse/vueuse/issues/2439 <samp>(7b3db)</samp>
- useTimeAgo: Non-reactive version
formatTimeAgo- by @antfu <samp>(9293c)</samp>
🐞 Bug Fixes
- onClickOutside: Apply ignore list on keyboard clicks - by @sibbng in https://github.com/vueuse/vueuse/issues/2438 <samp>(12e21)</samp>
- useTimeAgo: Rounding unit fallback - by @antfu <samp>(f40a0)</samp>
View changes on GitHub
v9.7.0
🚀 Features
- createEeventHook: Auto dispose - by @ARZarkesh and @antfu in https://github.com/vueuse/vueuse/issues/2518 <samp>(fdd4d)</samp>
- useBreakpoints: Add breakpoints for Master CSS - by @imsus in https://github.com/vueuse/vueuse/issues/2529 <samp>(30c5b)</samp>
- useRafFn: Add
deltaandtimestamp- by @innocenzi in https://github.com/vueuse/vueuse/issues/2493 <samp>(692d0)</samp> - useTimeAgo: Add
floorandceilvalue calculation - by @userquin and @antfu in https://github.com/vueuse/vueuse/issues/2543 <samp>(a7dc6)</samp> - useTimeAgo: Custom units, number rounding - by @antfu <samp>(324de)</samp>
🐞 Bug Fixes
- Reference - by @antfu <samp>(ea497)</samp>
- useActiveElement: Ignore blur for relatedTarget - by @dpschen in https://github.com/vueuse/vueuse/issues/2540 <samp>(88b44)</samp>
- useDraggable: Use
clientXinstead ofpageX, close #2053 - by @stefnotch in https://github.com/vueuse/vueuse/issues/2054 and https://github.com/vueuse/vueuse/issues/2053 <samp>(c9186)</samp> - useGeolocation: Implement immediate option - by @ebisbe in https://github.com/vueuse/vueuse/issues/2472 <samp>(161fd)</samp>
- useIntervalFn: Watch computed refs instead of just refs - by @innocenzi in https://github.com/vueuse/vueuse/issues/2539 <samp>(8bb7b)</samp>
- useMagicKeys: Also clear 'current' on @focus - by @hartmut <samp>(@blur)</samp>
- useStyleTag: Allow multiline CSS - by @jameswragg in https://github.com/vueuse/vueuse/issues/2476 <samp>(cfcc2)</samp>
- useTextareaAutosize: Support changes of element width - by @dpschen in https://github.com/vueuse/vueuse/issues/2541 <samp>(ebd48)</samp>
- useTimeAgo: Add
showSecondprop to component - by @CS-Birb in https://github.com/vueuse/vueuse/issues/2547 <samp>(0c333)</samp> - useWindowScroll: Use configured window onScroll - by @94726 in https://github.com/vueuse/vueuse/issues/2545 <samp>(5df0a)</samp>
View changes on GitHub
v9.6.0
🐞 Bug Fixes
- onClickOutside: Call handler if
clickevent is fired by a keypress - by @sibbng in https://github.com/vueuse/vueuse/issues/2426 <samp>(ff96d)</samp> - ssr-plugin: Use useHead instead of useMeta - by @daniil4udo in https://github.com/vueuse/vueuse/issues/2449 <samp>(01c28)</samp>
- useFirestore: Fix falsy type error - by @kiyopikko in https://github.com/vueuse/vueuse/issues/2431 <samp>(6886e)</samp>
- useIDBKeyval: Incorrect value init set - by @sun0day in https://github.com/vueuse/vueuse/issues/2416 <samp>(1d841)</samp>
- useStyleTag: Allow use of existing node - by @jameswragg in https://github.com/vueuse/vueuse/issues/2442 <samp>(94413)</samp>
- useTransition: Call pause() to stop useRafFn when disabling - by @huodoushigemi, 李众豪 and @antfu in https://github.com/vueuse/vueuse/issues/2360 <samp>(0a49e)</samp>
View changes on GitHub
v9.5.0
🚀 Features
- onClickOutside: Support options in component - by @fiadone and @sibbng in https://github.com/vueuse/vueuse/issues/2391
- useEventListener: Accept multiple
eventsorlisteners- by @vaakian and @antfu in https://github.com/vueuse/vueuse/issues/2180 - useFetch: Allow configure lifecycle handler behavior - by @climba03003 in https://github.com/vueuse/vueuse/issues/2333
- useFetch: Support sending the custom request to an absolute URL regardless baseURL - by @sun0day in https://github.com/vueuse/vueuse/issues/2210
- useGeolocation: Pause and resume controls - by @benax-se in https://github.com/vueuse/vueuse/issues/2376
- useIDBKeyval: New integration - Idb-keyval wrapper - by @Harmony222 in https://github.com/vueuse/vueuse/issues/2335
- useWebsocket: Url to be ref/computed - by @rotu in https://github.com/vueuse/vueuse/issues/2367
🐞 Bug Fixes
- onClickOutside: Access correct
document- by @sibbng in https://github.com/vueuse/vueuse/issues/2404 - usePointerSwipe: Handle secondary clicks properly - by @curtgrimes in https://github.com/vueuse/vueuse/issues/2379
- useScroll: The expected result cannot be returned after setting the throttle parameter - by @LittleSound in https://github.com/vueuse/vueuse/issues/2390
- useWebSocket: Don't hide pong setTimeout reference - by @kellerza and @antfu in https://github.com/vueuse/vueuse/issues/2206
View changes on GitHub
v9.4.0
🚀 Features
- refDebounced: Use MaybeComputedRef for ms - by @dominikklein in https://github.com/vueuse/vueuse/issues/2337
- useClipboard: Support legacy copy - by @lumdzeehol in https://github.com/vueuse/vueuse/issues/2336
- useVirtualList: Horizontal list - by @Surof1n in https://github.com/vueuse/vueuse/issues/2310
- useWebWorker: Support overloads - by @GODLiangCY in https://github.com/vueuse/vueuse/issues/2259
🐞 Bug Fixes
- useCounter: Set and reset should also be limited - by @iChengbo in https://github.com/vueuse/vueuse/issues/2179
- useRouteHash, useRouteParams, useRouteQuery: Override only selected route param - by @dvh91 in https://github.com/vueuse/vueuse/issues/2350
- useWebSocket: Don't reconnect WebSocket if
closeissued between retries - by @rotu in https://github.com/vueuse/vueuse/issues/2330 - watchThrottled: Wait incorrect remaining time - by @sun0day in https://github.com/vueuse/vueuse/issues/2267
View changes on GitHub
v9.3.1
🚀 Features
- fromEvent: Support HTMLElement - by @rorry121 and @antfu in https://github.com/vueuse/vueuse/issues/2048
- useAxios: Add R genericity type for custom response data - by @jahnli in https://github.com/vueuse/vueuse/issues/2304
- useFocusTrap: Enable options in component - by @azaleta in https://github.com/vueuse/vueuse/issues/2321
- useSorted: New function - by @okxiaoliang4 in https://github.com/vueuse/vueuse/issues/1799
🐞 Bug Fixes
- nuxt: Wrap ssr plugin in defineNuxtPlugin - by @dan-online in https://github.com/vueuse/vueuse/issues/2326
- useBluetooth: Use
shallowReffor bluetooth instance - by @antfu <samp>(0199b)</samp> - useFetch: Fix incorrect
chainCallbacksbehavior - by @GODLiangCY in https://github.com/vueuse/vueuse/issues/2231 - useFirestore: Auto dispose documents - by @Zehir in https://github.com/vueuse/vueuse/issues/2318
- useStorage: Fixed data desynchronization in case of clearing storage - by @yuryrudey in https://github.com/vueuse/vueuse/issues/2221
- useTitle: Prevent
observeandtitleTemplatebeen specified at the same time - by @huynl-96 and @antfu in https://github.com/vueuse/vueuse/issues/2049
View changes on GitHub
v9.3.0
🚀 Features
- Optional callback for useInterval, useTimeout & useTimestamp - by @Waleed-KH in https://github.com/vueuse/vueuse/issues/2240
- onClickOutside: Add
bubblemodifier to directive - by @sibbng in https://github.com/vueuse/vueuse/issues/2183 - onKeyStroke: Support capture all handler - by @azaleta in https://github.com/vueuse/vueuse/issues/2197
- useAxios: Improve type - by @azaleta in https://github.com/vueuse/vueuse/issues/2208
- useAxios: Add second generic type to error - by @azaleta in https://github.com/vueuse/vueuse/issues/2248
- useAxios: Add option for choosing shallowRef or ref - by @jahnli in https://github.com/vueuse/vueuse/issues/2251
- useDateFormat: Support MMM and MMMM formatter - by @777Vasya77 in https://github.com/vueuse/vueuse/issues/2234
- useDateFormat: Support meridiem format - by @huynl-96 in https://github.com/vueuse/vueuse/issues/2011
- useFirestore: Support dependent queries - by @kiyopikko in https://github.com/vueuse/vueuse/issues/2103
- useMediaQuery: Allow query to be a
ref- by @GODLiangCY in https://github.com/vueuse/vueuse/issues/2178 - useScroll: Support setting scroll position and toggling smooth scrolling - by @curtgrimes in https://github.com/vueuse/vueuse/issues/1996
- useTimeAgo: New
showSecondoption - by @azaleta in https://github.com/vueuse/vueuse/issues/2209
🐞 Bug Fixes
- onClickOutside: Put ignore logic on
pointerdownevent - by @GODLiangCY in https://github.com/vueuse/vueuse/issues/2198 - templateRef: Add Component type - by @Holi0317 in https://github.com/vueuse/vueuse/issues/2203
- until:
.notreturns new instance - by @lsdsjy and @antfu in https://github.com/vueuse/vueuse/issues/2224
View changes on GitHub
v9.2.0
🚨 Breaking Changes
- Bump Nuxt support to RC.9, update
autoImports:sourceshook - by @DamianGlowala in https://github.com/vueuse/vueuse/issues/2166
🚀 Features
- useAxios: Support RequestConfig for
execute- by @azaleta in https://github.com/vueuse/vueuse/issues/2152 - useBreakpoints: Support
greaterOrEqualetc. - by @azaleta in https://github.com/vueuse/vueuse/issues/2148 - useCloned: New function - by @chaii3 and @antfu in https://github.com/vueuse/vueuse/issues/2045
- useDraggable: Support customizing
triggerelement - by @imguolao in https://github.com/vueuse/vueuse/issues/2133 - useElementSize: Support
boxsizing - by @vaakian and @antfu in https://github.com/vueuse/vueuse/issues/2143 - useElementVisibility: Support watch the real element - by @sxzz in https://github.com/vueuse/vueuse/issues/2169
- useUrlSearchParams: Add
writeoption - by @waldonUB in https://github.com/vueuse/vueuse/issues/2165 - useVModel: Support
cloneoption - by @edumudu and @antfu in https://github.com/vueuse/vueuse/issues/2022 - useWebSocket: Enhence heartbeat - by @azaleta in https://github.com/vueuse/vueuse/issues/2170
- useWindowSize: Support
includeScrollbar- by @vaakian in https://github.com/vueuse/vueuse/issues/2161
🐞 Bug Fixes
- useArrayMap: Allow return type matches the mapper function - by @GODLiangCY in https://github.com/vueuse/vueuse/issues/2172
- useAxios: Reset error on
execute- by @flyingTodream in https://github.com/vueuse/vueuse/issues/2095 - useDevicePixelRatio: More efficient mechanism - by @Waleed-KH and @antfu in https://github.com/vueuse/vueuse/issues/2044
- useFavicon: Improve type overload - by @azaleta in https://github.com/vueuse/vueuse/issues/2123
- useFileDialog: Choose file not work on mobile - by @1SZX1 and @antfu in https://github.com/vueuse/vueuse/issues/2080
- useFocusWithin: Change focused typing to ComputedRef - by @chaii3 in https://github.com/vueuse/vueuse/issues/2073
- useMemoize: Allow number in
getKey- by @chaii3 in https://github.com/vueuse/vueuse/issues/2074
View changes on GitHub
v9.1.1
🚀 Features
- usePreferredContrast: New function - by @Zhaocl1997 in https://github.com/vueuse/vueuse/issues/2040
🐞 Bug Fixes
- firebase: Improve externalization - by @antfu <samp>(e2a78)</samp>
- shared: Resolve internal circular reference - by @antfu <samp>(0fdbb)</samp>
- useActiveElement: Use
computedWithControlinstead ofcounterref - by @vaakian in https://github.com/vueuse/vueuse/issues/2093 - useElementHover: Support set el ref type - by @JiatLn in https://github.com/vueuse/vueuse/issues/2079
- useScroll: Account for rounding errors when calculating arrivedState - by @curtgrimes in https://github.com/vueuse/vueuse/issues/2051
- useURLSearchParams: Avoid referencing to global
location- by @mskr in https://github.com/vueuse/vueuse/issues/2066
View changes on GitHub
v9.1.0
🚀 Features
- useCycleList: Support MaybeRef for initialValue - by @Waleed-KH in https://github.com/vueuse/vueuse/issues/2025
- usePrecision: New function - by @antfu <samp>(49c8a)</samp>
- usePreferredReducedMotion: New function - by @Zhaocl1997 in https://github.com/vueuse/vueuse/issues/2039
- useToNumber: New function - by @antfu <samp>(f69a3)</samp>
- useToString: New function - by @antfu <samp>(2b869)</samp>
🐞 Bug Fixes
- Improve
MaybeComputedRef- by @antfu <samp>(28c5a)</samp> - useFavicon: Writable return type - by @chaii3 and @antfu in https://github.com/vueuse/vueuse/issues/2036
- useOffsetPagination: Min value for pageCount should be 1 - by @jd-solanki and @antfu in https://github.com/vueuse/vueuse/issues/2001
- useScriptTag: Normalize
srcarg - by @huynl-96 in https://github.com/vueuse/vueuse/issues/2030 - useToFixed: Deprecated in favor of
usePrecision- by @antfu <samp>(790ef)</samp> - useTransition: Improve type of
TransitionPresets- by @antfu <samp>(cc865)</samp>
View changes on GitHub
v9.0.2
🐞 Bug Fixes
- nuxt: Disable auto import for
integrations- by @antfu <samp>(0a43b)</samp>
View changes on GitHub
v9.0.1
🚀 Features
- useDateFormat: Support dd, ddd and dddd formatter - by @aki77 in https://github.com/vueuse/vueuse/issues/1986
- useFirestore: Support reactive query - by @kiyopikko in https://github.com/vueuse/vueuse/issues/2008
- useToFixed: New function - by @FliPPeDround in https://github.com/vueuse/vueuse/issues/2003
🐞 Bug Fixes
- useColorMode: When emitAuto is true, onChanged does not trigger when preferredMode changed - by @Waleed-KH in https://github.com/vueuse/vueuse/issues/2004
- useFetch: Broken callbacks when RequestInit and UseFetchOptions are both passed in - by @curtgrimes in https://github.com/vueuse/vueuse/issues/2013
View changes on GitHub
v9.0.0
🚨 Breaking Changes
- all:
isSupportedbecomesRef<boolean>instead ofbooleanfor SSR compatibility - by @okxiaoliang4 in https://github.com/vueuse/vueuse/issues/1800 - all: Rename function options type with consistant
Useprefix, huge thanks to @okxiaoliang4! (this should not affect most of the usage case, unless you are importing those types directly)All Changes
- useSpeechSynthesis: Rename type
StatustoUseSpeechSynthesisStatus- by @antfu <samp>(db61f)</samp> - onKeyStroke: Rename type
KeyStrokeOptionstoOnKeyStrokeOptions- by @okxiaoliang4 in https://github.com/vueuse/vueuse/issues/1807 - useAsyncState: Rename type
AsyncStateOptionstoUseAsyncStateOptions- by @okxiaoliang4 in https://github.com/vueuse/vueuse/issues/1809 - useClipboard: Rename type
ClipboardOptionstoUseClipboardOptionsandClipboardReturntoUseClipboardReturn- by @okxiaoliang4 in https://github.com/vueuse/vueuse/issues/1861 - useElementVisibility: Rename type
VisibilityScrollTargetOptionstoUseElementVisibilityOptions- by @okxiaoliang4 in https://github.com/vueuse/vueuse/issues/1863 - useEventSource: Return type should be
UseEventSourceReturn- by @okxiaoliang4 in https://github.com/vueuse/vueuse/issues/1864 - useFavicon: Rename type
FaviconOptionstoUseFaviconOptions- by @okxiaoliang4 in https://github.com/vueuse/vueuse/issues/1865 - useFocusWithin: Rename type
FocusWithinReturntoUseFocusWithinReturn- by @okxiaoliang4 in https://github.com/vueuse/vueuse/issues/1866 - useGeolocation: Rename type
GeolocationOptionstoUseGeolocationOptions- by @okxiaoliang4 in https://github.com/vueuse/vueuse/issues/1868 - useIdle: Rename type
IdleOptionstoUseIdleOptions- by @okxiaoliang4 in https://github.com/vueuse/vueuse/issues/1869 - useIntersectionObserver: Rename type
IntersectionObserverOptionstoUseIntersectionObserverOptions- by @okxiaoliang4 in https://github.com/vueuse/vueuse/issues/1870 - useJwt: Rename type
JwtOptionstoUseJwtOptionsandJwtResulttoUseJwtReturn- by @okxiaoliang4 in https://github.com/vueuse/vueuse/issues/1899 - useKeyModifier: Rename type
ModifierOptionstoUseModifierOptions- by @okxiaoliang4 in https://github.com/vueuse/vueuse/issues/1871 - useMagicKeys: Rename type
MagicKeystoUseMagicKeysReturn- by @okxiaoliang4 in https://github.com/vueuse/vueuse/issues/1873 - useMemoize: Rename type
UseMemoizedFntoUseMemoizeReturnand new typeUseMemoizeOptions- by @okxiaoliang4 in https://github.com/vueuse/vueuse/issues/1872 - useMemory: Rename type
MemoryOptionstoUseMemoryOptions- by @okxiaoliang4 in https://github.com/vueuse/vueuse/issues/1605 - useMouse: Rename type
MouseOptionstoUseMouseOptions- by @okxiaoliang4 in https://github.com/vueuse/vueuse/issues/1877 - useMutationObserver: Rename type
MutationObserverOptionstoUseMutationObserverOptions- by @okxiaoliang4 in https://github.com/vueuse/vueuse/issues/1884 - useParallax: Rename type
ParallaxOptionstoUseParallaxOptionsandParallaxReturntoUseParallaxReturn- by @okxiaoliang4 in https://github.com/vueuse/vueuse/issues/1885 - usePointerSwipe: Rename type
PointerSwipeOptionstoUsePointerSwipeOptionsandPointerSwipeReturntoUsePointerSwipeReturn- by @okxiaoliang4 in https://github.com/vueuse/vueuse/issues/1886 - useRTDB: Rename type
RTDBOptionstoUseRTDBOptions- by @okxiaoliang4 in https://github.com/vueuse/vueuse/issues/1901 - useRafFn: Rename type
RafFnOptionstoUseRafFnOptions- by @okxiaoliang4 in https://github.com/vueuse/vueuse/issues/1887 - useResizeObserver: Rename type
ResizeObserverOptionstoUseResizeObserverOptions- by @okxiaoliang4 in https://github.com/vueuse/vueuse/issues/1862 - useShare: Rename type
ShareOptionstoUseShareOptions- by @okxiaoliang4 in https://github.com/vueuse/vueuse/issues/1888 - useSpeechRecognition: Rename type
SpeechRecognitionOptionstoUseSpeechRecognitionOptions- by @okxiaoliang4 in https://github.com/vueuse/vueuse/issues/1889 - useSpeechSynthesis: Rename type
SpeechSynthesisOptionstoUseSpeechSynthesisOptions- by @okxiaoliang4 in https://github.com/vueuse/vueuse/issues/1890 - useSpeechSynthesis: Remove
voiceInfo, allowvoiceas ref - by @sibbng in https://github.com/vueuse/vueuse/issues/1882 - useStorage: Rename type
StorageOptionstoUseStorageOptions- by @okxiaoliang4 in https://github.com/vueuse/vueuse/issues/1867 - useStorageAsync: Rename type
StorageAsyncOptionstoUseStorageAsyncOptions- by @okxiaoliang4 in https://github.com/vueuse/vueuse/issues/1883 - useSwipe: Rename type
SwipeOptionstoUseSwipeOptionsandSwipeReturntoUseSwipeReturn- by @okxiaoliang4 in https://github.com/vueuse/vueuse/issues/1891 - useTimestamp: Rename type
TimestampOptionstoUseTimestampOptions- by @okxiaoliang4 in https://github.com/vueuse/vueuse/issues/1892 - useTransition: Rename type
TransitionOptionstoUseTransitionOptions- by [@okxiaoliang4](https://togithub.com/
- useSpeechSynthesis: Rename type
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 has been generated by Mend Renovate. View repository job log here.