github elysiajs/elysia 1.4.6

8 hours ago

What's changed

Improvement:

  • #1406 strictly check for 200 inline status code
  • coerce union status value and return type
  • add BunHTMLBundleLike to Elysia inline handler
  • #1405 prevent Elysia from being a dependency of itself
  • #1416 check if object is frozen before merging, add try-catch to prevent crash
  • #1419 guard doesn't apply scoped/global schema to object macro
  • #1425 DELETE doesn't inherit derive/resolve type

Change:

  • #1409 onTransform now doesn't include type as it isn't validated yet, creating confusion

Bug fix:

  • #1410 handle union derive/resolve property
  • probably fix mergeDeep attempted to assign to readonly property
  • derive/resolve inherit type in inline handler

Full Changelog: 1.4.5...1.4.6

In 1.4.5, we accidentally published Elysia as a dependency of beta Elysia, causing an unexpected debug log
We have fixed that and add a dependency check in the build pipeline to prevent that from happening again
so sowwy 'bout that 👉👈

Me (literally) asking you for forgiveness

Don't miss a new elysia release

NewReleases is sending notifications on new releases.