elysia
1.4.32 · 11 Nov 2026MIT2.2M / weekRepositorynpmAtom feed
0.8.17 is the newest release of 0.7.x.
In short
9 new2 fixed22 changed1 internal
Security
4 advisories affect 0.7.0; 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
Feature:
Rewrite type
Rewrite Web Socket
Add mapper method
Add affix, prefix, suffix
Trace
typeBox.Transfom
Rewrite Type.ElysiaMeta to use TypeBox.Transform
New type:
t.Cookie
t.ObjectString
t.MaybeEmpty
t.Nullable
Add
ContexttoonErrorLifecycle hook now accept array function
True encapsulation scope
Improvement:
Static Code Analysis now support rest parameter
Breakdown dynamic router into single pipeline instead of inlining to static router to reduce memory usage
Set
t.Fileandt.FilestoFileinstead ofBlobSkip class instance merging
Handle
UnknownContextPassToFunctionAdd github action to run bun test
Breaking Change:
Remove
wsplugin, migrate to coreRename
addErrortoerror
Change:
Using single findDynamicRoute instead of inlining to static map
Remove
mergicianRemove array routes due to problem with TypeScript
Bug fix:
Strictly validate response by default
t.Numericnot working on headers / query / paramst.Optional(t.Object({ [name]: t.Numeric }))causing errorAdd null check before converting
NumericInherits store to instance plugin
Handle class overlapping
InternalServerError message fixed to "INTERNAL_SERVER_ERROR" instead of "NOT_FOUND"
mapEarlyResponse with aot on after handle
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.