elysia
1.4.32 · 11 Nov 2026MIT2.2M / weekRepositorynpmAtom feed
0.8.17 is the newest release of 0.3.x.
In short
3 new2 faster1 fixed38 changed1 internal
Security
4 advisories affect 0.3.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:
Elysia Fn
Suport
multipart/form-datat.Fileandt.Filesfor file validationschema.contentfor specifying content type
Improvement:
Add string format: 'email', 'uuid', 'date', 'date-time'
Update Raikiri to 0.2.0-beta.0 (ei)
Add file upload test thanks to #21
Pre compile lowercase method for Eden
Reduce complex instruction for most Elysia types
Change store type to
unknownCompile
ElysiaRoutetype to literalOptimize type compliation, type inference and auto-completion
Improve type compilation speed
Improve TypeScript inference between plugin registration
Optimize TypeScript inference size
Context creation optimization
Use Raikiri router by default
Remove unused function
Refactor
registerSchemaPathto support OpenAPI 3.0.3Add
errorinference for EdenMark
@sinclair/typeboxas optionalpeerDenpendencies
Fix:
Raikiri 0.2 thrown error on not found
Union response with
t.Fileis not workingDefinitions isn't defined on Swagger
Details are missing on group plugin
Group plugin, isn't unable to compile schema
Group is not exportable because EXPOSED is a private property
Multiple cookies doesn't set
content-typetoapplication/jsonEXPOSEDis not export when usingfn.permissionMissing merged return type for
.wsMissing nanoid
Context side-effects
t.Filesin swagger is referring to single fileEden response type is unknown
Unable to type
setModelinference definition via EdenHandle error thrown in non permission function
Exported variable has or is using name 'SCHEMA' from external module
Exported variable has or is using name 'DEFS' from external module
Possible errors for building Elysia app with
declaration: trueintsconfig.json
Breaking Change:
Rename
injecttoderiveDepreacate
ElysiaRoute, changed to inlineRemove
deriveUpdate from OpenAPI 2.x to OpenAPI 3.0.3
Move context.store[SYMBOL] to meta[SYMBOL]
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.