Packages

elysia

1.4.32 · 11 Nov 2026MIT2.2M / weekRepositorynpmAtom feed

Your version

1.3.9

17 Aug 2025Where it was published

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

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 derive and resolve shouldn't call onError

  • #1297, #1325 fix HTML imported pages in compiled apps

  • Fix 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 finally from compose

  • NotFoundError should parse query if inferred

  • Bun Static response now handle pre-compute onRequest, and onError

  • Prettify ElysiaWS type

  • Export ElysiaCustomStatusResponse

  • Handle 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.