Releases: elysiajs/elysia
Releases · elysiajs/elysia
1.2.22
1.2.21
1.2.20
1.2.19
1.2.18
What's new
Bug fix:
- duplicated static route may cause index conflict resulting in incorrect route
Full Changelog: 1.2.17...1.2.18
1.2.17
1.2.16
What's new
Improvement:
AfterHandlerinfer response type
Change:
- #1068 update
@sinclair/typeboxto0.34.27
Bug fix:
- #1075 nested async plugins mismatch routes to handlers
- #1073 file type validation not working (regression from 1.2.13)
- #1070 .mount is mutating the incoming request method
- mount path is incorrect when using prefix with trailing
* - #873 add
experimental.encodeSchemafor customTransformEncode type
Full Changelog: 1.2.15...1.2.16

1.2.15
What's new
Bug fix:
- #1067 recompile async plugin once registered
- #1052 webSocket errors not getting catched by error handler
- #1038 incorrect type inference with deferred modules leads to TypeErrors in runtime
- #1015 using a model by name in route query leads to type mispatch, yet validation succeeds if doesn't use Ref
- #1047 ampersand in URL search params is discarded
- detect
Transforminsidet.ArrayinhasTransform
Improvement:
- add test cases for
hasTransform hasTransformnow supports Union, Intersect- remove redundant
decodeURIComponentin nested query
Full Changelog: 1.2.14...1.2.15

1.2.14
What's new
Feature:
- parse nuqs string array format if query is specified as
t.Array(t.String())
Improvement:
- handle recursive nested async plugin
- Response now handle proxy streaming
- #971 wrap import("fs/promises") AND wrap import("fs") in try-catch to avoid error (silly me, tee-hee~)
- handle nested array property swap for
replaceSchemaType
Breaking Change:
- [Internal]
Elysia.modulesnow return void
Full Changelog: 1.2.13...1.2.14

1.2.13
What's new
Improvement:
- #977 use Registry instead of TypeSystem
- remove redundant switch-case for path mapping when strictPath is disabled and path is overlapped
- remove redundant allocation for nativeStaticHanlder when strictPath path is overlapped
Bug fix:
- #1062 correctly set t.Date() defaults
- #1050 app.onRequest(ctx => {ctx.server}): Can't find variable: getServer
- #1040 undefined route context on aot=false
- #1017 replace t.Number() for Type.Integer()
- #976 error responses with aot: false
- #975 await nested async plugins
- #971 wrap import("fs/promises") in try-catch to avoid error
- discord file format doesn't check for '*' format
New Contributors
- @aaronsheah made their first contribution in #1062
- @and-rose made their first contribution in #1017
- @rtritto made their first contribution in #870
Full Changelog: 1.2.12...1.2.13