🚀 Features
- createInjectionState: InjectionKey use composable name - by @zhangxuyang950313 in #3788 (c2cfd)
- nuxt: Move to ESM-first and fix types - by @userquin in #3606 (b3d74)
- throttleFilter: Support object as argument - by @17359898647 and Anthony Fu in #3722 (66d09)
- useAxios: Support
abortPrevious
option - by @jahnli and @antfu in #3735 (b94de) - useBreakpoints: Enable passing ref or getter to get breakpoints - by @Doctor-wu in #3621 (d3317)
- useBreakpoints: Add
strategy
option to allow desktop-first convention - by @jack-allocate and @antfu in #3783 (15fc0) - useBreakpoints: Add
active
getter, add breakpoints for Vuetify v3 - by @altrusl, @Doctor-wu and @antfu in #3687 (3ae45) - useCurrentElement: Allow get current element from a specific component - by @linspw and @antfu in #3750 (0a9aa)
- useCycleList: Add
go
function - by @Jokerzhzh and @antfu in #3615 (2ae36) - useDraggable: Add disabled parameter - by @huiliangShen and banruo in #3613 (dee9a)
- useEventSource: Add
autoReconnect
andimmediate
to options, update typings - by @schelmo in #3793 (b33ab) - useMutationObserver: Allow multiple targets - by @chirokas in #3741 (98fac)
- useParallax: Can work with different screen orientation - by @huiliangShen and banruo in #3675 (3fd94)
- useTextareaAutosize: Allow configuring
styleProp
to support nativerows
attribute - by @yakudik, alexander.kudinov, Anthony Fu and @antfu in #3552 (5025e)
🐞 Bug Fixes
- Stricter types - by @antfu (a086e)
- createReusableTemplate: Improve types - by @louiss0, louiss0, Anthony Fu and @antfu in #3641 (75168)
- useAnimate: Immediate option set false not working - by @huiliangShen, banruo and Anthony Fu in #3763 (12c09)
- useCloned: Correct return type - by @17359898647 in #3711 (e262f)
- useCounter: Allow
delta
to be negative - by @leewakin, @Doctor-wu and @antfu in #3650 (cf29c) - useDraggable: Avoid moving out of container - by @wangliangxin and wangliangxin3 in #3768 (55b94)
- useElementVisiblity: Can configurable threshold - by @huiliangShen and @Doctor-wu in #3715 (ce9bb)
- useFetch: Mark
isFinished
,isFetching
readonly - by @baboon-king and @antfu in #3616 (31d4a) - useFetch: Remove unnecessary spread operator in iterable conversion - by @BlackCrowxyz in #3660 (f5587)
- useFileSystemAccess: UpdateData on modified file - by @PhE in #3780 (668ca)
- useGamepad: Explicitly ensure gamepad index is available - by @AntoninRousset and AntoninRousset in #3653 (8c735)
- useGamepad: Improve data updating logic - by @okydk in #3775 (9b8ed)
- useMounted: Hold the instance, close #3785, close #3795 - by @antfu in #3785 and #3795 (2f66e)
- useRafFn: Fix
fpsLimit
option, fix #3481, close #3482 - by @antfu in #3481 and #3482 (69990) - useResizeObserver: Do not watch deep to avoid cicular calls - by @birdxiao, birdxiao and @antfu in #3753 (48421)
- useRouteParams,useRouteQuery: Set route param/query to undefined when null or defaultValue - by @mtdvlpr and @antfu in #3583 (c44fe)
- useScroll: Add
onError
hook and avoid throws by default, fix #3580 - by @steklopod, @antfu and Brendo Maciel in #3605 and #3580 (fab86) - useStorage: Ensure setting value to null syncs to other instances - by @callumacrae and @antfu in #3737 (f7ea1)
- useUserMedia: Stop stream on scope dispose - by @Waleed-KH in #3757 (6d44d)
- useWebSocket: Reset
wsRef
on close, fix #3706 - by @a982246809 and @Doctor-wu in #3707 and #3706 (9a47a) - useWebSocket:
immediate
should only be applied once, close #3676 - by @antfu in #3676 (93b96)