Skip to content
Compare
Choose a tag to compare

Bug Fixes

  • useFetch: make helper methods return PromiseLike<UseFetchReturn<T>> (#1402) (b9e8e8a)
  • useMediaQuery: removeEventListener in guard target should be med… (#1401) (92cedd1)
Compare
Choose a tag to compare

Breaking Changes

  • Deprecated usage of @vueuse/core/nuxt has been removed, use @vueuse/nuxt instead
  • syncRef renamed to syncRefs (5ec1da1)
  • biSyncRef renamed to syncRef, with configurable syncing direction (360833d)
  • fix(useTextSelection)!: listen to selectionchange event by @okxiaoliang4 in #1194
  • refactor(useFocus)!: made target an required argument instead of an option by @wtykirby in #1010

Bug Fixes

  • useAxios: args param need limit (#1343) (42fc7a7)
  • useFetch: uppercase HTTP methods in useFetch (#1336) (4ce7c72)
  • useTextSelection: ssr compactible (2a87733)
  • onClickOutside: should work normal w/ directive (#1366) (66cefd5)

New Features

  • New @vueuse/metadata package to replace the indexes.json with proper types
  • Better support of related functions in docs
  • Support alias of functions
  • New functions
  • Enhancements
    • useAxios: allow useAxios to be awaited (#1228) (8812e7e)
    • useAxios: allow not passing url in constructor (#1388) (2a582d4)
    • useDraggable: add stopPropagation option (#1391) (7445f0a)
  • Directive support for functions

Refactoring

  • Normalize the function names with the backward compact alias
    • eagerComputed -> computedEager
    • asyncComputed -> computedAsync
    • controlledComputed -> computedWithControl
    • useThrottle, throttledRef -> refThrottled
    • useDebounce, debouncedRef -> refDebounced
    • controlledRef -> refWithControl
    • pasuableWatch -> watchPasuable
    • ignorableWatch -> watchIgnorable
    • debouncedWatch -> watchDebounced
    • throttledWatch -> watchThrottled
    • and, or, not -> logicAnd, logicOr, logicNot
    • autoResetRef -> refAutoReset

New Contributors

New Team Members

Full Changelog: v7.7.1...v8.0.0

Compare
Choose a tag to compare

v8.0.0-beta.3

Pre-release
Pre-release

Bug Fixes

  • onClickOutside: should work normal w/ directive (#1366) (66cefd5)

Features

Compare
Choose a tag to compare

v8.0.0-beta.1

Pre-release
Pre-release

Breaking Changes

  • Deprecated usage of @vueuse/core/nuxt has been removed, use @vueuse/nuxt instead
  • syncRef renamed to syncRefs (5ec1da1)
  • biSyncRef renamed to syncRef, with configurable syncing direction (360833d)
  • fix(useTextSelection)!: listen to selectionchange event by @okxiaoliang4 in #1194
  • refactor(useFocus)!: made target an required argument instead of an option by @wtykirby in #1010

Bug Fixes

  • useAxios: args param need limit (#1343) (42fc7a7)
  • useFetch: uppercase HTTP methods in useFetch (#1336) (4ce7c72)
  • useTextSelection: ssr compactible (2a87733)

New Features

  • New @vueuse/metadata package to replace the indexes.json with proper types
  • Better support of related functions in docs
  • Support alias of functions
  • New functions
  • Enhancements
  • Directive support for functions

Refactoring

  • Normalize the function names with the backward compact alias
    • eagerComputed -> computedEager
    • asyncComputed -> computedAsync
    • controlledComputed -> computedWithControl
    • useThrottle, throttledRef -> refThrottled
    • useDebounce, debouncedRef -> refDebounced
    • controlledRef -> refWithControl
    • pasuableWatch -> watchPasuable
    • ignorableWatch -> watchIgnorable
    • debouncedWatch -> watchDebounced
    • throttledWatch -> watchThrottled
    • and, or, not -> logicAnd, logicOr, logicNot
    • autoResetRef -> refAutoReset
Compare
Choose a tag to compare

Bug Fixes

Compare
Choose a tag to compare

Bug Fixes

Features

Compare
Choose a tag to compare

Bug Fixes

  • useElementBouding: should reset value while element unmounted (#1253) (aba020f)
  • useElementSize: should reset value while element unmounted (#1254) (7b40091)
  • useFps,useMemory: ssr support (#1244) (0e1e211)
  • useMagicKeys: filter undefined event key (#1235) (03929c7)
  • useToggle: toggle function return value (#1256) (8d190ae)

Features

Compare
Choose a tag to compare

Bug Fixes

Compare
Choose a tag to compare

Bug Fixes

  • integrations: relax peerDeps version, close #1189 (94411ad)
  • ssr-handlers: fix _global is undefined (#1190) (5418f3b)
  • UseDraggable: add prop key[storageType] (#1191) (20df83c)
  • useElementBounding: update jsdoc (e1f64dc)

Features