@vueuse/shared breaking changes
Updated December 4, 2026
On this page
Latest version 15.1.0, released November 23, 2026. Source repository
Its 15.0.0 release drops Node.js 20. Node.js end of life dates.
- From 14.4.0 to 15.1.0: 8 breaking changes in 2 versions.
- From 12.0.0 to 15.1.0: 508 breaking changes in 22 versions.
@vueuse/shared 15.1.0 breaking changes
- Behavior changed
useBattery
The data returned by useBattery is now read-only, so code that mutates it will no longer work as before. github.com - Behavior changed
useIdle
Calling reset(true) on useIdle now also updates lastActive, which changes the value existing code reads after a reset. github.com
@vueuse/shared 15.0.0 breaking changes
- Removed
The deprecated timer options were removed in favor of the scheduler option. Move code that passes the old timer options to scheduler. github.com - Removed
The package no longer supports Node.js 20. Upgrade Node.js before using this release. github.com - Removed
templateRef
templateRef is no longer available in this release. Code that uses it must be updated before upgrading. github.com - Behavior changed
useEventSource
SSE message events now trigger both onmessage and addEventListener handlers. Check code that handles both and avoid duplicate handling. github.com - Behavior changed
useIDBKeyval
Changes to stored values now sync across browser tabs. Review code that assumes values stay local to one tab. github.com - Default changed
useThrottleFn
The default trailing option changed from false to true. Pass trailing: false explicitly to keep the old behavior. github.com
@vueuse/shared 14.4.0 breaking changes
- Behavior changed
useColorMode
The Nuxt module no longer auto-imports useColorMode if the @nuxtjs/color-mode module is detected in the project. Code relying on the auto-import in that setup should import useColorMode explicitly from @vueuse/core or remove the... github.com - Signature changed
createFilterWrapper
Was function createFilterWrapper<T extends AnyFn>(filter: EventFilter, fn: T): (this: any, ...args: ArgumentsType<T>) => Promise<Awaited<ReturnType<T>>>; now function createFilterWrapper<T extends AnyFn>(filter: CancelableEventFilter, fn... npmjs.com - Signature changed
debounceFilter
Was function debounceFilter(ms: MaybeRefOrGetter<number>, options?: DebounceFilterOptions): EventFilter<any[], any, AnyFn>; now function debounceFilter(ms: MaybeRefOrGetter<number>, options?: DebounceFilterOptions): CancelableEventFilter. npmjs.com - Signature changed
refWithControl
Was function refWithControl<T>(initial: T, options?: ControlledRefOptions<T>): {get: (tracking?: boolean) => T; set: (value: T, triggering?: boolean) => void; untrackedGet: () => T; silentSet: (v: T) => void; peek: () => T; lay: (v: T) =>... npmjs.com - Signature changed
syncRefs
Was function syncRefs<T>(source: WatchSource<T>, targets: Ref<T> | Ref<T>[], options?: SyncRefsOptions): _$vue.WatchHandle; now function syncRefs<T>(source: WatchSource<T>, targets: Ref<T> | Ref<T>[], options?: SyncRefsOptions)... npmjs.com - Signature changed
useCounter
Was function useCounter(initialValue?: MaybeRef<number>, options?: UseCounterOptions): {count: Readonly<Ref<number, number> | _$vue.ShallowRef<number, number> | _$vue.WritableComputedRef<number, number>>; inc: (delta?: number) => number... npmjs.com - Signature changed
UseDebounceFnReturn
Was type UseDebounceFnReturn<T extends FunctionArgs> = PromisifyFn<T>; now type UseDebounceFnReturn<T extends FunctionArgs> = CancelablePromisifyFn<T>. npmjs.com - Signature changed
watchArray
Was function watchArray<T, Immediate extends Readonly<boolean> = false>(source: WatchSource<T[]> | T[], cb: WatchArrayCallback<T[], Immediate extends true ? T[] | undefined : T[]>, options?: WatchOptions<Immediate>): _$vue.WatchHandle; now... npmjs.com
@vueuse/shared 14.3.0 breaking changes
- Signature changed
createGlobalState
Was function createGlobalState<Fn$1 extends AnyFn>(stateFactory: Fn$1): CreateGlobalStateReturn<Fn$1>; now function createGlobalState<Fn extends AnyFn>(stateFactory: Fn): CreateGlobalStateReturn<Fn>. npmjs.com - Signature changed
CreateGlobalStateReturn
Was type CreateGlobalStateReturn<Fn$1 extends AnyFn = AnyFn> = Fn$1; now type CreateGlobalStateReturn<Fn extends AnyFn = AnyFn> = Fn. npmjs.com - Signature changed
createInjectionState
Was function createInjectionState<Arguments extends Array<any>, Return>(composable: (...args: Arguments) => Return, options?: CreateInjectionStateOptions<Return>): CreateInjectionStateReturn<Arguments, Return>; now function... npmjs.com - Signature changed
CreateInjectionStateReturn
Was type CreateInjectionStateReturn<Arguments extends Array<any>, Return> = Readonly<[useProvidingState: (...args: Arguments) => Return, useInjectedState: () => Return | undefined]>; now type CreateInjectionStateReturn<Arguments extends... npmjs.com - Signature changed
createSharedComposable
Was function createSharedComposable<Fn$1 extends AnyFn>(composable: Fn$1): SharedComposableReturn<Fn$1>; now function createSharedComposable<Fn extends AnyFn>(composable: Fn): SharedComposableReturn<Fn>. npmjs.com - Signature changed
extendRef
Was function extendRef<R$1 extends Ref<any>, Extend extends object, Options extends ExtendRefOptions<false>>(ref: R$1, extend: Extend, options?: Options): ShallowUnwrapRef$1<Extend> & R$1 function extendRef<R$1 extends Ref<any>, Extend... npmjs.com - Signature changed
get
Was function get<T, K$1 extends keyof T>(ref: MaybeRef<T>, key: K$1): T[K$1]; now function get<T, K extends keyof T>(ref: MaybeRef<T>, key: K): T[K]. npmjs.com - Signature changed
hasOwn
Was const hasOwn: <T extends object, K$1 extends keyof T>(val: T, key: K$1) => key is K$1; now const hasOwn: <T extends object, K extends keyof T>(val: T, key: K) => key is K. npmjs.com - Signature changed
makeDestructurable
Was function makeDestructurable<T extends Record<string, unknown>, A$1 extends readonly any[]>(obj: T, arr: A$1): T & A$1; now function makeDestructurable<T extends Record<string, unknown>, A extends readonly any[]>(obj: T, arr: A): T & A. npmjs.com - Signature changed
provideLocal
Was function provideLocal<T, K$1 = LocalProvidedKey<T>>(key: K$1, value: K$1 extends InjectionKey<infer V> ? V : T): ProvideLocalReturn; now function provideLocal<T, K = LocalProvidedKey<T>>(key: K, value: K extends InjectionKey<infer V> ?... npmjs.com
And 34 more in this version. Sign up to see every change
@vueuse/shared 14.2.0 breaking changes
- Signature changed
ArgumentsType
Was type ArgumentsType<T$1> = T$1 extends ((...args: infer U) => any) ? U : never; now type ArgumentsType<T> = T extends ((...args: infer U) => any) ? U : never. npmjs.com - Signature changed
Arrayable
Was type Arrayable<T$1> = T$1[] | T$1; now type Arrayable<T> = T[] | T. npmjs.com - Signature changed
Awaitable
Was type Awaitable<T$1> = Promise<T$1> | T$1; now type Awaitable<T> = Promise<T> | T. npmjs.com - Signature changed
Awaited
Was type Awaited<T$1> = T$1 extends null | undefined ? T$1 : T$1 extends object & {then: (onfulfilled: infer F, ...args: infer _) => any;} ? F extends ((value: infer V, ...args: infer _) => any) ? Awaited<V> : never : T$1; now type... npmjs.com - Signature changed
computedEager
Was function computedEager<T$1>(fn: () => T$1, options?: ComputedEagerOptions): ComputedEagerReturn<T$1>; now function computedEager<T>(fn: () => T, options?: ComputedEagerOptions): ComputedEagerReturn<T>. npmjs.com - Signature changed
ComputedEagerReturn
Was type ComputedEagerReturn<T$1 = any> = Readonly<ShallowRef<T$1>>; now type ComputedEagerReturn<T = any> = Readonly<ShallowRef<T>>. npmjs.com - Signature changed
ComputedRefWithControl
Was interface ComputedRefWithControl<T$1> extends ComputedRef<T$1>, ComputedWithControlRefExtra; now interface ComputedRefWithControl<T> extends ComputedRef<T>, ComputedWithControlRefExtra. npmjs.com - Signature changed
computedWithControl
Was function computedWithControl<T$1>(source: WatchSource | MultiWatchSources$1, fn: ComputedGetter<T$1>, options?: WatchOptions): ComputedRefWithControl<T$1> function computedWithControl<T$1>(source: WatchSource | MultiWatchSources$1, fn... npmjs.com - Signature changed
ComputedWithControlRef
Was type ComputedWithControlRef<T$1 = any> = ComputedRefWithControl<T$1> | WritableComputedRefWithControl<T$1>; now type ComputedWithControlRef<T = any> = ComputedRefWithControl<T> | WritableComputedRefWithControl<T>. npmjs.com - Signature changed
ControlledRefOptions
Was interface ControlledRefOptions<T$1>; now interface ControlledRefOptions<T>. npmjs.com
And 129 more in this version. Sign up to see every change
@vueuse/shared 14.1.0 breaking changes
- Removed
MultiWatchSources.at
MultiWatchSources.at was removed in @vueuse/shared 14.1.0 npmjs.com - Removed
MultiWatchSources.concat
MultiWatchSources.concat was removed in @vueuse/shared 14.1.0 npmjs.com - Removed
MultiWatchSources.copyWithin
MultiWatchSources.copyWithin was removed in @vueuse/shared 14.1.0 npmjs.com - Removed
MultiWatchSources.entries
MultiWatchSources.entries was removed in @vueuse/shared 14.1.0 npmjs.com - Removed
MultiWatchSources.every
MultiWatchSources.every was removed in @vueuse/shared 14.1.0 npmjs.com - Removed
MultiWatchSources.fill
MultiWatchSources.fill was removed in @vueuse/shared 14.1.0 npmjs.com - Removed
MultiWatchSources.filter
MultiWatchSources.filter was removed in @vueuse/shared 14.1.0 npmjs.com - Removed
MultiWatchSources.find
MultiWatchSources.find was removed in @vueuse/shared 14.1.0 npmjs.com - Removed
MultiWatchSources.findIndex
MultiWatchSources.findIndex was removed in @vueuse/shared 14.1.0 npmjs.com - Removed
MultiWatchSources.flat
MultiWatchSources.flat was removed in @vueuse/shared 14.1.0 npmjs.com
And 40 more in this version. Sign up to see every change
Older versions
17 older versions, each with its first changes. Sign up to see every change
Show 17 older versions
@vueuse/shared 14.0.0 breaking changes
- Removed
MaybeRef
MaybeRef was removed in @vueuse/shared 14.0.0 npmjs.com - Removed
MaybeRefOrGetter
MaybeRefOrGetter was removed in @vueuse/shared 14.0.0 npmjs.com
And 173 more in this version.
@vueuse/shared 14.0.0-alpha.3 breaking changes
- Behavior changed
createSharedComposable
On the client, createSharedComposable now returns only the sharedComposable, so code using other return values must change. github.com
@vueuse/shared 14.0.0-alpha.2 breaking changes
- Removed
Several previously deprecated shared APIs were removed; code using them must switch to replacements. github.com - Configuration changed
The package now requires Vue 3.5, so projects on older Vue versions must upgrade. github.com
@vueuse/shared 14.0.0-alpha.1 breaking changes
- Removed
isPassiveEventSupported
isPassiveEventSupported was removed from useSwipe; code importing or calling it must be updated. github.com - Behavior changed
The build now uses tsdown and dist files moved, so deep imports into dist paths may stop resolving. github.com
And 1 more in this version.
@vueuse/shared 14.0.0-alpha.0 breaking changes
- Behavior changed
useThrottleFn
useThrottleFn timing now matches traditional throttle behavior, so code relying on the old timing may act differently and should be checked. github.com
@vueuse/shared 13.7.0 breaking changes
- Default changed
computedAsync
Errors are now reported through globalThis.reportError by default instead of being handled silently. Pass your own onError to keep previous handling. github.com - Default changed
useAsyncState
Errors are no longer silently swallowed by default; they are reported through globalThis.reportError. Pass your own onError to keep previous handling. github.com
@vueuse/shared 13.4.0 breaking changes
- Signature changed
computedWithControl
Was function computedWithControl<T, S>(source: WatchSource<S> | WatchSource<S>[], fn: ComputedGetter<T>): ComputedRefWithControl<T> function computedWithControl<T, S>(source: WatchSource<S> | WatchSource<S>[], fn... npmjs.com - Signature changed
controlledComputed
Was function computedWithControl<T, S>(source: WatchSource<S> | WatchSource<S>[], fn: ComputedGetter<T>): ComputedRefWithControl<T> function computedWithControl<T, S>(source: WatchSource<S> | WatchSource<S>[], fn... npmjs.com
And 1 more in this version.
@vueuse/shared 13.2.0 breaking changes
- Signature changed
useArrayFind
Was function useArrayFind<T>(list: MaybeRefOrGetter<MaybeRefOrGetter<T>[]>, fn: (element: T, index: number, array: MaybeRefOrGetter<T>[]) => boolean): UseArrayFindReturn; now function useArrayFind<T>(list... npmjs.com - Signature changed
watchOnce
Was function watchOnce<T extends Readonly<WatchSource<unknown>[]>, Immediate extends Readonly<boolean> = false>(source: [...T], cb: WatchCallback<MapSources<T>, MapOldSources<T, Immediate>>, options?: WatchOptions<Immediate>)... npmjs.com
@vueuse/shared 13.1.0 breaking changes
- Signature changed
autoResetRef
Was function refAutoReset<T>(defaultValue: MaybeRefOrGetter<T>, afterMs?: MaybeRefOrGetter<number>): Ref<T>; now function refAutoReset<T>(defaultValue: MaybeRefOrGetter<T>, afterMs?: MaybeRefOrGetter<number>): RefAutoResetReturn<T>. npmjs.com - Signature changed
computedEager
Was function computedEager<T>(fn: () => T, options?: WatchOptionsBase): Readonly<ShallowRef<T>>; now function computedEager<T>(fn: () => T, options?: ComputedEagerOptions): ComputedEagerReturn<T>. npmjs.com
And 40 more in this version.
@vueuse/shared 13.0.0 breaking changes
- Removed
The package no longer ships a CommonJS build, so code that loads it with require() must switch to ESM import. github.com
@vueuse/shared 12.8.0 breaking changes
- Signature changed
computedEager
Was function computedEager<T>(fn: () => T, options?: WatchOptionsBase): Readonly<Ref<T>>; now function computedEager<T>(fn: () => T, options?: WatchOptionsBase): Readonly<ShallowRef<T>>. npmjs.com - Signature changed
eagerComputed
Was function computedEager<T>(fn: () => T, options?: WatchOptionsBase): Readonly<Ref<T>>; now function computedEager<T>(fn: () => T, options?: WatchOptionsBase): Readonly<ShallowRef<T>>. npmjs.com
And 8 more in this version.
@vueuse/shared 12.6.0 breaking changes
- Behavior changed
useCssVar
useCssVar behaves differently in this release, so code that relied on the previous behavior may need to be checked. github.com - Signature changed
EventHookTrigger
Was type EventHookTrigger<T = any> = (...param: IsAny<T> extends true ? unknown[] : [T, ...unknown[]]) => Promise<unknown[]>; now type EventHookTrigger<T = any> = (...param: Parameters<Callback<T>>) => Promise<unknown[]>. npmjs.com
And 4 more in this version.
@vueuse/shared 12.4.0 breaking changes
- Behavior changed
Event listeners are registered as passive where the browser allows it, which can change whether handlers may call preventDefault. Check handlers that rely on preventing default event behavior. github.com
@vueuse/shared 12.3.0 breaking changes
- Behavior changed
useTimeoutPoll
useTimeoutPoll no longer starts polling by default during server-side rendering. Start it explicitly on the server if needed. github.com - Default changed
useTimeoutPoll
The immediate option of useTimeoutPoll now defaults to true. Pass immediate: false to keep the previous behavior. github.com
And 3 more in this version.
@vueuse/shared 12.2.0 breaking changes
- Signature changed
useArrayDifference
Was function useArrayDifference<T>(list: MaybeRefOrGetter<T[]>, values: MaybeRefOrGetter<T[]>, compareFn?: (value: T, othVal: T) => boolean): ComputedRef<T[]> function useArrayDifference<T>(list: MaybeRefOrGetter<T[]>, values... npmjs.com
@vueuse/shared 12.1.0 breaking changes
- Behavior changed
useMediaQuery
The return value is now a computed ref rather than the previous value, so code that assigns to it or expects the old type may need changes. github.com - Behavior changed
useRouteParams
When defaultValue is a ref or getter, the route param is now set to undefined instead of the default value. github.com
And 2 more in this version.
@vueuse/shared 12.0.0 breaking changes
- Removed
VueUse 12.0.0 no longer supports Vue 2. Vue 2 users must stay on 11.x or move to Vue 3. github.com - Removed
directiveHooks
directiveHooks was removed in @vueuse/shared 12.0.0 npmjs.com
Related packages
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.