Repository navigation
Releases: elysiajs/elysia
Releases · elysiajs/elysia
Release list
1.4.30
What's changed
The current development effort will be focused in Elysia 2, see kiana and beta release note.
1.4.x will only publish security updates, no new features.
Chore:
- update test case for Bun 1.4
Advisory:
- GHSA-gmm9-qwx3-2m3h
- GHSA-2p5p-r4r9-f9jm
- GHSA-3958-wq4x-729c
- GHSA-46qc-v7pw-4j7j
- GHSA-mx4m-hmpr-4w39
Full Changelog: 1.4.29...1.4.30
1.4.29
What's changed
Improvement:
- normalize a multipart/form-data with .get instead of .getAll for faster performance
Full Changelog: 1.4.28...1.4.29
1.4.28
What's new
Feature:
- #1803 stream response with pull based backpressure
- #1802 handle range header for file/blob response
- #1722, #1741 direct ReadableStream perf blow-up
Bug fix:
- #1805 dynamic imports inside .guard not registering routes
- #1771 breaks Bun HTML imports
- #1797 await mapped error response promise
- #1794 merge app cookie config into route cookie validator config
- #1796 check custom parser by full name
- #1795 write transformed cookie value to cookie entry directly
- #1793 use cookie schema for cookie noValidate check
- #1792 throw ValidationError instead of boolean in response encode path
- detect HTML bundle when inline response is Promise
Change:
- #1613 export
ElysiaTypeCustomErrors - remove Bun specific built
- export
AnySchema,UnwrapSchema,ModelsToTypesfrom root - conditional set headers of String and Object when no set.headers is set
New Contributors
- @MegaManSec made their first contribution in #1797
- @ap0nia made their first contribution in #1613
Full Changelog: 1.4.27...1.4.28
1.4.27
What's changed
Bug fix:
- getSchemaValidator: handle TypeBox as sub type
- handle cookie prototype pollution when parsing cookie
Improvement:
- conditional async on getSchemaValidator when schema is Standard Schema
- use Response.json on Bun
- export
AnySchema,UnwrapSchema,ModelsToTypesfrom root
Full Changelog: 1.4.26...1.4.27
1.4.26
1.4.25
What's changed
Feature:
- export ElysiaStatus
Bug fix:
- macro with conflict literal value per status
- recursive macro with conflict value per status
Full Changelog: 1.4.24...1.4.25
1.4.24
What's Changed
Feature:
- graceful unsigned cookie transition
Bug fix:
- #1733 preserve multiple set-cookie headers in mounted handlers by @cipher416
- object cookie with secret doesn't deserialized after parsed
New Contributors
- @cipher416 made their first contribution in #1733
Full Changelog: 1.4.23...1.4.24
1.4.23
What's Changed
Feature:
- #1719 add t.Union/t.Intersection handling in property enumerations/checks
- #1697 extend complex formdata support to StandardSchema
- #1656 serialize custom array-like custom class with array sub class
Bug fix:
- #1721 Promise with response schema
- #1700 distinct union object
- #1683 response validation returns 500 instead of 422 for nested schemas in dynamic mode
- #1679 preserve headers when throwing from AsyncGenerator
- #1595 stream reference should point to teed value
- fix can't modify immutable headers error
Change:
- update exact-mirror to 0.2.7
New Contributors
Full Changelog: 1.4.22...1.4.23
1.4.22
What's Changed
Improvement:
- #1655 decode single values in ArrayQuery by @zoriya
- use imperative check for
replaceURLPathinstead of allocatingnew URL - reduce ts-ignore/ts-expect-error on promise map handler
Bug fix:
- #1671 mount produces incorrect URL path when Elysia instance has prefix option
- #1617, #1623 AOT compilation removes beforeHandle when using arrow function expression by @tt-a1i
- #1667 skip body parsing on mount with dynamic mode
- #1662 custom thenable fallback in
mapCompactResponsecausing runtime crash with undefined variable by @raunak-rpm - #1661, #1663 fix SSE double-wrapping bug when returning pre-formatted Response by @raunak-rpm in
- ValueError with summary missing types
- Elysia not using Bun.routes by default
New Contributors
- @raunak-rpm made their first contribution in #1663
Full Changelog: 1.4.21...1.4.22
1.4.21
What's Changed
Improvement:
- #1654 encode t.Date() to iso string by @zoriya
- #1624 apply macros before merging hooks in group method by @tt-a1i
Bug fix:
- call Sucrose GC unref when possible (browser fallback)
- add allowUnsafeValidationDetails to Standard Validator
New Contributors
Full Changelog: 1.4.20...1.4.21