Releases: elysiajs/elysia
Releases · elysiajs/elysia
1.3.18
1.3.17
1.3.16
What's changed
Improvement:
sse
now infer typesse
now acceptsReadableStream
to return stream astext/event-stream
- refactor SSE handler
- support returning
ReadableStream
from generator or async generator
Change:
- sse no longer include generated id by default
Bug fix:
- static response now use callback clone instead of bind
Full Changelog: 1.3.15...1.3.16
1.3.15
What's changed
Bug fix:
- ValidationError.detail only handle custom error
Full Changelog: 1.3.13...1.3.15
1.3.14
What's new
Improvement:
- custom error on production mode
- add
ValidationError.withDetail
- add
withDetail
for additional error information
Full Changelog: 1.3.13...1.3.14
1.3.13
What's changed
Bug fix:
- important performance degration, exact mirror normalize doesn't apply correctly
- normalize optional property with special character
Change:
- update
exact-mirror
to0.1.6
Full Changelog: 1.3.12...1.3.13
1.3.12
1.3.11
1.3.10
1.3.9 - Flower of Dreamland
Named after 夢路の花 by Mitsukiyo
Elysia 1.3.9 is a significant milestone for Elysia
Basically, it's a big release bug without new feature
We have reviewed and closed almost 300 issues
updated and patched several bugs and edge cases
and refactor some behavior to align with your expectations
We will now focus on the development of Elysia 1.4
You can submit a feature request / proposal at Elysia 1.3 feedback
Feature
- #932 add
t.ArrayBuffer
,t.Uint8Array
Bug fix
- #459 route prefix should give type error when prefix is not start with '/'
- #669 add nullable field to t.Nullable for OpenAPI 3.0 spec
- #711 set default headers for non-aot
- #713 NotFoundError doesn't call onAfterResponse hook
- #771 skip body parsing if Content-Type is present but body is not
- #747 mapResponse inside mapError override error value
- #812 check for minItems length before array validation
- #833 cookie signing doesn't work in dynamic mode
- #859 clean non-root additionalProperties
- #924 decode path param
- #985 Nullable accept options
- #1028 string | string[] query parameter, reference array
- #1120 cannot set multiple cookies when response is a file
- #1124 validate url encoded query
- #1158 prevent side-effect from guard merge
- #1162 handle encoded space in array query string
- #1267 parse without contentType headers throw Bad Request
- #1274 support .use(undefined | false) for conditional plugin
- #1276 mapResponse with set inference produce invalid instruction
- #1268 using number instead of stringifed value for reporting validation error
- #1288 handle array query string in dynamic mode
- #1294 return status from
derive
andresolve
shouldn't callonError
- #1297, #1325 fix HTML imported pages in compiled apps
- #1319 fix array of plugin usage causes incorrect path aggregation
- #1323 don't duplicate error from plugin
- #1327 ensure that t.Date value is Date in Encode
- dynamic handle should handle named parser
- instanceof ElysiaCustomStatusResponse should return true when import from root Elysia module
Improvement
- remove
finally
from compose NotFoundError
should parse query if inferred- #853 Bun Static response now handle pre-compute
onRequest
, andonError
- prettify ElysiaWS type
- export
ElysiaCustomStatusResponse
- handle type-level status check in after response
Change
- status no longer make value as readonly
- afterResponse now call after response by scheduling setImmediate
- update memoirist to 0.4.0
- update exact-mirror to 0.1.5
New Contributors
- @mikoscz made their first contribution in #1325
- @miello made their first contribution in #1319
- @recanman made their first contribution in #1327
- @DaxServer made their first contribution in #1334
Full Changelog: 1.3.8...1.3.9

uohh Hinaji playing piano 😭