v10.0.0-beta.2
版本发布时间: 2023-03-28 18:25:02
vueuse/vueuse最新发布版本:v11.1.0(2024-09-16 17:09:03)
🚨 Breaking Changes
- useElementVisibility: Use useIntersectionObserver instead of scroll event handler - by @curtgrimes in https://github.com/vueuse/vueuse/issues/2551 (74b00)
🚀 Features
- onKeyStroke: Support ignoring repeated stroke - by @vaakian in https://github.com/vueuse/vueuse/issues/2652 (22ca5)
- reactiveOmit: Add predicate parameter - by @Alfred-Skyblue and @antfu in https://github.com/vueuse/vueuse/issues/2849 (2e297)
- reactivePick: Add predicate parameter - by @Alfred-Skyblue in https://github.com/vueuse/vueuse/issues/2850 (0bde4)
- useArrayUnique: Add a custom function to deduplicate - by @Alfred-Skyblue in https://github.com/vueuse/vueuse/issues/2612 (c8c30)
-
useAsyncValidator: Add
manual
option - by @jaw52 and @antfu in https://github.com/vueuse/vueuse/issues/2903 (16461) -
useAxios: Added
onFinish
callback - by @Alfred-Skyblue in https://github.com/vueuse/vueuse/issues/2829 (a2f33) - useBreakpoints: Getting current breakpoints - by @ineshbose and @antfu in https://github.com/vueuse/vueuse/issues/2906 (bbabd)
-
useDark: Passthrough default handler from
useColorSchema
- by @godismyjudge95 and @antfu in https://github.com/vueuse/vueuse/issues/2866 (d6d35) - useParentElement: New function - by @jd-solanki and @antfu in https://github.com/vueuse/vueuse/issues/2855 (e8168)
- useResizeObserver: Support element list - by @acyza and @antfu in https://github.com/vueuse/vueuse/issues/2841 (3e187)
- useSupported: Support tracking reactivity for the callback function - by @ferferga and @antfu in https://github.com/vueuse/vueuse/issues/2904 (55a32)
🐞 Bug Fixes
- useDevicesList: Show devices for Firefox - by @felixzapata in https://github.com/vueuse/vueuse/issues/2798 (0823d)