What's changed
Feature:
- treaty2: support type safe Server-Sent Events (SSE)
- treaty2: add utility type
Treaty.Data
,Treaty.Error
to extract data and error type from a route
Bug fix:
- elysia#823 treaty2: not generating for dynamic params at root
- treaty2: parse Date in object
- treaty2: #196 allow custom content-type
Change:
- minimum Elysia version is set to 1.3.18
Full Changelog: 1.3.2...1.3.3