Releases: elysiajs/elysia
Releases · elysiajs/elysia
1.2.10
Feature:
- add shorthand property for macro function
Improvement:
- use
deuri
instead offast-decode-uri-component
- #985 MaybeEmpty and Nullable should have options args
Bug fix:
- Macro function doesn't inherits local/scoped derive and resolve in type-level
Full Changelog: 1.2.9...1.2.10
1.2.9
Bug fix:
- Resolve macro unintentionally return instead of assign new context
Full Changelog: 1.2.8...1.2.9
1.2.8
1.2.7
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 withmapResponse
onError
now acceptserror
asnumber
whenElysia.error
is thrown (but not returned)
Full Changelog: 1.2.6...1.2.7
1.2.6
1.2.5
1.2.4
1.2.3
Full Changelog: 1.2.2...1.2.3
What's Changed
- #973 Parsing malformed body results in
UNKNOWN
-Error instead ofParseError
- #971 remove top level import, use dynamic import instead
- #969 Invalid context on
.onStart
,.onStop
- #965 [Composer] failed to generate optimized handler. Unexpected identifier 'mapCompactResponse'
- #962 fix schema default value when AOT is of
- decorator name with space is not working
Full Changelog: 1.2.2...1.2.3
1.2.2
1.2.1
Bug fix:
- conditional import for fs
- object macro parameter maybe array
- optional return for macro
Full Changelog: 1.1.27...1.2.1