nitropack
2.13.6 · 2 Nov 2026MIT3.9M / weekRepositoryHomepagenpmAtom feed
0.6.1 is the newest release of 0.6.x.
In short
3 breaking11 new16 fixed5 internal
- Breaking
H3 updated to to 0.8x [Release Notes]
- Breaking
Experimental
routesis renamed torouteRules - Breaking
⚠️ Rename routeOptions to routeRules
Security
2 advisories affect 0.6.0; 2.13.4 fixes them
- ModerateNitro has an Open Redirect via Protocol-Relative URL Bypass in Wildcard Route RulesGHSA-9phm-9p8f-hw5m · 6 May 2026Fixed in 2.13.4
- ModerateNitro has a proxy scope bypass via percent-encoded path traversal in `routeRules`GHSA-5w89-w975-hf9q · 6 May 2026Fixed in 2.13.4
Release note
Breaking Changes
- Breaking
H3 updated to to 0.8x [Release Notes]
- Breaking
Experimental
routesis renamed torouteRules
Enhancements
Support
redirect,headers, andcorsroute rulesnetlify: Incremental static regeneration + swr
Add
debuggeroption to debug hooksAllow matching multiple route rules
Normalize route options and shortcuts
cleavr: Add cleavr preset
cleavr: Auto detect preset
Allow disabling public dir generation using
noPublicDircache: Mock
res.end,res.writeandres.writeHeadcache: Support
headersOnlycache modeAllow
cache: falseroute rule to override cache options
Fixes
Fully resolve internal paths for autoimports
Retry writing traced files if there are conflicts
externals: Rewrite traced file paths to latest semver-minor version
Workaround rollup issue
Handle output dirs set to empty string
azure: Raw body no longer returns parsed json
Default
workspaceDirtorootDirrenderer: Directly return body to allow caching
cache: Only spy on end/write for string chunks
error: Do not assign default statusMessage for errors
cache: Use lowercase headers
cache: Abort cache handler for error status codes
cache: Skip error status codes by invalidating cache
deps: Ensure radix3 version is expected
cache: Invalidate entries with undefined body
app: Only apply cache rules ro routes (not middleware)
Refactors
- Breaking
⚠️ Rename routeOptions to routeRules
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.