github elysiajs/elysia 1.4.16

one day ago

What's Changed

Improvement:

  • ValidationError: add messageValue as an alias of errorValue
  • ValidationError.detail now accept optional 2nd parameter allowUnsafeValidatorDetails
  • macro: add introspect
  • prevent redundant route compilation
  • merge multiple macro resolve response

Bug fix:

  • #1543 respect toResponse() method on Error classes by @MarcelOlsen
  • #1537 websocket: ping/pong not being called
  • #1536 export ExtractErrorFromHandle by @likeon
  • #1535 skip response validation for generators and streams by @MarcelOlsen
  • #1531 typo in ElysiaTypeCustomErrorCallback: valdation to validation by @davipatricio
  • #1528 error in parsing request body validation errors with Zod
  • #1527 bracket handling in exact mirror
  • #1524 head request handler not working by @sunnylqm

New Contributors

Full Changelog: 1.4.15...1.4.16

Don't miss a new elysia release

NewReleases is sending notifications on new releases.