elysia
1.4.32 · 11 Nov 2026MIT2.2M / weekRepositorynpmAtom feed
1.4.32 is the newest release of 1.x.
In short
8 new27 fixed2 changed2 internal
Security
4 advisories affect 1.3.9; 1.4.29 fixes them
- Highelysia has Inefficient Algorithmic Complexity and Interpretation ConflictGHSA-9643-4qgh-g8mx · 23 Sep 2026Fixed in 1.4.29
- HighElysia has a string URL format ReDoSGHSA-f45g-68q3-5w8x · 10 Mar 2026Fixed in 1.4.26
- HighElysia affected by arbitrary code injection through cookie configGHSA-8vch-m3f4-q8jf · 9 Dec 2025Fixed in 1.4.18
- ModerateElysia Cookie Value Prototype PollutionGHSA-8hq9-phh3-p2wp · 17 Mar 2026Fixed in 1.4.27
Release note
Named after 夢路の花 by Mitsukiyo
Elysia 1.3.9 is a significant milestone for Elysia
Basically, it's a big release bug without new feature
We have reviewed and closed almost 300 issues
updated and patched several bugs and edge cases
and refactor some behavior to align with your expectations
We will now focus on the development of Elysia 1.4
You can submit a feature request / proposal at Elysia 1.3 feedback
Feature
Add
t.ArrayBuffer,t.Uint8Array
Bug fix
Route prefix should give type error when prefix is not start with '/'
Add nullable field to t.Nullable for OpenAPI 3.0 spec
Set default headers for non-aot
NotFoundError doesn't call onAfterResponse hook
Skip body parsing if Content-Type is present but body is not
mapResponse inside mapError override error value
Check for minItems length before array validation
Cookie signing doesn't work in dynamic mode
Clean non-root additionalProperties
Decode path param
Nullable accept options
String | string query parameter, reference array
Cannot set multiple cookies when response is a file
Validate url encoded query
Prevent side-effect from guard merge
Handle encoded space in array query string
Parse without contentType headers throw Bad Request
Support .use(undefined | false) for conditional plugin
mapResponse with set inference produce invalid instruction
Using number instead of stringifed value for reporting validation error
Handle array query string in dynamic mode
Return status from
deriveandresolveshouldn't callonErrorFix array of plugin usage causes incorrect path aggregation
Don't duplicate error from plugin
Ensure that t.Date value is Date in Encode
Dynamic handle should handle named parser
Instanceof ElysiaCustomStatusResponse should return true when import from root Elysia module
Improvement
Remove
finallyfrom composeNotFoundErrorshould parse query if inferredBun Static response now handle pre-compute
onRequest, andonErrorPrettify ElysiaWS type
Export
ElysiaCustomStatusResponseHandle type-level status check in after response
Change
Status no longer make value as readonly
afterResponse now call after response by scheduling setImmediate
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.