Packages

elysia

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

Upgrading elysia From 0.4.15 to 0.5.0

1 release in betweenevery note read

Other targets from 0.4.15Newest 0.x0.8.17Clears its 4 advisories1.4.29Latest1.4.32
  1. 0.4.15yours
  2. 0.5.0target
1
change to make
0
advisories fixed
4
new
1
fix

Before you upgrade

Tick each one off as you go
  • Breaking0.5.0

Security

4 advisories still affect 0.5.0

Upgrading to 1.4.29 clears them.

Release by release

  1. 0.5.0

    Migration needed15 May 20234 new · 1 fix
    • Breaking

      Remove hook.schema to hook

    • New

      Add CommonJS support for running Elysia with Node adapter

    • New

      Add support for lazy context injection via Static Code Analysis

    • New

      Add unioned body validator check

    • New

      Add dedicated error constructor to improve performance

    • Fixed

      Ensure response non nullability

10 other lines we could not sort, mostly version bumps
  • Remove manual fragment mapping to speed up path extraction

    0.5.0
  • Inline validator in composeHandler to improve performance

    0.5.0
  • Use one time context assignment

    0.5.0
  • Set default object handler to inherits

    0.5.0
  • Using constructor.name mapping instead of instanceof to improve speed

    0.5.0
  • Conditional literal fn for checking onRequest iteration

    0.5.0
  • Improve WebSocket type

    0.5.0
  • To migrate: rename .innerHandle to fetch

    0.5.0
  • To migrate: rename setModel to model

    0.5.0
  • Remove mapPathnameRegex (internal)

    0.5.0

1 internal line (docs, tests, tooling) left out.

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.