v1.0.0-beta.2
v1.0.0-beta.2
waku
Release Notes
This release includes a breaking change, along with bug fixes and improvements.
Here's the summary:
Before (waku/server) |
After (waku/router/server) |
|---|---|
unstable_getContext() returning { req, nonce, data } |
unstable_getRequest() returning Request |
unstable_getHeaders() |
unstable_getHeaders() (moved module) |
unstable_getContextData() |
removed, bring your own AsyncLocalStorage |
context.nonce = ... |
unstable_setNonce(nonce) |
For more information, see #2118.
What's Changed
- chore(deps): update dependencies by @dai-shi in https://github.com/wakujs/waku/pull/2104
- fix(adapters/cloudflare): check production worker by @dai-shi in https://github.com/wakujs/waku/pull/2105
- fix: one more validation before parsing request body by @dai-shi in https://github.com/wakujs/waku/pull/2106
- feat(adapters): add bodyLimit middleware by @dai-shi in https://github.com/wakujs/waku/pull/2107
- refactor(workflows): no longer uesed merge-group trigger by @dai-shi in https://github.com/wakujs/waku/pull/2108
- fix(router): add slice config check in define-router by @dai-shi in https://github.com/wakujs/waku/pull/2109
- fix(adapters): bodyLimit order by @dai-shi in https://github.com/wakujs/waku/pull/2110
- refactor: read debug id header only in dev by @dai-shi in https://github.com/wakujs/waku/pull/2111
- refactor(router): add stricter check in define-router by @dai-shi in https://github.com/wakujs/waku/pull/2112
- fix: sanitize log string by @dai-shi in https://github.com/wakujs/waku/pull/2113
- feat(adapters): pass
appto middleware by @dai-shi in https://github.com/wakujs/waku/pull/2114 - refactor waku internals by @dai-shi in https://github.com/wakujs/waku/pull/2115
- fix(router): warm prefetched route navigations by @jxom in https://github.com/wakujs/waku/pull/2100
- breaking: handler interceptors instead of context storage by @dai-shi in https://github.com/wakujs/waku/pull/2118
Full Changelog: https://github.com/wakujs/waku/compare/v1.0.0-beta.1...v1.0.0-beta.2