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
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
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 b…
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, ModelsToTypes from root Full Changelog: 1.4.26...1.4.27
What's changed Bug fix: #1755 deduplicate local handler from global event #1752 system router with trailing path doesn't match with non-trailing url format redos #1747 parsing request from mount hang Full Changelog: 1.4.25...1.4.26
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
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
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 hea…
What's Changed Improvement: #1655 decode single values in ArrayQuery by @zoriya use imperative check for replaceURLPath instead of allocating new 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 sk…
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 @tt-a1i made their first contribution in #1624 @zoriya made their first contribution in #1654 Full Changelog: 1.4.20...1.4…
What's Changed Improvement: add ModelValidator.schema for accessing raw schema #1636 add subscriptions to Elysia.ws context #1638 unref Sucrose gc by @akim-bow Bug fix: #1649 add null check for object properties (t.Record) by @aymaneallaoui #1646 use constant-time comparison for signed cookie verification by @JNX03 #1639 compose: ReferenceError: "_r_r is not defined" when onError returns plain obj…