Skip to content

Latest commit

 

History

History
2707 lines (2055 loc) · 187 KB

CHANGELOG.md

File metadata and controls

2707 lines (2055 loc) · 187 KB

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

v2.9.6

compare changes

🩹 Fixes

  • Generate root/src directory aliases (#2318)
  • externals: Skip resolving virtual ids start with \0 (#2321)
  • types: Account for undefined value for $fetch return type (#2327)
  • cloudflare-pages: Use predefined wildcards in routes.exclude (#2319)

📖 Documentation

  • Remove outdated nightly warning (#2317)

🏡 Chore

❤️ Contributors

v2.9.5

compare changes

🚀 Enhancements

  • openapi: Add experimental /_nitro/scalar endpoint (#2252)

🩹 Fixes

  • openapi: Use dynamic host + port (#2216)
  • openapi: Add schema to generated parameters (#2235)
  • openapi: Avoid double slash for base (fdf7e70a)
  • options: Set scheduledTasks to an empty object by default (#2285)
  • prerender: Call nitroApp close hook when done prerendering (#2287)
  • types: Return T from Serialize when it extends undefined (#2286)
  • raw: Exclude yaml from raw plugin (#2275)
  • externals: Check explicit inline rules on resolved id (#2288)
  • raw: Allow importing relative paths (#2289)
  • types: Make c12 env types available for NitroConfig (#2292)
  • netlify-edge: Write _headers and _redirects (#2291)
  • cloudflare-pages: Write _headers and _redirects for non static builds (#2290)
  • netlify: Allow writing config.json (#2264)
  • Allow importing utils from nitropack/runtime (#2314)

💅 Refactors

  • openapi: Upgrade to openapi 3.1 (#2297)

📖 Documentation

  • routing: Add note about middleware execution order (#2282)
  • routing: Fx link to h3 object syntax handler (#2281)
  • Update tasks return value (8a62e7db)
  • cache: Add a note for serverless environment (dc83a2e2)
  • Fix typo (#2298)

📦 Build

  • Use .d.ts for runtime generated types (#2313)

🏡 Chore

❤️ Contributors

v2.9.4

compare changes

🩹 Fixes

  • Handle path negations when scanning public assets (#2250)
  • pkg: Add ioredis as unstorage peer dependency (#2266)

📖 Documentation

  • Fix server assets example path (#2248)
  • Remove duplicate integrity key (#2246)
  • Fix wording (#2261)
  • Remove nightly notice (39bc3f2e)
  • tasks: Update dev server usage (#2240)
  • cache: Add example usage for cache.varies (#2241)

🏡 Chore

✅ Tests

❤️ Contributors

v2.9.3

compare changes

🩹 Fixes

  • raw: Use mime to check binary types and exclude .json (#2239)

📖 Documentation

❤️ Contributors

v2.9.2

compare changes

🩹 Fixes

  • database: CamelCase the connector name (#2228)
  • Respect imports.autoImport: false (#2226)
  • server-assets: Mark yaml, json, json5 and csv as text (#2229)
  • import-meta: Import process from node:process for node compatible builds (deno) (#2225)

📖 Documentation

  • deploy: Add link to zero config providers (#2206)
  • fetch: Fix typo (#2209)
  • Fix typo (#2211)
  • Fix typo (#2205)
  • Remove lagon (#2204)
  • Update url for experimental database feature (#2210)
  • providers: Improve formatting & use new undocs components (#2202)
  • Improve cache page (674089b3)

🏡 Chore

❤️ Contributors

v2.9.1

compare changes

🩹 Fixes

  • Disable scheduled tasks in testing environment (#2200)

📖 Documentation

  • Add websocket chat demo to websocket api page (#2189)
  • Fix typo (#2190)
  • Fix typo (#2194)

🤖 CI

  • Skip cloudflare-pages test for windows (#2199)

❤️ Contributors

v2.9.0

compare changes

🚀 Enhancements

  • Support function/RegExp for prerender.ignore (#1966)
  • Show meta framework name on server build success (#1955)
  • Add zeabur preset (#1942)
  • Experimental nitro tasks (#1929)
  • Add types:extend hook (#1715)
  • Allow oveeridng nested runtime config with env (#1831)
  • wasm: Universal support with esm import syntax (#2017)
  • wasm: Migrate to unjs/unwasm (#2037)
  • zeabur: Support zeaburStatic and auto detect preset (#2014)
  • runtime-config: Experimental env expansion support (#2043)
  • Support binary server assets (#2107)
  • Experimental websocket support (#2170)
  • dev: Expose upgrade handler (5374429f)
  • Experimental database layer (#1351)
  • Experimental scheduled tasks (#2179)
  • cache: Support async shouldBypassCache and shouldInvalidateCache (#2181)
  • prerender: Add total prerender time (#2130)
  • Add koyeb preset (#1248)
  • providers: Support alwaysdata hosting provider (#1790)
  • routeRules: Allow wildcard redirects (#1976)

🩹 Fixes

  • rollup: Avoid preserving relative externals (#1972)
  • wasm: Directly generate chunk exports (#2003)
  • iis-node: Correctly escape backslashes for port fix (#2020)
  • deno-deploy: Shim x-forwarded-for and x-forwarded-proto headers (#2026)
  • Add baseURL to openapi generated url (#2049)
  • dev: Correctly set x-forwarded-* headers (29ddd948)
  • azure: Add 18 and 20 to supported node versions (#2077)
  • azure: Pass body to the context as-is (#2079)
  • Only mock consola in production (#2110)
  • Default to bundler module resolution (#2120)
  • Handle optional routeHandler.route in rollup chunk (#2152)
  • File extension stripping in writeTypes function (#2139)
  • cache: Detect malformed data read from storage (#2161)
  • cacheEventHandler: Provide event.fetch and event.$fetch (#2066)
  • Resolve modules with jiti directly (#2030)
  • options: Add unwasm condition when experimental.wasm is enabled (376658ce)

💅 Refactors

  • Include framework name in more build packages (#1973)
  • cloudflare: Remove --local from preview commands (#1979)
  • cloudflare: Remove unused import (#1980)
  • rollup: Improve generated chunk names (#2004)
  • Use name exports in presets entry (1abfc3e5)
  • Reimplement wasm plugin (#2031)
  • Various improvements around tasks api (#2175)
  • tasks: Stabilize api (#2178)
  • github-pages: Add --dotfiles to deploy command hint (#2158)

📖 Documentation

  • routing: Update request filtering to match the type of getRequestURL (#1977)
  • config: Fix setResponseHeader example params (#2027)
  • netlify: Add note to make sure publish dist is set to dist (#2035)
  • cloudflare: Various updates, cleanups and fixes (#1981)
  • Deprecate lagon (17f922aa)
  • Update the routing page (#2085)
  • Update the cache page (#2087)
  • Close code-group in cache section (#2093)
  • routing: Escape filename paths and prepend routes folder (#2097)
  • storage: Fix unstorage links (#2101)
  • routing: Fix typo for getRouterParam (#2098)
  • Update the storage page (#2086)
  • Add object syntax for event handler (#2091)
  • Update the configuration page (#2083)
  • Update the assets page (#2088)
  • Create a page on built-in fetch (#2089)
  • Add warning about azure functions stability (#2092)
  • cloudflare: Update deployment guide (#2074)
  • Fix icon of fetch page (#2115)
  • Update getting started page (#2082)
  • Fix links to /guide/auto-imports (#2131)
  • Fix typo in defineCachedFunction example (#2133)
  • Clarify difference between dir and baseURL (#2144)
  • Migrate to undocs (#2163)
  • index: Fix utils link (#2172)
  • websocket: Fix typo (#2173)
  • Fix typo (3017e6e2)
  • vercel: Add monorepo info (#2183)
  • Fix typo (#2182)
  • cloudflare: Add local bindings usage (#2135)
  • Fix link to h3 utils (#2184)
  • deploy: Add platform.sh (#1630)
  • Fix db config (#2188)

📦 Build

  • Better dist chunk names (#2005)

🏡 Chore

✅ Tests

  • cloudflare: Migrate to miniflare v3 (#2018)
  • Enable azure tests behind a flag (#2076)
  • Enable binary response test for all presets (#2078)
  • Avoid prerendering icon.png (cb220f7e)

🤖 CI

  • Fix nightly release job condition (#1975)

❤️ Contributors

v2.8.1

compare changes

🩹 Fixes

  • dev: Conditionally access worker address for build info (#1947)
  • Force use wasm import strategy for windows (e73b849f)
  • netlify-lambda: Handle base64 encoded body (#1940)
  • cloudflare: Wasm support with dynamic chunks (#1957)
  • prerenderer: Write responses with json signature to original path (#1963)

📖 Documentation

  • cache: Make default value swr: true more clear (#1949)

🏡 Chore

✅ Tests

  • Add tests for wasm (#1951)
  • cloudflare-pages: Remover overlapping include rules (789a13d3)

❤️ Contributors

v2.8.0

compare changes

🚀 Enhancements

  • Support modules to extend nitro builder (#1789)
  • Support inline mode for serveStatic (#1864)
  • Add experimental winterjs preset (#1863)
  • Allow setting preset using SERVER_PRESET environment variable (#1870)
  • cloudflare-pages, cloudflare-module: Enable code splitting by default (#1905)
  • Support framework config (#1843)
  • Add aws amplify hosting preset (#1912)
  • Upgrade to rollup v4 (#1927)
  • Improve nitro.json build info (#1930)
  • aws-amplify: Support static builds (#1933)
  • Add defineNitroErrorHandler type helper (#1923)

🩹 Fixes

  • cloudflare-pages: Filter out overlapping public assets dirs (#1859)
  • winterjs: 0.1.7 compatibility (#1876)
  • scanner: Allow having http method as part of the route name (#1895)
  • Generate route types with resolve path and stripped extension (#1897)
  • Scan dirs for unimport on initialization (#1908)
  • aws-amplify: Register and auto detect (0f38eb6f)
  • prerender: Decode generated routes (#1914)
  • Disabled public asset handler name is null (b7a6a1a6)
  • prerender: Decode uris in headers (#1932)
  • error: Respect accept: text/html request header (#1921)
  • prerender: Filter encoded links starting with # (#1936)

💅 Refactors

  • deno-deploy: Use Deno.serve (#1879)
  • Split preset types (#1910)

📖 Documentation

  • deploy: Split runtimes from providers (#1865)
  • routing: Add note about middleware returns (#1884)
  • Update edge links to nightly (#1902)
  • deploy: Add deno to runtime list (#1899)
  • cloudflare: Updatge wrangler link (#1913)
  • aws-amplify: Add custom amplify.yml (f412af16)
  • amplify: Remove cache from config (7bbb723e)
  • Hide winterjs due to unstability (048c8ff0)
  • aws-amplify: Update regions (#1931)
  • aws-amplify: Add step to enable SSR logging and remove experimental (#1934)
  • aws-amplify: Remove workaround banner (#1935)

🌊 Types

  • Export SerializeTuple and SerializeObject (#1907)

🏡 Chore

✅ Tests

  • Hide winterjs due to unstability (1b50a9a1)

🤖 CI

❤️ Contributors

v2.7.1

compare changes

🩹 Fixes

  • Recursively simplify returned objects (#1847)
  • cache: Fix etag and last-modified values (#1855)
  • cache: Invalidate wrongly cached handler entities (#1857)

🏡 Chore

❤️ Contributors

v2.7.0

compare changes

🚀 Enhancements

  • vercel: Support bypassToken for on-demand static reganaration (#1723)
  • prerender: Support retry and retryDelay (#1534)
  • Allow disabling compressed size calculation (#1756)

🔥 Performance

  • Use native fetch for node >= 18 to reduce %40 of bundle size (#1724)

🩹 Fixes

  • Sort dependencies in .output/package.json (#1708)
  • Add application/javascript mime type in lambda utils (#1737)
  • renderer: Allow all h3 handled body types (#1755)
  • dev: Safe error message override (#1712)
  • azure: Fix cookie format normalization (#1753)
  • Exclude undefined from hook types (#1769)
  • iis-node: Pass PORT as NITRO_UNIX_SOCKET (#1783)
  • aws-lambda: Handle event.isBase64Encoded (#1779)
  • cache: Allow overriding integrity (#1791)
  • cache: Write swr and update errors to console (#1794)
  • cache: Only return validated stale value (#1795)
  • cache: Only invalidate if validate returns false (#1796)
  • Watch plugins directory (#1800)
  • cache: Allow setting multiple set-cookie headers (bad practice) (#1838)
  • prerender: Decode html entities in rendered links (#1824)
  • storage: Validate and skip invalid mounts (#1805)
  • cache: Validate entry.value to have value for cached handlers (84559382)
  • cache: Fix event handler integrity hash generation (#1820)
  • cache: Set cache item before returning response on first request (#1813)

💅 Refactors

  • iis: Improve preset and docs (#1784)

📖 Documentation

  • Update prerender options (11a24124)
  • Fix typo (#1722)
  • Register error handler using hook instead of hookOnce (#1743)
  • Update lock file (#1750)
  • Fix typo (#1759)
  • Fix configuration file name of the custom preset (#1760)
  • Typo in word "legacy" in Configuration docs (#1780)
  • cloudflare: Add local dev section (#1772)

🏡 Chore

✅ Tests

  • Temporarily disable dev test in ci (53a96adb)
  • Update deno test with explicit host (8cce5085)
  • Update response type check (#1839)

🤖 CI

  • Run tests against node 18 (#1713)
  • Run vitest with es and sourcemap support (c4c00467)

❤️ Contributors

v2.6.3

compare changes

🩹 Fixes

  • firebase: Apply region for gen2 deployments (#1657)
  • cloudflare-pages: Autodetect static preset (#1659)
  • Resolve output dirs relative to rootDir (#1666)
  • prerender: Allow disabling html sub-folders (#1676)
  • firebase: Use correct key when importing firebase httpsOptions (#1663)
  • Await on send() calls (#1701)
  • Bun dev compatibility (#1702)
  • aws-lambda,netlify-lambda: Binary body v2 and cookies v1 (#1683)
  • iis: Merge web.config (#1658)

📖 Documentation

  • render-com: Add note about node version (#1693)
  • Add instructions for using nuxt edge release channel (#1688)
  • Add instructions for bun (#1672)

🏡 Chore

✅ Tests

  • Update test for bun headers (#1684)

❤️ Contributors

v2.6.2

compare changes

🩹 Fixes

  • Use new h3 generics for defineCachedEventHandler (#1640)
  • aws-lambda, netlify: Add isBase64Encoded response field (#1645)
  • Exclude typed body from cachedEventHandler (#1647)
  • static: Send immediate empty responses for 304 handling (#1639)

🏡 Chore

✅ Tests

  • Add test for prerender ignored data: urls (#1431)

❤️ Contributors

v2.6.1

compare changes

🩹 Fixes

  • Correctly mark middleware: false for scanned routes (#1631)
  • Pass relative ignore paths when scanning public assets (#1632)

🏡 Chore

❤️ Contributors

v2.6.0

compare changes

🚀 Enhancements

  • storage: Default data storage for node and dev presets (#1352)
  • Support regexps in external options (#1388)
  • Support exportConditions and add worker default conditions (#1401)
  • event.waitUntil with cloudflare integration (#1421)
  • experimental.typescriptBundlerResolution flag (#1384)
  • Support ignore to ignore scanned files (#1430)
  • Allow ignoring public assets with ignore options (#945)
  • Add iis server preset (#1436)
  • Auto capture errors with nitroApp.captureError (#1463)
  • vercel: Enable streaming support out of the box (#1514)
  • Fully resolve type paths for auto-import declarations (#1528)
  • Add prerender:config, prerender:init and prerender:done hooks (#1519)
  • cache: Support cached event handlers with varies (#1184)
  • app: Support request, beforeResponse and afterResponse hooks (#1545)
  • Experimental composition api via useEvent() ans async context support (#1546)
  • prerenderer: Support for query links exploration (#1474)
  • cloudflare-pages: Add config to customize generated _routes.json (#1312)
  • firebase: Add support for 2nd generation functions (#1500)
  • externals: Resolve actual subpaths before guessing (#527)
  • externals: Support aliasing traced packages (#1553)
  • wasm: Support output esm imports (#1565)
  • Enable timing in debug mode (#1577)
  • prerender: Preserve prerendered asset content-type header (#1587)
  • externals: Improved output package.json (#1607)
  • firebase: Support renaming exported server function (#1377)
  • azure: Support custom configuration (#1344)
  • node-server: Support listening to unix sockets using NITRO_UNIX_SOCKET (#1201)
  • cloudflare-module, cloudflare-pages: Experimental dynamic imports (#1172)
  • cli: Support --preset and --minify/--no-minify args for build (#1621)
  • cli: Add listhen options for dev command (#1622)
  • Handle stream and Uint8Array for lambda presets (#1624)

🔥 Performance

  • Use fsLite driver for production data: storage (dd290763)
  • Use inline http-graceful-shoutdown to reduce externals (8053cca0)
  • Remove source-map-support as node supports --enable-source-maps (9ba8fe98)
  • Bundle runtime dependencies (#1554)
  • Use local fetch for proxy route rules (#1609)

🩹 Fixes

  • rollup: Replace globalThis.process. with process. (#1360)
  • types: Enable allowSyntheticDefaultImports option by default (#1383)
  • cache: Try to call event.waitUntil (#1422)
  • defineCachedFunction: Properly infer function type (#1423)
  • static: Safe decode path (#1459)
  • Split cookie headers (#1452)
  • deno-deploy: Treat all https:// modules as external (#1438)
  • cache: Call event.waitUntil on main resolver when expired (421d6255)
  • prerender: Skip redirects (#1448)
  • aws-lambda,netlify: Base64 encode binary responses (#1274)
  • app: Enable router preemptive mode (#1504)
  • vercel: Allow arbitrary function configuration (#1508)
  • Use relative paths in tsconfig.json (#1518)
  • prerender: Free up memory after each route is written to the disk (#1536)
  • prerender: Call prerender:route before freeing up memory (#1537)
  • prerender: Only match href attribute after whitespace (#1530)
  • externals: Absolute paths are inlined (#1429)
  • openapi: Merge handlers with same route and different method (#1497)
  • prerender: Exclude encoded href attributes from link extraction (#1485)
  • externals: Increase score for npm package name patterns to avoid breaking changes (#1548)
  • deno-deploy: Decode static asset path before reading from filesystem (#1494)
  • Remove non-standard module export condition (#1559)
  • externals: Trace externals with their commonjs / esm status (#1562)
  • Use relative paths in generated tsconfig (#1572)
  • app: Use event.path instead of event.url (41a76c0f)
  • cache: Don't use _originalPath (#1576)
  • types: Use relative type path to nitro #internal/nitro (#1584)
  • Disable sourcemap minify for dev (e38f3586)
  • Use relative source map paths and add test (#1582)
  • pkg: Remove node 14 from supported engines (#1585)
  • prerender: Use decoded asset id to access prerendered asset header overrides (#1588)
  • Add consola/core alias (#1591)
  • vercel,netlify: Don't deprecate swr when cache: false (#1603)
  • build: Workaround bun's difference in function.toString() (#1606)
  • firebase: Ignore fsevent dependency (#1610)
  • Directly pass localFetch to route rules handler (#1611)
  • stormkit: Properly send buffer responses (#1616)
  • Add parent node_modules of nitro to modules dir for pnpm compat (#1618)
  • deno-server: Fix injections and enable back tests (#1625)

💅 Refactors

  • cloudflare: Use wrangler deploy instead of publish (#1372)
  • cloudflare: Use wrangler deploy in more places (#1393)
  • Add internal types for public assets (#1460)
  • prerender: Improve console formatting for failed routes (#1471)
  • Reduce usage of event.node.req (#1511)
  • Reduce usage of event.node.res (#1513)
  • timing: Hide debug logs with 0ms (8a44d19c)
  • firebase: Update generated package.json (#1608)
  • Migrate from http-proxy to unjs/httpxy (#1623)
  • Simplify normalizeLambdaOutgoingBody (58b4853b)
  • Expose body type for lambda presets (e5f095d6)

📖 Documentation

  • vercel: Add note about top level api/ directory (#1386)
  • Upgrade Docus (26dd16a0)
  • Update nitro (1a14a312)
  • Fix crawler error (c5e53cc8)
  • Update (03540d98)
  • Add nitro plugins examples (#1403)
  • Add custom preset instructions (#1409)
  • aws: Add note about inlining dynamic chunks (#650)
  • Fixed typo of the word discussions (#1433)
  • Fix typo (#1446)
  • Use defineEventHandler instead of eventHandler (#1442)
  • Remove auto-imported defineNitroConfig (#1441)
  • Add utils directory (#1451)
  • storage: Add runtime storage configuration examples (#1456)
  • Prefer snake_case for preset names (#1499)
  • routing: Add middleware section (#1307)
  • plugins: Add runtime hooks section (#1521)
  • config: Add runtime config and environment variables section (#1550)
  • firebase: Improve docs (#1556)
  • cloudflare: Add environment variables instructions (#1547)

📦 Build

🏡 Chore

✅ Tests

  • Improve external modules test (#1428)
  • Run tests even if not serveStatic (#1590)
  • Add tests for environment variables and runtime config overrides (#1549)
  • Fix netlify tests (880c20e4)
  • netlify: Run after (8a6ed77b)
  • Fix netlify dirs (8c7ca39d)

🤖 CI

  • Use conventional commit message for autofix (#1501)
  • Use h3-nightly@latest for edge releases (#1563)
  • Avoid installing with edge dependency changes (c431b719)

❤️ Contributors

v2.5.2

compare changes

🩹 Fixes

  • Add envPrefix to runtimeConfig.nitro types (#1336)
  • prerender: Allow to fetch static files (#1340)
  • options: Default target to static when static override is set (#1342)
  • Correct default node-server target (7976318)
  • vercel, netlify: Always check nativeSWR future flag (ccebe4e)
  • vercel, netlify: Handle boolean values for route rule deprecation (dfd8bbd)
  • Dedup unstorage dependency and use subpath alias (#1164)
  • dev: Ensure socket path is accessible (#1115)
  • Type event.$fetch and event.fetch (#1343)
  • Allow configuring esbuild transform plugin (#1347)

📖 Documentation

  • Add reference to install azure functions core tools to the swa section (#1339)

🏡 Chore

❤️ Contributors

v2.5.1

compare changes

📖 Documentation

  • Fix typo in Flightcontrol deployment option (#1332)

📦 Build

  • Avoid doubly-bundling runtime types (#1334)

🌊 Types

  • Avoid overriding app runtime config namespace (#1333)

❤️ Contributors

v2.5.0

compare changes

🚀 Enhancements

  • Allow customising generated tsConfig (#1266)
  • Type useRuntimeConfig with NitroRuntimeConfig (#1311)
  • Type nitro app runtime hooks (#1316)
  • Add cloudflare-pages-static preset (#1310)
  • Add experimental deno-server preset (#592)
  • Add flightcontrol preset (#970, #1250)
  • Support jsx and tsx out of the box (#1303)
  • Add support for failOnError (#1294)
  • UseStorage generic support (#1279)
  • Provide static process.* and import.meta.* build flags (#1331)

🩹 Fixes

  • bun: Resolve internal dependencies with bun export condition (#1313)
  • deno: Support environment variables (88b4e11)
  • Respect static flag when auto detecting preset (#1321)
  • prerenderer: Don't inherit static config (#1324)
  • vercel: Add check for index route rule (#1290)
  • Use event.handled guard before sending direct responses (#1326)
  • Import NitroRuntimeHooks from runtime dir (#1328)
  • Generate types for #imports (#1329)

📖 Documentation

  • Update docus version (848c86a)
  • Update cloudflare-pages preset (#1304)
  • Add an example for devHandlers config (#1295)

🏡 Chore

❤️ Contributors

v2.4.0

compare changes

🚀 Enhancements

  • Add cloudflare module worker support (#681)
  • vercel, netlify: Introduce isr route rule (#1124)
  • Add static preset (#1127)
  • Add vercel-static and netlify-static presets (#1073)
  • Add github-pages preset (#1133)
  • Pass resolved config to rollup:before hook (#1160)
  • Config reload support for nitro dev (#1173)
  • Config hmr support for routeRules and rutimeConfig (#1175)
  • Support dynamic app config and runtime config (#1154)
  • Experimental /_nitro/openapi.json and /_nitro/swagger for dev mode (#1162)
  • vercel: Add support for specifying edge regions (#1192)
  • future.nativeSWR (#1212)

🔥 Performance

  • Export defineNitroConfig from nitro/config (#1174)

🩹 Fixes

  • Separate typesDir from tsConfigDir (#1146)
  • cloudflare: Expose env from module context (#1147)
  • proxy: Append request query params for single proxy route rules (#1163)
  • vercel, netlify: Keep default behavior for static and swr to isr mapping (#1155)
  • Apply chunkFileNames on windows (#1189)
  • pkg: Allow installing on node v20 and above (#1204)

💅 Refactors

  • Rename build option to static (#1144)
  • cli: Migrate to citty (#1157)
  • Move swagger/openapi behind experimental flag (2079cab)

📖 Documentation

  • Fix typo (#1131)
  • Update serverAssets example (#1156)
  • Add edge releases channel (2793f51)
  • get-started: H2 instead of h3 (ff3964e)
  • routing: Add route rules (46740e6)
  • routing: Add missing import (30675d4)
  • Fix syntax issue in guide > storage (#1180)
  • Update (1e5bb86)
  • Fix typo (#1185)
  • Fix typo (#1190)
  • vercel: Add vercel kv storage section (#1210)
  • Update branding (#1188)
  • Update vercel-storage (ffff9db)

🏡 Chore

✅ Tests

  • Enable vercel-edge test (7951532)

❤️ Contributors

v2.3.3

compare changes

🚀 Enhancements

  • Upgrade to consola v3 (prerelease) (50e9f8e)

🩹 Fixes

  • prerender: Show generated routes with error in logs (8e06f2e)
  • prerender: Respect output path from main preset (#1114)

📖 Documentation

  • Fix typos in storage and cache guides (#1086)
  • Use unjs logo (#1104)
  • Fix typo in cachedEventHandler options (#1110)
  • Use consistent quotes in the routeRules example (#1108)
  • Fix typo in server assets mount point (#1119)
  • Improve publicAssets config details (#1102)

🏡 Chore

  • doc: Fix small typo in plugin filename (#1081)
  • Update unenv and semver (363e2ea)
  • Update consola (5d77615)
  • Bump to consola v3 stable (ea5ea88)
  • Update dependencies (39d1f27)

❤️ Contributors

v2.3.2

compare changes

🩹 Fixes

  • Sanitize statusMessage of disallowed chars (#1057)
  • types: Sync vercel build config types (#1056)
  • azure: Support custom baseURL (#1062)
  • vercel-edge: Fix route generation (#1071)
  • Mark options.renderer as optional (#1069)
  • types: Make $Fetch types less complex (#1059)

💅 Refactors

  • Add type safety to auto-detected providers (#1072)

📖 Documentation

  • Fixed link path (#1053)
  • Fix typo (#1068)
  • routing: Add $fetch usage note (#1070)

❤️ Contributors

v2.3.1

compare changes

🩹 Fixes

  • types: Don't simplify type of serialized return (#1050)

🏡 Chore

❤️ Contributors

v2.3.0

compare changes

🚀 Enhancements

  • vercel: Add functions config (#976)
  • Add support for sourceMap values hidden and inline (#998)
  • lagon: Write .lagon/config.json on build (#996)
  • types: Type $fetch to match json serialization output (#1002)
  • Support base in useStorage(base?: string) and improve docs (#1012)
  • cloudflare-pages: Rewrite with module syntax (#1004)
  • Allow customising generated tsconfig path (#1021)
  • Support app config (#1022)

🩹 Fixes

  • cloudflare-pages: Only allow 100 rules combined (#973)
  • Only mock debug in production (#990)
  • Scan middleware and print tree list in ascending alphabetical order (#981)
  • externals: Correctly specify multiple external dependencies in package.json (#1013)
  • static: Use correct format for last modified (#1017)
  • cache: Remove rejected cache promise from pending list. (#995)
  • Expose useStorage with types (#1026)
  • prerender: Allow spaces in href value regex (#1030)
  • cache: Use stale value by default when swr is enabled (#1038)
  • Resolve types relative to custom tsconfig path (#1041)
  • Remove duplicate import in generated code (#1043)
  • types: Exclude non serializable options from route rules (#1047)

💅 Refactors

  • Use unimport built-in type gen for dirs (#994)
  • Split out api types (#1027)

📖 Documentation

  • Update to latest docus and various improvements (#975)
  • Up docus and add back ellipsis (38b1f34)
  • Remove tailwind module (b3b7e87)
  • lock: Update (7efa31f)
  • More improvements (#985)
  • Remove fluid layout (d83f2b6)
  • Update color (18674c5)
  • Add unjs icon in footer (6d36ceb)
  • Update docus (5fcc127)
  • Add button to open on CodeSandBox (ad120ac)
  • Update deployment example for configuration (#972)
  • Update dependencies (c923fed)
  • cache: Improve documentation and cachedFunction default options (#1011)
  • Improve readme and getting started (94d95fa)
  • Fix on mobile long path (1d2f57e)
  • Improvements (f78619f)
  • Add prerender.ignore description (#1032)
  • Improve configuration page (554b358)
  • Improve plugins section (f36a6e0)
  • Update readme (c58a764)
  • Update homepage hero (b848e5a)
  • Update meta tags (70f00e5)
  • More improvements (#1039)
  • Update docus version (f31240b)
  • Upgrade docus (a6ce587)
  • deploy/workers: Fix typo of bundle (#1046)

🏡 Chore

  • readme: Various improvements (#1009)
  • Fix tests (#1014)
  • docs: Use pnpm (39f117a)
  • Add autofix-ci action (8f9c3e2)
  • Remove old docs commands (#1042)
  • Update dependencies (02c48f2)
  • Maintain lockfile (ac81602)
  • Use single undici version for testing (00743bc)

❤️ Contributors

v2.2.3

compare changes

🚀 Enhancements

  • Add lagon preset (#964)

🩹 Fixes

  • node-cluster: Default number of workers (#963)
  • cloudflare-pages: Exclude assets from function call (#965)
  • cloudflare-pages: Handle assets only for get requests (#968)
  • Render json errors for cors requests (#969)
  • Use json response for errors in /api/ routes (#971)

💅 Refactors

  • externals: Sort bundledDependencies keys in output package.json (#967)

📖 Documentation

  • cloudflare: Add info regarding runtimeConfig and environment variables (#958)
  • Prevent ellipsis overflow on small screens (#956)
  • deploy: Add workers page for edge limitations (#953)

🏡 Chore

  • cli: Mention prepare command in usage (#959)
  • Update dependencies (2658072)

❤️ Contributors

v2.2.2

compare changes

🩹 Fixes

  • Correct access-control-allow-methods cors header name (#944)
  • Allow overriding assets maxAge using route rules (db6e6c2)
  • rollup: Use mlly as fallback resolver when externals disabled (#948)
  • Don't render json response if url contains /api/ (#951)

🏡 Chore

✅ Tests

  • vercel: Move custom test to additional tests (fb361f8)

❤️ Contributors

v2.2.1

compare changes

🩹 Fixes

  • static: Remove cache-control headers when asset is not found (e3d57fc)
  • Avoid circular imports (#936)

🏡 Chore

❤️ Contributors

v2.2.0

compare changes

⭐ What is new?

  • Runtime proxy support using route rules (learn more)
  • Nested fetch calls with incoming headers and context in event context (learn more)
  • Binary and Raw storage operations support (learn more)
  • [Cloudflare] Exposed event.context.cf (learn more)
  • Built-in session support (learn more)

🚀 Enhancements

  • Support runtime proxy using route rules (#926)
  • cloudflare: cacheControl support for public assets with with maxAge (#922)
  • cloudflare: Expose event.context.cf (#927)
  • firebase: Use nodejs 18 as default runtime (#925)
  • Support event.fetch and event.$fetch (#930)
  • vercel: Auto-detect runtime version (#879)

🩹 Fixes

  • Apply cached rules to overlapping wildcard patterns (#906)
  • cloudflare: Use full mime db (#933)

❤️ Contributors

v2.1.2

compare changes

🩹 Fixes

  • types: Allow narrowing of the method option in NitroFetchOptions (#883)
  • vercel-edge: Add temporary workaround for ‍process.cwd‍ usage (#898)
  • dev: Don't overwrite proxy headers if already set (#896)
  • Provide fallback string values for undefined runtimeConfig (#907)
  • vercel: Allow non-glob cache rules to apply to / (#908)
  • externals: Use stable dependency tree (#909)
  • dev: Mount src and root as read-only by default (#920)

📖 Documentation

  • Fix heroku typo (#900)
  • Fix stormkit images path (#903)
  • Fix path for server assets (#917)

🏡 Chore

✅ Tests

❤️ Contributors

v2.1.1

compare changes

🩹 Fixes

  • Resolve server assets dir relative to srcDir (#893)
  • prerender: Encode urls passed to local fetch (#891)

🏡 Chore

❤️ Contributors

v2.1.0

compare changes

🚀 Enhancements

  • Add shouldBypassCache option to cache utils (#874)
  • cache: Allow async getKey option (#878)

🩹 Fixes

  • scan: Do not dedup middleware handlers (#880)
  • externals: Use portable symlinks (#882)

📖 Documentation

  • deployment: Heroku with nginx (#873)
  • netlify: Clarify placement of _redirects file (#870)
  • digitalocean: Update deployment guide (#862)

🏡 Chore

❤️ Contributors

v2.0.0

compare changes

🩹 Fixes

  • Add node16 compatible type declaration (#868)
  • externals: Improve multi version handling (#871)

❤️ Contributors

v2.0.0-rc.1

compare changes

🚀 Enhancements

  • externals: Apply production condition to package.exports (#867)
  • Enable auto imports from utils dir (#866)

🩹 Fixes

  • prerender: Update preview command to serve matching routes (#864)
  • externals: Support orphan files in node_modules (#865)
  • Avoid hiding original rollup error message (a5586f8)
  • cache: Only update cache in storage once per pending request (#861)

🏡 Chore

  • Lint with eslint --cache and improve types in .eslintrc (#863)
  • Update dependencies (c52d256)
  • Remove random import (246b726)

❤️ Contributors

v2.0.0-rc.0

compare changes

🚀 Enhancements

  • ⚠️ Upgrade rollup to 3.x (#580)
  • types: Correctly type $fetch based on the method (#686)
  • cli: prepare command (#774)
  • cache: Allow setting custom getKey for defineCachedEventHandler (#744)
  • dev: Support for /_vfs.json (#809)
  • netlify: Use esm entrypoint (#833)
  • ⚠️ Rewrite external copy with multi version hoisting support (#782)
  • Add shouldInvalidateCache option to cache utils (#746)
  • edgio preset (replacing layer0) (#858)
  • Support maxAge for public assets (#860)
  • Support staleMaxAge: -1 to always respond stale value (#857)

🩹 Fixes

  • GitHub template (#712)
  • deno: Implement readAsset (#694)
  • Normalize nitro plugin paths to url in development (#732)
  • Use file urls for auto-imports in development (#733)
  • Initialise imports.imports (#737)
  • Allow optional output property in user rollup config (#751)
  • Accept both upper/lower-case methods (#752)
  • prerender: Check each segment length is less than 255 chars and whole path 1024 (#757)
  • Include only compressible mime types (#761)
  • Remove base url before calculating route rules (#767)
  • netlify, vercel: Order route rules from most specific + avoid double-rendering root (#768)
  • build: Correctly formatted fs tree (#778)
  • prerender: Decode urls to allow comma in the x-nitro-prerender header (#799)
  • build: Do not override publicAssets (#817)
  • dev: Improve vfs ui (#802)
  • Resolve and include scanDirs within node_modules for auto import (#812)
  • netlify, vercel: Explicit server rendering with disabled cache/swr (#829)
  • prerender: Check link's pathname only for extensions (#791)
  • runtime: Disable server-timing header via options.timing (#823)
  • Avoid using file urls for normalized paths in options (7517293)
  • Rollup treeshake is dump (2ce4edb)
  • externals: Normalize inline and external windows paths (0638f64)
  • netlify, aws: Omit cookies from v1 response (#834)
  • Filter unique scanned handlers (#807)
  • nitro: Resolve server asset dirs relative to srcDir (#825)
  • public-assets: Mock readAsset promise properly (#851)
  • externals: Avoid recursive package links (b77735e)

💅 Refactors

  • Upgrade and reduce usage of fs-extra (cfbd029)
  • Update event. to event.node. (#828)

📖 Documentation

  • Fix url in auto-imports guide (#683)
  • Fix spelling of cluster (#720)
  • Wording change (#724)
  • Fix readme grammar (#813)
  • Fix deprecated function in routing example (#816)
  • Add new render deployment example & steps (#811)
  • Fix typo in code block (#830)
  • Add cache base option example & description (#781)

🏡 Chore

  • Lint repository with eslint config and format with prettier (#739)
  • Limit prettier lint to src (6a735b1)
  • Fix type issue (a60e4bd)
  • Fix lint issues (7ee8e7f)
  • Disable failing api type tests (1d9102a)
  • Fix lint issue (30e4d32)
  • Add missing parenthesis in header (#801)
  • Add lint fix command shortcut (#835)
  • Update lockfile (bb9ac5b)

✅ Tests

  • Add tests for dev server and proxy (#644)
  • Re-enable api type tests and fix type assertion (#772)
  • Update fixtures (a52c832)

🎨 Styles

🤖 CI

  • Run tests against windows as well (#837)

⚠️ Breaking Changes

  • ⚠️ Upgrade rollup to 3.x (#580)
  • ⚠️ Rewrite external copy with multi version hoisting support (#782)

❤️ Contributors

1.0.0 (2022-11-16)

1.0.0-1 (2022-11-16)

Features

  • vercel: incremental static generation + swr (#545) (88ce2de)

Bug Fixes

  • upgrade hookable to 5.x (dc3383b)

1.0.0-0 (2022-11-15)

⚠ BREAKING CHANGES

  • remove deprecated autoImport

  • remove deprecated autoImport (c99fa44)

0.6.2 (2022-11-15)

Bug Fixes

  • cloudflare: pass raw body instead of parsing it (#629) (837f894)

0.4.24

🚀 Enhancements

  • Add cloudflare-pages preset (#210)
  • Support prerendering binary files (#320)
  • Opt-in option to compress public assets using gzip and br (#449)
  • Allow specifying wasm plugin options (#450)
  • Allow using extends alongside with preset (6a43985)

🩹 Fixes

  • azure: Fix route name (#430)
  • Update types for defu usage (0f241bc)
  • Add resolved side-effect for node-fetch-native (#435)
  • aws-lambda: Join cookies with semicolon (#356)
  • aws-lambda: Fix normalizeIncomingHeaders (#418)
  • aws-lambda: Return outgoing cookies on response objects (#357)
  • aws-lambda: Add multiValueQueryStringParameters to aws preset (#398)
  • ⚠️ Update unenv to 0.6.x (#438)
  • Add code location and codeframe for rollup errors (#406)
  • prerender: Allow updating route contents (#452)
  • externals: ⚠️ Fall back to mlly resolver in more cases (#431)
  • ⚠️ NITRO_PRESET should have highest periority (92d711f)

💅 Refactors

  • ⚠️ Rename options autoImport to imports (#433)
  • Utilize knitwork to generate safe variable names (#447)

📖 Documentation

  • Migrate to docus (#365)
  • Simplify deploy index route (a1d7b17)
  • storage: Fix typo (#424)

🏡 Chore

  • Update lock (4ceeee2)
  • Narrow plugin override type (b4e24f6)
  • Add @vitest/coverage-c8 (4a5e565)
  • Remove unused @types/jsdom from dependencies (#429)
  • Add vitest config (ab59150)

📦 Build

  • Expose package.json subpath export (d0029c0)
  • Use changelogen to bump edge and generate chagelog (679e356)

⚠️ Breaking Changes

  • ⚠️ Update unenv to 0.6.x (#438)
  • externals: ⚠️ Fall back to mlly resolver in more cases (#431)
  • ⚠️ NITRO_PRESET should have highest periority (92d711f)
  • ⚠️ Rename options autoImport to imports (#433)

❤️ Contributors

  • Ahad Birang
  • Alexander Lichter
  • Anthony Fu
  • Daniel Roe
  • Dániel Földi
  • Eckhardt (Kaizen) Dreyer
  • Julien Huang
  • Pooya Parsa
  • Sören Schwert
  • Tobias Diez
  • Yaël Guilloux

0.4.24 (2022-08-12)

Bug Fixes

  • renderer: do not use default error fallback (80081b0)

0.4.23 (2022-08-12)

Bug Fixes

  • renderer: handle unhandled errors (319b277)

0.4.22 (2022-08-11)

Bug Fixes

  • fix dist dir check regex (6cad682)

0.4.21 (2022-08-11)

Bug Fixes

  • properly resolve dist dir (d7c65e6)

0.4.20 (2022-08-11)

0.4.19 (2022-08-11)

Bug Fixes

0.4.18 (2022-08-09)

Bug Fixes

  • netlify: update rollup output file (8965bd5)

0.4.17 (2022-08-09)

Features

  • netlify: emit server.js to leverage native esm (#401) (8304ae2)

0.4.16 (2022-08-09)

Bug Fixes

  • prerender: prerender x-nitro links without crawlLinks option (46b445f)

0.4.15 (2022-08-09)

Features

  • prerender: basic ignore support (a6cbbbe)

Bug Fixes

  • prerender: apply extension filter only to parsed links (541b0b0)
  • set x-nitro-prerender header as lower-case (9cee698)

0.4.14 (2022-08-08)

Features

  • call render:response hook for defineRenderHandler (8238f38)

Bug Fixes

  • expose RenderResponse and RenderHandler types (e0ec2b2)

0.4.13 (2022-08-08)

Features

Bug Fixes

  • cache: generate hashed path keys (6104c54)
  • config: enable dotenv in development (#347) (ec086c6)
  • include dotfiles in public assets (#361) (8a744fb)
  • options: add default aliases and resolve plugins (f04560b)
  • options: exclude buildDir for auto-imports (#355) (5219c53)
  • prerender: remove baseURL from generated file paths (#329) (26c15ca)
  • server-assets: escape asset file names (7aaab6d)
  • sort aliases to ensure priority is given to more specific aliases (#388) (2a36b1e)
  • update scule to handle runtime config with numbers (64b740e), closes nuxt/framework#6172
  • update unstorage to prevent path traverse (d5d802f)
  • worker: preserve esmodule symbol for dynamic imports (#354) (0cd5121)

0.4.12 (2022-07-13)

Bug Fixes

  • vercel, vercel-edge: set version as number (f476cfc)

0.4.11 (2022-07-13)

Bug Fixes

  • vercel-edge: properly set rollup options (ad5b735)

0.4.10 (2022-07-13)

Features

  • vercel-edge provider (#337) (ad2b976)
  • rollup: support development and production export conditions (f60e6eb)
  • vercel: update to the v3 output api (#336) (9ac4be2)

Bug Fixes

  • call rollup:before before generating rollup config (#335) (292b495)
  • vercel-edge: use esm default export (7d251f5)
  • vercel: add back filesystem route handlers (bba4064)
  • vercel: update output config (daecb91), closes #336

0.4.9 (2022-06-29)

Features

  • expose router in NitroApp (#302) (ef5e7f1)
  • service-worker: inject registration script to all pages (#299) (486f236)

Bug Fixes

  • get storage mounts type from unstorage (134f89f)
  • azure: pass query params to local call (#318) (f1fe6cd)
  • export runtime types directly from nitropack (#301) (34b8c4d)
  • isPublicAssetURL: assets should treat as public (#312) (e165b3b)
  • prerender: avoid adding duplicate baseURL for local fetch (#289) (cbc7ba3)
  • types: allow autoImport option to be false (#296) (3aa3bcf)

0.4.8 (2022-06-15)

Bug Fixes

  • disable auto import include for scanDirs (4c057cd), closes #277

0.4.7 (2022-06-14)

Bug Fixes

  • check if socket address/port/family are set (#287) (8fb3ad9)
  • don't use file url when building prerenderer (#286) (2e7c548)

0.4.6 (2022-06-13)

Features

  • update unstorage to 0.5.x (c5cabbf)

0.4.5 (2022-06-12)

Features

Bug Fixes

  • add scanDirs to auto-import include (#277) (3f8a08e)
  • append .cache to the key of cached routes/functions (#249) (1d4328c)
  • avoid empty scanned route (resolves #283) (a087673)
  • cache: expose all cache aliases and types (361d12f)
  • cache: invalidate entry before calling resolver (#271) (7358d5b)
  • cache: normalize path keys for defineCachedEventHandler (97625ec)
  • cloudflare: use @cloudflare/wrangler until we support wrangler 2 (#265) (d7fa6ce)
  • exclude internal /_*, /api/_* routes from NitroFetchRequest type (#232) (00aa131)
  • stormkit: update request signature (#264) (78bf46a)

0.4.4 (2022-05-11)

Bug Fixes

  • update NitroFetchRequest type to support string type (#226) (3542b61)
  • update unenv and add node-fetch-native/polyfill to moduleSideEffects (e70a9f0)

0.4.3 (2022-05-10)

Features

  • add NitroFetchRequest type and enhance $fetch's request type (#209) (57b9ed0)
  • add prerender:route hook (#213) (9c9fb34)
  • prerender: add preview command (#217) (08614c5)
  • show stack-trace of unhandled errors with DEBUG env (#212) (b366f3f)

Bug Fixes

  • add missing include path ../../**/* in generated tsconfig.json (#205) (8978404)
  • respect baseURL in prerendering (#219) (3e8eddb)
  • set built-in storage mounts before nitro init (d1c6c64)

0.4.2 (2022-05-07)

Bug Fixes

  • node, preereender: add handler for unhandledRejection (3319912)
  • prerender: only crawl known extensions (non or .json) (2dbc8b9)

0.4.1 (2022-05-06)

Bug Fixes

  • support fallback for import.meta per chunk (5a83ec6)
  • use distinct prefix for lazy handler imports (0cc7be1)

0.4.0 (2022-05-05)

⚠ BREAKING CHANGES

  • cache: only accept event handler for defineCachedEventHandler
  • prerender: write html files to subfolder (resolves #166)

Features

  • nitro.storage (e1c234e)
  • add X-Nitro-Prerender header to detect prerendering (11e732b)
  • allow explicit middleware handlers (23d8cde)
  • cache: only accept event handler for defineCachedEventHandler (7e72b8f)
  • expose all assets to nitro.vfs and /_vfs endpoint (resolves #173) (9bf2d71)
  • extend prerender links from X-Nitro-Prerender (resolves #115) (9423524)
  • named wildcard params (233e024)
  • prerender: write html files to subfolder (resolves #166) (cdcd35a)
  • rollup: allow edit of commonJs plugin options (#187) (c7759e9)
  • rollup: fail build when externals are not allowed and cannot resolve id (ff2dd44)
  • universal import.meta (resolves #181) (929322b)
  • update unenv (04e2f26)

Bug Fixes

  • cache: preserve event context (resolves #189) (6cdbc4a)
  • enable lazy only when explicitly set (enable for api and rotues by default) (247cfca)
  • handlers: respect default value for lazy (89da30a)
  • improve bundled storage (#179) (d4cb863)
  • prerender: allow all extensions (resolves #190) (4b15520)
  • prerender: support relative urls (970286d)
  • rollup: enable preferBuiltins only for node targets (32f598a)
  • rollup: respect rollupConfig options to override default config (43b1d02)
  • rollup: set NODE_ENV to prerender when prerendering (2b7209a)
  • worker: use iife format by default (6c8cae7)

0.3.12 (2022-05-02)

Bug Fixes

  • add missing prefixStorage import for bundled storage (defa4de)
  • storage: skip bundled storage for dev and prerender (31a3957)

0.3.11 (2022-05-02)

Bug Fixes

  • storage: remove unused prefixStorage import (7376c6d)
  • storage: use devStorage for dev and prerender (93c4d85)

0.3.10 (2022-05-02)

Features

Bug Fixes

  • deps: pin @rollup/plugin-node-resolve due to cloudflare issue (3ecb813)

0.3.9 (2022-05-02)

Bug Fixes

  • add cached shortcuts to the imports (#162) (bf6d208)
  • cloudflare: normalize incoming & outgoing headers (#171) (abda66b)

0.3.8 (2022-04-27)

Features

Bug Fixes

0.3.7 (2022-04-25)

Bug Fixes

  • rollup: prepend node_modules to moduleDirectories (458ff57), closes #136

0.3.6 (2022-04-22)

Bug Fixes

  • manually merge runtime config with env (#143) (1be5ac2)
  • respect sourceMap option (#141) (e5ab741)
  • wrap dynamic import in prerender to fix windows build failure (#134) (2be8aaf)

0.3.5 (2022-04-20)

Bug Fixes

  • node-server: default production host to 0.0.0.0 (b7c7193)

0.3.4 (2022-04-19)

Bug Fixes

  • prerender: disallow routes longer than 250 chars (c736de0)
  • prerender: only use pathnames (7cc02c9)

0.3.3 (2022-04-19)

Bug Fixes

  • provide compatibility #nitro as a virtual module (6a798c6)

0.3.2 (2022-04-19)

Features

  • provide #imports alias and #nitro for backward compatibility (ef2f216)

0.3.1 (2022-04-19)

Bug Fixes

  • node-server: fix typo in import (b5bd30b)
  • prerenderer: switch back to simple queue (b7a65eb)

0.3.0 (2022-04-19)

⚠ BREAKING CHANGES

  • rename #nitro to #internal/nitro
  • remove nitro: prefix from hook names

Features

Bug Fixes

  • default fetch baseURL to runtime nitro base (#122) (00a15c1)

  • externals: normalize output paths to flat structure (a7f451f), closes #106

  • force preset to nitro-dev when dev flag used (94fc531), closes #121

  • remove nitro: prefix from hook names (ac2f0aa)

  • rename #nitro to #internal/nitro (944a348)

0.2.11 (2022-04-15)

Bug Fixes

  • prerender: add .html for implicit html routes (1b7bc8c)

0.2.10 (2022-04-14)

Features

  • cache: rewrite defineCachedEventHandler (d7512be)
  • improve prerenderer (5457a01)

0.2.9 (2022-04-14)

Bug Fixes

  • prerender: only extract relative links (#112) (b61caf7)

0.2.8 (2022-04-13)

Features

  • add render, digital-ocean and heroku presets (#55) (b77ef27)

Bug Fixes

0.2.7 (2022-04-12)

Bug Fixes

  • rollup: also match moduleSideEffects with full path (ce2e898)

0.2.6 (2022-04-12)

Bug Fixes

  • resolve to tested version of defu and h3 (ba2e237)

0.2.5 (2022-04-12)

Features

  • allow overriding nested runtime config (#65) (27fb68b)
  • support custom error and dev error handler (#76) (cb6a84c)

Bug Fixes

  • allow overriding nested variables (#75) (d7bfc96)
  • allow users to override nitro error (#58) (aa660c7)

0.2.4 (2022-04-11)

Bug Fixes

  • prerender: use pathname from extracted links only (#74) (b9271d7)

0.2.3 (2022-04-11)

Features

Bug Fixes

  • always apply #build windows fix when externals.trace is disabled (1ec2ee4)

0.2.2 (2022-04-11)

Bug Fixes

0.2.1 (2022-04-07)

Bug Fixes

  • use file:// for windows #build alias on dev (077b511)

0.2.0 (2022-04-07)

⚠ BREAKING CHANGES

  • remove nitro:document hook

  • remove views/app.template.html from build logic

  • remove nitro:document hook (1feb644)

  • remove views/app.template.html from build logic (0939233)

0.1.4 (2022-04-07)

Bug Fixes

  • issues with firebase dependencies (#48) (3498d7d)

0.1.3 (2022-04-07)

Features

  • allow user configured dynamic virtual imports (046d090)
  • improve error pages (209688f)

Bug Fixes

  • avoid replaceAll for node 14 compatibility (#42) (e229115)
  • externals: check for explicit externals (b4ced48)
  • externals: improve fallback error handling (6b355ca)
  • update azure SWA preset and update node versions detection (#43) (19c784b)
  • update firebase output for package.json (#45) (7700500)

0.1.2 (2022-04-07)

Bug Fixes

0.1.1 (2022-04-07)

Features

  • routes/ directory (2f96340)
  • method support for rotue handlers (da35ab1)
  • register [...].ext as catch-all (2e2e283)

Bug Fixes

  • also check for assets paths for isPublicAssetURL (4170f65)
  • always enable publicAssets plugin (a78e1be)
  • cli: prerender before main build (9388b7d)
  • mock readAsset when serveStatic is disabled (e95b9d9)
  • service-worker: remove _server prefix (60ae8ba)
  • update unenv to fix proxy mock issues (fefd2e9)

0.1.0 (2022-04-07)

⚠ BREAKING CHANGES

  • use app.baseURL runtime config for framework agnostic usage
  • expose nitroApp to entries
  • simplify storage options
  • drop paths and support top level baseURL option
  • migrate to h3 0.5x with events API (#23)
  • add engines.node field and node.js version check (#1197)

Features

  • @nuxt/meta module for head rendering (#179) (1a76f60)
  • h3 auto imports preset (0661fa9)
  • nitro.close() (c1560d0)
  • add engines.node field and node.js version check (#1197) (a0ff933)
  • add process.dev (#16) (68fc5b3)
  • add runtime/client for $fetch polyfill (#11) (e241e3d)
  • add $fetch to client (48cf97c)
  • add azure functions preset (#45) (15b20a5)
  • add basic html error (d090aac)
  • add firebase preset (#100) (750fa76)
  • add hint to dynamic require for netlify (5fade11)
  • add serve-placeholder (689aad0)
  • add support for Azure static web apps (#92) (9a5ae67)
  • add support for vite build (with vite-format manifest) (#450) (002469a)
  • allow custom error handling (#30) (ac1b093)
  • allow disabling tsconfig generation (f30a026)
  • allow overriding runtime config with NITRO_ or an alternative specified with NITRO_ENV_PREFIX_ALT (a27d529)
  • auto imports for useConfig and useStorage (5b2c950)
  • automatically mock unresolved externals (dac74e1)
  • aws APIGatewayProxyEventV2 support (d135f01)
  • basic multi dir support (376d349)
  • basic support for netlify_builder target (#18) (4f90f95)
  • better error handler (d8cf235)
  • better process polyfill (f06a437)
  • browser: inject script to js template (51712ad)
  • cache api (e9a44f5)
  • create nitro.logger to control verbosity (a91fd52)
  • define nitro #storage and #assets types (#1377) (cf78609)
  • deps: update all non-major dependencies (#2252) (1b2e92e)
  • detect target (ea250b3)
  • dev server watch (3eb6c20)
  • drop paths and support top level baseURL option (913f3d8)
  • dynamic chunk importer (0f179ab)
  • dynamic-require rollup plugin (b00cfb9)
  • enable externals.trace by default (303debd)
  • export defineNuxtConfig from nuxt3 and @nuxt/bridge (#669) (8a02ab8)
  • expose useNitroApp to access nitroApp (3d82df1)
  • expose process.env.SIGMA_PRESET (8bdcc43)
  • external: improved subpath detection for externals (d13b842)
  • externals: smartly pick latest version and warn only on two different major (cb03c96)
  • externals: write bundledDependencies and detect duplicate versions (a898c8d)
  • generate .nitro/types/tsconfig.json (9494520)
  • generate meaningful chunkNames (9e22f68)
  • generate public (dist/) (5f92307)
  • generic devHandler support (9175a34)
  • handle api routes with router (38b6631)
  • handle caching headers for cachfied handlers (ace355b)
  • improve base url options (#2655) (9d8cf91)
  • improve cache support for event handlers (9b4b01a)
  • improve dev error handling (298a36b)
  • improve mocking (e76cb19)
  • improve mocks (6f411b2)
  • improve types (#6) (b982ae2)
  • improved env support (0c22cbe)
  • improved externals and experimental trace with vercel/nft (bc649ba)
  • improved sever timing (95e4538)
  • initial version of nu cli (#54) (47f4198)
  • inject sw script to pages (b215c38)
  • integrate $fetch with ohmyfetch (c0fc176)
  • link crawling support (462398f)
  • load and extend config/preset with c12 (e18211a)
  • make browser target working again (7c35713)
  • make cloudflare working (2ed7b35)
  • migrate to h3 0.5x with events API (#23) (c705dd4)
  • mock debug (#118) (54bb024), closes #97
  • mock mime packages and fix v1 compat (c960a22)
  • mock stream (435ce77)
  • module utils and improvements (#38) (58605e2)
  • natively parse and import async webpack chunks (14b9db4)
  • new public asset handling (305c498)
  • nitro app plugins (613a559)
  • nitro endpoint for viewing _vfs (#362) (edd67c5)
  • nitro, vite: use native module (#252) (ad7044a)
  • nitro: #config (d169f11)
  • nitro: allow extending nitro context (4a3a253)
  • nitro: assets driver (#511) (9a8d992)
  • nitro: automatically type middleware/api routes (#708) (3163fa2)
  • nitro: handle request body in workers (#537) (c3249cb)
  • nitro: improve dev worker stability (#1303) (f71714d)
  • nitro: raw loader (#75) (5acb394)
  • nitro: server assets (#83) (f71574c)
  • nitro: specify packages to copy to .output/server/node_modules (#2382) (acb0033)
  • nitro: ssl nitro support in production (#2742) (9c48d73)
  • nitro: storage support (#76) (958563c)
  • nitro: support adding node_modules as middleware (#2826) (75d2674)
  • nitro: support esbuild options config (#550) (bff7db3)
  • nitro: support importing/inlining wasm binaries (#693) (a0ddbd2)
  • nitro: support netlify zero-config deployments (#175) (ced37c2)
  • nitro: update dependencies for node-fetch 3.x support (#1373) (9d12b7e)
  • nuxi: add nuxi preview command for local testing (#2162) (b60a23a)
  • nuxi: bundle analyzer (#701) (5364d04)
  • nuxt bridge (#459) (3de9574)
  • nuxt3, bridge: useRuntimeConfig (#625) (832a9a4)
  • nuxt3: useFetch (#721) (9b76832)
  • optional pages and refactor nuxt3 (#142) (39a0c4a)
  • prerender support (24fb151)
  • reexport common utils from #nitro index (3dc2ee6)
  • resolve aliases with reference to themselves (#26) (adb6c5d)
  • resolve externals with full path (1c9b627)
  • rewrite as nuxt module (6881079)
  • rollup: allow custom replace entries (18ee71b)
  • serve-placeholder (7a59183)
  • serveStatic (#47) (af42712)
  • show fs tree for output (a230bc7)
  • sigma.client (1656155)
  • sourcemap support (e47b266)
  • ssr with service worker (971315c)
  • support NITRO_APP_BASE_URL for build-time (42ff5a3)
  • support ssr: false (#351) (ddc045e)
  • support dynamic chunks, lazy middleware and cjs target (0caa11e)
  • support overriding nested runtime config (#2) (b9cdcbd)
  • support runtimeConfig (closes #43) (5677d86)
  • support server directory (#132) (cda0aa4)
  • support serverMiddleware (e5cd009)
  • support serverMiddleware (#26) (c99316f)
  • support serverMiddleware (#26) (92e5015)
  • support ssrContext.head (8bcf6fb)
  • support staticAssetsBase (aca8be7)
  • support target functions to consume nuxtOptions (725caec)
  • support typescript via esbuild (closes #42) (3dd5276)
  • support universalFetch during generate (f656d3f)
  • swr support with route rules (4e37f23)
  • switch to h2 stack for dev server (4dfca5a)
  • timing plugin and Server-Timing (424ce0a)
  • unimport support for server api (#15) (9fc9e03)
  • update preset options (12e1291)
  • update vercel and improve internals (9b5ac28)
  • use @nuxt/design (#322) (b9a7033)
  • use dynamic require for node targets (a67944f)
  • use h2@10 (8ce644a)
  • use native esm for all packages (#539) (cf4d593)
  • use virtual filesystem for templates (#292) (b0a9bd2)
  • use webpack esm server build (#474) (009579a)
  • vite: vite dev server bundler (#604) (fb91ed2)
  • whitelist static routes (377a965)
  • worker: support process.hrtime (a5904f5)
  • working cloudflare with vue2 and async chunks (0255442)
  • working poc (6f5c475)

Bug Fixes

  • _interopDefault potential cjs files (d873169)

  • 404 handling for static assets (c0cb35d)

  • add node_modules from cwd to nodeResolve (035a6e6)

  • add critical css (37f6d79)

  • add default route when generating code (df694ea)

  • add default value for assets.dirs (4d7c6ac)

  • add default value for buildDir and generateDir (565a27c)

  • add generate.routes and disable crawler (ec89296)

  • add hack for encoding (20b8f22)

  • add main entrypoints for packages (#629) (e4e69f7)

  • add missing #_config (#24) (e06573c)

  • add missing default for devHandlers (43b2f41)

  • add more types (#16) (da7bbb2)

  • add nitro client plugin ($fetch support) (#223) (93213f4), closes #213

  • add prefix to dynamic imports name (#5) (eecd766)

  • add temp fix for browser (d197716)

  • addresses static assets/azure issues (#49) (88e8bd9)

  • allow matching dynamic page routes (88d0676)

  • allow not overriding env, and allow disabling prefix (#40) (1d6a802)

  • allow numbers in dynamic webpack chunk names (#125) (3bfa916)

  • allow use of nuxt3 in non-wsl windows environment (#308) (da6da9c)

  • always mock generic dependencies (f210304)

  • app, nitro: fix app:rendered hook (#53) (ecc85f0)

  • app: make renderMeta optional (#340) (844cbea)

  • automock: don't externalize .ts imports (077bf13)

  • avoid replaceAll for platform compatibility (3cde549)

  • avoid closing on dev command (b6cca1a)

  • avoid overriding hooks (d722e9f)

  • avoid reloading worker when entry not exists (5d3ca2f)

  • await for reload process before responding (f441b30)

  • bridge: plugin default detection (#1847) (f7748e2)

  • bridge: set app.basePath (#2808) (8df7624)

  • bring back nuxt3 support (a87c2a5)

  • browser: 400.html ~> 404.html (7c68add)

  • check for server webpack config (#91) (03bb235)

  • clone config and preserve overrides for prerender instance (08c65b8)

  • cloudflare and polyfill (dc967bc)

  • cloudflare, lambda: preserve query parameters in url (#155) (b59986d)

  • compat: add template variables for compat module (#162) (126920a)

  • compat: cannot read property setLegacyMiddleware of undefined (#82) (29b368e)

  • compat: disable webpack sourcemap (#84) (961f18d)

  • compat: enforce nuxt generate for static target (#148) (8e0b095)

  • components: augment 'vue' module rather than overwriting (#305) (c631f11)

  • config: always disasble server sourceMap (#88) (a5eb76e)

  • configurable publicPath (closes #21) (9262d64)

  • default value for template path (b334942)

  • dep: pin esbuild to 0.10.x due to module breaking changes (879a5bc)

  • deps: update h3 to 0.5.2 (ce14f33)

  • deps: update dependency ohmyfetch to ^0.4.4 (#1705) (27f238f)

  • deps: upgrade jiti to 2.12.9 (#1171) (e939b36)

  • dev: add conditional check for removeAllListeners call (6529f60)

  • dev: handle unhandledRejection and uncaughtException to avoid failing worker state (4e8a661)

  • dev: use localhost for emitted host in port mode (eb6ebdb)

  • disable cleanTargetDir for vercel (9d8a95b)

  • disable external tracing for local preset (0d7d102)

  • disable static manifest generation (resolves #53) (df69cfa)

  • do not inline whole rootDir (0929bcd)

  • don't set _registeredComponents (89b1958)

  • enable vue-resolution workaround (17c3c60)

  • ensure builds are relative to buildDir (ba687f8)

  • exec require before return (a3fb537)

  • expose types (66b4973)

  • extend routes from serverless.static (75ae176)

  • externals: handle non pkg paths (0831bac)

  • externals: use normalizeid for external files (b9db0e9)

  • externals: windows compatibility with parseNodeModulePath (935f39a)

  • fix _interopDefault implementation (faa7245)

  • fix error template formatting (545ccf6)

  • fix issues with router.base support (5a7e0fa)

  • fix mocks and disable buffer since is unnecessary (ecdf2cd)

  • fix preview and deploy command info (1c1bf04)

  • fix worker polyfill by adding performance (a30fed4)

  • force rebuild on new files being added (#136) (2ca8a87)

  • handle decoding static file names (#13) (5504ce9)

  • handle if serverless is not set in config (f055ddd)

  • handle undefined error stack in production (39ef2b3)

  • hide rollup circular and eval (e5f9900)

  • host ~> hostname (7c663c2)

  • ignore close listeners (ae22387)

  • ignore resolving vue alias when not found (5f12eaa)

  • improve externals handling (a5262e4)

  • improve prerender logs (32ff5e4)

  • improve type declarations (#1178) (a2526f7)

  • issues with externals outside of rootDir (a7cbfbe)

  • lazy is true by default (04d28b9)

  • less verbose logs when testing (00177d0)

  • load webpack modules synchronously with require (#104) (c20e813)

  • move hrtime polyfill to timing plugin (fe9d073)

  • netlify: update output templates (4f46310)

  • nitro, nuxi: add runtimeConfig types (for #config and useRuntimeConfig()) (#1783) (486be51)

  • nitro: dot-prop esm compatibility (#829) (f157f56)

  • nitro: table esm compatibility (resolves #877) (4c05a90)

  • nitro: absolute external resolution (#80) (b03c813)

  • nitro: add back compat entry (70bf183)

  • nitro: add body + body prepended scripts to template (#154) (f348588)

  • nitro: add error logging to initWorker(#2090) (9e004e1)

  • nitro: add missing kit dependency (dfa3d8d)

  • nitro: add temporary workarouind for ufo resolution in nuxt2 (e5ecf6b)

  • nitro: allow inlining subpath of externals (#2759) (30023f7)

  • nitro: always inline .wasm (#698) (e7bb03c)

  • nitro: avoid using fs/promises (bd25e87)

  • nitro: bundle json files (#1245) (adf2235)

  • nitro: correct #assets type declaration (#2403) (bc9817c)

  • nitro: correct issues rendering payload.js (#466) (584a14d)

  • nitro: correct vercel fs api static directory (#488) (cd0616e)

  • nitro: detect NETLIFY_LOCAL (#400) (f78d185)

  • nitro: detect routes and middleware starting with dots (#2771) (9b3d6c2)

  • nitro: disable moduleSideEffects by default (#377) (ec207e9)

  • nitro: disable automatic spa fallback (#1071) (4427b89)

  • nitro: disable externals in worker preset (#535) (2298276)

  • nitro: do not modify event.request for worker entries (#1279) (cc9a4cd)

  • nitro: do not overwrite output files for browser-preset (#516) (69fd546)

  • nitro: don't externalize @nuxt, virtual: and # (e53e297)

  • nitro: emit chunk names without # (#477) (ce9a38e)

  • nitro: ensure that nitro runtime is not externalized (#121) (d78237d)

  • nitro: exclude rootDir from externals and reinstate automock warning (#66) (5d9344f)

  • nitro: export named function rather than default export (#490) (3ade210)

  • nitro: filter alias in /_vfs listing (#1296) (39b6db8)

  • nitro: filter out duplicate imports (#378) (6ce6f68)

  • nitro: firebase package.json is not exported (#809) (31454ea)

  • nitro: fix EBUSY error on windows (#425) (5d79b2f)

  • nitro: fix externals regex for scoped packages (349c1d0), closes #238

  • nitro: fix regex for tracedFiles scanning (#1509) (6054d5b)

  • nitro: fix rendering with ssr disabled (#2191) (d32d40d)

  • nitro: fix type inference for $fetch (#938) (d9fdf29)

  • nitro: generate correct netlify entrypoint (#372) (49a5ebd)

  • nitro: generate netlify _redirects in public (#298) (2534dc6)

  • nitro: handle esm imports from cjs files (8decd90)

  • nitro: handle ssr redirects (#392) (42405c2)

  • nitro: handle static assets and api routes for service-worker preset (#518) (9808f05)

  • nitro: handle terminating uninitialized worker (9132a67)

  • nitro: import externals as esm namespace (#394) (1b7f9af)

  • nitro: import rollup as cjs (1d9602c)

  • nitro: improve externals error handling (#1188) (59ea572)

  • nitro: inject entryURL at beginning of entrypoint (#468) (cb3affa)

  • nitro: inject payload for spa renderer (#1434) (09061ca)

  • nitro: mock consola (#106) (1679d18)

  • nitro: modify contents rather than compiled , remove template compiled (#1154) (5d7740c)

  • nitro: narrow replace call for template name (#1626) (4e0f597)

  • nitro: omit /index from generated api urls (#1371) (f1a17f2)

  • nitro: only serve placeholders for publicPath (1cf0844)

  • nitro: ovrride by user input (306b96f)

  • nitro: pass Headers to createFetch (#2615) (87da9c7)

  • nitro: pass query params to localCall in service worker (#530) (2af7359)

  • nitro: pass req, res to ssr context (resolves #39) (0e651d8)

  • nitro: pass sourcemap option through to rollup plugins (#2387) (2122f5c)

  • nitro: promisify proxy handler (#398) (0765495)

  • nitro: read body stream on post requests for service-worker (#527) (cf19a6a)

  • nitro: read firebase package.json (#1108) (cc66a40)

  • nitro: remove depd unenv alias (#120) (10083b6)

  • nitro: resolve alias for serverMiddleware (79ef2fb)

  • nitro: resolve default export for assets (60c1b6b)

  • nitro: resolve firebase package versions with pkg-types (#1490) (971a9dd)

  • nitro: respect fs structure for traced files (#2107) (e3faaed)

  • nitro: revert to main rollup import (closes #1445) (5056059)

  • nitro: set makeAbsoluteExternalsRelative to false (resolves #160) (df28558)

  • nitro: set content-type header before html 404 (#2301) (68ab584)

  • nitro: set esbuild target: '2019' (#189) (7d8505c)

  • nitro: show all ERR_MODULE_NOT_FOUND errors (#561) (1a98e26)

  • nitro: skip copying symlinks and directories (#1510) (5a0d1a1)

  • nitro: skip non existing externals (#1876) (bae42e9)

  • nitro: sort middleware from long to short (340bc61)

  • nitro: support ~/@ aliases and explicitly externalize buildDir (242207a)

  • nitro: support built publicPath (#1479) (8934c04)

  • nitro: support vue-meta (compat) (f0cd329)

  • nitro: terminate active worker before replacing (#1302) (1b93a42)

  • nitro: type inference for api routes returning promise (#1483) (3f5bba1)

  • nitro: update azure swa implementation (#1069) (5194af6)

  • nitro: update dot-prop import (81f51d5)

  • nitro: update firebase preset to handle mjs output (#1360) (7797383)

  • nitro: update nitro internal hook name (#218) (f99d5a2)

  • nitro: upgrade table dependency (3e43fd7), closes #2250

  • nitro: use app.assetsPath for publicPath (#1978) (699e763)

  • nitro: use generate:page hook for browser to inject sw (134431b), closes #522

  • nitro: use file url for #build alias in windows dev (#469) (d4a9f23)

  • nitro: use globalThis (5a0d9e7)

  • nitro: use nuxt2 compatible template (#268) (48e2dfa), closes #265

  • nitro: use random port for stackblitz (#1666) (d5bb79c)

  • nitro: use unenv 0.3.x (closes #266) (6ac6aeb)

  • nitro: used named export for azure entry (#491) (903ab87)

  • nitro: watch .mjs and .cjs extensions (closes #352) (cab8faa)

  • nitro: workaround for vue2 global style injection (f1b74d0)

  • nuxi: update version and vite detection (#1169) (db69571)

  • nuxt3: provide NuxtWelcome component from design (#745) (2d13716)

  • only generate .sls directory when needed (de51381)

  • pass Headers to createFetch (#7) (0b55f3c)

  • pkg: downgrade node version to 14.16.x due to stackblitz issue (18d2a90)

  • pkg: downgrade node version to 14.17.x due to codesandbox issue (f00f9d4)

  • pkg: expose defineNitroPreset (4846247)

  • pkg: remove vue3 from peerDependencies (#1382) (814ac73)

  • pkg: support node 17.x in the engines field (#1443) (3416d8c)

  • preset types (5574f7e)

  • promisify: false support (768081b)

  • properly resolve runtimeDir from chunks (9adfacd)

  • remove extra console.log (82c2767)

  • remove runtime/ prefix (0be4ba1)

  • remove windows workaround for now (4af4f32)

  • rename cold start -> nitro start (#12) (bba998b)

  • render: don't override statusCode (f166cfa)

  • resolve chunksDirName based on outNames dirname (vercel) (e82cfcc)

  • resolve runtime provided dependencies (3e9e27e)

  • resolveMiddleware: remove legacy handler and path props (1de3717)

  • rollup: dirnames not generate a sourcemap for the transformation (#83) (a8c02df)

  • sanitize rollup-generated filenames (#1648) (5c49e2a)

  • schema: extend NuxtOptions for nitro & bridge types (#2131) (4d8e184)

  • schema: handle null/undefined values in runtimeConfig (#2456) (7ad2764)

  • serve public assets in production (2dfad65)

  • service-worker: check for asset urls (aab6fbf)

  • silent proxy errors (63a083c)

  • skip static dir if not exists (3b87c28)

  • small bug fixes (26046ee)

  • static asset handling with leading slash (2303c7d)

  • static dir is in srcDir (#37) (20fe1dc)

  • storage: replace non-word characters with underscore (#542) (01628ae)

  • support both targets by adding prepare step (36bfc43)

  • temporary disable auto mock plugin (414dfb6)

  • temporary remove dev warning for pwa module (#40) (e1cf8a0)

  • timing plugin helper import (d9b28da), closes nuxt/framework#3399

  • timing: include helpers only in entries (fe5a33e)

  • update service-worker preset (ce3aaf6)

  • update changed mw.path => route (359a959)

  • update documentPath with updated buildDir (#70) (25fa3eb)

  • update h3 for static asset handling (2861c61)

  • update node-resolve options (e33b658)

  • update runtime/config (b979f74)

  • update service-worker entry (5874d01)

  • use globalThis instead of global (#59) (fb56216)

  • use perfect-debounce (#22) (5642e0d)

  • use allowlist approach to chunk name (#101) (42f2269), closes #93

  • use connect for dev server due to loading-screen issue (67d78c8)

  • use devalue to handle runtime config (#28) (2522178)

  • use dist for netlify as default (d4d5285)

  • use globalThis for client plugin (34dbae8)

  • use html.contents (97d0ebe)

  • use native fetch when node is disabled (4271c65)

  • use nitro plugin with explicit mjs extension (78135ac)

  • use output/public for prerenderer (70c0866)

  • use same global to inject process.hrtime (0303912)

  • use types dir for now (#29) (2f27572)

  • vercel: add /index suffix to dst (601b413)

  • vercel: add api prefix (1fc0d9a)

  • vercel: add missing node segment (b68b4c9)

  • vercel: entry should export handle as default (c8b1346)

  • vercel: generate to config/routes.json (f9e35f6)

  • vercel: remove index.js from serverDir (9ba1281)

  • vite: don't copy publicDir files to _nuxt (#2135) (98f86e3)

  • webpack: use cjs for emitted webpack files (#395) (aed8092)

  • windows path issues (#408) (4f118b6)

  • workaround for vue 3.2.18+ esm bundle issue and revert #566 (#578) (#578) (e60d22a)

  • worker: smaller and working hrtime polyfill (2f60ea4)

  • worker: wrap polyfill to iife (3049212)

  • expose nitroApp to entries (4aa955f)

  • simplify storage options (cffb900)

  • use app.baseURL runtime config for framework agnostic usage (59196a6)