Skip to content

Upgrading @vueuse/nuxt 14 to 15

Breaking14.4.0 → 15.0.0Breaking5Platform1New3Changed1Fixed9

BreakingUpgrade verdict

5 breaking changes and a platform requirement change.

  • The templateRef helper is removed, so code that imports or uses it will stop working.
  • Old timer options are gone; use the scheduler option instead.
  • Throttled functions now run once more at the end of the throttle window by default.
  • Server-sent event messages of type message now fire both the onmessage handler and addEventListener listeners, which can change how many times your code runs.
Top 4 of 6 that need code or config changes

Requires Node.js >=22 from 15.0.0 (none stated before).

Breaking5
Drops templateRef.
templateRef
Removes deprecated timer options in favor of scheduler in core.
scheduler
useThrottleFn changes default trailing option from false to true.
useThrottleFntrailing
useEventSource handles SSE message type and triggers both onmessage and addEventListener.
useEventSourceonmessageaddEventListener
useIDBKeyval syncs changes across tabs.
useIDBKeyval
Platform1
Drops support for Node.js 20.