chore(deps): update dependency @vueuse/core to v10.6.1
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
@vueuse/core (source) | devDependencies | minor | 10.3.0 -> 10.6.1 |
Release Notes
vueuse/vueuse (@vueuse/core)
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 (e9742)
-
useVirtualList:
.style
can be undefined - by @antfu (3d6b9)
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 (6040e)
- onLongClick: Return stop function - by @its-lee and lee in https://github.com/vueuse/vueuse/issues/3506 (8eb0b)
- syncRef: Enhance syncRef type restrict - by @Doctor-wu in https://github.com/vueuse/vueuse/issues/3515 (89266)
- useClipboard: UseClipboard component - by @alexzvn, Alexzvn and @antfu in https://github.com/vueuse/vueuse/issues/3359 (71b46)
- useClipboardItems: New function - by @Doctor-wu and @antfu in https://github.com/vueuse/vueuse/issues/3477 (1aa50)
- useDateFormat: Add date ordinal formatting - by @Jokerzhzh and @antfu in https://github.com/vueuse/vueuse/issues/3474 (61ceb)
-
useDropZone: Add
dataTypes
option - by @rtugeek and @antfu in https://github.com/vueuse/vueuse/issues/3471 (3f3f1) - useElementSize: Stop function - by @chaii3 and @antfu in https://github.com/vueuse/vueuse/issues/3367 (5f545)
- useFileDialog: Add directory parameters - by @huiliangShen and banruo in https://github.com/vueuse/vueuse/issues/3513 (cefca)
-
useMutationObserver: Add
takeRecords
function - by @Alfred-Skyblue in https://github.com/vueuse/vueuse/issues/3480 (f9136) -
useStorage: Add
waitOnMounted
option for SSR - by @posva and @antfu in https://github.com/vueuse/vueuse/issues/3504 (dc6f2) - useWindowScroll: Allow rewriting back to scroll - by @nothing-sy, chensiyuan and @antfu in https://github.com/vueuse/vueuse/issues/3500 (931b2)
- watchOnce: Return function for manual watcher stopping - by @valerypatorius in https://github.com/vueuse/vueuse/issues/3475 (bb0a7)
🐞 Bug Fixes
- onClickOutside: Adjust shouldListen handling timing - by @Doctor-wu in https://github.com/vueuse/vueuse/issues/3503 (69851)
- onScrollLock: Cache the el initial overflow value - by @Doctor-wu in https://github.com/vueuse/vueuse/issues/3527 (03866)
- useAxios: Bail out on request abort - by @jahnli in https://github.com/vueuse/vueuse/issues/3394 (151f9)
- useClipboard: Use legacy way when without permission - by @Cat1007, catye, @posva and @antfu in https://github.com/vueuse/vueuse/issues/3379 (37e86)
- useDraggable: Element can't relative parent element move - by @huiliangShen and banruo in https://github.com/vueuse/vueuse/issues/3531 (08246)
- useElementSize: Get value in onMounted hook - by @chaii3 and @antfu in https://github.com/vueuse/vueuse/issues/3366 (165c8)
- 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 (75ca2)
- useMouseInElement: Optimize outside computation - by @qiYuei, fengmingjian and @antfu in https://github.com/vueuse/vueuse/issues/3380 (7c88d)
- useRouteQuery,useRouteParams: Prevent reset on other scope dispose - by @s-montigny-desautels and @antfu in https://github.com/vueuse/vueuse/issues/3418 (771e7)
-
useScroll: Trigger once
onMounted
to get correct inital arrivedStates values - by @nicooprat and @antfu in https://github.com/vueuse/vueuse/issues/3384 (86bd8) - useSortable: Prevent from creating multi instances - by @Doctor-wu in https://github.com/vueuse/vueuse/issues/3501 (d9846)
- useStorage: Fix defaults not unwrapped - by @Alfred-Skyblue in https://github.com/vueuse/vueuse/issues/3534 (b6d2b)
- useWebSocket: Webworker support - by @binary-signal and @antfu in https://github.com/vueuse/vueuse/issues/3469 (9b014)
View changes on GitHub
v10.5.0
🚀 Features
- Add
Promisify
type definition - by @Alfred-Skyblue in https://github.com/vueuse/vueuse/issues/3420 (b067b) - createInjectionState: Allow provide and inject in same component - by @xiaoxiangmoe and @antfu in https://github.com/vueuse/vueuse/issues/3387 (5d948)
- createInjectionState: Add injectionKey option - by @PPetau and @antfu in https://github.com/vueuse/vueuse/issues/3404 (90d34)
- rxjs: Add useExtractedObservable and watchExtractedObservable - by @Voltra in https://github.com/vueuse/vueuse/issues/3453 (23b8c)
- useFavicon: Add link tag if it doesn't exist - by @babu-ch in https://github.com/vueuse/vueuse/issues/3444 (d1fcc)
- useMousePressed: Add capture option - by @DerZade and @antfu in https://github.com/vueuse/vueuse/issues/3392 (d5c81)
- useMutationObserver: Use MaybeComputedElementRef - by @huodoushigemi in https://github.com/vueuse/vueuse/issues/3430 (8167b)
- useRafFn: Option fpsLimit - by @f820602h and @antfu in https://github.com/vueuse/vueuse/issues/3459 (8e4c0)
🐞 Bug Fixes
- Vue 2 support for provideLocal and injectLocal - by @xiaoxiangmoe in https://github.com/vueuse/vueuse/issues/3464 (cf757)
- useBreakpoints: Add missing breakpoint for the bootstrap - by @edtorba in https://github.com/vueuse/vueuse/issues/3413 (ec9a4)
-
useDrauu: Spread options for
brush
- by @17359898647 in https://github.com/vueuse/vueuse/issues/3463 (87ea3) - useVModels: Type error with passive: true - by @chaii3 in https://github.com/vueuse/vueuse/issues/3362 (51f01)
- useWebNotification: Condition check on permission - by @SampsonCrowley in https://github.com/vueuse/vueuse/issues/3422 (2f2b4)
- useWebSocket: Ssr support - by @huangyan321 in https://github.com/vueuse/vueuse/issues/3370 (c3a69)
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 (0e4a5) - 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 (3ef59)
View changes on GitHub
v10.4.0
🚀 Features
- refAutoReset: Support maybe-ref as value - by @moander in https://github.com/vueuse/vueuse/issues/3342 (71685)
- useAsyncQueue: Support in infinite tasks in typescript - by @ethansnow2012 in https://github.com/vueuse/vueuse/issues/3333 (22e26)
- useBreakpoints: Add breakpoints for PrimeFlex - by @adrianrudnik and @antfu in https://github.com/vueuse/vueuse/issues/3317 (8b5ed)
- useDraggable: Allowing calculations of bounds with fixed element - by @linspw in https://github.com/vueuse/vueuse/issues/3335 (c08e5)
-
useFetch: Introduce
updateDataOnError
option - by @climba03003 and @antfu in https://github.com/vueuse/vueuse/issues/3092 (945ca) - useIdbKeyval: Ability to wait for IDB writes - by @AbdallahAlhaddad and @antfu in https://github.com/vueuse/vueuse/issues/3338 (77a86)
-
useWebNotification: Add
requestPermissions
option, returnpermissionGranted
andensurePermissions
- by @michealroberts and @antfu in https://github.com/vueuse/vueuse/issues/3325 (a1753)
🐞 Bug Fixes
- syncRef: Avoid infinite sync - by @chaii3 and @antfu in https://github.com/vueuse/vueuse/issues/3312 (bc966)
-
useElementSize: Add
as
prop for component usage - by @menghany in https://github.com/vueuse/vueuse/issues/3274 (791f7) - useElementVisibility: Adjust threshold to 0 to fix visibility issue with large element - by @erikkkwu in https://github.com/vueuse/vueuse/issues/3308 (429ed)
- useFileSystemAccess: Make options to be optional - by @171h in https://github.com/vueuse/vueuse/issues/3320 (a9c8b)
-
useMouse: Position won't be changed on page scroll when
type
ispage
, closes #2922 - by @CatsJuice and @antfu in https://github.com/vueuse/vueuse/issues/3244 and https://github.com/vueuse/vueuse/issues/2922 (c2f64) - useScroll: Evade edge case when window or document is Proxy - by @MinatoHikari in https://github.com/vueuse/vueuse/issues/3280 (c1b29)
- useScrollLock: Support using window or document - by @lzl0304 in https://github.com/vueuse/vueuse/issues/3319 (8acdb)
- useSortable: Fixed moveArrayElement repeatedly triggering side effects - by @Alfred-Skyblue in https://github.com/vueuse/vueuse/issues/3322 (b8515)
- 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 (6fabe)
- useVModel: Clone set to true triggered infinite loop - by @motian and @antfu in https://github.com/vueuse/vueuse/issues/3097 (48f4c)
- useWebWorker: Prevent error event bubbling - by @Luvoy and @antfu in https://github.com/vueuse/vueuse/issues/3141 (34206)
- useWebsocket: PongTimeout auto-reconnect no work - by @shanyi-front and @antfu in https://github.com/vueuse/vueuse/issues/3321 (93372)
- useWebsocket: Reset pongTimeout on close - by @alipay404 and @antfu in https://github.com/vueuse/vueuse/issues/3324 (aea27)
-
utils: Update
isClient
to checkdocument
too - by @brc-dd and @antfu in https://github.com/vueuse/vueuse/issues/3329 (786cb)
View changes on GitHub
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.