Upgrading @vueuse/nuxt 14 to 15
Breaking14.4.0 → 15.0.0Breaking5Platform1New3Changed1Fixed9
BreakingUpgrade verdict
5 breaking changes and a platform requirement change.
In plain terms
- 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.
Must act Top 4 of 6 that need code or config changes
Requires Node.js >=22 from 15.0.0 (none stated before).
What you must change
Breaking5
Drops templateRef.
templateRefRemoves deprecated timer options in favor of scheduler in core.
scheduleruseThrottleFn changes default trailing option from false to true.
useThrottleFntrailinguseEventSource handles SSE message type and triggers both onmessage and addEventListener.
useEventSourceonmessageaddEventListeneruseIDBKeyval syncs changes across tabs.
useIDBKeyvalPlatform1
Drops support for Node.js 20.