yarn nuxt 3.2.2
v3.2.2

latest releases: 3.13.2, 3.13.1, 3.13.0...
19 months ago

3.2.1 and v3.2.2 is a patch release with (lots of) bug fixes and performance improvements since last week's minor release.

๐Ÿ‘€ Highlights

As a patch release, there are mostly bug fixes and performance improvements in the changelog. (Nevertheless, it's always worth reading through!) But one point of note is an experimental reload strategy when chunk errors are encountered. We're hoping to finalise the API and land it in v3.3 (our next feature release) with #19086, but you can test out an experimental version with the following config:

export default defineNuxtConfig({
  experimental: {
    emitRouteChunkError: 'reload'
  }
})

With this strategy, your app will hard reload on route changes if there's a chunk error. More info at #19038.

๐Ÿ‘‰ Changelog

compare changes

๐Ÿš€ Enhancements

  • nuxt: Add experimental app:chunkError hook and reload strategy (#19038)

๐Ÿ”ฅ Performance

  • nuxt: Allow tree-shaking empty meta from build (#19032)
  • nuxt: Animate transform rather than width (#19073)
  • nuxt: Don't include side-effects from #components (#19008)

๐Ÿฉน Fixes

  • schema: Allow type inference of arrays in runtime config (#18931)
  • nuxt: Avoid recursive import in nitro renderer (#18948)
  • nuxt: Expose nuxt/schema subpath for augmentation (#18922)
  • nitro: Ensure ssr error statusCode is a number (#19001)
  • nuxt: Prevent hyphens forming child routes & warn if dupes are detected (#18944)
  • schema: Transpile nuxt/app by default (#19009)
  • vite: Exclude nuxt/app from optimised deps (9e789c76c)
  • vite: Respect isCustomElement config for jsx transform (#19053)
  • nuxt: Use parser to treeshake client-only declarations (#18951)
  • cli: Pass through exit code from test errors (#18959)
  • nuxt: Show client error if no page matches after validate fails (#18978)
  • cli: Read devServer options from nuxt config (#19055)
  • nuxt: Validate no // in path when constructing payload url (#19085)
  • nuxt: Restore previous check on payload url (e9ff34ace)
  • nuxt: Test generated pathname (af55b9882)
  • nuxt: Respect redirects which differ only by trailing slash (#18593)
  • nuxt: Pass nuxt + workspace paths when importing builder (#19099)

๐Ÿ’… Refactors

  • nuxt: Combine imports from same relative path (ee2f568fc)

๐Ÿ“– Documentation

  • Add info for nuxi devtools command (#18888)
  • Update link to bridge repo (#18950)
  • Fix typos (#18976)
  • Fix typo (#18975)
  • Fix link to ESM page (#19000)
  • Fix spacing (#19018)
  • Flatten top-level project in layers example (#18967)
  • Remove reference to obsolete static property (80f73d39c)
  • Add note about nested directory order (#19061)
  • Updated public directory explanation (#18464)
  • Add information on when mw runs & how to skip (#19083)
  • Add sendRedirect usage (#19070)

๐Ÿ“ฆ Build

๐Ÿก Chore

  • Increase node 14 minor version constraint (#19111)
  • Update nitropack and unjs dependencies (#19100)
  • Dedupe rollup (576ce9ee3)

โœ… Tests

  • Skip vnode warning on windows dev mode (71bcd9550)

๐Ÿค– CI

  • Run webpack/vite and dev/prod as matrices (#18905)

โค๏ธ Contributors

Don't miss a new nuxt release

NewReleases is sending notifications on new releases.