|
| 1 | +# 1.1.0 - 16 Jul 2024 |
| 2 | +Feature: |
| 3 | +- Trace v2 |
| 4 | +- Normalization is on by default |
| 5 | +- Data type coercion |
| 6 | +- Guard as, bulk as cast |
| 7 | +- Response status coercion |
| 8 | +- Optional path parameter |
| 9 | +- Generator response stream |
| 10 | + |
| 11 | +Breaking Change: |
| 12 | +- Parse value as string for all validators unless explicitly specified. |
| 13 | + - See [50a5d92](https://github.com/elysiajs/elysia/commit/50a5d92ea3212c5f95f94552e4cb7d31b2c253ad), [44bf279](https://github.com/elysiajs/elysia/commit/44bf279c3752c6909533d19c83b24413d19d27fa). |
| 14 | + - Remove objects auto-parsing in query unless explicitly specified via query |
| 15 | + - Except query string as defined in RFC 3986, TLDR; query string could be either string or array of string. |
| 16 | +- Rename `onResponse` to `onAfterResponse` |
| 17 | +- [Internal] Remove $passthrough in favor of toResponse |
| 18 | +- [Internal] UnwrapRoute type now always resolve with status code |
| 19 | + |
| 20 | +Improvement: |
| 21 | +- Add auto-complete for `set.headers` |
| 22 | +- Add `server` property |
| 23 | +- `onError` supports array function |
| 24 | +- Parse query object with and without schema |
| 25 | +- Sucrose: improve isContextPassToFunction, and extractMainParameter stability |
| 26 | +- Add `replaceSchemaType` |
| 27 | +- Add `route` to `context` |
| 28 | +- Optimize recursive MacroToProperty type |
| 29 | +- Parse query array and object |
| 30 | +- Optimize code path for `composeGeneralHandler` |
| 31 | +- Add debug report on compiler panic |
| 32 | +- Reduce memory usage of route registration ~36% on large codebase |
| 33 | + - Reduce compilation code path |
| 34 | + - Remove trace inference |
| 35 | + - Reduce router compilation code path |
| 36 | + - removing route handler compilation cache (st${index}, stc${index}) |
| 37 | +- Add undefined union to cookie in case if cookie is not present |
| 38 | +- Optimize response status resolve type inference |
| 39 | + |
| 40 | +Change: |
| 41 | +- Deprecated `ObjectString` for parsing array |
| 42 | +- Using `Cookie<unknown>` instead of `Cookie<any>` if schema is not defined |
| 43 | +- Remove prototype poluation from hook |
| 44 | +- remove static analysis for query name |
| 45 | +- remove query replace '+' in favor removing static query analysis |
| 46 | +- mapResponse is now called in error event |
| 47 | +- reconcilation decorator in type level |
| 48 | + |
| 49 | +Bug fix: |
| 50 | +- Normalize headers accidentally use query validator check instead |
| 51 | +- `onError` missing trace symbol |
| 52 | +- Headers validator compilation is not cached |
| 53 | +- Deduplicate macro propagation |
| 54 | +- Websocket in nested group now work |
| 55 | +- Error response is not check unless successful status code is provided |
| 56 | + |
1 | 57 | # 1.0.27 - 2 Jul 2024
|
2 | 58 | Bug fix:
|
3 | 59 | - [#640](https://github.com/elysiajs/elysia/issues/640) Unable to access root level macros in plugins
|
|
0 commit comments