Skip to content

Latest commit

 

History

History
736 lines (580 loc) · 43.7 KB

CHANGELOG.md

File metadata and controls

736 lines (580 loc) · 43.7 KB

Changelog

v3.11.1

compare changes

🩹 Fixes

  • dev: Prepend baseURL for vite hmr ws upgrade (#370)

🏡 Chore

❤️ Contributors

v3.11.0

compare changes

🚀 Enhancements

  • dev: Support experimental runtime websocket (#348)
  • Support module aliases and validate cwd and pkg (#362)
  • module search: Add stats to module search results (#221)

🩹 Fixes

  • typecheck: Use resolve vue-tsc and typescript path (#264)

💅 Refactors

  • module: Improve messages (#355)
  • pkg: Update node engine (#356)
  • Migrate to cwd from rootDir (#350)
  • add: Strip .ts and .vue extension from name (#345)

📖 Documentation

🏡 Chore

❤️ Contributors

v3.10.1

compare changes

🩹 Fixes

  • Don't write .npmrc with shamefully-hoist=true anymore (#319)
  • Handle spaces in path at repo initialization (#300)
  • dev: Support .config/ dir and custom config extensions (#341)

💅 Refactors

  • add: Show description for template positional arg (#325)

🏡 Chore

  • Update giget to 1.2 and lockfile (#159)
  • Remove unused imports (9ca7ae4)
  • Update dependencies (9995400)

❤️ Contributors

v3.10.0

compare changes

🚀 Enhancements

  • build: Support --preset arg (#290)
  • dev: Return listener instance for programmatic usage (#278)

🩹 Fixes

  • analyze: Don't override analyze options (#259)
  • init: Use absolute path for installing dependencies (#272)
  • dev: Pass programmatic args to sub process (#275)
  • analyze, cleanup, upgrade: Respect custom buildDir (#276)
  • analyze: Set path for client analyze results (#277)
  • test: Pass rootDir to runTests command (#284)

💅 Refactors

  • Use magicast .includes helper (#268)
  • upgrade: Improve error message when package manager cannot be detected (#270)

🏡 Chore

❤️ Contributors

v3.9.1

compare changes

🩹 Fixes

  • Pass baseUrl to listen options (#236)
  • dev: Prefer localhost over [::] for internal networking (#242)
  • Support -nightly nuxt releases and publish nuxi-nightly (#248)

🏡 Chore

❤️ Contributors

v3.9.0

compare changes

🚀 Enhancements

  • dev: Reuse main dev port for vite hmr (#184)
  • mod-search: Filter mod search by compatible nuxt version (#134)
  • init: Support --package-manager (#97)
  • Modules db integration with nuxi module add (#197)
  • init: Support --git-init (#204)

🔥 Performance

  • dev: Avoid using proxy with --no-fork mode (#207)

🩹 Fixes

  • Use hook to avoid rece conditions (bc98376)
  • Soft warning for node < 18 (#199)
  • Make dev proxy url available for listen hook (#206)
  • Use internal dev server url for dev proxy (1316da6)
  • dev: Remove duplicate url in no-fork mode (dfb3651)
  • Prompt to abort module add if install failed (#208)

💅 Refactors

  • Remove unused dependencies and code (f0e0c94)

🏡 Chore

❤️ Contributors

v3.8.4

compare changes

🩹 Fixes

  • Pass logLevel when running prepare (#170)
  • Allow layers to define devServer config (#166)
  • dev: Use dedicated signal for restart (#174)
  • dev: Default host should be undefined (#182)

🏡 Chore

❤️ Contributors

v3.8.3

compare changes

🩹 Fixes

  • Allow overriding internal dev server error via _PORT (#165)

❤️ Contributors

  • Pooya Parsa (@pi0)

v3.8.2

compare changes

🏡 Chore

❤️ Contributors

  • Pooya Parsa (@pi0)

v3.8.1

compare changes

🩹 Fixes

  • dev: Add polyfill for writeTypes (#158)

🏡 Chore

❤️ Contributors

  • Pooya Parsa (@pi0)

v3.8.0

compare changes

🚀 Enhancements

  • Add --sourcemap support to build-module (#129)

🩹 Fixes

  • Update listhen (86cfa41)
  • dev: Enable https by default when devServer.https options is set (#146)
  • dev: Handle hard restart (#147)
  • dev: Provide cli entry for programmatic usage (#148)
  • dev: Disable forked mode by default for bun and test (#154)

💅 Refactors

  • Import package.json with json assertion (#151)
  • dev: Rewrite dev to support --no-fork and improve stability (#153)

🏡 Chore

❤️ Contributors

v3.7.3

compare changes

🩹 Fixes

  • Update nypm to 0.3.2 (#116)
  • dev: Pass listener interface to the listen hook (#120)
  • devtools: Define enable ([disable command as positional argument (#119)](https://github.com/nuxt/cli/commit/disable` command as positional argument (#119)))
  • Prefer ipv4 stack for windows, wsl2 and internals (#122)
  • Add cli version and name in usage (#123)
  • Improve preview banner and add backward compatible start (#124)
  • dev: Use truthy value of -o (#125)
  • dev: Pass https info to the vite hmr (#126)
  • dev: Support ws upgrades (#127)

💅 Refactors

  • upgrade: Prompt for force install (#111)

📖 Documentation

🏡 Chore

❤️ Contributors

v3.7.2

compare changes

🩹 Fixes

  • Update name internally to nuxi (42106c6)
  • Respect HOST, --host and devServer.host options (#105)
  • dev: Add backward compatibility for -o and -p and deprecate ssl* args (#106)

🏡 Chore

🤖 CI

  • Publish canary as nuxi-edge (for now) (d1120b1)

❤️ Contributors

v3.7.0

🚀 Enhancements

  • cli: nuxi info (#503)
  • Use native esm for all packages (#539)
  • nuxi: Basic nuxi init (#659)
  • nuxi: Invoke prepare step for nuxi dev/build (#689)
  • cli: Add placeholder generate command (#738)
  • cli: Generate tsconfig.json in prepare command (#822)
  • nuxi: Support --host, --ssl-cert, and --ssl-key args (#993)
  • ⚠️ Add engines.node field and node.js version check (#1197)
  • Auto-import for composables (#1176)
  • nuxi: Bundle analyzer (#701)
  • Define nitro #storage and #assets types (#1377)
  • nuxi: Nuxi upgrade command (#1468)
  • nuxi: Support pnpm for nuxi upgrade (#1516)
  • typescript options (#1940)
  • nuxi: Add typecheck command using vue-tsc (#2132)
  • deps: Update all non-major dependencies (#2252)
  • nuxi: Add nuxi preview command for local testing (#2162)
  • nuxi: Use nuxt/starter by default for templates (5c94df645)
  • nuxi: Call nuxt listen hook for dev (#2772)
  • nuxi: Clear cache on upgrade (#2936)
  • Shared logger and silent test logs (#3259)
  • .nuxtignore support and isIgnored kit utility (#3424)
  • nuxi: Add jsx option to generated tsconfig (#3449)
  • nitro, nuxt3: Allow handling otherwise unhandled runtime errors (#3464)
  • nuxi: Init nuxi test support (#3307)
  • nuxi: Expose runCommand (#3749)
  • test-utils: Test in development mode (#3753)
  • Support reactivity transform (#3737)
  • nuxi: Scaffold files with nuxi add (#3841)
  • nuxi: Load .env when previewing builds (#4016)
  • ⚠️ Migrate to nitropack (#3956)
  • nuxi: nuxi cleanup command (#6125)
  • nuxi: Auto cleanup with project manifest changes (#6672)
  • nuxt: app.config with hmr and reactivity support (#6333)
  • nuxi: Support mode flags for add command (#3921)
  • nuxi: Display nuxt and nitro versions for dev and build commands (#7118)
  • Allow extending with theme config (#7131)
  • nuxi: Switch to unjs/giget for nuxi init (#7361)
  • cli: ⚠️ Use giget 0.1x with template registry for nuxi init (#7404)
  • nuxi: Support --dotenv for dev, build and preview commands (#7660)
  • ⚠️ Upgrade to nitropack@0.6 and h3@0.8 (#8218)
  • nuxi: nuxi build-module command (#7610)
  • nuxt: Auto-import utils/ directory (#8817)
  • nuxi: Wrap and normalize all console outputs (#8846)
  • nuxi: ⚠️ Setup nuxt globally with nuxt test (#4578)
  • nuxi: Auto-generate .npmrc and setting for pnpm (#7407)
  • nuxi: Warn when prerendering routes with ssr: false (#18783)
  • nuxi: Add initial support for enabling/disabling devtools (#18864)
  • nuxt: Upgrade to nitropack 2.2 (#18889)
  • nuxi: Enforce consistent casing in filenames (#19088)
  • nuxi: Reload nuxt when restart hook is called (#19084)
  • nuxi: Cli wrapper for self restart (#18641)
  • nuxi,schema: Add support for setting nuxt logLevel (#19369)
  • cli: Programmatically pass nuxt config overrides (to dev) (#19371)
  • nuxt: Add watch option and refactor dev server restarting (#19530)
  • nuxt: Prompt to install devtools when it's enabled (#20126)
  • Upgrade to consola v3.x prerelease (#20141)
  • nuxi: Allow greater control of nuxi analyze from cli (#20387)
  • deps: Upgrade to nitropack v2.4 (#20688)
  • nuxi: Allow passing overrides to other nuxi commands (#20760)
  • Add module add command (#9)
  • Check for cli updates in background (#11)
  • Add cli version to nuxi info (604843137)
  • Show basic changelog url in update banner (#15)
  • nuxi: Module search (#21)
  • init: Allow selecting package manager when creating new project (#38)
  • kit,nuxi: Add writeTypes utility (#22385)
  • nuxi: Detect bun package manager (#22673)
  • Forked dev server (#81)
  • Support bun package manager (#86)
  • Use listhen to parse its own dev args (#88)
  • Allow using internal _dev command for testing purpose (#94)

🔥 Performance

  • Remove unused deps and add implicit deps (#20356)
  • nuxt: Use .test and hoist regexps where possible (#21011)
  • prepare: Normalise compiler options once (b86fad588)

🩹 Fixes

  • pkg: Avoid conflicting nuxt binraries (#512)
  • pkg: Enable declaration for for and webpack (718a79650)
  • cli: Restart on app.vue creation and removal (#597)
  • nuxi: Don't restart when build directory changes (#613)
  • nuxi: Fix issue with dynamic cjs chunks (2f6c5a6fc)
  • nuxi: Don't include nuxt3 for bridge projects (#663)
  • nuxt3: Provide NuxtWelcome component from design (#745)
  • nuxi: Dx improvements when creating components/ directory (#749)
  • nuxi: Provide install advice if git fails (#923)
  • nuxi: Respect --port arg (#919)
  • nuxi: Warn if user does not have @nuxt/kit installed (#915)
  • cli: Update listhen (resolves #1032, #1033) (#1032, #1033)
  • nuxi: Update version and vite detection (#1169)
  • deps: Upgrade jiti to 2.12.9 (#1171)
  • nuxi: Write tsconfig when generating buildDir (#1161)
  • nuxi: Ignore watch events if nuxt instance is not ready (06208af6a)
  • pkg: Downgrade node version to 14.17.x due to codesandbox issue (6a4118420)
  • pkg: Downgrade node version to 14.16.x due to stackblitz issue (dd28aafcd)
  • nuxi: Support build:error hook (#1298)
  • nuxi: Correct analyzer html (#1339)
  • nuxi: Validate template argument (#1409)
  • nuxi: Validations for --template flag (#1412)
  • nuxi: Ensure types are calculated on current nuxt instance (#1432)
  • pkg: Support node 17.x in the engines field (#1443)
  • nuxi: Write types after nuxt is ready (#1551)
  • nuxi: Remove nu alias (a4a9b8e9d)
  • nuxi: Forward nuxi generate to nuxt on nuxt 2 (#1571)
  • nuxt3: Expose nuxi command (f21d26c05)
  • nuxi: Generate types with nuxi generate (#1625)
  • nuxi, kit: Import individual semver function (#1598)
  • nuxi: Satisfies isn't always default export (#1643)
  • nuxi: Allow starting nuxi dev with self signed certificate (#1699)
  • nitro, nuxi: Add runtimeConfig types (for #config and useRuntimeConfig()) (#1783)
  • nuxi: Default to skipping lib check (#1824)
  • nuxi: Set allowSyntheticDefaultImports (#1827)
  • bridge: Plugin default detection (#1847)
  • nuxi: Create buildDir before writing types (#1930)
  • nuxi: Handle missing typescript options in build (#1972)
  • nuxi: Ignore static check with prepare command (#1971)
  • bridge: Exclude bridge alias types to support Volar (#2013)
  • cli: Enable usage command (#2079)
  • nuxi: Add nuxt3 to dev deps in upgrade command (#2143)
  • nuxi: Ensure buildDir exists before write (d2c4a8ec9)
  • nuxi: Respect custom pages directory (#2813)
  • nuxi,nuxt3,bridge: Generate all templates with nuxi prepare (#2409)
  • nuxi: Updated rmdir to rm and checked paths exists (#2968)
  • config: Add analyze plugin options in bridge mode (#3292)
  • nuxi: Don't clear screen on nuxi dev --help (#3372)
  • nuxi: Use new builder option for vite/webpack info (#3658)
  • Ensure debounced/async handlers run in order (#3656)
  • Use perfect-debounce to handle trailing run of promise (#3679)
  • bridge: Handle missing experimental key on bridge (#3763)
  • nuxi: Respect NUXT_PORT and NUXT_HOST vars in dev mode (#3973)
  • nuxi: Ignore buildDir on windows too (#3999)
  • nuxi: Use rm rather than rmdir (#4100)
  • Regressions from nitropack migration (#4157)
  • nuxi: Update api template to event format (#4183)
  • cli: Close process by default after command invokation (#4192)
  • cli: Disable cjs bridge (#4336)
  • nuxi: Call listen hook on each restart (#4346)
  • nuxi: Strip extensions from absolute paths (for types) (#4300)
  • nuxi: Don't kill analyze command (#4462)
  • nuxi: Use rc tag for upgrade command of nuxt (#4468)
  • nuxi: Don't strip file extensions from dirs in tsconfig (#4595)
  • nuxi: Typo in init message (#4685)
  • nuxi: Improve nuxi init output (#4612)
  • nuxi: Only reload for top level dirs (#4912)
  • nuxi: Always override NODE_ENV (#5417)
  • nuxi: Show base url in terminal (#5337)
  • pkg: Use fixed version range for monorepo packages (#5933)
  • nuxi: Add missing types field (#5962)
  • nuxi: Load .env file before starting dev server (#6119)
  • nuxi, kit: Enable esmResolve flag for jiti (#6356)
  • nuxi: Upgrade listhen (#6434)
  • nuxi: Fix issues with nuxi upgrade (#6514)
  • nuxi: Update server.port and server.host with listener info (#6595)
  • nuxi: Ensure nuxi upgrade runs in rootDir (#6707)
  • nuxi: Properly detect hash and tag for upgrade changelog (#6708)
  • nuxi: Build all types on typecheck command (#5437)
  • nuxi: Fix version search path (#7133)
  • kit, nuxi: Semver regexp to support nuxt-edge current releases (bridge) (#7193)
  • nuxi: Pass value of https through to vite-node (#7271)
  • nuxi: Don't include an array of paths within an array (#7378)
  • nuxi: Improved self-signed certificate for nuxi dev --https (#7545)
  • nuxi, vite: Ipv6 support for nuxi dev (#7560)
  • nuxi: Print resolved public directory after generate (#7577)
  • nuxi: Backward compatibility for kit <= rc.10 without useNitro (#7593)
  • nuxi, vite: Support https with custom domain and hmr (#7680)
  • nuxi: Include workspaceDir in tsconfig include (#7726)
  • nuxi: Stub defineNuxtConfig for nuxi info (#7728)
  • nuxi: Replace lazyHandle to defineLazyHandler (#8049)
  • nuxi: Don't includeworkspaceDir in tsconfig by default (#8256)
  • Update h3 (#8329)
  • nuxi: Update analzye main handler (#8339)
  • nuxt, nuxi: Improve pages creation and removal dx (#8502)
  • nuxi: Exclude dist from type checking (#8848)
  • nuxt: ⚠️ Enable payload extraction only for nuxi generate (#9018)
  • nuxi: Upgrade with latest tag (#9060)
  • nuxi: Show an error if no value is supplied for the --template flag (#9946)
  • nuxi: Prevent showing stack traces while scaffolding (#9962)
  • Use named export from defu in all places (#18624)
  • nuxi: Pass through exit code from test errors (#18959)
  • nuxi: Read devServer options from nuxt config (#19055)
  • nuxi: Upgrade giget (48ea0c46d)
  • nuxi: Restart nuxt when distDir is unlinked (#19131)
  • nuxi: Avoid top-level await in wrapper (89310df1a)
  • cli: Handle different kind of shutdown signals (#19485)
  • nuxi: Resolve kit from nuxt modules dir (#19601)
  • schema: Show payloadExtraction warning only when unset (#18516)
  • nuxi: Use file url to start nuxi (#19676)
  • nuxi: Watch dist and register restart hook after nuxt is ready (#19736)
  • nuxi: Preview nitro build with custom dir config (#18882)
  • nuxi, vite: Suppress sourcemap + native fetch warnings (#20198)
  • nuxi: Load kit from rootDir when preparing project (#20401)
  • deps: Relax upper node version constraint (#20472)
  • nuxi,schema: Support devServer.https: true (#20498)
  • nuxi: Hard-reload nuxt when .env changes (#20501)
  • nuxi: Pass --no-clear config through to vite (#21262)
  • nuxi: Always use the latest devtools wizard (#21291)
  • nuxi,nuxt: Remove baseUrl + use relative paths in tsconfig (#21081)
  • Remove boxen dependency (e9c9b49e8)
  • prepare: Use absolute paths for aliases (#44)
  • nuxi: Resolve @nuxt/ui-templates from modulesDir (#21836)
  • nuxt: Ensure static presets equivalent to nuxi generate (#21860)
  • nuxi: Respect nitro ssl cert/key variables (#21912)
  • Disable update checker temporarily (7cab9de39)
  • Export runMain (50ef441f2)
  • cli: Add aliases to monorepo paths to tsconfig includes (#21997)
  • cli: Allow non-existent experimental option (58603415b)
  • nuxi: Only strip extensions from files (#22399)
  • Log restart message (d3ee170b8)
  • nuxi: Only watch distDir after first build (#22614)
  • Expose /cli export for backwards compatibility (97a8029a4)
  • nuxi: Ignore error if nitro is not enabled on bridge (#22642)
  • Reverse conditions to default to v3 (#82)
  • Bump kit/schema and remove from externals (af0d9df11)
  • Respect PORT/HOST variables in dev mode (#93)

💅 Refactors

  • Rename nuxt-cli to nuxi (#430)
  • Merge modules to nuxt3 (#439)
  • Migrate from upath to pathe (#553)
  • nuxi: Extract nitro types to corresponding modules (#668)
  • Use p-debounce everywhere (#977)
  • nuxi: Move nuxt.d.ts within buildDir (#1369)
  • nuxi: Info output package manager version (#1564)
  • Remove unnecessary optional chaining (#1991)
  • Split schema to @nuxt/schema and simplify kit (#2059)
  • Write declarations to <buildDir>/types (#3067)
  • nuxi: Remove rimraf dependency (#4308)
  • ⚠️ Rename nuxt3 to nuxt (#4449)
  • nuxi: Provide better advice on failing clone (#5155)
  • nuxi: Improve env update message (#5430)
  • Enable strict type checking everywhere (#6943)
  • nuxt: ⚠️ Cleanup schema and split nuxt 2 types (#8487)
  • Update unjs dependencies to stable v1 (#9011)
  • ⚠️ Remove deprecated api (#9029)
  • Split out type imports from value imports (#9225)
  • nuxi: Hard restart with communication channel (#19423)
  • kit,nuxi: Resolve module paths using node algorithm (#19537)
  • Move cli to standalone package (60064ece4)
  • Use consola box for update banner (550f71f33)
  • init: Minor improvements (#45)
  • Migrate to citty (#47)
  • cli,schema: Add bundler module resolution flag (#22142)
  • nuxi,schema: Move loading template into schema (#22336)
  • Add typecheck and fix ts issues (#79)

📖 Documentation

  • Fix typo in nuxi analyze output (#3022)
  • Link to nuxt.com instead of v3.nuxtjs.org (#9786)
  • Update generate doc to include --dotenv (#9991)
  • Update readme (#90)

📦 Build

  • deps: Update all non-major dependencies (#4387)
  • Update unbuild and pkg-types (97d993a85)
  • nuxi: Add node to export conditions (7b355e637)
  • pkg: Support node 19 (#8324)

🏡 Chore

  • Update to unbuild 0.5.x (#545)
  • Update design version (099433265)
  • eslint: Forbid modules importing from core (#556)
  • Update base major versions to 3.x for simplicity (d9c75d212)
  • nuxi: Use consola for consistency (#686)
  • Add readme to packages (#727)
  • eslint: Fix lint error (3751fb766)
  • nuxi: Improve typing in nuxi dev script (#1064)
  • Fix eslint issue (45d629b33)
  • docs: Add code format using markdownlint (#1498, #1556)
  • Update help information (#1605)
  • nuxi: Add pnpm to init instructions (#3826)
  • Update links for new sitemap (#4286)
  • Use node: prefix for built-in modules (#4384)
  • Bump node dependencies (#4440)
  • Update packages to 3.0.0-rc.0 (d20e4ab13)
  • nuxi: Add notice for generate deployment (#4474)
  • release: V3.0.0-rc.1 (5753ffe82)
  • Enable typecheck ci for packages (#4664)
  • Downgrade node v16 minor (#7865)
  • Update internal repo/issue links to usenuxt/nuxt (9bf672093)
  • Trigger ci (39a7ea17e)
  • Update more repo links (206b42544)
  • Include central readme/licence when publishing individual packages (#18421)
  • Bump version to v3.1.1 (#18524)
  • Update 2.x branch name (8559c8d67)
  • Increase node 14 minor version constraint (#19111)
  • Update nitropack and unjs dependencies (#19100)
  • Use pnpm workspace protocol internally (#19962)
  • Upgrade to consola v3 (#20194)
  • Remove @ts-ignore and fix some issues (#20273)
  • Move v2 docs to v2.nuxt.com (b4ab0aeef)
  • Update banner title (72c145a94)
  • Lint and cleanup (d918d5ea6)
  • Add playground (0011a9689)
  • Lint (2555e4c1b)
  • Add autofix ci (38b74984d)
  • Update to prettier v3 (25dd37674)
  • Update readme (960c1dfb8)
  • Update readme (32cc73e0b)
  • Fix lint issue (442fab890)
  • Update dependencies and unbuild (8f15ab933)

✅ Tests

  • nuxt3: Add unit tests for generateRoutesFromFiles (#261, #1227)
  • Rework tests using @nuxt/test-utils (#3308)

🎨 Styles

🤖 CI

  • Add edge release step (#51)

⚠️ Breaking Changes

  • ⚠️ Add engines.node field and node.js version check (#1197)
  • ⚠️ Migrate to nitropack (#3956)
  • cli: ⚠️ Use giget 0.1x with template registry for nuxi init (#7404)
  • ⚠️ Upgrade to nitropack@0.6 and h3@0.8 (#8218)
  • nuxi: ⚠️ Setup nuxt globally with nuxt test (#4578)
  • nuxt: ⚠️ Enable payload extraction only for nuxi generate (#9018)
  • ⚠️ Rename nuxt3 to nuxt (#4449)
  • nuxt: ⚠️ Cleanup schema and split nuxt 2 types (#8487)
  • ⚠️ Remove deprecated api (#9029)

❤️ Contributors