Skip to content

Releases: vueuse/vueuse

v9.8.1

20 Dec 13:03
Compare
Choose a tag to compare

   🐞 Bug Fixes

  • useStorage: Resume the watch after setting the value, fix loop updates  -  by @antfu (c3851)
    View changes on GitHub

v9.8.0

20 Dec 11:22
Compare
Choose a tag to compare

   🚀 Features

   🐞 Bug Fixes

    View changes on GitHub

v9.7.0

16 Dec 15:47
Compare
Choose a tag to compare

   🚀 Features

   🐞 Bug Fixes

    View changes on GitHub

v9.6.0

22 Nov 11:41
Compare
Choose a tag to compare

   🐞 Bug Fixes

    View changes on GitHub

v9.5.0

09 Nov 00:21
Compare
Choose a tag to compare

   🚀 Features

  • onClickOutside: Support options in component  -  by @fiadone and @sibbng in #2391
  • useEventListener: Accept multiple events or listeners  -  by @vaakian and @antfu in #2180
  • useFetch: Allow configure lifecycle handler behavior  -  by @climba03003 in #2333
  • useFetch: Support sending the custom request to an absolute URL regardless baseURL  -  by @sun0day in #2210
  • useGeolocation: Pause and resume controls  -  by @benax-se in #2376
  • useIDBKeyval: New integration - Idb-keyval wrapper  -  by @Harmony222 in #2335
  • useWebsocket: Url to be ref/computed  -  by @rotu in #2367

   🐞 Bug Fixes

  • onClickOutside: Access correct document  -  by @sibbng in #2404
  • usePointerSwipe: Handle secondary clicks properly  -  by @curtgrimes in #2379
  • useScroll: The expected result cannot be returned after setting the throttle parameter  -  by @LittleSound in #2390
  • useWebSocket: Don't hide pong setTimeout reference  -  by @kellerza and @antfu in #2206
    View changes on GitHub

v9.4.0

25 Oct 12:09
Compare
Choose a tag to compare

   🚀 Features

  • refDebounced: Use MaybeComputedRef for ms  -  by @dominikklein in #2337
  • useClipboard: Support legacy copy  -  by @lumdzeehol in #2336
  • useVirtualList: Horizontal list  -  by @Surof1n in #2310
  • useWebWorker: Support overloads  -  by @GODLiangCY in #2259

   🐞 Bug Fixes

  • useCounter: Set and reset should also be limited  -  by @iChengbo in #2179
  • useRouteHash, useRouteParams, useRouteQuery: Override only selected route param  -  by @dvh91 in #2350
  • useWebSocket: Don't reconnect WebSocket if close issued between retries  -  by @rotu in #2330
  • watchThrottled: Wait incorrect remaining time  -  by @sun0day in #2267
    View changes on GitHub

v9.3.1

17 Oct 00:11
Compare
Choose a tag to compare

   🚀 Features

   🐞 Bug Fixes

  • nuxt: Wrap ssr plugin in defineNuxtPlugin  -  by @dan-online in #2326
  • useBluetooth: Use shallowRef for bluetooth instance  -  by @antfu (0199b)
  • useFetch: Fix incorrect chainCallbacks behavior  -  by @GODLiangCY in #2231
  • useFirestore: Auto dispose documents  -  by @Zehir in #2318
  • useStorage: Fixed data desynchronization in case of clearing storage  -  by @yuryrudey in #2221
  • useTitle: Prevent observe and titleTemplate been specified at the same time  -  by @huynl-96 and @antfu in #2049
    View changes on GitHub

v9.3.0

26 Sep 02:06
Compare
Choose a tag to compare

   🚀 Features

  • Optional callback for useInterval, useTimeout & useTimestamp  -  by @Waleed-KH in #2240
  • onClickOutside: Add bubble modifier to directive  -  by @sibbng in #2183
  • onKeyStroke: Support capture all handler  -  by @azaleta in #2197
  • useAxios: Improve type  -  by @azaleta in #2208
  • useAxios: Add second generic type to error  -  by @azaleta in #2248
  • useAxios: Add option for choosing shallowRef or ref  -  by @jahnli in #2251
  • useDateFormat: Support MMM and MMMM formatter  -  by @777Vasya77 in #2234
  • useDateFormat: Support meridiem format  -  by @huynl-96 in #2011
  • useFirestore: Support dependent queries  -  by @kiyopikko in #2103
  • useMediaQuery: Allow query to be a ref  -  by @GODLiangCY in #2178
  • useScroll: Support setting scroll position and toggling smooth scrolling  -  by @curtgrimes in #1996
  • useTimeAgo: New showSecond option  -  by @azaleta in #2209

   🐞 Bug Fixes

  • onClickOutside: Put ignore logic on pointerdown event  -  by @GODLiangCY in #2198
  • templateRef: Add Component type  -  by @Holi0317 in #2203
  • until: .not returns new instance  -  by @lsdsjy and @antfu in #2224
    View changes on GitHub

v9.2.0

05 Sep 14:47
Compare
Choose a tag to compare

   🚨 Breaking Changes

   🚀 Features

   🐞 Bug Fixes

  • useArrayMap: Allow return type matches the mapper function  -  by @GODLiangCY in #2172
  • useAxios: Reset error on execute  -  by @flyingTodream in #2095
  • useDevicePixelRatio: More efficient mechanism  -  by @Waleed-KH and @antfu in #2044
  • useFavicon: Improve type overload  -  by @azaleta in #2123
  • useFileDialog: Choose file not work on mobile  -  by @1SZX1 and @antfu in #2080
  • useFocusWithin: Change focused typing to ComputedRef  -  by @chaii3 in #2073
  • useMemoize: Allow number in getKey  -  by @chaii3 in #2074
    View changes on GitHub

v9.1.1

23 Aug 13:24
Compare
Choose a tag to compare

   🚀 Features

   🐞 Bug Fixes

  • firebase: Improve externalization  -  by @antfu (e2a78)
  • shared: Resolve internal circular reference  -  by @antfu (0fdbb)
  • useActiveElement: Use computedWithControl instead of counter ref  -  by @vaakian in #2093
  • useElementHover: Support set el ref type  -  by @JiatLn in #2079
  • useScroll: Account for rounding errors when calculating arrivedState  -  by @curtgrimes in #2051
  • useURLSearchParams: Avoid referencing to global location  -  by @mskr in #2066
    View changes on GitHub