What's Changed
Improvement:
- ValidationError: add
messageValueas an alias oferrorValue - 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
- @likeon made their first contribution in #1536
- @davipatricio made their first contribution in #1531
Full Changelog: 1.4.15...1.4.16