v9.11.0
版本发布时间: 2023-01-17 17:26:43
vueuse/vueuse最新发布版本:v11.1.0(2024-09-16 17:09:03)
🚀 Features
-
computedAsync: Introduce
shadow
option - by @xiankaiqun in https://github.com/vueuse/vueuse/issues/2616 (a0656) - createInjectionState: Return state when providing injection state - by @Tanimodori and lsdsjy in https://github.com/vueuse/vueuse/issues/2309 (f7ce6)
- reactivePick: Add test cases - by @Alfred-Skyblue, 丶远方 and @wheatjs in https://github.com/vueuse/vueuse/issues/2653 (b06b8)
- useAsyncState: Add test cases - by @Alfred-Skyblue and @wheatjs in https://github.com/vueuse/vueuse/issues/2657 (5907f)
- usePointerLock: New function - by @daniser, Sergey Danilchenko, Jelf and @wheatjs in https://github.com/vueuse/vueuse/issues/2590 (ae69f)
- useThrottleFn: Add test cases - by @Alfred-Skyblue in https://github.com/vueuse/vueuse/issues/2649 (85ab1)
🐞 Bug Fixes
- Nuxt3 implementation - by @roiLeo in https://github.com/vueuse/vueuse/issues/2644 (8f6ce)
-
components: Mark
defineComponent
as pure - by @vaakian and @wheatjs in https://github.com/vueuse/vueuse/issues/2623 (d5321) - docs: Remove unnecessary import - by @yuyinws in https://github.com/vueuse/vueuse/issues/2611 (7a2ff)
- 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 (1e270)
- useDraggable: Write to useStorage - by @akifo in https://github.com/vueuse/vueuse/issues/2575 (e39c2)
- useElementByPoint: Make document configurable - by @vaakian in https://github.com/vueuse/vueuse/issues/2614 (c3639)
- useRouteQuery: Allow setting multiple route queries in same tick - by @wheatjs in https://github.com/vueuse/vueuse/issues/2646 (07c95)
- useVirtualList: List sometimes missing elements - by @begedin and @wheatjs in https://github.com/vueuse/vueuse/issues/2477 (25f6e)