New
v14.1.0
🚀 Features
- useDropZone: Add checkValidity function - by @kolaente in https://github.com/vueuse/vueuse/issues/5169 (aee84)
- useElementVisibility: Add
initialValueoption - by @kricsleo and @9romise in https://github.com/vueuse/vueuse/issues/5159 (13f36) - useMouseInElement: Add support for tracking inline-level elements - by @siavava and @9romise in https://github.com/vueuse/vueuse/issues/5049 (62dfb)
- useTimeAgoIntl: Custom units - by @Menci in https://github.com/vueuse/vueuse/issues/5188 (c7d09)
- useWebSocket:
autoConnect.delaysupport function - by @YuchenWell, Anthony Fu and @9romise in https://github.com/vueuse/vueuse/issues/5089 (176f2)
🐞 Bug Fixes
- Typescript type of
isIOSconstant - by @toofishes in https://github.com/vueuse/vueuse/issues/5163 (60888) - computedWithControl: Allow different types in watch sources array - by @kricsleo in https://github.com/vueuse/vueuse/issues/5184 (bc4ac)
- types: Allow async functions in useDebounceFn and useThrottleFn - by @xiaoxiaohuayu in https://github.com/vueuse/vueuse/issues/5131 (7fb7a)
- types: Deprecate embeded
ResizeObserverSizetypes - by @9romise in https://github.com/vueuse/vueuse/issues/5127 (d7a07) - useArrayReduce: Export
UseArrayReduceReturntype - by @michaelcozzolino in https://github.com/vueuse/vueuse/issues/5177 (e1204) - useAsyncQueue: Trigger onFinished when the last task is rejected - by @keeplearning66 and @9romise in https://github.com/vueuse/vueuse/issues/5144