v10.3.0
🚀 Features
- createReusableTemplate: Inherit attrs - by @wiidede and @antfu in #3226 (a32ae)
- useActiveElement: Search deeply in shadow dom - by @duoduoObama and @antfu in #3208 (296dc)
- useCounter: InitialValue support ref - by @Rock070 in #3266 (6ae3a)
- useFocus: Support
:focus-visible
- by @onmax and @antfu in #3254 (80329) - useRTDB: Add errorHandler option - by @wobsoriano in #3232 (b5e52)
- useSorted: Accept getter function as source - by @wvffle in #3249 (33a12)
- useSpeechSynthesis: Add reactivity for pitch and rate - by @shestmintsev-kirill in #3205 (ac88f)
🐞 Bug Fixes
- build: Ensure correct typing for node esm - by @xiaoxiangmoe and @antfu in #3209 (e7556)
- createReusableTemplate: Camelize props - by @94726, @antfu and @wvffle in #3253 (d79e1)
- onClickOutside: Fix outside click on html element in ios - by @sibbng in #3252 (9091e)
- reactiveComputed: Unwrap reactive type - by @sxzz in #3215 (17a72)
- router: Improves router functions: synchronize values, adds tests, and optimize performance - by @anteriovieira, @antfu, CJBoy and tzyoo in #3184 (0d02f)
- toRefs: Don't trigger unwanted watchEffects - by @wvffle in #3260 (5309c)
- useDateFormat: Handle zero properly - by @JocelynFloresz and @antfu in #3272 (d6428)
- useEventListener: Improved
useEventListener
overload - by @Alfred-Skyblue in #3246 (4f414) - useFetch: Generated payloadType on execute - by @tolking in #3251 (b7e3d)
- useInfiniteScroll: Improve visibility check - by @erikkkwu in #3212 (5ce61)
- useMediaQuery: Only add/remove event listeners on query change - by @Ingramz and @antfu in #3236 (f3969)
- useObjectUrl: Improve parameter type - by @ferreira-tb in #3239 (d3f7e)
- usePointer: Add
pointerup
event forpressure
field - by @cunzaizhuyi and @antfu in #3217 (ee425) - useScroll: Support configurable window - by @sheremet-va and @antfu in #3229 (dde41)