Releases: elysiajs/elysia
Releases · elysiajs/elysia
1.1.25
What's Changed
- Avoid response normalization side-effects by @crishoj in #905
- fix: boolean-string converted to string by @0xthierry in #908
- 🔧 fix: handle
error()
in resolve withaot: false
by @crishoj in #889 - don't minify identifiers in bun bundle
Full Changelog: 1.1.24...1.1.25
1.1.24
What's Changed
- 🔧 fix: Upgrade Cookie to 0.7.x, fix CVE-2024-47764 by @nathankleyn in #891
- fix: typebox object schemas without properties key by @0xthierry in #903
- fix: unwrap transform errors by @crishoj in #885
New Contributors
- @nathankleyn made their first contribution in #891
- @0xthierry made their first contribution in #903
- @crishoj made their first contribution in #885
Full Changelog: 1.1.23...1.1.24
1.1.23
What's new
Bug fix:
- Handle object with
.then
even if it's not promise (looking at you, Drizzle)
Full Changelog: 1.1.22...1.1.23
1.1.22
What's new
Bug fix:
- Fix
set-cookie
to resent if value is accessed even without set
Full Changelog: 1.1.21...1.1.22
1.1.21
What's new
Improvement:
- infer 200 response from handle if not specified
Full Changelog: 1.1.20...1.1.21
1.1.20
What's new
Bug fix:
- merge guard and not specified hook responses status
Full Changelog: 1.1.19...1.1.20
1.1.19
1.1.18
What's new
Breaking change:
- remove automatic conversion of 1-level deep object with file field to formdata
- migration: wrap a response with
formdata
- migration: wrap a response with
- (internal): remove
ELYSIA_RESPONSE
symbol - (internal)
error
now useclass ElysiaCustomStatusResponse
instead of plain object
Improvement:
- Optimize
object type
response mapping performance
Full Changelog: 1.1.17...1.1.18
1.1.17
What's new
Change:
- Coerce number to numeric on body root automatically
- Coerce boolean to booleanString on body root automatically
Bug fix:
- #838 invalid
onAfterResponse
typing - #855 Validation with Numeric & Number options doesn't work
- #843 Resolve does not work with aot: false
Full Changelog: 1.1.16...1.1.17
1.1.16
What's new
Bug fix:
- separate between
createStaticHandler
andcreateNativeStaticHandler
for maintainability - performance degradation using inline fetch on text static response and file
Full Changelog: 1.1.15...1.1.16