Releases: vueuse/vueuse
Releases · vueuse/vueuse
v8.7.0
🚀 Features
🐞 Bug Fixes
- onClickOutside:
- Avoid calling safari workaround on right click
#1673
- Avoid calling safari workaround on right click
- unrefElement:
- Don't return the Vue instance when
$el
isnull
/undefined
#1657
- Don't return the Vue instance when
- useFetch:
- Ssr compactible for
headersToObject
8f541b0a
- Ssr compactible for
- useIntervalFn:
- Watch interval correctly
#1676
- Watch interval correctly
- useMagicKeys:
getModifierState
is not function error in Chrome#1654
- useScroll:
- Compatibility for mobile
#1663
- Compatibility for mobile
- useUrlSearchParams:
- Preserve history state when updating query
#1661
- Preserve history state when updating query
- watch*:
- Fix
T
type forWatchCallback
#1692
- Fix
❤️ Contributors
Thanks to @antfu | @arcs- | @DrJume | @HannesOberreiter | @HassanZahirnia | @hsyq | @LeSuisse | @luciorubeens | @lvjiaxuan | @meteorlxy | @nhedger | @sibbng | @YunYouJun | @zojize
View changes on GitHub
v8.6.0
v8.5.0
Bug Fixes
- shared: correct to ignore undefined (#1601) (0aecfe6)
- toRefs: keep class prototype, close #1530 (#1599) (356da7d)
- useAxios: normalize isCanceled flag (#1585) (b833957)
- useFetch: respect custom fetch option (#1603) (56eb358)
- useFetch: return PromiseLike after setting method (#1571) (9b28628)
- useFocus:
focused
should befalse
whenelement
is undefined (#1580) (f0067ac) - useMediaQuery: normalize
isSupported
flag (#1575) (0222d48) - useUrlSearchParams: should return initialValue (#1583) (fe58f8a)
- useVModel: unified value (#1568) (70d8092)
- watchThrottled: duplicate callback invokation when leading and trailing edges coincide (#1593) (8ba3b9d)
Features
v8.4.2
v8.4.1
v8.4.0
Bug Fixes
- computedAsync: keep evaluating true for concurrent changes (#1555) (23549c3)
- core: circular reference (#1553) (df9dd89)
- integrations: mark change-case as an optional peer dependacy (#1542) (aa6e593)
- onClickOutside: fallback to
pointerup
event ifclick
event not propagate (#1522) (89c9e53) - onLongPress: make directive work normal (#1550) (53ba3ba)
- useAsyncState:
isLoading
not reset (#1518) (a8fd617) - useAxios: exception when
args
incorrect (#1534) (81f355d) - useAxios: rename
aborted
toisAborted
(#1519) (e2a9ac3) - useElementBounding: call
update
on mounted (#626) (#1541) (dccd1f3) - useMutationObserver: isSupported misjudge (#1540) (a4238a8)
Features
- rxjs: Correct useObservable type signature and provide means of creating a non-undefined Ref (#1551) (5f3d026)
- useCurrentElement: new function (e24db79)
- useNetwork: new
onlineAt
attribute (#1535) (4d5cf1c) - useScreenOrientation: new function (#1526) (e8c057c)
- useToggle: new options (#1523) (7aaebb3)
- useVModel: add option to define defaultValue (#1537) (66e82ec)
v8.3.1
v8.3.0
Bug Fixes
- refAutoReset: clear timeout on scope dispose (#1507) (8843f8f)
- useDraggable: update type (0ef8f8f)
- useFetch: merge default options (#1500) (f62bf35), closes #1495
- useRafFn: call
cancelAnimationFrame
on pause (#1502) (a21bd2b) - useScriptTag: enable setting arbitrary attrs (#1511) (f8cd7a7)
Features
- nuxt: support nuxt3 rc (c6407e1)