Releases: nuxt/cli
v3.31.1
3.31.1 is a patch release to address a regression when creating a new project.
👉 Changelog
🔥 Performance
- dev: Use
joinrather thanresolveif adding static string (b0b8fd5)
🩹 Fixes
- dev: Ensure
tsconfig.jsonexists before starting dev server (0aa3a0f) - dev: Handle completions when running
npm create nuxt(#1149)
✅ Tests
- Add e2e test for
create-nuxtcli (3650f92)
❤️ Contributors
- Daniel Roe (@danielroe)
- AmirHossein Sakhravi (@AmirSa12)
v3.31.0
3.31.0 is the next minor release.
👉 Changelog
🚀 Enhancements
- Add shell completions using
@bomb.sh/tab(#1082) - Use clack to add more ✨ (#1121)
- init: Prompt user to select a template (#1147)
🩹 Fixes
- module,init,upgrade: Use updated
@clack/prompts(#1117) - dev: Handle
--hostwithout explicit host (5278c9e) - upgrade: Clean lockfile in workspace dir (01ca983)
- info: Support
nitroversion + remove buildModules for v3+ (3eaca44) - info: Check if
BuildModulesis defined (ce9694f) - build,dev: Respect NODE_PATH when loading kit/nuxt (d5f9331)
- dev: Respect https.xxx commandline arguments (#1129)
- preview: Respect dotenv command-line arg (#1144)
- dev: Prime mtimes cache when starting dev server (#1137)
💅 Refactors
- init: Use clack for prettier box styling (#1077)
🏡 Chore
- Lint (068c85f)
- Update pnpm to 10.21 and enable trust policy (7edcce5)
- Revert pnpm trust policy and restore provenance action (694e92b)
- Lint (1b26dec)
- Use github token from environment when fetching templates (7812d77)
- Lint (40c967f)
🤖 CI
❤️ Contributors
- Daniel Roe (@danielroe)
- Aron Nopanen (@aroneous)
- yamachi4416 (@yamachi4416)
- AmirHossein Sakhravi (@AmirSa12)
- paul valladares (@dreyfus92)
v3.30.0
3.30.0 is the next minor release.
👀 Highlights
The biggest change in this release is that we drop the built-in proxy server which we previously used.
this will mean that there's not a persistent connection, but it avoids a lot of the pain and potential problematic behaviour with having a proxy (either over socket, which can be flaky on different oses/runtimes - or over network, which is slow on windows).
we're also continuing to focus on performance, including dropping some dependencies, and migrating where possible to new unjs libraries like h3 v2 and srvx.
👉 Changelog
🚀 Enhancements
- dev: Experimentally support nitro v3 + inline h3 (11f8bf7)
🔥 Performance
🩹 Fixes
- build,dev: Support showing
nitroversion (70dcc9b) - dev: Use proxy instead of web fetch handler (#1104)
- module,upgrade: Allow adding module/nuxt version to pnpm workspace root (#1109)
💅 Refactors
- analyze: Use
srvxto serve analysis results (97d8172) - dev: Remove proxy server in favour of direct listening (#1105)
📦 Build
- Use tsdown + isolated declarations (#1095)
🏡 Chore
- Update knip config (c23e915)
- Clean up playground console logging (3a92d84)
- Add
verifyDepsBeforeRun: install(#1106) - Update
ignoredBuiltDependencies(#1107)
✅ Tests
- Remove separate socket runtime tests (df17ad4)
❤️ Contributors
- Damian Głowala (@DamianGlowala)
- Daniel Roe (@danielroe)
v3.29.3
👉 Changelog
🩹 Fixes
- dev: Skip sending headers if they are already sent (4509643)
- dev: Handle multiple set-cookie headers correctly (#1079)
- dev: Handle more kinds of fetch errors (#1076)
❤️ Contributors
- Daniel Roe (@danielroe)
- Florian Heuberger (@Flo0806)
v3.29.2
v3.29.1
👉 Changelog
🩹 Fixes
- dev: Use existing nuxt options to resolve versions (646b777)
🏡 Chore
🤖 CI
- Split out comment into workflow_run (ad1e0d8)
- Extract script from workflow (f2dbebd)
- Setup latest node for size comment (0755948)
❤️ Contributors
- Daniel Roe (@danielroe)
v3.29.0
👉 Changelog
🚀 Enhancements
- upgrade: Add
v3,v4,v3-nightlyandv4-nightlychannels (#1019) - init: Prefill package.json name field with directory (#422)
- build,dev: Add vite and vue version to banner (#1021)
- dev: Use web fetch handler rather than proxy (#1051)
🔥 Performance
- Refactor for improved tree-shaking in
create-nuxt(#1044)
🩹 Fixes
- init: Properly check installed modules (#1043)
- init: Default to
falsefor installing official modules (0399e22) - dev: Close watchers before reloading nuxt (#1050)
- build: Avoid unnecessary error (b4f9b1a)
- dev: Move
clearargument default to command definition (#1054) - preview: Move
portargument alias to command definition (#1055) - dev: Check mtime before restarting (#1060)
🏡 Chore
✅ Tests
- Add dev server tests for multi-runtime (#1049)
- Add headers assertion (8ee8a48)
- Oops (f4749f8)
- Simplify support matrix (#1052)
- Install playground deps at top level (#1061)
- Test dev server with/without sockets (#1053)
🤖 CI
- Run tests on last node LTS (eff5062)
- Always publish nightly releases via pkg-pr-new (cdff4b6)
- Use npm trusted publishing (b4d7e69)
- Add codspeed mode (f5a8806)
- Add provenance action to check for downgrades in provenance (9d390df)
- Do not run autofix on main branch (4d30d3e)
- Remove caches from pull_request_target workflows (9c6e9c6)
- Split size compare workflow into two (f5b207e)
- Re-combine size compare workflow (3ef0dfe)
❤️ Contributors
- Daniel Roe (@danielroe)
- Bobbie Goede (@BobbieGoede)
- Oskar Lebuda (@OskarLebuda)
- Eckhardt (Kaizen) Dreyer (@Eckhardt-D)
- Jianxing Xu (@jianxing-xu)
- Ezra Ashenafi (@Eazash)
- Sébastien Chopin (@atinux)
- Robin (@OrbisK)
v3.28.0
3.28.0 is the next minor release.
👉 Changelog
🚀 Enhancements
- init: Add
--nightlyflag (#650)
🩹 Fixes
- dev: Handle array of dotenv file names (73888d3)
- init: Use amended directory when adding modules (#998)
- init: Skip modules that are dependencies of the selected template (#910)
- init: Default nightly install to
latest(6b80c59) - dev: End websocket connections gracefully (#1001)
- upgrade: Do not use cache when getting nuxt version (#1002)
🏡 Chore
- Import
join(e61d334)
🤖 CI
- Run size compare workflow on
pull_request_target(#999)
❤️ Contributors
- Daniel Roe (@danielroe)
- Damian Głowala (@DamianGlowala)
- Hugo Richard (@HugoRCD)
- Aaron Dewes (@AaronDewes)
v3.27.0
3.27.0 is the next minor release.
Timetable: to be announced.
👉 Changelog
🚀 Enhancements
- Add
-ealias for--extends(#986)
🩹 Fixes
❤️ Contributors
- Daniel Roe (@danielroe)
- Sébastien Chopin (@atinux)
- Agénor Debriat (@agenordebriat)
v3.26.4
3.26.4 is the next patch release.
Timetable: to be announced.
👉 Changelog
🩹 Fixes
❤️ Contributors
- Daniel Roe (@danielroe)