Skip to content

v2.7.0

Compare
Choose a tag to compare
@pi0 pi0 released this 19 Oct 12:58
· 467 commits to main since this release

🚀 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 the 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

  • Add .devcontainer (#1633)
  • Update vitest to 1.0.0-beta (#1776)
  • Use pnpm shell-emulator for Windows local development (#1828)
  • Use nitropack-nightly for the nightly release channel (#1841)

🤖 CI

  • Run tests against Node.js 18 (#1713)

❤️ Contributors