Skip to content

v2.5.0

Compare
Choose a tag to compare
@pi0 pi0 released this 21 Jun 15:32
· 603 commits to main since this release
dbf7a90

compare changes

⭐ What is new?

  • Type generics supported for useStorage and useRuntimeConfig and lots of more type safety enhancements across ecosystem
  • UnJS ecosystem packages upgraded to the latest versions with lots of bug fixes and enhancements
  • With h3@1.7.0 we are now experimenting response streaming support (Demo).

🚀 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)
  • Generic type support for useStorage (#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)

❤️ Contributors