Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
2.4.0
->2.6.3
1.3.0
->1.9.0
3.25.0
->3.28.0
3.16.2
->3.18.1
Release Notes
nuxt/devtools (@nuxt/devtools)
v2.6.3
Compare Source
v2.6.2
Compare Source
Bug Fixes
v2.6.1
Compare Source
Bug Fixes
@nuxt/schema
(#872) (62443ec)v2.6.0
Compare Source
Bug Fixes
Features
v2.5.0
Compare Source
v2.4.1
Compare Source
Bug Fixes
Features
nuxt/eslint (@nuxt/eslint)
v1.9.0
Compare Source
🚀 Features
🐞 Bug Fixes
defineNuxtConfig
as ESLint's globals, close #603 - by @antfu in #603 (2e67f)View changes on GitHub
v1.8.0
Compare Source
🚀 Features
View changes on GitHub
v1.7.1
Compare Source
🐞 Bug Fixes
eslint-typegen.d.ts
innuxt.node.d.ts
, close #596 - by @antfu in #596 (ab74e)View changes on GitHub
v1.7.0
Compare Source
🚀 Features
View changes on GitHub
v1.6.0
Compare Source
🐞 Bug Fixes
eslint-plugin-import-x
as default, close #590 - by @antfu in #590 (e43d6)View changes on GitHub
v1.5.2
Compare Source
🚀 Features
features.import.plugin
to swap plugin implementation, close #587 - by @antfu in #587 (66f5e)View changes on GitHub
v1.5.1
Compare Source
🐞 Bug Fixes
View changes on GitHub
v1.5.0
Compare Source
🚀 Features
eslint-plugin-import-lite
, update deps - by @antfu (31bd8)🐞 Bug Fixes
View changes on GitHub
v1.4.1
Compare Source
🐞 Bug Fixes
node:
prefix to build-in modules - by @danielroe in #579 (8180f)View changes on GitHub
v1.4.0
Compare Source
🚀 Features
View changes on GitHub
v1.3.1
Compare Source
No significant changes
View changes on GitHub
nuxt/cli (nuxi)
v3.28.0
Compare Source
👉 Changelog
compare changes
🚀 Enhancements
--nightly
flag (#650)🩹 Fixes
latest
(6b80c59)🏡 Chore
join
(e61d334)🤖 CI
pull_request_target
(#999)❤️ Contributors
v3.27.0
Compare Source
👉 Changelog
compare changes
🚀 Enhancements
-e
alias for--extends
(#986)🩹 Fixes
rootDir
(67b9dab)❤️ Contributors
v3.26.4
Compare Source
👉 Changelog
compare changes
🩹 Fixes
devServer.close
(0d9ab2c)❤️ Contributors
v3.26.3
Compare Source
👉 Changelog
compare changes
🩹 Fixes
options.devServer
(#970)get-port-please
to handle socket paths (#973)🤖 CI
❤️ Contributors
v3.26.2
Compare Source
👉 Changelog
compare changes
🩹 Fixes
v4
(beb7fb4)❤️ Contributors
v3.26.1
Compare Source
👉 Changelog
compare changes
🩹 Fixes
💅 Refactors
formatSocketURL
logic (11330aa)❤️ Contributors
v3.26.0
Compare Source
👀 Highlights
Nuxt CLI v3.26 focuses on performance with faster cold starts, intelligent caching, and architectural improvements that prepare the foundation for Nuxt v4. I very much hope it will make your dev workflow noticeably faster and more responsive.
I'm hoping to write up a little bit more about how we did this, but the key changes include:
🚀 Faster Development Server
Starting your Nuxt development server is now significantly faster. We've optimized the initialization sequence to prioritize critical operations and reduce startup time, especially noticeable in larger projects (#902).
🔥 Node.js Compile Cache
The Node.js compile cache is now enabled automatically when supported, providing up to 3x faster startup times for subsequent CLI operations (#911).
The CLI automatically detects support and falls back gracefully when not available. (You can also set
NODE_DISABLE_COMPILE_CACHE=1
to disable it.)📁 Native File Watching
File watching now uses native
fs.watch
APIs for watching configuration files,.env
, and thedist
directory. This provides faster feedback and uses fewer system resources (#913).🔌 Socket-Based Development Proxy
The Nuxt dev server uses an internal connection between the host/port that the CLI starts, and the actual dev server. Previously, we used an internal TCP/IP network port, which had extra overhead, particularly on Windows machines. Now, where supported (currently Nuxt v4 only), we use a socket (#921).
You can also test this with Nuxt v3 by setting the
NUXT_SOCKET
environment variable, but until v3.18 is released, this may actually slow down your dev server as the current Nuxt v3vite-node
dev server does not support sockets and will fall back to the public network interface.⚡ Faster TypeScript Support
TypeScript resolution now happens in parallel with Nuxt type preparation, reducing
nuxt typecheck
times. The CLI also supports TypeScript project references, making it easier to work with monorepos (this also prepares for enhanced TypeScript integration in Nuxt v4) (#928).🛠️ Layer Support with
--extends
Create new Nuxt projects that extend existing layers with the new
--extends
option (#933):It's advised instead to include the layer you extend in your
nuxt.config
file but this can be considered an escape hatch for situations where this is not possible.🎯 Better Module Management
The
nuxt init
command now provides a cleaner module selection experience. Modules that are dependencies of other modules are automatically hidden, and you can skip module selection entirely with--no-modules
.We plan to improve this further in the next release with #910.
🔧 Stability Improvements
This release comes with plenty of bug fixes, of course, as well as prioritising the version of
@nuxt/kit
actually used by the version of Nuxt you have installed. (This should fix some edge cases issues where the CLI was using a different version of@nuxt/kit
than Nuxt itself.)👉 Changelog
compare changes
🚀 Enhancements
🔥 Performance
🩹 Fixes
💅 Refactors
🏡 Chore
✅ Tests
🤖 CI
❤️ Contributors
v3.25.1
Compare Source
👉 Changelog
compare changes
🩹 Fixes
❤️ Contributors
nuxt/nuxt (nuxt)
v3.18.1
Compare Source
👉 Changelog
compare changes
🔥 Performance
tinyglobby
inresolveFiles
(#32846)🩹 Fixes
error
variable (#32807)typeCheck
(#32835)null
result from webpack call (65aa17158)reverseResolveAlias
for better errors (#32853)📖 Documentation
🏡 Chore
✅ Tests
defineNuxtComponent
out of e2e test (#32848)🤖 CI
❤️ Contributors
v3.18.0
Compare Source
👀 Highlights
A huge thank you to everyone who's been a part of this release, which is mostly about backporting features + bugfixes from Nuxt v4.
Over the next six months, we'll continue backporting compatible v4 features and bug fixes, so please keep the feedback coming! ❤️
🧪 Lazy Hydration Macros
Building on the delayed hydration support from v3.16, we now support lazy hydration macros (#31192)! These provide a more ergonomic way to control component hydration:
These macros make it possible to use Nuxt's lazy hydration utilities alongside explicit component imports.
♿️ Accessibility Improvements
We've enhanced accessibility by including
<NuxtRouteAnnouncer>
in the built-inapp.vue
(#32621). This means page changes will be announced to screen readers, making navigation more accessible for users with visual impairments. (This only applies if you do not have anapp.vue
in your project. If you do, please keep<NuxtRouteAnnouncer>
in yourapp.vue
!)🛠️ Enhanced Development Experience
Chrome DevTools Workspace Integration
We've added Chrome DevTools workspace integration (#32084), allowing you to edit your Nuxt source files directly from Chrome DevTools. This creates a better debugging experience where changes made in DevTools are reflected in your actual source files.
Better Component Type Safety
Component type safety has been improved with:
<ClientOnly>
and<DevOnly>
(#32707) - better IntelliSense and error checking<NuxtTime>
prop types (#32547) - easier to extend and customizeNew Auto-Import:
onWatcherCleanup
The
onWatcherCleanup
function fromvue
is now available as an auto-import (#32396), making it easier to clean up watchers and prevent memory leaks:📊 Observability Enhancements
Page routes are now exposed to Nitro for observability (#32617), enabling better monitoring and analytics integration with supported platforms. This allows observability tools to track page-level metrics more effectively.
🔧 Module Development Improvements
Module authors get several quality-of-life improvements:
Simplified Server Imports
The
addServerImports
kit utility now supports single imports (#32289), making it easier to add individual server utilities:TypeScript Configuration
Modules can now add to
typescript.hoist
(#32601), giving them more control over TypeScript configuration and type generation.⚡️ Performance Improvements
We've made several performance optimizations:
oxc-walker
(#32250) and oxc foronPrehydrate
transforms (#32045) for faster code transformations🐛 Bug Fixes
This release also includes several important fixes:
scrollBehaviorType
is now only used for hash scrolling (#32622)✅ Upgrading
As usual, our recommendation for upgrading is to run:
This refreshes your lockfile and pulls in all the latest dependencies that Nuxt relies on, especially from the unjs ecosystem.
👉 Changelog
compare changes
🚀 Enhancements
<NuxtTime>
prop types (#32547)addServerImports
(#32289)onWatcherCleanup
to imports presets (#32396)🔥 Performance
🩹 Fixes
typescript.hoist
(#32601)scrollBehaviorType
for hash scrolling (#32622)async
(fd312af03)<ClientOnly>
and<DevOnly>
(#32707)mlly
to parse module paths (#32386)💅 Refactors
oxc-walker
(#32250)onPrehydrate
transform (#32045)installNuxtModule
(228e3585e)📖 Documentation
v3
template to create nuxt examples (03182202f)useNuxtData
in data fetching composable pages (#32589)noUncheckedIndexedAccess
rule change in v4 guide (#32643)npm create nuxt@latest
(#32726).with()
(#32757)🏡 Chore
unbuild
and use absolute path in dev stubs (#32759)✅ Tests
module.exports
export (ac8b02d09)🤖 CI
pkg.pr.new
formain
/3.x
branches as well (ca4f0b1da)3x
tag to latest v3 release (5e8dfc150)❤️ Contributors
v3.17.7
Compare Source
✅ Upgrading
Our recommendation for upgrading is to run:
This will deduplicate your lockfile as well, and help ensure that you pull in updates from other dependencies that Nuxt relies on, particularly in the unjs ecosystem.
👉 Changelog
compare changes
🩹 Fixes
extraPageMetaExtractionKeys
(#32510)loadBuilder
error cause (8f13ce3c2)null
values (c1b83eab5)semver.satisfies
returns true for pre-release versions (#32574)execute being passed to
watch` (#32591)📖 Documentation
NUXT_
(#32223)useAsyncData
anduseFetch
migration (#32560)undefined
tonull
in v3 docs (#32562)async
keyword (#32587)✅ Tests
generateTypes
(c0855439d)<NuxtTime>
test (#32558)❤️ Contributors
v3.17.6
Compare Source
✅ Upgrading
Our recommendation for upgrading is to run:
This will deduplicate your lockfile as well, and help ensure that you pull in updates from other dependencies that Nuxt relies on, particularly in the unjs ecosystem.
👉 Changelog
compare changes
🔥 Performance
🩹 Fixes
nuxt.config
(#32324)nuxt:chunk-reload-immediate
(#32382)set-cookie
headers in error handler (#32483)asyncData
runs if changing key while fetcher is running (#32466)navigateTo
(#32393)<NuxtLink>
's custom on click handler (#32499)inheritAttrs: false
increateClientOnly
fn (#32323)output.generatedCode.symbols
for nitro build (#32358)💅 Refactors
📖 Documentation
h3js
(#32243)clear
function description (#32287)defineNuxtPlugin
function documentation (#32328)<NuxtLink>
encodes query params (#32361)bun.lock
for lockfile (#32427)🏡 Chore
workspace
toprojects
(#32388)✅ Tests
immediate: false
(#32473)🤖 CI
❤️ Contributors
v3.17.5
Compare Source
✅ Upgrading
Our recommendation for upgrading is to run:
This will deduplicate your lockfile as well, and help ensure that you pull in updates from other dependencies that Nuxt relies on, particularly in the unjs ecosystem.
👉 Changelog
compare changes
🔥 Performance
globby
(#31688)🩹 Fixes
useScriptRybbitAnalytics
from script stubs (d275ae1a0)appConfig
sources are not duplicated (#32216)h()
in ClientOnly (#30664)asyncData
state from nuxt app instance (#32232)srcDir
inbuildCache
(#32260)asyncData
watcher (#32247)📖 Documentation
addRouteMiddleware
path in example (#32171)Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.