Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v3.2.1 #19082

Merged
merged 1 commit into from
Feb 17, 2023
Merged

v3.2.1 #19082

merged 1 commit into from
Feb 17, 2023

Conversation

danielroe
Copy link
Member

@danielroe danielroe commented Feb 16, 2023

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

Timetable: today/Saturday.

πŸ‘€ 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

@codesandbox
Copy link

codesandbox bot commented Feb 16, 2023

CodeSandbox logoCodeSandbox logoΒ  Open in CodeSandbox Web Editor | VS Code | VS Code Insiders

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant