Skip to content

Releases: elysiajs/elysia

1.3.21

31 Aug 13:02
dafd31b

Choose a tag to compare

Bug fix:

  • #1356 webSocket validation error handling in BunAdapter
  • #1358 allow overriding websocket handler with listen options
  • #1365 check if the plugin.constructor (fix import module in Bun 1.2.21)
  • #1367 .trace hooks (onAfterResponse, etc...) not being called
  • #1369 don't block microtask queue in SSE

New Contributors

Full Changelog: 1.3.20...1.3.21

Absolute Cinema

1.3.20

24 Aug 14:37
7d52294

Choose a tag to compare

What's changed

Change:

  • mime is undefined when using Elysia.file in Web Standard Adapter

Full Changelog: 1.3.19...1.3.20

1.3.19

24 Aug 13:52
216e70d

Choose a tag to compare

What's changed

Change:

  • #1357 return Response proxy as-is

Bug fix:

Full Changelog: 1.3.18...1.3.19

1.3.18

22 Aug 21:07
fdd2f5a

Choose a tag to compare

What's changed

Bug fix:

  • ReadableStream is not pass to handleStream in mapCompactResponse, and mapEarlyResponse

Full Changelog: 1.3.17...1.3.18

1.3.17

22 Aug 18:45
9c68be6

Choose a tag to compare

What's changed

Bug fix:

  • #1353 normalize encodeSchema with Transform

Full Changelog: 1.3.16...1.3.17

1.3.16

22 Aug 18:15
f0977c6

Choose a tag to compare

What's changed

Improvement:

  • sse now infer type
  • sse now accepts ReadableStream to return stream as text/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

21 Aug 14:51
fe59894

Choose a tag to compare

What's changed

Bug fix:

  • ValidationError.detail only handle custom error

Full Changelog: 1.3.13...1.3.15

1.3.14

21 Aug 13:55
b99a587

Choose a tag to compare

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

19 Aug 14:11
c522d67

Choose a tag to compare

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 to 0.1.6

Full Changelog: 1.3.12...1.3.13

1.3.12

19 Aug 12:12
d1eee9c

Choose a tag to compare

What's changed

Bug fix:

  • #1348 onAfterResponse runs twice if NotFoundError thrown and onError provided

Full Changelog: 1.3.11...1.3.12