⭐ What is new?
- Type generics supported for
useStorage
anduseRuntimeConfig
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
withNitroRuntimeConfig
(#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
andtsx
out of the box (#1303) - Add support for
failOnError
(#1294) - Generic type support for
useStorage
(#1279) - Provide static
process.*
andimport.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
- Pooya Parsa (@pi0)
- 魔王少年 (@maou-shonen)
- Daniel Roe daniel@roe.dev
- Andrew mshote@gmail.com
- Estéban (@Barbapapazes)
- Dunqing (@Dunqing)
- Frantz Kati bahdcoder@gmail.com
- Mike Laumann Bellika
- Sébastien Chopin (@Atinux)
- Hebilicious (@Hebilicious)
- Michael J. Roberts (@michealroberts)