v3.4.2
版本发布时间: 2023-04-20 22:04:30
nuxt/nuxt最新发布版本:v3.13.2(2024-09-16 05:27:05)
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.
- 🔥 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.
- 👀 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 installwatchman
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
🔥 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
andisVue
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
❤️ Contributors
- Daniel Roe (@danielroe)
- Harlan Wilton (@harlan-zw)
- Preet Mishra (@preetmishra)
- Lehoczky Zoltán (@Lehoczky)
- @BD103
- Anthony Fu (@antfu)