v3.13.1
版本发布时间: 2024-09-04 17:43:42
nuxt/nuxt最新发布版本:v3.14.1592(2024-11-20 04:54:11)
3.13.1 is the next regularly scheduled patch release.
👀 Highlights
Although this is a patch release, there are two features I'd love to draw your attention to.
- 🆔
useId
now uses a built-in Vue composable for stable ids between server + client! https://github.com/nuxt/nuxt/pull/28285 - 🔥 a new
experimental.buildCache
feature now allows for quicker app rebuilds https://github.com/nuxt/nuxt/pull/28726
As always, feedback is appreciated 🙏 ❤️
✅ Upgrading
As usual, our recommendation for upgrading is to run:
npx nuxi@latest 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: Cache vue app build outputs (#28726)
-
nuxt: Use
ServerPlaceholder
for ssr client components (#28563) - nuxt: Use reducer array + handle modified proto (#28768)
🩹 Fixes
-
schema: Resolve user-provided
serverDir
relative to root (#28700) - nuxt: Handle mismatching declaration/plugin extensions (#28709)
-
nuxt: Do not accept arbitrary strings for
MiddlewareKey
(#28676) -
nuxt: Do not pass listeners to custom
NuxtLink
(#28738) - nuxt: Generate basic jsdoc for module config entry (#27689)
-
nuxt: Augment
NuxtOptions
as well as config (#28747) - nuxt: Improve error logging in import protections (#28753)
-
nuxt: Handle deleted cookies from
CookieStore
events (#28760) -
nuxt: Allow updating
appConfig
with non-iterable objects (#28773) -
nuxt: Improve
isNuxtError
type inference (#28814)
💅 Refactors
-
nuxt: Update to vue v3.5 + native
useId
(#28285)
📖 Documentation
- Fix typo (#28724)
- Update broken/redirected links (#28739)
- Capitalize text (#28734)
- Updated line number for nuxt build-time hooks (#28746)
- Add missing
query
returned value fromuseRoute()
(#28743) - Persist package manager choice in code blocks (#28514)
- Fix postcss codeblock typo (#28801)
- Include
--frozen-lockfile
when installing dependencies (#28794)
🏡 Chore
- Use
tinyexec
internally (#28684) - Use
tinyglobby
internally (#28686) - Trim tag (#28687)
- Fix ci typo (#28721)
- Tidying workflows + add sherif workflow (#28793)
- Ignore eslint warnings about console logging (#28795)
✅ Tests
- Update bundle size (99df4c222)
❤️ Contributors
- Gianluca Di Francesco (@gianlucadifrancesco)
- Daniel Roe (@danielroe)
- Joaquín Sánchez (@userquin)
- Heb (@Hebilicious)
- Eckhardt (Kaizen) Dreyer (@Eckhardt-D)
- Gustav Odinger (@gustavwilliam)
- Julien Huang (@huang-julien)
- Ismail Sabet (@ismailsabet)
- Max (@onmax)
- Anthony Fu (@antfu)
- @beer (@iiio2)
- riskrole (@riskrole)
- Thimo Sietsma (@th1m0)