Packages

elysia

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

Your version

0.3.0

17 Mar 2023Where it was published

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

Release note

Feature:

  • Elysia Fn

  • Suport multipart/form-data

  • t.File and t.Files for file validation

  • schema.content for 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 unknown

  • Compile ElysiaRoute type to literal

  • Optimize 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 registerSchemaPath to support OpenAPI 3.0.3

  • Add error inference for Eden

  • Mark @sinclair/typebox as optional peerDenpendencies

Fix:

  • Raikiri 0.2 thrown error on not found

  • Union response with t.File is not working

  • Definitions 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-type to application/json

  • EXPOSED is not export when using fn.permission

  • Missing merged return type for .ws

  • Missing nanoid

  • Context side-effects

  • t.Files in swagger is referring to single file

  • Eden response type is unknown

  • Unable to type setModel inference definition via Eden

  • Handle 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: true in tsconfig.json

Breaking Change:

  • Rename inject to derive

  • Depreacate ElysiaRoute, changed to inline

  • Remove derive

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