Closed renovate[bot] closed 1 month ago
Because you closed this PR without merging, Renovate will ignore this update (^1.0.21
). You will get a PR once a newer version is released. To ignore this dependency forever, add it to the ignoreDeps
array of your Renovate config.
If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.
shut up
This PR contains the following updates:
1.0.27
->1.1.3
Release Notes
elysiajs/elysia (elysia)
### [`v1.1.3`](https://togithub.com/elysiajs/elysia/blob/HEAD/CHANGELOG.md#113---17-Jul-2024) [Compare Source](https://togithub.com/elysiajs/elysia/compare/e12c04eb58cac73c0f025a06e4462aae923d90b7...8173d905944b8b305f8989985abe7760af681de9) Change: - sucrose: exact inference name - use `mapResponse` instead of `mapCompactResponse` for stream - [#727](https://togithub.com/elysiajs/elysia/issues/727) - defers first stream execution before returning response - [#729](https://togithub.com/elysiajs/elysia/issues/729) - [#722](https://togithub.com/elysiajs/elysia/issues/722) derive context is not passed to onError Bug fix: - `onError` with scope not being able to infer context type ### [`v1.1.2`](https://togithub.com/elysiajs/elysia/blob/HEAD/CHANGELOG.md#112---16-Jul-2024) [Compare Source](https://togithub.com/elysiajs/elysia/compare/b641de5b98215f67b952e231c63ad0ec6b3cbb87...e12c04eb58cac73c0f025a06e4462aae923d90b7) Bug fix: - [#724](https://togithub.com/elysiajs/elysia/issues/724), [bun#12594](https://togithub.com/oven-sh/bun/issues/12594) sucrose: possibly fix `bun build --compile` not being able to infer first, and last context parameter - derive is being override by resolve in certain function - [#722](https://togithub.com/elysiajs/elysia/issues/722) Type error with global `app.derive` followed by onError - params on `onError` is now `{ [key in string]: string }` instead of `never` - [#721](https://togithub.com/elysiajs/elysia/issues/721) unexpected isContextPassToFunction: minified whitespace of arrow function causing inaccurate separateFunction ### [`v1.1.1`](https://togithub.com/elysiajs/elysia/blob/HEAD/CHANGELOG.md#111---16-Jul-2024) [Compare Source](https://togithub.com/elysiajs/elysia/compare/7eb74d38771c12b5d23be3b5ebd133ffca7873ef...b641de5b98215f67b952e231c63ad0ec6b3cbb87) Breaking Change: - parse query as `string` instead of `string | string[]` unless specified ### [`v1.1.0`](https://togithub.com/elysiajs/elysia/blob/HEAD/CHANGELOG.md#110---16-Jul-2024) [Compare Source](https://togithub.com/elysiajs/elysia/compare/3d0adcf7e25d9044dce3ea541daa6d0272d91582...7eb74d38771c12b5d23be3b5ebd133ffca7873ef) Feature: - Trace v2 - Normalization is on by default - Data type coercion - Guard as, bulk as cast - Response status coercion - Optional path parameter - Generator response stream Breaking Change: - Parse value as string for all validators unless explicitly specified. - See [50a5d92](https://togithub.com/elysiajs/elysia/commit/50a5d92ea3212c5f95f94552e4cb7d31b2c253ad), [44bf279](https://togithub.com/elysiajs/elysia/commit/44bf279c3752c6909533d19c83b24413d19d27fa). - Remove objects auto-parsing in query unless explicitly specified via query - Except query string as defined in RFC 3986, TLDR; query string could be either string or array of string. - Rename `onResponse` to `onAfterResponse` - \[Internal] Remove $passthrough in favor of toResponse - \[Internal] UnwrapRoute type now always resolve with status code Improvement: - Add auto-complete for `set.headers` - Add `server` property - `onError` supports array function - Parse query object with and without schema - Sucrose: improve isContextPassToFunction, and extractMainParameter stability - Add `replaceSchemaType` - Add `route` to `context` - Optimize recursive MacroToProperty type - Parse query array and object - Optimize code path for `composeGeneralHandler` - Add debug report on compiler panic - Reduce memory usage of route registration ~36% on large codebase - Reduce compilation code path - Remove trace inference - Reduce router compilation code path - removing route handler compilation cache (st${index}, stc${index}) - Add undefined union to cookie in case if cookie is not present - Optimize response status resolve type inference Change: - Deprecated `ObjectString` for parsing array - Using `CookieConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.