Toolkit for authoring modules and interacting with Nuxt
Last release 22 days ago
05 Aug 2026
Ships fairly regularly
a new release about every 3 weeks
Nearly every release is documented
notes for 55 of the last 60 stable releases
12 versions withdrawn
withdrawn after publishing
5 years old
151 releases · first in 2021
Release timeline
151 releases since 2021Releases
- 3.0.016 Nov 2022
Release notes
Open source →✨ Official Release Announcenment
📝 Changelog
Check out release candidate notes for older releases and migration steps if you using an older version of Nuxt 3.
🩹 Fixes
- nuxt: Removed auto imports (#9045)
- schema: Initialise
runtimeConfig.publicwith empty object (#9050) - cli: Upgrade with
latesttag (#9060) - nuxt: Allow union type arguments for
useAsyncData(#9061)
📖 Documentation
- New website design (#9007)
- Update website theme version (819deb89)
- Minor style improvements (9ab069b2)
- Update website-theme (780b17b1)
- Add warning about
definePageMetaissues with transitions andNuxtLoadingIndicator(#9055) - Add missing agencies (#9059)
🏡 Chore
❤️ Contributors
- Toby Faux
- Clément Ollivier (@clemcode)
- Pooya Parsa (@pi0)
- Conner (@Intevel)
- Sébastien Chopin (@Atinux)
- Daniel Roe [email protected]
- 3.0.0-rc.1416 Nov 2022pre-release
Release notes
Open source →Originally published at https://github.com/nuxt/framework/releases/tag/v3.0.0-rc.14
Note This is the last release candidate for Nuxt v3! Are you ready? 👀
Changelog
⚠️ Breaking Changes
- cli: Setup nuxt globally with
nuxt test(#4578) - nuxt: Only add
$ffetch prefix to auto-keys (#8852) - test-utils: Use
vitest/nodesubpath export (#8815) - nuxt: Remove
initialCacheoption (#8885) - nuxt: Enable payload extraction only for
nuxi generate(#9018) - nuxt: Include request url and params in
useFetchkey (#6632) - nuxt: Fix typo for
NuxtRenderHTMLContext.bodyPrepend(#8712) (#8704) - nuxt: Remove support for
404.vueshorthand (#8809) - kit: Remove support for module container (#9010)
- nuxt: Move
headoption support intodefineNuxtComponent(#8901) - Remove deprecated api (#9029)
- Remove
PrivateRuntimeConfiginterface support - RemoveautoImportsoption - RemoveautoImports:extendhook support - Remove deprecatedaddAutoImportandaddAutoImportutilities (useaddImportsandaddImportsDir) - Removedeferoption foruseAsyncData- Remove support forinstallModule(nuxt, nuxtModule)- Remove support for module defenition as function - Remove support fornamein module definition (usemeta.name) - Remove deprecatedthrowError(useshowError) - Remove deprecateduseActiveRoute(useuseRoute) - Remove deprecatedNuxtConfiganddefineNuxtConfigimports fromnuxt(import fromnuxt/config) - Remove deprecated<Script>component (useuseHead) - Remove deprecatedRouterConfigOptionsinterface (useRouterConfigSerializable) - Remove deprecatedfileNamefor template options (usefilename) - Remove deprecated<NuxtNestedPage>and<NuxtChild>components - Remove deprecatedbuildModulesconfig - Remove deprecatedprivateRuntimeConfigandpublicRuntimeConfigoptions - Remove deprecatedimports.presets[].name(usepresets.importsinstead)
🚀 Enhancements
- nuxt: Add
isExternalto<NuxtLink>slot props (#8800) - nuxt: Auto-import
utils/directory (#8817) - cli: Wrap and normalize all console outputs (#8846)
- nuxt: Allow customizing root id and tag (#8883)
- nuxt: Add
onBeforeRouteLeaveandonBeforeRouteUpdatecomposables (#8889) - cli: ⚠️ Setup nuxt globally with
nuxt test(#4578) - cli: Auto-generate
.npmrcand setting for pnpm (#7407) - nuxt, schema: Migrate to @vueuse/head v1 (#8975)
🩹 Fixes
- nuxt: Check if global transitions are activated for scroll behavior (#8700)
- nuxt: Allow cookies to be set to
nullto unset them (#8769) - nuxt: Add catchall paths to prerender list (#8782)
- schema: Add declarations to ignore list (#8787)
- ssr: Ensure
useRequestHeadersare case-insensitive (#8805) - nuxt: Do not render page if we are throwing error (#8821)
- nuxt: Swallow issues with query selectors (#8843)
- nuxt: ⚠️ Only add
$ffetch prefix to auto-keys (#8852) - test-utils: Detect project root using
nuxt.configwith.mjsand.cjsextensions (#8855) - cli: Exclude
distfrom type checking (#8848) - test-utils: ⚠️ Use
vitest/nodesubpath export (#8815) - nuxt: Detect non-functional imports within page meta (#8881)
- nuxt: Preserve render errors (#8884)
- nuxt: ⚠️ Remove
initialCacheoption (#8885) - nuxt: Use
app.baseURLwhen fetching error page on server (#8888) - nuxt: Avoid passing attrs to default slot for
<ClientOnly>component (#8921) - vite: Add extend layers to
fs.allow(#9006) - nuxt: Include layers in esbuild transform (#9014)
- kit: Add external module to transpile (#8963)
- nuxt: ⚠️ Enable payload extraction only for
nuxi generate(#9018) - nuxt: ⚠️ Include request url and params in
useFetchkey (#6632) - nuxt: Improve hmr for pages macros (#8940)
💅 Refactors
- nuxt: ⚠️ Fix typo for
NuxtRenderHTMLContext.bodyPrepend(#8712) - nuxt: ⚠️ Fix typo for
NuxtRenderHTMLContext.bodyPrepend(#8704) - nuxt: ⚠️ Remove support for
404.vueshorthand (#8809) - nuxt: Explicitly import app in nuxt-root (#8729)
- kit: ⚠️ Remove support for module container (#9010)
- Update unjs dependencies to stable v1 (#9011)
- nuxt: ⚠️ Move
headoption support intodefineNuxtComponent(#8901) - ⚠️ Remove deprecated api (#9029)
📖 Documentation
- Update 2.nuxt-page.md (#8761)
- Update roadmap for november (#8766)
- Use update import for
defineLazyEventHandler(#8767) - Remove stability-edge (507f444c)
- deployment: Remove usage of custom icons (8e4068b7)
- Improve examples content (1582f8ec)
- api: Add
useRequestHeaderscomposable example (#8833) - Add entry for
extendPages(#8860) - api: Add
refreshNuxtDatautil examples (#8845) - Get event before running async function (#8861)
- api: Add
useHydrationcomposable (#8768) - Add
queryoption with example foruseFetch(#8719) - Add initial documentation for router composables (#8895)
- Add tls option to redis example (#8900)
- Fix syntax errors in server storage example (#8906)
- Fix typo (#8970)
- api: Add spaces to avoid breaking mobile layout (#8967)
- Typo in
available(#8966) - Add a bit more detail in the
definePageMetawarning to specify it needs to be in a page (#8923) - Match the open graph protocol markup (#8959)
- Fix typos (#8976)
❤️ Contributors
- Anthony Fu [email protected]
- Daniel Roe [email protected]
- Pooya Parsa (@pi0)
- Harlan Wilton (@harlan-zw)
- Mehdi HosseinZade (@xtoolkit)
- Silvesterwali
- Israel Ortuño [email protected]
- Kevin Olson (@acidjazz)
- Julien Huang
- Okoro Redemption (@therealokoro)
- Clément Ollivier (@clemcode)
- Cedric Wetzel (@cedWetzel)
- Percy Ma (@kecrily)
- Ali Soueidan
- Toby Faux
- Stefan [email protected]
- Krutie Patel [email protected]
- Horu
- Cue
- Alexander Lichter (@manniL)
- Sébastien Chopin (@Atinux)
- Iljs Путлер Капут [email protected]
- Maxim Morev (@MorevM)
- Agénor Debriat (@agenordebriat)
- Cx33 (@JiatLn)
- cli: Setup nuxt globally with
- 3.0.0-rc.134 Nov 2022pre-release
Release notes
Open source →Originally published at https://github.com/nuxt/framework/releases/tag/v3.0.0-rc.11
⭐ What is New?
🔰 Security Fixes
This release contains multiple security related fixes #8675, #8674 and #8673 reported via huntr.dev platform by OhB00.
We recommend you upgrade to the latest version as soon as possible.
If you encounter "The request URL ... is outside of Vite service allow list" issue, try adding path to
vite.server.fs.allowinnuxt.config. read more.🚀 Performance Improvements
Using a new method to extract
definePageMetaimproves vite performance and makes lazy compilation of pages possible (#8536).💯 Strict Config Schema and Types
We have cleaned up the configuration schema (#8487) so that you no longer would be confused with Nuxt 2 options and also can quickly notice any typos in
nuxt.configfile.Typescript strict mode is also enabled by default with this release as best practice. (#8667)
🚇 Nitro Development Server Proxy
Using
nitro.devProxyoption you can now configure proxies for the development server. (learn more)Changelog
⚠️ Breaking Changes
- nuxt: ⚠️ Use parser to generate page metadata (#8536)
- schema: ⚠️ Use strict typescript mode by default (#8667)
- test-utils: ⚠️ Update vitest args (#8325)
- schema: ⚠️ Disable
app.pageTransitionandapp.layoutTransitionby default (#8436) - nuxt: ⚠️ Cleanup schema and split nuxt 2 types (#8487)
🚀 Enhancements
- nuxt: Default router scroll behavior (#3851)
- nuxt: Make
useFetchoptions reactive (#8374) - kit: Add
updateTemplatesutility (#8413) - nuxt: Add dev warnings when
setPageLayoutis used incorrectly (#8464) - Add
<devOnly>component (#7950) - nuxt: Allow setting
nameandpathfor a route indefinePageMeta(#8633) - kit: Add
addServerPluginutility (#8635) - kit, nuxt: Support
prerender:routesandaddPrerenderRoutes(#8670)
🩹 Fixes
- nuxt: Don't use or assignment (#8299)
- nuxt: Pass original request headers to the error page (#7340)
- nuxt: Scroll to top on dynamic routes with different params (#8327)
- nuxt: Router defaults overwrite custom options always (#8334)
- cli: Update analzye main handler (#8339)
- nuxt: RouterBehavior comparison for hash block (#8383)
- nuxt: Don't load payloads for external urls (#8370)
- vite: Invalidate virtual modules with
vite-node(#8389) - nuxt: Avoid directly importing
vue-routerinside<NuxtLayout>(#8421) - webpack: Print build errors (#8388)
- kit: Use
patheto resolve aliases (#8453) - test-utils: Override
NITRO_PORTas well (#8458) - nuxt: Call data refresh hook in parallel (#8470)
- nuxt: Allow responding with custom headers from
error.vue(#8469) - schema: Disable early hints by default (#8486)
- kit: Don't require nuxt context when resolving path (#8504)
- nuxt, nuxi: Improve
pagescreation and removal DX (#8502) - nuxt: Add
vue-routerto optimized deps (#8544) - vite: Handle all vite middleware routes (#8601)
- nuxt: Pass async-data errors through to client (#8521)
- nuxt: Check before appending comma in composable keys (#8529)
- nuxt: ⚠️ Use parser to generate page metadata (#8536)
- kit: Normalize handler paths (#8626)
- nuxt: Don't force prerender
/if user doesn't have that route (#8639) - nuxt: Do not inline global styles in html response (#8666)
- schema: ⚠️ Use strict typescript mode by default (#8667)
- nuxt: Disallow directly rendering error page (#8673)
- Resolve ids to support pnpm (#8671)
- vite: Enable fs strict mode (#8674)
- nuxt: Ensure payload url has no protocol (#8675)
💅 Refactors
- test-utils: ⚠️ Update vitest args (#8325)
- schema: ⚠️ Disable
app.pageTransitionandapp.layoutTransitionby default (#8436) - nuxt: ⚠️ Cleanup schema and split Nuxt 2 types (#8487)
📖 Documentation
- Add route rules to concepts > rendering (#8292)
- Fix broken link (#8319)
- Fix link to documentation guide (#8322)
- Update website-theme to 0.1.7 (dbc2c8ce)
- Add missing opening
<NuxtLayout>tag in a code sample (#8349) - Update links for external tools (#8382)
- Update for clarity and fix typos (#8375)
- Add missing
appkey for transitions (#8385) - api: Add
<ClientOnly>to API docs (#8400) - Fix typo (#8427)
- Disable transitions by default as hotfix (#8434)
- Add note about runtime config serialization (#8432)
- Change required node version to be above 16.11 (#8408)
- Use
LinkExampleas block component (#8459) - Add note about early hints and nginx (#8485)
- Updated bridge migration guide (#8471)
- Mention use case for
<KeepAlive>indefinePageMeta(#8491) - Update stability edge banners (#8498)
- Generate docs for unversioned schema (#8535)
- Fix transition wording to include layouts (#8600)
- Add information about type checking to
typescript.typeCheckconfig. (#8632)
📦 Build
- pkg: Support Node.js 19 (#8324)
🏡 Chore
- renovate: Ignore monorepo dependency upgrades (f934343b)
- Upgrade vitest to 0.24 (#6764)
- nuxt: Add type for headers (#8326)
- examples: Add missing dependency and script for testing example (#8457)
- Reenable auto-upgrades for vueuse/head (#8506)
- Update nitropack to 0.6.1 (5a43e68e)
✅ Tests
❤️ Contributors
- Adewale Adeyemi
- Anthony Fu
- Christian Burkhart
- Clément Ollivier
- Damian Głowala
- Daniel Roe
- David Stack
- Dawid Stefanko
- Dmitriy
- Farnabaz
- Joel
- Joel Wenzel
- Johann Schopplich
- Johnson Chu
- Josh Deltener
- Julien Huang
- Nils
- Ondřej Misák
- Pascal Sthamer
- Pooya Parsa
- Rajendra
- Sacha STAFYNIAK
- Sébastien Chopin
- Zecka
- 3.0.0-rc.1218 Oct 2022pre-release
Release notes
Open source →Originally published at https://github.com/nuxt/framework/releases/tag/v3.0.0-rc.12
🚀 How to Upgrade
Note Make sure to recreate the lock file in the project in case of any issues after the upgrade.
- Automated:
npx nuxi@latest upgrade --force - Manual: Bump
nuxtdependency to3.0.0-rc.12and then usenpx nuxi@latest cleanupto cleanup any local caches
⭐ What is New?
📍 Route Rules
RC.12 comes with the first public beta for route rules and hybrid rendering support. Using route rules you can define rules for a group of nuxt routes, change rendering mode or assign a cache strategy based on route! Nuxt server will automatically register corresponding middleware and wrap routes with cache handlers using Nitro caching layer. Whenever possible, route rules will be automatically applied to the deployment platform's native rules (currently Netlify and Vercel are supported).
👉 See docs for examples and more info.
⚗️ Nitropack 0.6
Nitropack upgraded to 0.6 (Release Notes) and h3 upgraded to 0.8 (Release Notes)
⚠️ Breaking changes: Using
defineEventHandler()oreventHandler()is now required. If you were previously using a Node.js middleware with(req, res, next?)syntax you need to wrap them withfromNodeMiddleware()to convert it into an h3 handler.👦
useHeadupdatesThis release brings a brand-new version of
@vueuse/headwith some significant performance improvements and bug fixes. Check out https://github.com/nuxt/framework/pull/8000 for more details, but in particular:- Fully-typed usage of
useHead - No more flickering when transitioning between routes
- Support ordering of head metadata
- Faster head hydration and deduping
⚠️ Breaking changes: The shortcuts
viewportandcharsetcan only be used withinnuxt.configand not withinuseHeaddirectly. For more information on how to update, see https://github.com/nuxt/framework/pull/8000.⚡ Page Meta
New router options
validateandredirectare now supported directly indefinePageMeta- so you can perform additional validation for dynamic routes, or implement route redirects directly within pages.definePageMeta({ // redirect: '/admin', validate: async (route) => { const nuxtApp = useNuxtApp() // Check if the id is made up of digits return /^\d+$/.test(params.id) } })🌅 Early Hints
Nuxt's node server renderer will now respond with 103 Early Hints before the server renders the app, meaning that you should see a decreased TTFB and earlier resource loading in a supported environment - which at the moment is Chrome with your Nuxt app served over HTTPS with newer than HTTP/1.1.
📖 Nuxt 3 Docs
Nuxt's documentation is now written with Nuxt 3's new theming system and the latest Docus and Content module versions. Check it out at https://v3.nuxtjs.org! Expect more coming soon!
<p align="center"> <img width="70%" src="https://user-images.githubusercontent.com/28706372/195312835-ac731792-9625-4dac-a0c1-8cc3e3a63619.png" alt="nuxt 3 docs"> </p>
Changelog
🚀 Enhancements
- nuxt: Support
redirectwithin page metadata (#7746) - cli: Support
--dotenvfordev,buildandpreviewcommands (#7660) - nuxt: Allow configuring plugins directory (#7981)
- nuxt: Add default slot to
<NuxtLoadingIndicator>(#7128) - pages: Add
validatehook fordefinePageMeta(#7870) - nuxt: Refresh override for data fetching composables (#7864)
- schema, nuxt: Allow user-configurable
serverDir(#7868) - nuxt: Parse html to treeshake client-only components (#7527)
- nuxt: Wrap
#componentsclient exports with createClientOnly (#7412) - nuxt: Add
ssr: falseroute rule to enable SPA mode (#7938) - nuxt: Migrate to latest
@vueuse/head(#8000) - nuxt: ⚠️ Add
<NuxtPage>to#components(#8145) - nuxt: Add hook debug mode (#7690)
- cli: Add
nuxi build-modulecommand (#7610) - schema: Add experimental
routesRulesshortcut (#7954) - kit: Support plugin array for
addVitePluginandaddWebpackPlugin(#8270)
🔥 Performance
- nitro: Respond with early hints in node-based environments (#7893)
- nuxt: ⚠️ Use component loader to add meta components (#8167)
- nuxt: Remove
vue-routerdependency from minimal app (#8188) - nuxt: Improve link prefetching (#8225)
🩹 Fixes
- nuxt: Export and auto-import
clearNuxtData(#7710) - test-utils: Support vitest v0.20.x (#7712)
- cli: Include
workspaceDirin tsconfig include (#7726) - cli: Stub
defineNuxtConfigfornuxi info(#7728) - nuxt: Do not warn for non-existent default layout (#7748)
- nuxt: Respect immediate option in
useFetch(#7720) - nuxt: Respect
baseURLwhen rendering payload path (#7809) - nuxt: Don't disable scripts in dev mode with experimental
noScripts(#7745) - Downgrade Node.js
^16.11.0requirement to^16.10.0(#7865) - nuxt: Handle schema types for relative module paths (#7946)
- vite: Add type-checker to client build for
ssr: false(#7930) - nuxt: Allow auto-import component with same filename (#7713)
- test-utils: Respect
setupTimeout(#7866) - nuxt: Fix lazy import of
.clientcomponents (#7422) - nuxt: Remove fragment from
createClientOnly(#7774) - head: Allow using the default slot for script content like noscript (#7858)
- nuxt: Don't prerender
index.htmlwith a server (#7831) - docs: Link to api config reference (#8038)
- docs: Link to installation section (#8040)
- nuxt: Page hydration and double load (#7940)
- schema: Declare
untypeddependency (#8064) - nuxt: Use correct cache and add baseURL to payload (#7984)
- cli: Replace
lazyHandlewithdefineLazyHandler(#8049) - schema: Evaluate environment variables when resolving values (#8079)
- vite: Prevent overlap between vite assets and app routes (#7989)
- nuxt: Don't inline styles for per-request
ssr: false(#8106) - nuxt: ⚠️
refreshto override previous requests by default (#8190) - nuxt: Enable router when
app/router.options.tsfile is present (#8193) - kit: Log module id to the console when import fails (#8198)
- nuxt: Avoid head dom update on same route click (#8206)
- webpack: Add global to new line (#8226)
- schema: RouteRules config (#8252)
- cli: Don't include
workspaceDirin tsconfig by default (#8256) - nuxt: Avoid preloading external routes (#8255)
- nuxt: Allow disabling early hints (#8264)
- nuxt: Lazy-load entry CSS (#8278)
- nuxt: Ignore cache rules for middleware and errors (#8291)
💅 Refactors
- nuxt: Use
unrefinlayout.ts(#7818) - nuxt: Use
unrefinfetch.ts(#7813) - nuxt: Deprecate
<Script>component tag in template (#8197) - nuxt: Use
writeEarlyHintsfromh3(#8245) - nuxt: Use
getRouteRulesfrom nitropack (#8251)
📖 Documentation
- getting-started: Fix typo in views (#7687)
- getting-started: Configuration page (#7689)
- Recommend to not overwrite some keys in tsconfig (#7717)
- directory-structure: Fix typo in server (#7752)
- navigate-to: Use await instead of return (#7734)
- error-handling: Fix
useError()type definition (#7749) - migration: Restructure upgrade guide (#7730)
- Document nitro hooks (#7782)
- roadmap: Update the release times for v2 and v3 (#7808)
- guide: Add nitro plugins to server directory (#7780)
- roadmap: Remove not working link from
nuxt/auth(#7781) - Updated nuxt bridge migration guide (#7775)
- Merge deployment pages in getting started (#7765)
- Add newline at end of sass import (#7810)
- examples: Optimize writing of
: ?(#7928) - Update
definePageMetadocs (#7888) - Use nuxt 3 and website theme (#5479)
- getting-started: Add
transitionspage (#7987) - Fix path of nuxt config (#8021)
- introduction: Add nuxt key features to the introduction (#8013)
- transitions: Add poster for videos (99907dbf)
- Fix netlify redirects (#8028)
- Use
webpfor 3D gem asset (93c3f30b) - Upgrade docus (aef32577)
- Upgrade docus to fix docsearch input focus (fc2d74a2)
- Update to
[email protected](3218356d) - Fix indentation in "Views" code blocks (#8039)
- Fix more redirect issues (#8045)
- example: Replace useQuery to getQuery (#8047)
- Fix code highlighting (#8057)
- Add recommendation for controlling plugin registration order. (#8096)
- Add back deleted sections in
definePageMeta(c804daa0) - Update line number for
NuxtHookssource (#8128) - Fix typo (#8129)
- Update badges color (bc3016f8)
- Add app.config route to pre-render (#8131)
- Clarify access of RuntimeConfig with Options API (#8147)
- Close alert (#8157)
- Fix 404 page (#8136)
- Use
RouterConfiginterface in examples (#8151) - Add support for WEBSITE_THEMe env variable (6ad0f3f1)
- Update route middleware link (#8196)
- Adds missing quote in example code (#8209)
- Fix
validateexample (#8231) - Change deprecated
useBodywithreadBody(#8266) - Add spacing between multiple
button-link(#8275) - Add cleavr to supported hosting providers (#8285)
🌊 Types
- Include
nuxt-linktarget types (#8172)
🏡 Chore
⚠️ Breaking Changes
- nuxt: ⚠️ Add
<NuxtPage>to#components(#8145) - nuxt: ⚠️ Use component loader to add meta components (#8167)
- nuxt: ⚠️
refreshto override previous requests by default (#8190)
❤️ Contributors
- Alex
- Alex C
- Alexander Lichter
- Andrew Mudrov
- Anish Ghimire
- Anthony Fu
- AuroraTea
- Barbapapazes
- Benicio Cardozo
- Chenying
- Christian Preston
- Cinob
- Clément Ollivier
- Cupid Valentine
- Damian Głowala
- Daniel Kelly
- Daniel Roe
- Daniil Chudo
- Fumihiro-Yano
- Harlan Wilton
- Israel Ortuño
- James Ray
- Josh Deltener
- Julien Huang
- Krutie Patel
- Lov
ue - Martin Benndorf
- Miketromba
- MiniDigger
- Mmis1000
- Niklas
- Pooya Parsa
- Rajendra
- Randy
- Reinier Kaper
- Sébastien Chopin
- Tech Genius
- Tobias Diez
- Toni
- Tuğberk Kılıç
- Won-hyeok Jung
- Xezard
- Yaël Guilloux
- Yu Yamazaki
- 菜狗
- Automated:
- 3.0.0-rc.1120 Sept 2022pre-release
Release notes
Open source →Originally published at https://github.com/nuxt/framework/releases/tag/v3.0.0-rc.11
💬 Join the release discussion
🚀 How to Upgrade
Note Make sure to recreate the lock file in the project in case of any issues after the upgrade.
- Automated:
npx nuxi@latest upgrade --force - Manual: Bump
nuxtdependency to3.0.0-rc.11and then usenpx nuxi@latest cleanupto cleanup any local caches
⭐ What is New?
Full Static Enhancements
We have introduced Full-Static mode payload extraction in RC.10. Many of the issues from the initial implementation are resolved with this release thanks to your amazing feedback! Notably for SPA routes and state that is now in the initial state.
🧪 We understand that there might be still issues with the new implementation. Please report if spotted any. You can use new
experimental.payloadExtraction: falseflag innuxt.configto opt-out as well.IPv6 and HTTPS support for
nuxi devand viteNuxi CLI and unjs/listhen are improved and now support
--httpsflag and ipv6 hosts out of the box with an auto-generated certificate. You can use--ssl-certand--ssl-keyto provide own generated SSL certificates with mkcert for example as well.Issues with vite HMR and vite-node should be resolved as well. If you were previously using
NODE_TLS_REJECT_UNAUTHORIZEDor customvite.server.hmroptions for a workaround, you can try to remove them.Note: If you see something like
http://[::]:3000/when runningnuxi preview, it is all normal! The New IPv6 URL works in all modern browsers and is also backward compatible with IPv4 interfaces. If for some reason encountered any issues, try settingHOSTto0.0.0.0to disable IPv6 listener.Nitro Improvements
Nitro is the server engine for Nuxt 3. We had landed several fixes in 0.5.2 and 0.5.3 versions improving stability and bug fixes.
Full Changelog
🚀 Enhancements
🩹 Fixes
- nuxt: Disable payload extraction for spa generated pages (#7535)
- nuxt: Do not pass prefetched class to custom link (#7522)
- cli: Improved self-signed certificate for
nuxi dev --https(#7545) - vite:
nuxi dev --httpsworking out of the box (#7547) - schema: Update resolver for
cssSourceMapwith newsourcemapformat [bridge] (#7541) - nuxt: Pass fully resolved path to nitro dist files (#7494)
- nuxt: Remove modulepreload for spa fallback routes with
ssr:true(#7553) - schema: Only disallow vite server port and host (#7554)
- nuxi, vite: Ipv6 support for
nuxi dev(#7560) - cli: Print resolved public directory after generate (#7577)
- nuxt: Load payload after middleware and once final route is resolved (#7574)
- nuxt: Keep
statein the initial state instead of extracting it (#7567) - vite: Normalize vite-node error data from server (#7589)
- vite: Include id and stack in
vite-nodefallback error handler (#7575) - vite: Respect
ctx.nuxt.options.modulesDirfor resolving externals withvite-node(#7612) - nuxt: Add missing
process.clientfor early redirect innavigateTo(#7625) - vite-node: Include importer in error stack (#7607)
- vite, webpack: Avoid generating keys where a key is already provided (#7622)
- vite, webpack: Handle auto keys for composables without args (#7651)
- nuxt: Don't tree shake client-only fallback templates (#7659)
- nuxt: Strip non-
.vueextensions from component types (#7673) - nuxt: Only observe tag elements for
<NuxtLink>prefetching (#7679) - nuxi, vite: Support HTTPS with custom domain and HMR (#7680)
📖 Documentation
- Update auto-imports link (#7530)
- Add note about link prefetching (#7540)
- Improve NuxtLink prefetch explanation (#7540)
- Add testing and
addComponentto modules and updateaddImports(#7543) - Fix typo on directory-structure/pages (#7601)
- Fix typo in custom router example (8621c860)
- Fix typo in nitro options in wasm example (#7639)
- Add
addImportsSourcesto list of kit utils (#7636) - api: Add
defineNuxtComponentpage (#7618) - testing: Move modules testing section to module authors guide (#7643)
- getting-started: Add views page (#7556)
❤️ Contributors
- Alexander Lichter
- Alper Doğan
- Chenying
- Clément Ollivier
- Damian Głowala
- Daniel Roe
- Julien Huang
- Krutie Patel
- Lexpeartha
- Pooya Parsa
- YIngChenIt
- Automated:
- 3.0.0-rc.1014 Sept 2022pre-release
Release notes
Open source →Originally published at https://github.com/nuxt/framework/releases/tag/v3.0.0-rc.10
💬 Join the release discussion
🚀 How to Upgrade
Note Make sure to recreate the lock file in the project in case of any issues after the upgrade.
- Automated:
npx nuxi@latest upgrade --force - Manual: Bump
nuxtdependency to3.0.0-rc.10and then usenpx nuxi@latest cleanupto cleanup any local caches
⭐ What is new?
Critical Styles are Inlined
Global styles and used component styles are now automatically inlined when server-side rendering a page. This feature helps to improve the First Contentful Paint (FCP) metric.
🧪 You can disable the feature from
nuxt.configusingexperimental: { inlineSSRStyles: false }in case of any issues.Full Static Generation with Payload Rendering
In Nuxt 2, we introduced an amazing feature called Full Static Generation. When using
nuxt generate, the payload of each page containing asyncData and state is extracted to a.jschunk and we can deploy output to any static hosting without requiring a hosted API server. This feature also introduced performance benefits to reduce page size and allow smartly prefetching payload of next pages ahead of time when usingnuxt generatebut kept limited to it.This feature is now back in Nuxt 3 but much better! Payload is not only extracted during prerendering phase (
nuxt generate) but also can be rendered on demand by simply appending/_payload.jsto the end of any URL. This made implementation much simpler and also unlocks future development to enable payload rendering for hybrid static server and incremental generated pages. Followup #6411 for the roadmap.Link Prefetching
Another goodie ported from Nuxt 2, is automatically prefetching the next pages when a
<NuxtLink>is in the viewport.This feature is integrated with vue-router to prefetch components of the next route and also payload extraction to prefetch the payload of the next pages ahead of time! You can also hook into
link:prefetchto do more prefetches.Better Workspace Support
Nuxt has several configurations for directories including
rootDirwherenuxt.config,package.json, etc is, andsrcDirwhich is the same asrootDirby default but can be customized to move project code such aspages/to thesrc/directory. With Monorepo becoming more popular, it became clear we need another new option to act smarter in a monorepo.We have introduced a new
workspaceDirconfiguration. It is automatically detected from rootDir using different heuristics (how?). This option is used to extend the search path fornode_modulesvia #7439 but we will keep spreading its use in other places.🧪 You can manually set
workspaceDirfromnuxt.configin case of any issues.defineNuxtConfigis Auto ImportedNuxt uses unjs/jiti in order to support typescript and ESM syntax for
nuxt.config. When importing{ defineNuxtConfig } from 'nuxt'in Nuxt 3, it causes the whole nuxt package to be loaded. It was making startup time slower.We have introduced a new
nuxt/configsubpath export that only exportsdefineNuxtConfigfor type support but you don't even need this anymore! Just remove import and enjoy shorter syntax!-- import { defineNuxtConfig } from 'nuxt' export default defineNuxtConfig({ })More Powerful
nuxt initWe have switched to unjs/giget for a much more powerful template init engine.
Normally
nuxi initcommand should work as it was before. If you were usingnuxt init org/repoto clone the 3rd party GitHub repository, you should usenuxi init gh:org/reponow.Experimental Zero-Client-JS Mode
This new experimental flag allows turning off all Nuxt client js code when server-side rendering a page.
Using this feature is advisable for the very small minority of sites that would not benefit from client-side JS.
You can try this feature by setting
experimental: { noScripts: true }and let us know what you think!
Changelog
🚀 Enhancements
- nuxt, vite: Inline global and component styles in server response (#7160)
- nuxt: Custom
historyandroutesforapp/router.options.ts(#7129) - nuxt: Router with hash mode (#6980)
- nuxt: Allow extending routes with custom alias (#7074)
- test-utils: Add
mockFnandmockLoggerutils (#6235) - nuxt: Support experimental flag to render no client-side js (#7248)
- kit: Add
addImportsSourcesutility (#7270) - nuxt: Add
immediateoption foruseAsyncDataanduseFetch(#5500) - nuxt: Add
clearNuxtData(#5227) - Allow client-side sourcemaps in production (#7313)
- nuxt: Filter support for
clearNuxtData(#7323) - cli: Switch to
unjs/gigetfornuxi init(#7361) - cli: ⚠️ Use giget 0.1x with template registry for
nuxi init(#7404) - nuxt: Payload rendering support (#6455)
- nuxt: Allow exposing type augmentations from extends layers (#7442)
- nuxt: Add
workspaceDiroption and add it tomodulesDir(#7439) - nuxt: Support prefetching
<nuxt-link>(#4329) - nuxt: Allow passing transition & keepalive props to
<NuxtPage>(#7492) - nuxt, kit: Auto import
defineNuxtConfig(#7497) - nuxt: Generate spa fallback for
nuxt generate(#7507)
🔥 Performance
- nuxt: Cache
createClientOnlywrapper using weakmap (#7297) - vite: Remove duplicate css links from rendered page when inlined (#7264)
- nuxt: Only inject preload helper when webpack is used (#7460)
- nuxt: Import
defineNuxtConfigfromnuxt/config(#7485) - Enable
treeshakeClientOnlyflag by default (#7484)
🩹 Fixes
- nuxt: Update default redirect code of
navigateToto302 Found(#7189) - head: Case
http-equivcorrectly (#7190) - kit, nuxi: Semver regexp to support
nuxt-edgecurrent releases (bridge) (#7193) - vite: Use baseURL + assetsDir as base in dev mode (#7234)
- vite: Pass ssr condition to
getModuleByUrl(#7260) - nuxt: Import and wrap client-only components once (#7245)
- cli: Pass value of
httpsthrough to vite-node (#7271) - nuxt: Don't override payload error if it is present (#7290)
- nuxt: Don't try to set cookie after redirect (#7288)
- webpack: Promisify webpack dev/hot handlers using
h3.promisifyHandler(#7275) - schema: Disallow setting vite server properties (#7317)
- schema: Mark vite server as optional (#7327)
- nuxt: Allow
abortMiddlewareto receive a nuxt error or error options (#7335) - webpack: Don't parse styles for composable keys (#7333)
- vite: Allow overriding vite sourcemap (#7342)
- schema: Resolve
ssr(#7359) - kit: Add default config layer without
nuxt.configfile (#7358) - vite: Update render if it is invalidated (#7347)
- vite: Warmup improvements (#7377)
- cli: Don't include an array of paths within an array (#7378)
- vite: Write dev manifest before spa build (#7380)
- nuxt: De-default layout/component imports (#7389)
- nuxt: Always inline entry styles (#7386)
- nuxt: Do not apply import protection to top-level resolution (#7344)
- nuxt: Use more specific
FetchErrorforuseFetcherrors (#7435) - vite: Use same asset filenames between server and client (#7436)
- nuxt: Augment GlobalComponents from
@vue/runtime-core(#7448) - vite: Don't fail builds for virtual modules that don't support inlining (#7440)
- nuxt: Only delete assets when building (#7486)
- vite: Show formatted vite-node errors (#7509)
- vite: Disable server warmup with
vite-node(#7512)
💅 Refactors
- vite: Reuse resolved server entry from context (#7268)
- schema: Upgrade to untyped 0.5 (#7452)
- nuxt: Use relative imports into composables (#7487)
📖 Documentation
- Add note about
useFetchauto generated key (#7044) - api: Enhance
useHeadcomposable (#7072) - Add note about fetching data on initial load (#7120)
- Document
externaloption ofnavigateTo(#7188) - guide: Add
.clientand.servercomponents (#7084) - Fix markdown file name (#7231)
- api: Navigate to first item in list (#7232)
- Extend description of server handlers (#7187)
- api: Add example for fetch interceptors (#7180)
- deploy: Add node cluster mode (#7089)
- api: Fix
useAsyncDatasignature (#7242) - Add
app-configexample (#7247) - Fix typo (#7262)
- Fix typo in url (#7272)
- Rename
AppConfigtoAppConfigInput(#7293) - api: Fix typo in use-fetch (#7310)
- api: Add
nuxi preparecommand (#7349) - head: Enhance usehead and fix broken links (#7364)
- Remove duplicate word (#7387)
- api: Add
useRuntimeConfigpage (#7406) - Fix typo (#7437)
- Update structure (#7047)
- Update name of the generated
imports.d.tsfile (#7474) - getting-started: Add routing page (#7495)
- Update codesandbox link (#7499)
- schema: Change
srcDirexample tosrc/(#7503)
🏡 Chore
- Update CodeSandbox links (#7318)
📦 Build
- cli: Add
nodeto export conditions (0cc49e2a)
✅ Tests
🤖 CI
- Crawl docs site for new deployments to track broken links (#7473)
❤️ Contributors
- Adewale Abati
- Alex Kozack
- Alex Liu
- Alexander Lichter
- AndreyYolkin
- Anthony Fu
- Clément Ollivier
- Corey Richardson
- Damian Głowala
- Daniel Roe
- Harlan Wilton
- HomWang
- Julien Huang
- Krutie Patel
- Kévin Schnekenburger
- Leon Si
- Mahdi Boomeri
- Mastercuber
- Pooya Parsa
- Ricardo Gobbo De Souza
- Sébastien Chopin
- Tobias Diez
- Tobias SN
- Vasily Stepanov
- Victorkwok97
- Vl4dimyr
- Automated:
- 3.0.0-rc.93 Sept 2022pre-release
Release notes
Open source →Originally published at https://github.com/nuxt/framework/releases/tag/v3.0.0-rc.9
💬 Join the release discussion
Highlights
- ✅
app.config.tswith HMR and Reactivity support (see documentation and example) - ✅ Vite-Node enabled by default (#6217)
- ✅ Updated to [email protected]
- ⚠️
autoImportsoption and hooks is deprecated and renamed toimports(#6864) (#7158) - ⚠️ Vue dependency is now externalized (#6868)
- ⚠️ Handle prerelease constraint (#7116)
- 👉 If you see an error like
Nuxt version ^3.0.0 is required but currently using 3.0.0-rc.9, please contact the module author.
- 👉 If you see an error like
Changelog
🚀 Enhancements
- webpack, vite: Default to
.jsextension for client (#6505) - schema, vite: ⚠️ Enable
vite-nodeby default (#6217) - vite: Allow disabling entry warmup (#6647)
- nuxt: Exclude page chunks from being prefetched (#6662)
- cli: Auto cleanup with project manifest changes (#6672)
- nuxt:
app.configwith HMR and reactivity support (#6333) - nuxt: Allow
getRouteFromPathto use objects (#5900) - nuxt: Add warning in dev mode if layouts/pages do not have a single root node (#5469)
- nuxt: Config options for default keepalive, page & layout transitions (#5859)
- nuxt: Allow programmatically prefetching global components (#6661)
- cli: Support mode flags for
addcommand (#3921) - nuxt:
imports.autoImportoption to disable auto-imports (#6768) - nuxt:
navigateTosupports external redirects (#5022) - nuxt:
app.configimprovements (#6905) - nuxt: Add
setPageLayoututility (#6826, #7075) - cli: Display nuxt and nitro versions for dev and build commands (#7118)
- kit, schema: Allow extending with
themeconfig (#7131) - nuxt: ⚠️ Rename
autoImportstoimports(#6864) - kit, nuxt: Improve
autoImportsdeprecation dx (#7158) - nuxt: Pass and format vite-node build errors (#6683)
🔥 Performance
- nuxt: Tree-shake asyncData client logic from server (#7056)
- nuxt: Don't prefetch all global components (#7069)
🩹 Fixes
- nuxt: Remove stray commas in component templates (#6580)
- cli: Update
server.portandserver.hostwith listener info (#6595) - nuxt: Add
#componentsalias to tsconfig (#6634) - vite: Pass relative url as default base (#6637)
- nuxt: Don't set asyncData to existing payload on CSR if
initialCacheis disabled (#6640) - vite: Warmup server entries with
ssrcondition (#6649) - nuxt: Include tag attrs for non self-closing tags in tree-shake regex (#6675)
- nuxt: Fallback to static error page on server error (#6697)
- cli: Ensure
nuxi upgraderuns in rootDir (#6707) - cli: Properly detect hash and tag for upgrade changelog (#6708)
- nuxt: Use
vue-devtools-stubto mock@vue/devtools-apifor both cjs + esm (#6713) - nuxt: Pass params to client-only slot (#6584)
- vite: Improve
vite-nodemodule invalidation (#6736) - vite: Dedupe
vuein client bundle (#6735) - nuxt: Ensure component helper methods do not create side-effects (#6789)
- nuxt: Use deep assignment for app.config hmr (#6788)
- nuxt: Throw hard error on initial spa load if aborted (#6857)
- nuxt: Pass analyze options through to nitro (#6871)
- cli: Build all types on typecheck command (#5437)
- nuxt: Lazy composables shouldn't block setup in
ssr: false(#6901) - vite: Remove client
manifest.jsonfrom public dir (#7021) - kit: Sort aliases before resolving (#7018)
- nuxt: Use shared state for asyncData (#7055)
- vite: Sanitize client asset chunk names (#7067)
- schema: Sync types of vite v3.x (#7104)
- kit: ⚠️ Handle prerelease constraint (#7116)
💅 Refactors
- nuxt: Enable strict type checking (#6368)
- vite: Enable strict type checking (#6616)
- nuxt, kit: Improve type strictness (#6685)
- Enable strict type checking everywhere (#6943)
- Apply lints from
@nuxtjs/eslint-config-typescriptv11 (#7114) - nuxt: Remove unused
meta:registerhook (#7130)
📖 Documentation
- Ensure consistent casing of section headers (#6578)
- components: Use
fallbackTaginClientOnlyexamples (#6587) - Global style imports example (#6490)
- composables: Add more examples for
autoImports(#6615) - server: Add nitro config and storage examples (#6507)
- data-fetching: Fix and simplify cookie proxy example (#5770)
- Tweaks for data fetching, server routes and composables (#6653)
- Update links to nitro.unjs.io (#6684)
- Make wording slightly clearer (#6740)
- Fix typo in
defineEventHandlerexample (#6741) - api: Add
<NuxtWelcome />component docs (#6745) - Use updated h3 utils (#6818)
- api: Add missing kit utilities (#6841)
- plugins: Add note about composable usage (#6744)
- api: Add
useNuxtAppcomposable (#6786) - composables: Add nested and plugin injection examples (#6743)
- examples: Add jsx example (#6870)
- api: Add
addRouteMiddlewareutil (#6894) - Update stormkit link (3ee812939)
- Update link to pinia nuxt module (#6952)
- deploy: Update command for csr prerendering (#6966)
- api: Enhance
abortNavigationutil (#6936) - api: Add
defineNuxtRouteMiddlewareutil (#6933) - api: Add
definePageMetautil (#6931) - Replace backtick with apostrophe (#7015)
- api: Fix the layout file extension in cli example (#7024)
- schema: Update prefix for runtime config env variables (#6999)
- Add information on how to use options api asyncData (#7019)
- Increment directory structure numbers (#7102)
- Add explanatory comment before universal router stubs (#7124)
🏡 Chore
- ci: Set timeout for each step (#6923)
- nuxt: Fix typo (#6971)
- Add
dev:previewscript for playground preview (#6961) - repo: Remove backtick-type in bug issue-template (#7083)
- Bump rc version for edge versions (#7117)
- nuxt: Prevent error page rendering a null error (#7119)
- nuxt: Use latest
nitropack-edgeon release (#7036)
❤️ Contributors
- 4Kazelot
- Alex Kozack
- Alexander Lichter
- Angelo Schuler Piletti
- Anthony Fu
- Conrawl Rogers
- Damian Głowala
- Daniel Roe
- Harlan Wilton
- HomWang
- Ilya Artamonov
- Julien Huang
- Krutie Patel
- Lay
- Lexpeartha
- Louis Haftmann
- Mourad EL CADI
- Nils
- Ohb00
- Oumar Barry
- Pooya Parsa
- Qin Guan
- Richard Schloss
- Sébastien Chopin
- TheColaber
- Umut Aktaş
- Yaël Guilloux
- __Catalina
- ✅
- 3.0.0-rc.812 Aug 2022pre-release
Release notes
Open source →Originally published at https://github.com/nuxt/framework/releases/tag/v3.0.0-rc.8
Note This version includes hotfixes from rc.7. Check v3.0.0-rc.7 release notes for all changes between rc.6...rc.8
Warning There are slight API changes with this release candidate.
💬 Join the release discussion
🚀 How to upgrade
- Automated:
npx nuxi-edge@latest upgrade --force - Manual: Bump
nuxtdependency to3.0.0-rc.8and then usenpx nuxi-edge@latest cleanupto cleanup any local caches
🩹 Fixes
- cli: Fix issues with
nuxi upgrade(#6514) - nuxt: ⚠️ Allow
app:renderedto modify ssr context and addrender:html(#6521) - vite: Remove
/@fsfrom external ids (#6529) - nuxt: Tree-shake devtools from production bundle (#6538)
- vite, nuxt: Resolve relative to
srcDirrather thanrootDir(#6546)
📦 Build
- nuxt: Publish missing types (#6516)
📖 Documentation
- Change
infotodangerfor the pages root element (#6528) - quick-start: Add the file path for disabling generating shim (#6519)
- schema: Grammar, punctuation and typo fixes (#6469)
❤️ Contributors
- Damian Głowala
- Daniel Roe
- Eugen Istoc
- Jiang Menghao
- Pooya Parsa
- Timur Bolotov
- Automated:
- 3.0.0-rc.711 Aug 2022pre-release
Release notes
Open source →Originally published at https://github.com/nuxt/framework/releases/tag/v3.0.0-rc.7
Warning There are slight API changes with this release candidate. Please check the linked issues marked with ⚠️
Warning This release contains some regressions. Please upgrade to the latest v3.0.0-rc.8
🚀 Enhancements
- vite: Check types with
vue-tsc(#6012) - vite: ⚠️ Upgrade to vite v3 (#5398)
- nuxt: ⚠️ Only scan top level
composables/with glob support (#6025) - nuxt: Improve error DX (#4539)
- cli:
nuxi cleanupcommand (#6125) - nuxt, schema: Add
<NoScript>component andnoscripttypings (#6139) - nuxt:
app:renderedandrender:responsehooks (#6042) - nuxt: ⚠️ Add support for
components/globaldir (#6070) - nuxt: Extends support for
app.vue(#6228) - nuxt: Add
fetchpriorityattribute and literal typings for meta components (#6251) - kit: Support
followSymbolicLinksoption forresolveFiles(#6240) - nuxt: Remove wrapper from client only components (#6165)
- nuxt: Add
setResponseStatusutility (#6306) - vite: Log vite-node hmr updates (#6351)
- nuxt: Update to
[email protected](#6210) - nuxt: Update nitropack to latest (#6442)
🔥 Performance
- nuxt: Transform
#importsto improve tree-shaking (#5763) - vite-node: Only invalidate cache for user code (#6156)
🩹 Fixes
- webpack: Do not resolve
#internal/nitroalias internally (#5987) - nuxt: ⚠️ Change
statusCodetype to number for error page template (#6010) - kit, nuxt: Always sort globby results (#6029)
- pages: Ignore expression delimiters within quotes (#6033)
- nuxt: Always write nitro types when building (#6035)
- kit: Resolve aliases in plugin src (#6037)
- vite: Invalidate virtual files when changed (#6038)
- nuxt: Use relative path to generate plugin variables (#6030)
- types: Generate relative path in
imports.d.ts(#6054) - nuxt: Auto import for components with the external template (#6053)
- vite: Ignore
baseurlwhen pruning manifest (#6063) - nuxt: Don't ignore components dirs with the same prefix (#6116)
- vite: Resolve
tsconfig.jsonfor vue-tsc type checker (#6069) - cli: Load
.envfile before starting dev server (#6119) - nuxt: Normalize manifest css file entries (#6112)
- vite: Allow overriding client HMR options (#6082)
- nuxt: Clear
vite-noderunner cache after each render (#6154) - nuxt: Add error event declaration to the
<NuxtErrorBoundary>component (#6141) - schema: Add empty noscript array (#6155)
- vite: Use
unjs/externalityto handlevite-nodeexternals (#6153) - nuxt: Allow
useHeadto accept computed values (#6174) - schema: Exclude functions from
DeepPartial(#6176) - nuxt: Don't call renderMeta if it is not defined (#6201)
- vite, webpack: Generate composable keys based on order (#6191)
- schema: Add typings for
vite.vueoptions (#6220) - vite: Fix dist dir resolution (#6215)
- webpack: Output
.mjsto use crossorigin preloads (#6232) - kit: Try extensions with
resolvePathwith absolute input (#6233) - nuxt: Do not allow catchalls to have child routes (#6257)
- nuxt: Narrow
nuxt.configimport protection (#6279) - nuxt: Separate routes for different suspense forks (#6275)
- nuxt: Avoid duplicate titleTemplate (#6296)
- nuxt: Render head scripts that use
body: true(#6293) - nuxt: Generate
200.htmland404.htmlspa fallback files (#6308) - nuxt: Extract component to provide route (#6325)
- nuxt: Remove literal
<script setup>from comment (#6331) - vite: Improve
vite-nodehmr (#6343) - nuxt: Better equality check for json cookies (#6352)
- nuxt: Make the route provided to page children reactive (#6349)
- nuxi, kit: Enable
esmResolveflag forjiti(#6356) - nuxt: Resolve plugins and middleware to their full path (#6350)
- vite: Use URL for entry on windows (#6355)
- nuxt: Remove side-effect imports from page metadata (#6376)
- nuxt: Type
useRoutereturn (#6395) - schema: Cleanup meta tags and deduplicate charset and viewport (#6378)
- kit: Move relative path handling back into nuxt templates (#6430)
- cli: Upgrade
listhen(#6434) - nuxt: Do not log
404andshowErroras fatal by default (#6437) - nuxt: Add
viteServerDynamicImportsas experimental flag (#6433) - nuxt: Use payload error state as the source of truth (#6389)
- vite: Add
moduletype to vite node entry (#6448) - nuxt: Handle immediate errors when calling
useAsyncData(#6441) - nuxt: Ensure component dirs in
node_moduleshave lower scanning priority (#6382) - nuxt: InteropDefault for page component imports (#6468)
- nuxt: Immediately call
asyncDatahandler (#6472) - nuxt: Log fatal errors as well as unhandled (#6488)
💅 Refactors
- nuxt: Enhance
useFetchanduseLazyFetchrequest type (#4825) - vite: Reuse logic and improve code splitting (#6164)
- test-utils: Remove unused codes (#6369)
- nuxt: ⚠️ Remove
nullhandling fortitleTemplate(#6487)
📖 Documentation
- Fix typo in the roadmap (#5979)
- Update bridge migration with info about generating
.nuxt/tsconfig.jsonfor tests (#5967) - Warn that
useStateshould only contain JSON-serializable content (#5994) - runtime-config: Clarify how environment variables are loaded (#5916)
- Add explicit
createErrorimport (#6050) - Expand contribution guide for ecosystem (#5922)
- Grammar fix (#6106)
- Update the link to the configuration (#6137)
- Grammar fix (#6166)
- api: Add
<NuxtLayout>component docs (#6264) - Add
theme-colormeta (#6250) - Fix external link display text (#6323)
- api: Add missing hooks and environment column (#6329)
- Add missing periods (2cbdc5c0)
- useFetch: Minor punctuation fixes (#6409)
- Update vue-router links (#6421)
- Update full static status (#6460)
📦 Build
- Upgrade to unbuild 0.8.x (#6483)
✅ Tests
- Wrap components with
<div>(#6192) - Add key matching test for keyed composables (#6372)
❤️ Contributors
- Alwin Lohrie
- Anthony Fu
- Brendan Mulholland
- CSY54
- Conrawl Rogers
- Cédric Exbrayat
- Damian Głowala
- Daniel Roe
- David Tai
- Ennio Visconti
- Gregor Becker
- Harlan Wilton
- Hecateball
- Julien Huang
- Kazuya Kawaguchi
- Kevin Marrec
- Krutie Patel
- Lakshya Singh
- Mitsuki Fukunaga
- Mohammad Hosein Feizi
- Nathan Chase
- Nur Muhammad
- OptimusePrime
- Pooya Parsa
- Rio Weber
- Sanjaiyan Parthipan
- Sébastien Chopin
- Thomas
- Timur Bolotov
- Victor Saa
- YuTin Liu
- vite: Check types with
- 3.0.0-rc.618 Jul 2022pre-release
Release notes
Open source →Originally published at https://github.com/nuxt/framework/releases/tag/v3.0.0-rc.6
✅ RC.6 is a hotfix release fixing known issues with previous releases
🚀 Enhancements
- schema: Sync types of vite v2.9.x (#5896)
🔥 Performance
- nuxt: Tree-shake client-only components from ssr bundle (#5750). Enabled by experimental
treeshakeClientOnlyflag (#5934)
🩹 Fixes
- vite: Set transform mode for
vite-node(#5854) - kit: Only call
viteExtendConfigcallback once (#5929) - nuxt: Lazy load and tree-shake error templates (#5930)
- pkg: Use fixed version range for monorepo packages (#5933)
- vite: Avoid creating vite server for production build (#5941)
- vite: Unset
build.watchoptions for production build (#5958) - vite: Use more strict app entry check in dev-bundler (#5959)
- cli: Add missing
typesfield (#5962)
📖 Documentation
- Fix typo (#5881)
- Improve runtimeConfig example (#5785)
- Add readmore link (#5893)
- Add way to pass
.envvariables to nuxt app in production (#5879) - Add missing
initialCachetoUseFetchOptionstypes (#5908) - Update roadmap (#5935)
- testing: Add missing import (#5956)
❤️ Contributors
- Anthony Fu
- Benicio Cardozo
- Bot08
- Damian
- Daniel Roe
- Kevin Marrec
- Lay
- Lm
- OptimusePrime
- Pooya Parsa
- Yoho
- 码农小余
See all changes: https://github.com/nuxt/framework/compare/v3.0.0-rc.5...v3.0.0-rc.6
- 3.0.0-rc.513 Jul 2022pre-release
Release notes
Open source →Originally published at https://github.com/nuxt/framework/releases/tag/v3.0.0-rc.5
This release is featuring 25+ bug fixes, keyless composables, <NuxtLoadingIndicator> component, and upgraded deployment presets. Stay tuned for RC.6 with Vite 3 support and more enhancements ✨
Feedback about the release: Join the discussion
See all changes: https://github.com/nuxt/framework/compare/v3.0.0-rc.4...v3.0.0-rc.5
⚠️ Breaking Changes
This release contains slight breaking changes. Please check the linked pull requests for notes.
- auto-import: Unwrap auto imports in SFC templates (#5573)
- nuxt: Support universal global middleware (#5038)
- nuxt: Remove legacy app context (#5630)
🚀 Enhancements
- kit: Allow
addServerHandlerto use method suffix of the file path (#5465) - kit: Support client and server flags for
addVitePlugin(#5560) - auto-import: ⚠️ Unwrap auto imports in SFC templates (#5573)
- kit: Add
addLayoututility (#5537) - nuxt: ⚠️ Support global middleware without router (#5038)
- nuxt: Allow passing custom fetch options to
useFetch(#5660) - nuxt: Prerender all pages by default (#5709)
- nuxt: Tree-shake client and server-only composables (#5749)
- nuxt: Automatically generate unique keys for keyed composables (#4955)
- nuxt: Support
customprop for<nuxt-link>(#4249) - nuxt: Add
<NuxtLoadingIndicator>component [WIP] (#5121)
🔥 Performance
- nuxt: ⚠️ Remove legacy app context (#5630)
🩹 Fixes
- schema: Add types for
vite:hooks (#5472) - nuxt: Normalize string transpile paths for windows (#5461)
- nuxt: Prefer unctx context over
getCurrentInstanceforuseNuxtApp(#5456) - vite: Add typecheck to vite plugins (#5464)
- vite: Disable HMR in build (#5505)
- schema, postcss:
cssnanois enabled if not dev (#5583) - vite: Do not watch ignored pathes (#5632)
- vite-node: On-demand manifest (#5017)
- nuxt: Pass attrs and props to client-only components (#5668)
- kit: Allow adding server-only and client-only components separately (#5686)
- webpack: Transpile
vue-demi(#5721) - nuxt:
useRequestHeaderstype should allow forundefinedvalues (#5748) - nuxt: Update
useFetchkey warning to include any function or blob (#5710) - vite: Do not inline dynamic imports in server (#5506)
- nuxt: Handle
undefinedwhen applying defaults foruseAsyncData(8d2f8057) - vite: Fix
vite-nodecircular reference (#5764) - nuxt: Use virtual server stub for
ssr: false(#5773) - nuxt: Don't return stub function from tree-shaken composables (#5786)
- test-utils: Update vitest import path with
.mjs(#5817) - nuxt: Only tree-shake composables on their own lines (#5850)
- nuxt: Extend nitro routes instead of overriding (#5828)
- cli: Show base url in terminal (#5337)
- nuxt: Add import protection to nitro config (#5847)
- nuxt: Replace
process.devin nitro bundle (#5852) - nuxt: Warn about legacy and invalid plugins (#5857)
- nuxt: Fix issues with
vue-routerand@vue/devtools-apibundling (#5874) - vite: Close vite watcher before building (#5875)
📖 Documentation
- Update roadmap (#5443)
- Rewrite note wording (#5462)
- Align value for defaulting the page's title with type declaration (#5447)
- Fix link to
nuxt/imageissue (#5490) - Add notes about reporting security issues (#4895)
- testing: Fix async/await (#5539)
- api: Add watch parameter in
useFetchoptions (#5562) - examples: Rename
hello.tsto[...hello].ts(#5261) - Update usage about runtime config and environment variables (#5569)
- Update
pnpmusage (#5597) - Minor wording improvements (#5622)
- Replace invalid link to composables (#5611)
- Rework the layout section (#5118)
- api: Add docs for
<NuxtPage>component (#5591) - Clarify that
definePageMetaonly works in the pages directory (#5663) - Update vuejs-development (#5679)
- Add full stop (#5680)
- api: Update commands with new
NODE_ENVbehavior (#5739) - plugins: Add directive example (#5667)
- Fix Vite check for Nuxt 3 (#5768)
useFetchuses isomorphic$fetch(#5769)- Add content directory to directory-structure (#5755)
- api: Add
anavigateTodocs (#5701) - Fix link to
NuxtLoadingIndicatorcomponent src (#5776) - Use
defineLazyHandlerin wasm example (#5797) - Use
toUTCStringinuseAsyncDataexample (#5798) - Add missing dot (#5815)
- Update
nuxt-link(#5819) - Lint whitespaces (#5633)
- Fix typo (#5865)
- Fix typo (#5863)
❤️ Contributors
- Ahad Birang
- Alexander Lichter
- AnPineau
- Anders Søgaard
- Anthony Fu
- Bob Olde Hampsink
- Bot08
- Clément Ollivier
- Cupid Valentine
- Damian
- Daniel Roe
- Donatelloraphael
- Francisco Buceta
- Haruaki OTAKE
- Ibrahim Abdullahi Aliyu
- Julien Huang
- Krutie Patel
- Mourad EL CADI
- Mrauhu
- Nestor Vera
- Paranoid
- Pooya Parsa
- Qin Guan
- Sumiren
- Sébastien Chopin
- Thibault Vlacich
- Thomas Jowsey
- Vasiliy
- Xanlantos
- Yuki Inoue
- 井上裕貴
- 3.0.0-rc.413 Jun 2022pre-release
Release notes
Open source →Originally published at https://github.com/nuxt/framework/releases/tag/v3.0.0-rc.4
See all changes: https://github.com/nuxt/framework/compare/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
globalwithglobalThis(#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-nodeentry 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
navigateTofrom301to302(#5173) - schema: Add missed types for
title,bodyAttrsandhtmlAttrs(#5184) - nuxt: Respect
navigateTooptions using server middleware in server-side (#5145) - nuxt: Support
RouterViewprops inNuxtPage(#5272) - schema, vite: Resolve
modeconfig correctly (#5255) - nuxt: Add
ssrContexttypes 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_ENVvalue with a warning (#5417) - nuxt: Don't add macro query to the end of id (#5413)
- webpack: Enable
extractCSSby default (#4388)
💅 Refactors
- vite, webpack, test-utils: Use caret range for
vuepeer 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
aliasexample (#4995) - Fix typo in environment variable (#4990)
- data-fetching: Add note about difference between
useFetchanduseAsyncData(#4974) - api: Improve
useFetchdocs for body type and additionalohmyfetchoptions (#4985) - Minor improvements for the quick start section (#5036)
- middleware: Add
navigateTooptions (#5044) - Update wording of client-side rendering explanation (#5049)
- Demonstrate the multiple
useStatewith same key (#5059) - config: Correct naming of
NUXT_APP_CDN_URLenvironment 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
--prerenderflag tonuxi buildcommand (#5112) - api: Add
keyoption foruseFetch(#5089) - roadmap: Nuxt content v2 release (#5129)
- Add
--no-clearflag in the documentation of development server (#5197) - deploy: Update default host for node preset (#5228)
- guide: Add use of
NuxtLayoutinapp.vuewith 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
useRoutercomposable (#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
- @jremye made their first contribution in https://github.com/nuxt/framework/pull/4966
- @0ri2N made their first contribution in https://github.com/nuxt/framework/pull/4995
- @chris-zhu made their first contribution in https://github.com/nuxt/framework/pull/4990
- @ArthurMJ96 made their first contribution in https://github.com/nuxt/framework/pull/4985
- @aifodu made their first contribution in https://github.com/nuxt/framework/pull/5049
- @husayt made their first contribution in https://github.com/nuxt/framework/pull/5059
- @srtonz made their first contribution in https://github.com/nuxt/framework/pull/5032
- @heychazza made their first contribution in https://github.com/nuxt/framework/pull/5094
- @mishushakov made their first contribution in https://github.com/nuxt/framework/pull/5112
- @ashgo-x made their first contribution in https://github.com/nuxt/framework/pull/5187
- @SirMishaa made their first contribution in https://github.com/nuxt/framework/pull/5197
- @cawa-93 made their first contribution in https://github.com/nuxt/framework/pull/5184
- @JoseeWouters made their first contribution in https://github.com/nuxt/framework/pull/5225
- @mael-queau made their first contribution in https://github.com/nuxt/framework/pull/5273
- @AcelisWeaven made their first contribution in https://github.com/nuxt/framework/pull/5284
- @nathanchase made their first contribution in https://github.com/nuxt/framework/pull/5298
- @Zalexios made their first contribution in https://github.com/nuxt/framework/pull/5386
- @MaximKing1 made their first contribution in https://github.com/nuxt/framework/pull/5416
- @dotoleeoak made their first contribution in https://github.com/nuxt/framework/pull/5413
- @ennioVisco made their first contribution in https://github.com/nuxt/framework/pull/5430
- vite: Replace
- 3.0.0-rc.310 May 2022pre-release
Release notes
Open source →Originally published at https://github.com/nuxt/framework/releases/tag/v3.0.0-rc.3
🚀 Enhancements
Nuxt, Kit
- #4850 Support
serverHandlers/devServerHandlersshortcuts to register custom handlers
Nuxt
- ⚠️ #4837 Upgrade
nitropackto0.4.x - #4834 Custom include option
🩹 Fixes
Nuxt
- #4770 Use
router.resolveto resolve initial url - #4781 Ensure url is not empty string
- #4839 Clear errors after navigation
- #4842 Check if default slot is provided before calling it
- #4841 Normalize window location for universal router
- #4791 Await asyncData if
ssr: false - #4851 Add missing import to client only wrapper
- #4857 Avoid redirect with different encoding and trailing slash
Schema
- #4772 Exclude
vitefromDeepPartial - #4849 Add back
PublicRuntimeConfiginterface for augmentation
Vite
- #4844 Use
buildAssetsURLfor dynamic imports - #4822 Ignore virtual imports that aren't in vfs
💅 Refactors
Nuxt
- #4853 Cleanup renderer entry
📖 Documentation
Data-fetching
- #4824 Fix and improve data-fetching example
API
- #4776 Document
useRoutecomposable - #4870 Fix api examples
General
- #4831 Fix example syntax for runtime hook plugin
❤️ New Contributors
- @huang-julien made their first contribution in https://github.com/nuxt/framework/pull/4830
- @jontybrook made their first contribution in https://github.com/nuxt/framework/pull/4831
- @Krutie made their first contribution in https://github.com/nuxt/framework/pull/4776
- @salimabsi made their first contribution in https://github.com/nuxt/framework/pull/4824
- @derz made their first contribution in https://github.com/nuxt/framework/pull/4822
- #4850 Support
- 3.0.0-rc.22 May 2022pre-release
Release notes
Open source →Originally published at https://github.com/nuxt/framework/releases/tag/v3.0.0-rc.2
🩹 Fixes
Nuxt
- #4491 Await for
router.pushon ssr - #4626 Cleanup auto imports on regenerate
- #4590 Warn to provide a key for
useFetchwithtransformoption - #4677 Use suspense for child pages on client-side navigation
- #4666 Mark config head as non-reactive
- #4210 Improve error types for
useAsyncDataanduseFetch - #4645 Process middleware after plugins
- #4755 Preserve
error.datain response
CLI
- #4595 Don't strip file extensions from dirs in
tsconfig - #4685 Typo in init message
- #4612 Improve
nuxi initoutput
Schema
- #4695 Decrease recursion on
DeepPartial
Vite
- #4512 Transform virtual templates
- #4442 Use single regex to reduce risk of collisions
- #4596 Don't match across newlines
✨ Features
Nitro
- #4304 Add
nitro:build:beforehook
Pages
- ⚠️ #4537 Explicitly allow optional params with
[[
General
- #4509 Allow disabling sourcemap generation
📖 Documentation
General
- #4502 Update migration guide
- #4506 Simplify example of Head components
- #4519 Remove duplicate entry for
defaultoption - #4510 Update stackblitz links
- #4485 Fix 'alias' usage
- #4499 Improve netlify deployment
- #4401 Improve server routes guide
- #4573 Update environment variable in example
- #4593 Add layout to match custom header example
- #4603 Fix some minor typos
- #4608 Fix typo
- #4617 Fix typo
- #4616 Make titleTemplate function form example clearer
- #4640 Add note and banner about edge channel
- #4653 Fix edge alert syntax
- #4679 Fix typos
- #4675 Add notes about auto imports from
composables/directory - #4715 Fix incorrect function declaration in composables
- #4714 Add note that
.envis not read in production - #4742 Make
useFetchexample consistent with others
Features
- #4563 Complete assets page
Typescript
- #4660 Typos
Migration
- #4642 Update to use new
runtimeConfig
Readme
- #4628 Fix typo
Concepts
- #4601 Change phrasing
API
- #4549 Fix
useAsyncDataexample
🏡 Chore
General
- #4453 Setup IssueUp
- #4664 Enable typecheck ci for packages
Docs
- #4577 Update social card
⚠️ Breaking Changes
- #4537 Explicitly allow optional params with
[[
If you are relying on
[slug]at the end of a route to generate an optional parameter, you will need to rewrite it as[[slug]].❤️ New Contributors
- @Vincent-Risk0 made their first contribution in https://github.com/nuxt/framework/pull/4502
- @Benbinbin made their first contribution in https://github.com/nuxt/framework/pull/4519
- @cinob made their first contribution in https://github.com/nuxt/framework/pull/4485
- @klevron made their first contribution in https://github.com/nuxt/framework/pull/4549
- @sammce made their first contribution in https://github.com/nuxt/framework/pull/4601
- @dantownsend made their first contribution in https://github.com/nuxt/framework/pull/4603
- @UzzolX made their first contribution in https://github.com/nuxt/framework/pull/4608
- @riddla made their first contribution in https://github.com/nuxt/framework/pull/4616
- @wireta made their first contribution in https://github.com/nuxt/framework/pull/4628
- @gui-desan made their first contribution in https://github.com/nuxt/framework/pull/4653
- @sanscheese made their first contribution in https://github.com/nuxt/framework/pull/4685
- @sr2echa made their first contribution in https://github.com/nuxt/framework/pull/4679
- @Kapcash made their first contribution in https://github.com/nuxt/framework/pull/4675
- @m0ksem made their first contribution in https://github.com/nuxt/framework/pull/4715
- @max-programming made their first contribution in https://github.com/nuxt/framework/pull/4612
- @zzxswl made their first contribution in https://github.com/nuxt/framework/pull/4742
- @Matix-Media made their first contribution in https://github.com/nuxt/framework/pull/4755
- #4491 Await for
- 3.0.0-rc.120 Apr 2022pre-release
Release notes
Open source →Originally published at https://github.com/nuxt/framework/releases/tag/v3.0.0-rc.1
🐣
3.0.0-rc.1"Mount Hope"Release Announcement
🚀 Check out the Announcing Nuxt 3 Release Candidate for more information about this release!
Migrating from
nuxt3edge releasesIf you are already a beta tester of nuxt using
nuxt3package, please follow the steps below to use RC.1:-
Check out Breaking changes tracker to apply any of the previous possible breaking changes on edge-channel.
-
Remove
.nuxt,package.lock.json,yarn.lockandnode_modules -
Update
nuxt.configto importdefineNuxtConfigfromnuxtinstead ofnuxt3:
- import { defineNuxtConfig } from 'nuxt3' + import { defineNuxtConfig } from 'nuxt' export default defineNuxtConfig({ ... })- Update
package.json
{ "devDependencies": { - "nuxt3": "latest" + "nuxt": "^3.0.0-rc.1" } }Alternatively, you can use
"nuxt": "npm:nuxt3@latest"to keep using the latest edge releases of Nuxt 3.Migration for module authors
For Nuxt 3 modules created by new module-builder toolchain, also update
@nuxt/kitdependency to use RC.1 inpackage.json:{ "dependencies": { - "@nuxt/kit": "npm:@nuxt/kit-edge@latest" + "@nuxt/kit": "^3.0.0-rc.1" } } -
- 3.0.0-rc.020 Apr 2022pre-release
Nothing published for this version
- 0.8.1-edge18 Nov 2021pre-release
Nothing published for this version
- 0.8.0-edge18 Nov 2021pre-release
Nothing published for this version
- 0.7.0-edge3 Nov 2021pre-release
Nothing published for this version
- 0.6.424 Jun 2021withdrawn: Using an outdated and unsupported version of Nuxt kit! Please use latest @nuxt/kit-edge or revert this migration.
Nothing published for this version
- 0.6.316 Jun 2021withdrawn: Using an outdated and unsupported version of Nuxt kit! Please use latest @nuxt/kit-edge or revert this migration.
Nothing published for this version
- 0.6.24 Jun 2021withdrawn: Using an outdated and unsupported version of Nuxt kit! Please use latest @nuxt/kit-edge or revert this migration.
Nothing published for this version
- 0.6.124 May 2021withdrawn: Using an outdated and unsupported version of Nuxt kit! Please use latest @nuxt/kit-edge or revert this migration.
Nothing published for this version
- 0.6.020 May 2021withdrawn: Using an outdated and unsupported version of Nuxt kit! Please use latest @nuxt/kit-edge or revert this migration.
Release notes
Open source →New features:
- We can now extend the root application by adding
pages/_app.vue. You can now add a navigation bar which stays whatever the page you're on (error pages included), see an examples/extend-app/ for more details and documentation (you can also watch the short video example) - Add
context.isDevin the data(context) and fetch(context) methods, can be useful for caching some data calls on production - Add
callbackargument (optional), indata(context [, callback])method, because not everyone may be comfortable with using Promises. The callback is the node.js style:callback(err, data), see examples/async-data/ for more details.
Fix
- Bug with path with ~ inside (example: ~plugins/my-plugin.js)
Documentation
- Add Handling errors section in examples/async-data/ and also explain how to use data with a
callback. - Add README in examples/head-elements/, feel free to take a look at it to see how to update your app headers with Nuxt.js.
- Add examples/extend-app/
- We can now extend the root application by adding
- 0.5.328 Apr 2021withdrawn: Using an outdated and unsupported version of Nuxt kit! Please use latest @nuxt/kit-edge or revert this migration.
- 0.5.228 Apr 2021withdrawn: Using an outdated and unsupported version of Nuxt kit! Please use latest @nuxt/kit-edge or revert this migration.
Release notes
Open source →Fix
- Duplicated components imported in router from custom routes
- Hidden files from subdirectory
- 0.5.123 Apr 2021withdrawn: Using an outdated and unsupported version of Nuxt kit! Please use latest @nuxt/kit-edge or revert this migration.
- 0.5.016 Apr 2021withdrawn: Using an outdated and unsupported version of Nuxt kit! Please use latest @nuxt/kit-edge or revert this migration.
Release notes
Open source →Feature
- We can now use
mixinsorexport default Vue.extend({ ... })inside the pages
Side note, when exporting a page with
Vue.extend, the hot-reloading might have some difficulties to works perfectly.Fix
- Remove a console.log
- We can now use
- 0.4.012 Apr 2021withdrawn: Using an outdated and unsupported version of Nuxt kit! Please use latest @nuxt/kit-edge or revert this migration.
Release notes
Open source →Features
- We can now define headers and meta attributes via the
headfield in components andnuxt.config.js, see examples/head-elements - Compatibility with webpack beta 26
- Add alias
~staticin webpack for assets -><img src="~static/nuxt.png" />
- We can now define headers and meta attributes via the
- 0.3.09 Apr 2021withdrawn: Using an outdated and unsupported version of Nuxt kit! Please use latest @nuxt/kit-edge or revert this migration.
Release notes
Open source →Features
- Breaking change:
./static/folder is now mapped to/, this to allows to haverobots.txtfiles orsitemap.xml, since there is no main reason to not map it to/ - Breaking change:
nuxt.renderRoute(route, context)send back an object withhtmlanderrorinstead of the html - Nuxt.js is now serving the
staticfolder from itsrender(req, res)function (instead of the server used by nuxt-dev and nuxt-start), this to keep consistency in the behaviour of nuxt
Misc
- Update
with-avaexample to check when the app sent back an error from the server - Update exit status to 1 when app fail to respect standard
- Breaking change:
- 0.2.04 Apr 2021withdrawn: Using an outdated and unsupported version of Nuxt kit! Please use latest @nuxt/kit-edge or revert this migration.
Release notes
Open source →Features
- css option working in nuxt.config.js, see example
Fixes
- display error when webpack build fails