Releases: vueuse/vueuse
Releases · vueuse/vueuse
v12.7.0
v12.6.1
No significant changes
View changes on GitHub
v12.6.0
🚀 Features
- createReusableTemplate: Explicit props - by @antfu in #4535 (18031)
- onClickOutside: Add
controls
- by @sibbng and @antfu in #4537 (ab116) - useDateFormat: Add
z...zzzz
for timezone information - by @OrbisK in #4553 (cd6d7) - useElementVisibility: Add
once
options - by @ilyaliao in #4577 (f2f94) - useTimtoutFn,useTimeoutPoll: Align behavior - by @ilyaliao in #4543 (64c53)
- watchPausable: Add
options.initialState
to control the initial active value - by @OrbisK in #4533 (ceb56)
🐞 Bug Fixes
- createEventHook: Type check for multiple arguments - by @isimehmeti and @ilyaliao in #4555 (636b8)
- nuxt: Check if packages exist in any layer - by @dgrayvold in #4571 (45e5c)
- reactiveComputed: Computed fn should be
ComputedGetter
- by @OrbisK in #4528 (bea31) - useAnimate: Clear animate when element is gone - by @babu-ch in #4579 (1a934)
- useCountdown:
start()
should accept a custom initial value - by @ralacerda in #4554 (93591) - useCssVar: New Behavior - by @ilyaliao and OrbisK in #4500 (d5dd8)
- useMouse: Check for
MouseEvent
instead ofTouch
to work with FF - by @OrbisK and @antfu in #4457 (ce9e5) - useSpeechRecognition: Improve start and stop method behavior - by @ilyaliao in #4565 (4f104)
View changes on GitHub
v12.5.0
🚀 Features
- More passive event handlers - by @ferferga in #4484 (eddbf)
- Use
useEventListener
where it was not being used - by @ferferga in #4479 (c6c6e) - useClipboard: Should fall back to legacy clipboard when read/write fails - by @OrbisK in #4512 (01acd)
- useCountdown: New function - by @rtugeek, @huang-julien, Anthony Fu and @antfu in #4125 (69ced)
- useEventListener: Make all parameters arrayable and reactive - by @ferferga in #4486 (caf08)
- useFetch: Add parameters to the
afterFetch
andonFetchError
- by @tolking and Anthony Fu in #4499 (98a83) - useFileDialog: Add initialFiles option - by @EvgenyWas in #4509 (8a8d6)
🐞 Bug Fixes
- debounceFilter: Invoke on maxWait with the latest invoker - by @43081j and @OrbisK in #4497 (48e0a)
- useMagicKeys: Fix key order issue on first use - by @babu-ch in #4505 (b6947)
- useVirtualList: Allow readonly arrays as input - by @RebeccaStevens in #4504 (f3cc7)
View changes on GitHub
v12.4.0
🚀 Features
- Use passive event handlers everywhere is possible - by @ferferga and @antfu in #4477 (dd316)
- useCloned: Return
isModified
- by @pkc918 and @antfu in #4470 (6018c) - useStorage: Make storage key reactive - by @EvgenyWas and @antfu in #4464 (eb679)
🐞 Bug Fixes
- useBluetooth: IsConnected state not changed when disconnected - by @ilyaliao, @antfu and @ferferga in #4460 (fcc6e)
View changes on GitHub
v12.3.0
🚀 Features
- onElementRemoval: New function, refactor
useActiveElement
useElementHover
- by @ben-lau and @antfu in #4410 (08cf5) - router: Support partial transform - by @alexchexes and @antfu in #4426 (bba3f)
- toArray: New utility function - by @coderwhytop and @antfu in #4432 (021d0)
- toValue: Deprecate
toValue
from@vueuse/shared
in favor of Vue's native - by @antfu (59f75) - useElementBounding: Added directive for
vElementBounding
- by @pkc918 in #4436 (67a9c) - useMouseInElement: Added directive for
vMouseInElement
- by @pkc918 in #4438 (34be5) - useMousePressed: Add
onPressed
andonReleased
as options - by @OrbisK in #4425 (a123a) - useToNumber:
method
support custom function - by @btea and @antfu in #4441 (635bb) - useWindowScroll: Use
useScroll
under the hood - by @OrbisK and @antfu in #4424 (a033e)
🐞 Bug Fixes
- useAxios: Narrow type of data when initialValue is provided - by @huang-julien and @antfu in #4419 (8502f)
- useClipboard,useClipboardItems: Avoid running "copied" timeout during initialization - by @Ingramz in #4299 (6860f)
- useDropZone: Validate all file types individually when dropping multiple files - by @LouisMazel in #4325 (b01cf)
- useFocusWithin: Correctly track the state when switching the focus of elements in the same container - by @ben-lau in #4394 (3ca0d)
- useRouteQuery: Differentiate
undefined
andnull
when writing value - by @aa-ndrej and @antfu in #4382 (0cc45) - useSpeechRecognition: Execute 'start' when not ended - by @byronogis and @antfu in #4119 (890ab)
- useStorageAsync: Correct initialization when
initialValue
is getter - by @Mini-ghost and @antfu in #4452 (e6a17) - useTimeoutPoll:
immediate
default value should betrue
- by @phk422 and @antfu in #4232 (0450d) - useTimeoutPoll: Only start by default at client - by @antfu (a5fb0)
View changes on GitHub
v12.2.0
🚀 Features
- useArrayDifference: New
symmetric
option - by @wangliangxin, wangliangxin3 and @antfu in #4146 (46fdc) - useEventSource: New
autoConnect
option to align withuseWebSocket
- by @ferferga and @antfu in #4204 (230f8) - useImage: Support more native option - by @btea and @antfu in #4173 (4ca72)
- usePreferredReducedTransparency: Add new function - by @huiliangShen and @antfu in #4201 (34cd7)
🐞 Bug Fixes
View changes on GitHub
v12.2.0-beta.4
No significant changes
View changes on GitHub
v12.2.0-beta.3
No significant changes
View changes on GitHub
v12.2.0-beta.2
No significant changes