elysia
1.4.32 · 11 Nov 2026MIT2.2M / weekRepositorynpmAtom feed
1.4.32 is the newest release of 1.x.
In short
3 breaking6 new3 changed
- Breaking
Remove macro v1 due to non type soundness
- Breaking
Remove
errorfunction, usestatusinstead - Breaking
Deprecation notice for
responseinmapResponse,afterResponse, useresponseValueinstead
Security
5 advisories affect 1.4.0; 1.4.29 fixes them
- CriticalElysia vulnerable to prototype pollution with multiple standalone schema validationGHSA-hxj9-33pp-j2cc · 9 Dec 2025Fixed in 1.4.17
- 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
Elysia chan Supersymmetry
Named after the song Supersymmetry by Sta, a Tone Sphere ending theme.
Elysia 1.4 highlight is on Standard Schema, and "Type Soundness".
Full release note can be found at Elysia 1.4 Supersymmetry
Feature
Standard validator
Macro schema, macro extension, macro detail
Lifecycle type soundness
Type inference reduced by ~11%
Missing HEAD method when register route with GET
Improvement
Automatically add HEAD method when defining GET route
Change
ObjectString/ArrayString no longer produce default value by default due to security reasons
Cookie now dynamically parse when format is likely JSON
Export
fileTypefor external file type validation for accurate responseObjectString/ArrayString no longer produce default value by default due to security reasons
Cookie now dynamically parse when format is likely JSON
Breaking Change
- Breaking
Remove macro v1 due to non type soundness
- Breaking
Remove
errorfunction, usestatusinstead - Breaking
Deprecation notice for
responseinmapResponse,afterResponse, useresponseValueinstead
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.