Skip to content

Releases: vueuse/vueuse

v8.7.0

16 Jun 15:19
Compare
Choose a tag to compare

   🚀 Features

  • until:
    • Improved until types #1493
  • useImage:

   🐞 Bug Fixes

  • onClickOutside:
    • Avoid calling safari workaround on right click #1673
  • unrefElement:
    • Don't return the Vue instance when $el is null/undefined #1657
  • useFetch:
    • Ssr compactible for headersToObject 8f541b0a
  • useIntervalFn:
    • Watch interval correctly #1676
  • useMagicKeys:
    • getModifierState is not function error in Chrome #1654
  • useScroll:
    • Compatibility for mobile #1663
  • useUrlSearchParams:
    • Preserve history state when updating query #1661
  • watch*:
    • Fix T type for WatchCallback #1692

   ❤️ Contributors

   Thanks to @antfu | @arcs- | @DrJume | @HannesOberreiter | @HassanZahirnia | @hsyq | @LeSuisse | @luciorubeens | @lvjiaxuan | @meteorlxy | @nhedger | @sibbng | @YunYouJun | @zojize

    View changes on GitHub

v8.6.0

31 May 12:54
Compare
Choose a tag to compare

Bug Fixes

  • nuxt: add useStorage to disabled composables (#1652) (1ed33ec)
  • useDraggable: should pass the stopPropagation option for component (#1620) (5e3151d)
  • useIntervalFn: unref interval (#1633) (29fc50c)

Features

v8.5.0

16 May 03:57
Compare
Choose a tag to compare

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 be false when element 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

05 May 15:53
Compare
Choose a tag to compare

Bug Fixes

  • useScrollLock: lock on element instead of document (#1561) (847e12f)
  • useScrollLock: stop listener properly (#1562) (f31de43)
  • useVModel: defaultValue can work with null (#1565) (f4e882c)
  • useVModel: return default value when it's nil only (#1567) (50d8a4c)

v8.4.1

04 May 10:54
Compare
Choose a tag to compare

Bug Fixes

  • useVModel: returning undefined on false values (#1557) (0f3ddca)

v8.4.0

03 May 17:09
Compare
Choose a tag to compare

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 if click 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 to isAborted (#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

21 Apr 18:58
Compare
Choose a tag to compare

Bug Fixes

  • nuxt: transpile ssr plugin (dfcee11)

Features

  • og:image for each route (c514265)

v8.3.0

20 Apr 13:34
Compare
Choose a tag to compare

Bug Fixes

Features

v8.2.6

14 Apr 10:27
Compare
Choose a tag to compare

Bug Fixes

  • nuxt: disable useHead and useTitle (903a14c)
  • useNProgress: allow partial options (#1487) (14ae0c9)
  • useRouteQuery: unset route query on default value (#1490) (c1459ed)

Features

v8.2.5

06 Apr 13:21
Compare
Choose a tag to compare

Bug Fixes