Releases: nitrojs/nitro
Releases · nitrojs/nitro
v2.12.2
v2.12.1
v2.12.0
🚀 Enhancements
- Dev presets (#3467)
- cloudflare: dev preset [docs] (#3470, #3479)
- vercel: Observability route hints [docs] (#3474, 644cbe07, e2dc6385, 128c517b)
- aws-amplify: Support and default to node.js
20.xruntime (#3427) ssrRoutes(#3475)
🩹 Fixes
- Respect output configs for preview/deploy command tips (#3388)
- cloudflare-module: Generate
_headersin dist (#3442) - azure: Prefer
bodyBufferfor request body (#3375) - cloudflare: Fix tips for the preview/deploy commands (#3389)
- vercel: Clamp runtime config to valid node versions (#2824)
💅 Refactors
- cloudflare: Update wrangler types (#3436)
📖 Documentation
- cache: Add note about normalizing keys (#3459)
❤️ Contributors
- Pooya Parsa (@pi0)
- LasseSLambertsen (@LasseSLambertsen)
- Connor Pearson (@cjpearson)
- Kricsleo (@kricsleo)
- Daniel Roe (@danielroe)
- Mr Kaashee (@mrkaashee)
- Luke Nelson (@luc122c)
- Adam DeHaven (@adamdehaven)
v2.11.13
🩹 Fixes
- types: Resolve absolute paths for type imports (#3368)
- cloudflare: Global
process.envpolyfill (#3401) - dev: Only use build dir for output (#3413)
- types: Enable
skipLibCheckby default (#3373) - exaternals: Add an option to change output
node_modulespermission (#3419)
💅 Refactors
- Depend on unenv polyfill for
global(#3364) - Add
tsConfigtotypes:extendhook (#3399) - Update unenv and node compat (#3421)
📖 Documentation
❤️ Contributors
- Pooya Parsa (@pi0)
- Restent Ou (@gxres042)
- ChunyuPCY (@ChunyuPCY)
- Nagaakihoshi (@nagaakihoshi)
- Clément Guillot (@clementguillot)
- Daniel Roe (@danielroe)
- Jonas Thelemann (@dargmuesli)
v2.11.12
🩹 Fixes
- dynamic-require: Update regexp for new webpack import pattern (#3339)
- aws-lambda-streaming: Handle undefined response body (#3346)
- Scan handlers when initialising nitro (6e1e4f7d)
💅 Refactors
- Better error for scanned dirs being a file (#3342)
📖 Documentation
❤️ Contributors
- David Mo (@unknown)
- Emily-shen (@emily-shen)
- Restent Ou (@gxres042)
- Kasparas Galdikas (@Kasparas-G55)
- Pooya Parsa (@pi0)
- McKittrick Kaminski (@mckamyk)
- Daniel Roe (@danielroe)
v2.11.11
v2.11.10
🩹 Fixes
- open-api: Load virtual files from rollup rather than fs (#3324)
- netlify-edge: Enable function caching (#3321)
- cloudflare: Inherit
context._platformfor direct fetch (#3336)
💅 Refactors
- cloudflare-durable: (experimental) Expose
publishfrom durable object (#3305)
📖 Documentation
❤️ Contributors
- Pooya Parsa (@pi0)
- Thibault Vlacich (@ThibaultVlacich)
- Luis Peralta (@peralta)
- Daniel Roe (@danielroe)
- Balázs Németh (@zsilbi)
v2.11.9
🩹 Fixes
- cludflare-module: Respect
baseURLfor public output assets (#3280, #3283) - Add unenv aliases for
process/andstring_decoder/(#3273)
💅 Refactors
- openapi: Allow extensible
x-properties in$globals(#3278) - Allow setting
dotenvconfig forloadOptions(#3274) - cloudflare: Detect workers build ci (#3279)
- cloudflare: Enable node compat and deploy config progressively on new workers CI (#3284)
- Soft warning for compatibility date (#3292)
- cloudflare, deno-deploy: Update node compat (#3301)
- dev: Update
serve-staticto v2 (#3302)
📖 Documentation
- Add compatibility date info (#3290)
❤️ Contributors
- Pooya Parsa (@pi0)
- Felix Gabler (@felixgabler)
- Daniel Roe (@danielroe)
- Mukund Shah (@mukundshah)
v2.11.8
v2.11.7
🆙 Updates
- cloudflare: Update node.js compatibility (
node:cryptoandnode:tls) (#3230) - netlify-edge: Update node.js compatibility (
node:sqlite) (#3231) - minor dependency updates and removed unused dependencies (c24f39c2, ff9c4f08)
🩹 Fixes
- app: Import user code last to avoid initialization order issues (#3226)
- app: Only inherit
waitUntiland platform context in direct fetch (#3224) - dev: Always propagate proxy errors (#3229)
💅 Refactors
📖 Documentation
- Use
server/dir in all places (#2775) - deno-server: Add note for
compatibilityDate(#3190) - netlify: Add note for
compatibilityDate(#3189) - firebase: Add firebase-app-hosting (#3217)
- Updated callout (#3219)
❤️ Contributors
- Pooya Parsa (@pi0)
- Gerome Grignon (@geromegrignon)
- Ollie W (@ollie-bud)
- Restent Ou (@gxres042)
- @Yuangwang