| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| 7.7.1 source code.tar.gz | 2026-07-22 | 1.9 MB | |
| 7.7.1 source code.zip | 2026-07-22 | 2.3 MB | |
| README.md | 2026-07-22 | 1.3 kB | |
| Totals: 3 Items | 4.1 MB | 1 | |
What's Changed
- chore(deps): bump the everything group with 3 updates by @dependabot[bot] in https://github.com/middyjs/middy/pull/1660
- chore(deps): bump the everything group with 3 updates by @dependabot[bot] in https://github.com/middyjs/middy/pull/1663
- chore(deps): bump the everything group with 5 updates by @dependabot[bot] in https://github.com/middyjs/middy/pull/1664
- Fix: [#1661] by @willfarrell in https://github.com/middyjs/middy/pull/1662
Fixes
- core: fix async context loss across middleware (closes [#1661]). The await runMiddlewares() helper pinned the handler continuation before the AsyncLocalStorage store was set via enterWith, so values written to request.context weren't visible downstream. The before/after/onError loops are now inlined directly into runRequest, keeping the store on the running continuation. No API change. (544cd89e1)
- core: handle empty readable streams in streamify response mode. Zero-length bodies now flush the response prelude correctly instead of hanging/omitting it. (3c4e9706c)
- core: micro-optimizations across util, http-content-negotiation, and http-x402; dropped the unused undici dev dependency and some dead util exports/fuzz scaffolding. (05ef0721f)
Full Changelog: https://github.com/middyjs/middy/compare/7.7.0...7.7.1