Skip to content

Upgrading @vueuse/nuxt 12 to 13

Breaking12.8.2 → 13.9.0Breaking3Deprecated1New25Changed7Fixed37Other5

BreakingUpgrade verdict

2 breaking changes.

  • If an async state call fails, the error is now reported through the browser's global error reporting instead of being silently ignored, unless you set your own onError.
  • The package can no longer be loaded with require() in CommonJS projects; it must be imported as an ES module.
  • The templateRef helper is now marked as deprecated and may be removed in a future release.
3 items need code or config changes

Drops vue.

Installs 51 packages in all (was 73).

Breaking2
useAsyncState now defaults onError to globalThis.reportError, changing error handling behavior for callers.
useAsyncStateglobalThis.reportErroronError
Drops the CJS build, so the package is now ESM-only.
Deprecated1
Marks templateRef as deprecated.
templateRef