v10.1.0
版本发布时间: 2023-04-22 17:13:33
vueuse/vueuse最新发布版本:v11.1.0(2024-09-16 17:09:03)
🚀 Features
- useAsyncState: Add support directly await - by @Hfutsora and @antfu in https://github.com/vueuse/vueuse/issues/3004 (d4db0)
-
useColorMode: Expose
state
to the ref, deprecatedemitAuto
- by @Waleed-KH and @antfu in https://github.com/vueuse/vueuse/issues/2980 (a1bef) - useMouse: Support custom event extractor - by @RAX7 and @antfu in https://github.com/vueuse/vueuse/issues/2991 (4bb5b)
-
watch:
watchImmediate
andwatchDeep
support overloads - by @Mini-ghost in https://github.com/vueuse/vueuse/issues/2998 (8f6a0)
🐞 Bug Fixes
- Dialog mask add z-index - by @recallwei in https://github.com/vueuse/vueuse/issues/3005 (07ebe)
- useColorMode: Element ref support, close #3003 - by @antfu in https://github.com/vueuse/vueuse/issues/3003 (adbbb)
- useCycleList: Correctly wrap list with ref - by @fan5530 and @antfu in https://github.com/vueuse/vueuse/issues/2988 (659b2)
- useDateFormat: Error if Y or YYY provided - by @dinocam1 and Dino Camdzic in https://github.com/vueuse/vueuse/issues/3001 (a2147)
-
useFullscreen:
isFullscreen
handling for mutliple fullscreen elements - by @zaqvil and @antfu in https://github.com/vueuse/vueuse/issues/3000 (4a7a1) - useMediaControls: Apply state when target ref changes - by @ferferga in https://github.com/vueuse/vueuse/issues/2999 (b20aa)
- useSwipe: Ignore multiple touches - by @ARZarkesh in https://github.com/vueuse/vueuse/issues/2994 (995aa)
- useSwipe: Ignore multiple touches - by @ARZarkesh and @antfu in https://github.com/vueuse/vueuse/issues/2996 (af3ca)
- useTransition: Fix regression with non-linear transition functions - by @scottbedard in https://github.com/vueuse/vueuse/issues/2973 (8b330)