Change8

v3.19.1

📦 nuxtView on GitHub →
🐛 9 fixes🔧 7 symbols

Summary

Nuxt v3.19.1 is a patch release focusing on bug fixes for auto-imports, tree-shaking improvements, and enhanced developer warnings.

Migration Steps

  1. Run 'npx nuxt upgrade --dedupe' to upgrade and deduplicate the lockfile.

🐛 Bug Fixes

  • Correct relative path of auto imported components
  • Prefer accessing globalThis over window for better environment compatibility
  • Migrate to AST-aware tree-shaking and route injection
  • Ignore #components import mapping inside packages that use it internally
  • Remove explicit vite-node configuration of deps.inline
  • Include trace in dev-time useRoute usage warning
  • Print route middleware path in warning
  • Include core auto-imports from imports:sources in override warning
  • Render relative importmap entry path if required

🔧 Affected Symbols

useRoutenavigateTo#componentsglobalThiswindowvite-nodeimports:sources