npm nuxt 3.4.2
v3.4.2

latest releases: 3.14.159, 3.14.0, 3.13.2...
19 months ago

3.4.2 is a patch release with the latest bug fixes and performance improvements

✨ What's new?

Apart from the normal bug fixes, we have a couple things we should call out.

  1. 🔥 We're now on Vite 4.3 (#20405). This was a performance-focused release and hopefully you'll be enjoying the speed improvements! Check out the release announcement for more info.
  2. 👀 It's now possible to experimentally enable @parcel/watcher for the Nuxt dev watcher (#20179). This may improve performance if you're on Windows. You'll probably also want to install watchman in that case.

✅ Upgrading

As usual, our recommendation for upgrading is to run:

nuxi upgrade --force

This will refresh your lockfile as well, and ensures that you pull in updates from other dependencies that Nuxt relies on, particularly in the unjs ecosystem.

👉 Changelog

compare changes

🔥 Performance

  • nuxt: Share lazy component definitions (#20259)
  • Remove unused deps and add implicit deps (#20356)
  • Allow using @parcel/watcher for dev watcher (#20179)

🩹 Fixes

  • vite: Set different cache dirs for client/server (#20276)
  • nuxt: Generate hi-res sourcemaps (#20280)
  • nuxt: Return type directly if not picking asyncData (#20288)
  • nuxt: Provide more helpful error when instance unavailable (#20289)
  • nuxt: Mark useRequestHeaders keys as optional (#20286)
  • vite: Avoid serving arbitrary file in vite-node middleware (#20345)
  • nuxt: Swap preloads for json/js payloads (#20375)
  • nuxt: Handle pages with no content and log warning (#20373)
  • test-utils: Import jest functions from @jest/globals (#20360)
  • core,kit: Ensure module transpilation paths are dirs (#20396)
  • schema: Rely on installed telemetry types (#19640)
  • cli: Load kit from rootDir when preparing project (#20401)
  • nuxt: Clone app config on server (#20278)

💅 Refactors

  • nuxt: Rework and use isJS and isVue utilities consistently (#20344)
  • vite: Use native isFileServingAllowed util (#20414)

📖 Documentation

  • Update links on hooks page (#20296)
  • Add brief information on debugging a nuxt app (#20282)
  • Fix vue-tsc link (#20350)
  • Update lint command for the documentation (#20399)

🏡 Chore

  • Remove @ts-ignore and fix some issues (#20273)
  • Maintain a 'next release' PR (e6cc4aa02)
  • Set git user (2a596c2b3)
  • Don't list dep updates in auto-changelog (8234bc18d)
  • Update vite to v4.3 (#20405)

🤖 CI

  • Don't run ci for release branches (f550976f7)
  • Give write access to changelogensets (0518cdbff)

❤️ Contributors

Don't miss a new nuxt release

NewReleases is sending notifications on new releases.