v10.2.0
版本发布时间: 2023-06-18 19:28:22
vueuse/vueuse最新发布版本:v11.1.0(2024-09-16 17:09:03)
🚀 Features
-
useAsyncQueue: Add
options.signal
parameter - by @cross-origin in https://github.com/vueuse/vueuse/issues/3033 (7da7c) - useColorMode: DisableTransition support pseudo-elements - by @lainbo in https://github.com/vueuse/vueuse/issues/3129 (78a3a)
- useDraggable: Improve component props - by @Alfred-Skyblue in https://github.com/vueuse/vueuse/issues/3075 (6b670)
-
useElementByPoint: New
multiple
andinterval
options - by @okxiaoliang4 in https://github.com/vueuse/vueuse/issues/3089 (31b66) -
useFileDialog: Add a parameter
reset
- by @zaqvil in https://github.com/vueuse/vueuse/issues/3059 (6d847) - useImage: Support referrerPolicy option - by @btea in https://github.com/vueuse/vueuse/issues/3132 (04d32)
- useSortable: Add option set get method - by @Alfred-Skyblue in https://github.com/vueuse/vueuse/issues/3108 (14283)
- useVModel: Improve types overload - by @Mini-ghost in https://github.com/vueuse/vueuse/issues/3055 (7d788)
🐞 Bug Fixes
- onClickOutside: Ensure focus on iframe captured in firefox - by @Geit in https://github.com/vueuse/vueuse/issues/3066 (2c66e)
- useAxios: Prevent premature loading refs reset - by @MickaelOth in https://github.com/vueuse/vueuse/issues/3076 (b1701)
- useCloned: Check for getter function to watch - by @ydcjeff in https://github.com/vueuse/vueuse/issues/3142 (6d630)
- useCssVar: Observe changes based on element class list - by @Waleed-KH in https://github.com/vueuse/vueuse/issues/3131 (9d34a)
- useMediaControls: Better representation for "waiting" value - by @ferferga in https://github.com/vueuse/vueuse/issues/3072 (0b253)
- useRouteHash,useRouteQuery,useRouteParams: Re-evaluates the value immediately - by @anteriovieira in https://github.com/vueuse/vueuse/issues/3002 (d5252)
- useScroll: Support window in setArrivedState - by @smallnine9 and yulj5 in https://github.com/vueuse/vueuse/issues/3086 (8855f)
- useScrollLock: Fix scrollable children check - by @valerypatorius in https://github.com/vueuse/vueuse/issues/3065 (cdc28)
-
useTextareaAutosize: Autosize error when changing
input
asynchronously - by @jsonleex in https://github.com/vueuse/vueuse/issues/3118 (1b0ec) - useWebWorker: Add web worker transferable option - by @yassilah in https://github.com/vueuse/vueuse/issues/3123 (5988f)
- watchImmediate: Fix overload signature - by @ferreira-tb in https://github.com/vueuse/vueuse/issues/3114 (4b4e6)
🏎 Performance
- useCssVar: Only listen for style changes - by @Alfred-Skyblue in https://github.com/vueuse/vueuse/issues/3057 (3233a)