Skip to content

Releases

v2.14.0

Choose a tag to compare

@pi0 pi0 released this 23 Nov 20:16

compare changes

🚀 Enhancements

  • prerender: Expose linking pages on failed routes (#47)
  • dev: Add opt-in devServer.drain option (#49)
  • vercel: Support immutable static files (nitrojs/nitro#4434)

🔥 Performance

  • externals: Skip URI-scheme ids before this.resolve() (nitrojs/nitro#4253)
  • runtime-config: Cache env names of runtime config keys (#35)
  • Skip inject plugin when there is nothing to inject (#44)
  • Lazily import dependencies used only by the dev server (#45)

🩹 Fixes

  • rollup: Handle null sourcemap sources in minify plugin (7481ee67)
  • config: Keep derived config when calling updateConfig (nitrojs/nitro#5046)
  • dev: Respond with 503 when the dev proxy target fails (nitrojs/nitro#4944)
  • externals: Guard against missing traced parent (nitrojs/nitro#4806)
  • types: Stop route matching from recursing without end on a generic route (nitrojs/nitro#5017)
  • externals: Externalize a package's own entry as bare name (nitrojs/nitro#4903)
  • vercel: Match config.json route sources with runtime route rules (nitrojs/nitro#4821)
  • externals: Link the version the bundle imports to the top level (nitrojs/nitro#5041)
  • cloudflare: Omit worker entry from wrangler.json for static builds (nitrojs/nitro#4256)
  • cache: Keep pending resolution until storage write lands (nitrojs/nitro#4692)
  • dev: Do not leak a rejection when a proxied upgrade fails (nitrojs/nitro#4494)
  • netlify-edge: Vary CDN cache by query string (nitrojs/nitro#5080)
  • deno: Insert rewritten imports literally and update magic-string to v1 (#26)
  • cloudflare: Allow trailing commas in wrangler.jsonc and update confbox to v0.3 (#31)
  • azure: Keep cookie value parsing stable and update cookie-es to v3 (#32)
  • dev: Use 1-based columns for source-mapped error frames (#34)
  • config: Stop retaining first overrides via global defineNitroConfig (#37)
  • vercel: Normalize optional params and catch-alls in route src (#41)
  • vercel: Prevent caching missing public assets (#42, nitrojs/nitro#4474)
  • scan: Sync scanned plugins on dev reload (#38)
  • types: Avoid excessive instantiation in typed $fetch responses (#36)
  • config: Only log config hot reload in dev (#48)
  • presets: Respect nitro logLevel for Generated output (#46)
  • dev: Restrict /_vfs to loopback host requests (5da17f2c)
  • dev: Do not serve dev server build as public assets (fe36dd32)
  • cache: Apply nested cache: false route rules per request (6af2f5a3)
  • error: Do not send cache-control from headers route rules on errors (01952f9a)

📖 Documentation

  • Update undocs, add legacy banner and update v3 label (e94a9dae)
  • Add AGENTS.md and simplify readme (4ff1e32a)
  • Link readme to v2 docs (aad4c391)
  • Update links to nitro-v2 repo (266f99d7)
  • Update AGENTS.md (29033dcc)

🏡 Chore

  • Move v2 maintenance to nitrojs/nitro-v2 (3fd29a38)

✅ Tests

  • dev: Expect 503 for upgrades that reach a missing worker (e739c315)

❤️ Contributors