Skip to content

1.2.7

Compare
Choose a tag to compare
@SaltyAom SaltyAom released this 27 Dec 12:24
· 11 commits to main since this release
41f5db7

Bug fix

  • macro doesn't work with guard
  • #981 unable to deference schema, create default, and coerce value
  • #966 error's value return as-if when thrown
  • #964 InvalidCookieSignature errors are not caught by onError
  • #952 onAfterResponse does not provide mapped response value unless aot is disabled
  • mapResponse.response is {} if no response schema is provided
  • Response doesn't reconcile when handler return Response is used with mapResponse
  • onError now accepts error as number when Elysia.error is thrown (but not returned)

Full Changelog: 1.2.6...1.2.7