v10.0.0-beta.4
版本发布时间: 2023-04-13 20:23:24
vueuse/vueuse最新发布版本:v11.1.0(2024-09-16 17:09:03)
🚨 Breaking Changes
-
toRef: Rename
resolveRef
totoRef
- by @antfu (10e98) -
types: Rename
MaybeComputedRef
toMaybeRefOrGetter
- by @antfu (4d757) -
useAxios: Reject promise on
execute
- by @FRSgit and @antfu in https://github.com/vueuse/vueuse/issues/2485 (edece) -
useColorMode: Enable
disableTransition
by default - by @antfu (5c82c)
🚀 Features
- toRef: Support two argument overrides from Vue - by @antfu (f307f)
-
toValue: Rename
resolveUnref
totoValue
- by @antfu (0a72b) - useAnimate: New function - by @tolking and @antfu in https://github.com/vueuse/vueuse/issues/2109 (bcf5d)
-
useAxios: Added
initialData
andresetOnExecute
options - by @Alfred-Skyblue and @antfu in https://github.com/vueuse/vueuse/issues/2791 (f54a3) -
useColorMode: Support passing element as
selector
- by @Wing-9527 and @antfu in https://github.com/vueuse/vueuse/issues/2760 (02ccc) -
useColorMode: Expose
system
andstore
ref, close #2023 - by @antfu in https://github.com/vueuse/vueuse/issues/2023 (d150c) -
useDraggable: Support
capture
option - by @faga295 and @antfu in https://github.com/vueuse/vueuse/issues/2725 (3996d) -
useIntersectionObserver: Support for
Pausable
interface - by @Mini-ghost and @antfu in https://github.com/vueuse/vueuse/issues/2883 (4b336) -
useMouse: Support
type: screen
- by @francoislevesque in https://github.com/vueuse/vueuse/issues/2467 (39d18) -
useRouteQuery,useRouteParams: New
transform
handler - by @edumudu and @antfu in https://github.com/vueuse/vueuse/issues/2191 (d23ca)
🐞 Bug Fixes
- useScroll: Add support for row-reverse and column-reverse - by @OneLoneFox and @antfu in https://github.com/vueuse/vueuse/issues/2577 (23b9a)