v10.5.0
版本发布时间: 2023-10-07 22:09:06
vueuse/vueuse最新发布版本:v11.1.0(2024-09-16 17:09:03)
🚀 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)