Originally published at https://github.com/nuxt/framework/releases/tag/v3.0.0-rc.4
See all changes: nuxt/framework@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
withglobalThis
(#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 tovite-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
from301
to302
(#5173) - schema: Add missed types for
title
,bodyAttrs
andhtmlAttrs
(#5184) - nuxt: Respect
navigateTo
options using server middleware in server-side (#5145) - nuxt: Support
RouterView
props inNuxtPage
(#5272) - schema, vite: Resolve
mode
config correctly (#5255) - nuxt: Add
ssrContext
types onNuxtApp
(#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
anduseAsyncData
(#4974) - api: Improve
useFetch
docs for body type and additionalohmyfetch
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 tonuxi build
command (#5112) - api: Add
key
option foruseFetch
(#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
inapp.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
❤️ New Contributors
- @jremye made their first contribution in nuxt/framework#4966
- @0ri2N made their first contribution in nuxt/framework#4995
- @chris-zhu made their first contribution in nuxt/framework#4990
- @ArthurMJ96 made their first contribution in nuxt/framework#4985
- @aifodu made their first contribution in nuxt/framework#5049
- @husayt made their first contribution in nuxt/framework#5059
- @srtonz made their first contribution in nuxt/framework#5032
- @heychazza made their first contribution in nuxt/framework#5094
- @mishushakov made their first contribution in nuxt/framework#5112
- @ashgo-x made their first contribution in nuxt/framework#5187
- @SirMishaa made their first contribution in nuxt/framework#5197
- @cawa-93 made their first contribution in nuxt/framework#5184
- @JoseeWouters made their first contribution in nuxt/framework#5225
- @mael-queau made their first contribution in nuxt/framework#5273
- @AcelisWeaven made their first contribution in nuxt/framework#5284
- @nathanchase made their first contribution in nuxt/framework#5298
- @Zalexios made their first contribution in nuxt/framework#5386
- @MaximKing1 made their first contribution in nuxt/framework#5416
- @dotoleeoak made their first contribution in nuxt/framework#5413
- @ennioVisco made their first contribution in nuxt/framework#5430