# 1.4.8 - 10 Feb 2025 Bug fix: - override default header without type conflict # 1.4.7 - 10 Feb 2025 Feature: - [#236](https://github.com/elysiajs/eden/issues/236) reconcile default headers in type-level - [#206](https://github.com/elysiajs/eden/issues/206), [#245](https://github.com/elysiajs/eden/pull/245) add `parseDate` option Bug fix: - [#247](https://github.com/elysiajs/eden/pull/247), [#246](https://github.com/elysiajs/eden/issues/246) handle network error - [#244](https://github.com/elysiajs/eden/issues/244) don't skip index path name - [#241](https://github.com/elysiajs/eden/issues/241) prevent freeze from thenable - [#232](https://github.com/elysiajs/eden/issues/232) accept query array # 1.4.6 - 23 Dec 2025 Bug fix: - [#235](https://github.com/elysiajs/eden/pull/235) SSE stream parser with partial chunks - [#234](https://github.com/elysiajs/eden/pull/234) Handle network errors in treaty and edenFetch - [#230](https://github.com/elysiajs/eden/pull/230) properly await async headers functions in treaty - [#229](https://github.com/elysiajs/eden/pull/229) auto-stringify ArrayString/ObjectString in FormData - [#227](https://github.com/elysiajs/eden/pull/227) correct type inference for t.Date() in query parameters # 1.4.5 - 13 Nov 2025 Improvement: - export `EdenFetchError` Bug fix: - [#221](https://github.com/elysiajs/eden/pull/221) better handling for empty header and query types - use `ResponseInit['headers']` instead of `HeadersInit` for response headers type # 1.4.4 - 13 Oct 2025 Bug fix: - revert streaming transferEncoding chunked # 1.4.3 - 12 Oct 2025 Bug fix: - [elysia#1466](https://github.com/elysiajs/elysia/issues/1466) / treaty2: unpack multiple SSE chunk - [#213](https://github.com/elysiajs/eden/pull/213), [#214](https://github.com/elysiajs/eden/pull/214) stream response on `transfer-encoding: chunked` - [#201](https://github.com/elysiajs/eden/pull/201), [#203](https://github.com/elysiajs/eden/pull/203) error codes returned in middleware are not inferred by Eden Treaty - [#179](https://github.com/elysiajs/eden/pull/179) formdata post, wrong inference of json payload - [#124](https://github.com/elysiajs/eden/pull/124) array file upload bug on server - [#122](https://github.com/elysiajs/eden/pull/122) ws response data type # 1.4.1 - 14 Sep 2025 Bug fix: - inline object value / Elysia file cause type error - macro should not mark property as required # 1.4.0 - 13 Sep 2025 Improvement: - support Elysia 1.4 # 1.3.3 - 24 Aug 2025 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](https://github.com/elysiajs/elysia/issues/823) treaty2: not generating for dynamic params at root - treaty2: parse Date in object - treaty2: [#196](https://github.com/elysiajs/eden/issues/196) allow custom content-type Change: - minimum Elysia version is set to 1.3.18 # 1.3.2 - 5 May 2025 Bug fix: - Unwrap FormData # 1.3.1 - 5 May 2025 Bug fix: - [#193](https://github.com/elysiajs/eden/pull/193) t.Files() upload from server side #124 - [#185](https://github.com/elysiajs/eden/pull/185) exclude null-ish values from query encoding by @ShuviSchwarze # 1.3.0 - 5 May 2025 Feature: - support Elysia 1.3 Breaking Change: - treaty2: drop the need for `.index()` # 1.2.0 - 23 Dec 2024 Feature: - support Elysia 1.2 - Validation error inference # 1.1.3 - 5 Sep 2024 Feature: - add provenance publish # 1.1.2 - 25 Jul 2024 Feature: - [#115](https://github.com/elysiajs/eden/pull/115) Stringify query params to allow the nested object # 1.1.1 - 17 Jul 2024 Feature: - support conditional value or stream from generator function # 1.1.0 - 16 Jul 2024 Feature: - support Elysia 1.1 - support response streaming with type inference # 1.0.15 - 21 Jun 2024 Bug fix: - [#105](https://github.com/elysiajs/eden/pull/105) Unify parsing into a util and add support for Date inside object - [#100](https://github.com/elysiajs/eden/issues/100) Duplicated values when passing uppercase values for headers # 1.0.14 - 23 May 2024 Feature: - treaty2: add support for multipart/form-data - fetch: add support for multipart/form-data # 1.0.13 - 8 May 2024 Bug fix: - [#87](https://github.com/elysiajs/eden/pull/87) serialization/deserialization problems with null, arrays and Date on websocket messages #87 - [#90](https://github.com/elysiajs/eden/pull/90) Auto convert request body to FormData when needed # 1.0.12 - 23 Apr 2024 Improvement: - [#80](https://github.com/elysiajs/eden/pull/80) add package.json to export field Bug fix: - [#84](https://github.com/elysiajs/eden/pull/84) treaty2: adjusts the creation of the query string - [#76](https://github.com/elysiajs/eden/pull/76) treaty2: keep requestInit for redirect - [#73](https://github.com/elysiajs/eden/pull/73) treaty2: file get sent as json # 1.0.11 - 3 Apr 2024 Improvement: - treaty2: add dedicated `processHeaders` function - treaty2: simplify some headers workflow Change: - treaty2: using case-insensitive headers # 1.0.10 - 3 Apr 2024 Bug fix: - treaty2: skip content-type detection if provided # 1.0.9 - 3 Apr 2024 Change: - treaty2: `onRequest` execute before body serialization # 1.0.8 - 28 Mar 2024 Bug fix: - [#72](https://github.com/elysiajs/eden/pulls/72) treaty2: not mutate original paths array # 1.0.6 - 21 Mar 2024 Bug fix: - treaty2: default onResponse to null and mutate when need # 1.0.6 - 21 Mar 2024 Change: - treaty2: use null as default error value instead of undefined # 1.0.5 - 20 Mar 2024 Feature: treaty2: add `keepDomain` option Change: - treaty2: use null as default data value instead of undefined Fix: - treaty2: aligned schema with elysia/ws - treaty: use uppercase http verbs # 1.0.4 - 18 Mar 2024 Bug fix: - Using regex for date pattern matching # 1.0.2 - 18 Mar 2024 Feature: - support for elysia 1.0.2 # 1.0.0 - 16 Mar 2024 Feature: - treaty2 Bug fix: - treaty1: fix [object Object] when body is empty # 0.8.1 - 8 Jan 2024 Bug fix: - [#41](https://github.com/elysiajs/eden/pull/41) params now optional for paramless routes in edenFetch - [#39](https://github.com/elysiajs/eden/pull/39) transform entire object returned by execute # 0.8.0 - 23 Dec 2023 Feature: - Support Elysia 0.8 # 0.7.7 - 15 Dec 2023 Bug fix: - treaty: [#36](https://github.com/elysiajs/eden/pull/36) FileArray send [ object Promise ] instead binary - treaty: [#34](https://github.com/elysiajs/eden/pull/34) Add a way to get the unresolved Response for corner case support # 0.7.6 - 6 Dec 2023 Feature: - treaty: add 2nd optional parameter for sending query, header and fetch Bug fix: - treaty: send array and primitive value [#33](https://github.com/elysiajs/eden/issues/33) - treaty: fix filename in FormData [#26](https://github.com/elysiajs/eden/pull/26) - remove 'bun-types' from treaty # 0.7.5 - 23 Oct 2023 Bug fix: - treaty: handle `File[]` # 0.7.4 - 29 Sep 2023 Feature: - [#16](https://github.com/elysiajs/eden/issues/16) add transform # 0.7.3 - 27 Sep 2023 Bug fix: - using uppercase method name because of Cloudflare proxy # 0.7.2 - 22 Sep 2023 Bug fix: - resolve 'FileList' type - using rimraf to clear previous build - fix edenTreaty type is undefined when using moduleResolution: bundler # 0.7.1 - 21 Sep 2023 Bug fix: - type panic when `Definitions` is provided # 0.7.0 - 20 Sep 2023 Improvement: - update to Elysia 0.7.0 Change: - remove Elysia Fn # 0.6.5 - 12 Sep 2023 Bug fix: - [#15](https://github.com/elysiajs/eden/pull/15) fetch: method inference on route with different methods - [#17](https://github.com/elysiajs/eden/issues/17) treaty: api.get() maps to request GET /ge instead of / # 0.6.4 - 28 Aug 2023 Change: - use tsup to bundle # 0.6.3 - 28 Aug 2023 Feature: - add query to Eden Fetch thanks to [#10](https://github.com/elysiajs/eden/pull/10) # 0.6.2 - 26 Aug 2023 Feature: - add the `$fetch` parameters to Eden Treaty - add the following to response: - status - indicating status code - raw - Response - headers - Response's headers Improvement: - rewrite Eden type to New Eden - LoC reduced by ~35% - Faster type inference ~26% # 0.6.1 - 17 Aug 2023 Feature: - add support for Elysia 0.6.7 # 0.6.0 - 6 Aug 2023 Feature: - add support for Elysia 0.6 # 0.5.6 - 10 Jun 2023 Improvement: - treaty: Add custom fetch implementation for treaty # 0.5.5 - 10 Jun 2023 Improvement: - treaty: Automatic unwrap `Promise` response Bug fix: - treaty: query schema is missing # 0.5.4 - 9 Jun 2023 Improvement: - Awaited response data # 0.5.3 - 25 May 2023 Improvement: - treaty: add support for Bun file uploading # 0.5.2 - 25 May 2023 Improvement: - add types declaration to import map Bug fix: - add tsc to generate .d.ts # 0.5.1 - 25 May 2023 Bug fix: - treaty: type not found - treaty: query not infers type # 0.5.0 - 15 May 2023 Improvement: - Add support for Elysia 0.5 # 0.4.1 - 1 April 2023 Improvement: - Sometime query isn't required # 0.4.0 - 30 Mar 2023 Improvement: - Add support for Elysia 0.4 # 0.3.2 - 20 Mar 2023 Improvement: - File upload support for Eden Treaty # 0.3.1 - 20 Mar 2023 Improvement: - Path parameter inference # 0.3.0 - 17 Mar 2023 Improvement: - Add support for Elysia 0.3.0 # 0.3.0-rc.2 - 17 Mar 2023 Breaking Change: - Eden Fetch error handling use object destructuring, migration as same as Eden Treaty (0.3.0-rc.1) # 0.3.0-rc.1 - 16 Mar 2023 Improvement: - Update @sinclair/typebox to 0.25.24 Breaking Change: - Eden Treaty error handling use object destructuring - To migrate: ```ts // to const anya = await client.products.nendoroid['1902'].put({ name: 'Anya Forger' }) // From const { data: anya, error } = await client.products.nendoroid['1902'].put({ name: 'Anya Forger' }) ``` # 0.3.0-rc.0 - 7 Mar 2023 Improvement: - Add support for Elysia 0.3.0-rc.0 # 0.3.0-beta.4 - 4 Mar 2023 Improvement: - Separate Eden type - Rewrite Eden Treaty # 0.3.0-beta.3 - 1 Mar 2023 Improvement: - Add support for Elysia 0.3.0-beta.5 # 0.3.0-beta.2 - 28 Feb 2023 Improvement: - Optimize type inference # 0.3.0-beta.1 - 27 Feb 2023 Improvement: - Add TypeBox as peer dependencies - Minimum support for Elysia >= 0.3.0-beta.3 # 0.3.0-beta.0 - 25 Feb 2023 Fix: - Eden doesn't transform path reference # 0.2.1 - 27 Jan 2023 Feature: - Elysia Fn - Error type inference Breaking Change: - Error type inference # 0.2.0-rc.9 - 27 Jan 2023 Improvement: - Add params name for warning instead of `$params` - Add warning to install Elysia before using Eden # 0.2.0-rc.8 - 24 Jan 2023 Fix: - Add support for Elysia WS which support Elysia 0.2.0-rc.1 # 0.2.0-rc.7 - 24 Jan 2023 Fix: - Resolve Elysia 0.2.0-rc.1 type # 0.2.0-rc.6 - 24 Jan 2023 Improvement: - Set minimum Elysia version to 0.2.0-rc.1 # 0.2.0-rc.5 - 19 Jan 2023 Improvement: - Handle application/json with custom encoding # 0.2.0-rc.4 - 19 Jan 2023 Change: - It's now required to specified specific version to use elysia # 0.2.0-rc.3 - 7 Jan 2023 Improvement: - Add `$params` to indicate any string params Bug fix: - Sometime Eden doesn't infer returned type # 0.2.0-rc.2 - 5 Jan 2023 Improvement: - Auto switch between `ws` and `wss` # 0.2.0-rc.1 - 4 Jan 2023 Breaking Change: - Change HTTP verb to lowercase Feature: - Support multiple path parameters Bug fix: - Required query in `subscribe` - Make `unknown` type optional - Add support for non-object fetch # 0.2.0-rc.0 - 3 Jan 2023 Feature: - Experimental support for Web Socket # 0.1.0-rc.6 - 16 Dec 2022 Feature: - Auto convert number, boolean on client # 0.1.0-rc.4 - 16 Dec 2022 Feature: - Using `vite` for bundling # 0.1.0-rc.3 - 13 Dec 2022 Bug fix: - Map error to `.catch` # 0.1.0-rc.2 - 13 Dec 2022 Feature: - Add camelCase transformation