Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

v3.0.0-rc.4

Compare
Choose a tag to compare
@pi0 pi0 released this 13 Jun 14:27
· 1630 commits to main since this release
be0e502

See all changes: v3.0.0-rc.3...v3.0.0-rc.4

This release contains commutative enhancements from RC.3. Thanks to all of the contributors to the code and documentation πŸ’š

πŸš€ Enhancements

  • vite: Replace global with globalThis (#4958)
  • nuxt: Support auto imports within <template> (#4904)
  • nuxt: Experimental flag to use external vue dependencies (#5083)

🩹 Fixes

  • nuxt: Respect baseurl when redirecting (#4933)
  • nuxt: Check for 404s after user middleware (#4913)
  • cli: Only reload for top level dirs (#4912)
  • vite: Add file:// protocol to vite-node entry file path (#4966)
  • test-utils: Hardcode ipv4 ip for localhost (#4998)
  • nuxt: Fix router redirection on aliased pages (#4982)
  • nuxt: Allow passing extraneous attrs to meta components (#5071)
  • nuxt: Add default empty title to trigger titleTemplate (#5064)
  • nuxt: Default statusCode of navigateTo from 301 to 302 (#5173)
  • schema: Add missed types for title, bodyAttrs and htmlAttrs (#5184)
  • nuxt: Respect navigateTo options using server middleware in server-side (#5145)
  • nuxt: Support RouterView props in NuxtPage (#5272)
  • schema, vite: Resolve mode config correctly (#5255)
  • nuxt: Add ssrContext types on NuxtApp (#5333)
  • types: Tidy types for useAsyncData (#5340)
  • nuxt: Relax server import protections (#5355)
  • nuxt: Keep route param optionality when sibling is an index (#5300)
  • kit: Pass resolved path to isIgnored (#5375)
  • vite, kit, nuxt: Generate safe variable names using knitwork (#4906)
  • webpack: Respect build.transpile (#5043)
  • nuxt: Transform extends layers within node_modules (#5042)
  • nuxt: Throw an error when using unknown route middleware (#5323)
  • nuxt: Don't debounce watcher and include layers (#5002)
  • vite: Don't terminate with escaped delimiters (#5409)
  • nuxt: Exclude non-cwd auto-imports and don't process all files (#5421)
  • nuxt: Ignore whitespace and commas within resolveComponent (#5428)
  • cli: Always set NODE_ENV value with a warning (#5417)
  • nuxt: Don't add macro query to the end of id (#5413)
  • webpack: Enable extractCSS by default (#4388)

πŸ’… Refactors

  • vite, webpack, test-utils: Use caret range for vue peer dependency (#5190)
  • cli: Provide better advice on failing clone (#5155)
  • Fix typo and code improvements (#5344)
  • cli: Improve env update message (#5430)

πŸ“– Documentation

  • Add missing parentheses in the alias example (#4995)
  • Fix typo in environment variable (#4990)
  • data-fetching: Add note about difference between useFetch and useAsyncData (#4974)
  • api: Improve useFetch docs for body type and additional ohmyfetch options (#4985)
  • Minor improvements for the quick start section (#5036)
  • middleware: Add navigateTo options (#5044)
  • Update wording of client-side rendering explanation (#5049)
  • Demonstrate the multiple useState with same key (#5059)
  • config: Correct naming of NUXT_APP_CDN_URL environment variable (#5032)
  • Update logo to better support light and dark mode. (#5094)
  • Fix nuxt app guide linking to a 404 page (#5122)
  • api: Add experimental --prerender flag to nuxi build command (#5112)
  • api: Add key option for useFetch (#5089)
  • roadmap: Nuxt content v2 release (#5129)
  • Add --no-clear flag in the documentation of development server (#5197)
  • deploy: Update default host for node preset (#5228)
  • guide: Add use of NuxtLayout in app.vue with pages (#5225)
  • Small typo in the "catch-all route" description (#5273)
  • pages: Add information for typing page metadata (#5270)
  • Add documentation for titleTemplate (#5093)
  • Fix typo in component migration guide (#5284)
  • Fix typo in programmatic navigation (#5298)
  • Add warning against layout as root element (#5345)
  • Update keepalive key name (#5366)
  • api: Add useRequestEvent (#5326)
  • api: Add docs for useRouter composable (#4949)
  • Update cookie example with defineEventHandler (#5405)
  • Update plugin provide example (#5386)
  • Fix mdn links for 301 and 302 http status (#5416)

🏑 Chore

  • Clean up jsdocs (#5397)
  • Force single version of vite (#5400)

❀️ New Contributors