withastro
astro
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
Fix prerendered Cloudflare pages rendering as [object Object] with nodejs_compat (#18011) When workerd runs with nodejs_compat, Astro's isNode check returns true, causing renderPage to pass an AsyncIterable body to the Response constructor. Workerd's Response does not support this non-standard Node.js extension and stringifies it to "[object Object]". Add isWorkerd detection (via navigator.userAgent) and wrap the AsyncIterable with ReadableStream.from() in workerd. This preserves the faster AsyncIterable render path while producing a standard BodyInit type that workerd accepts. A previous fix (PR #16720) modified isNode to exclude workerd but was reverted (PR #16997) because the renderToReadableStream fallback was slower. This approach avoids that regression by keeping renderToAsyncIterable and only wrapping the output. Fixes #18009 Co-authored-by: factory[bot] <factory[bot]@users.noreply.github.com> Co-authored-by: Matthew Phillips <matthewphillips@cloudflare.com>
main
7 minutes ago
Add spread-param case and issue link
shoutoutuoadi325:fix/redirect-param-replacement-patterns
12 minutes ago
Fix trailing-slash redirect body using incoming URL instead of redirect target (#18001)
factory/fix-18001
16 minutes ago
Add spread-param case and issue link
shoutoutuoadi325:fix/redirect-param-replacement-patterns
19 minutes ago
Merge branch 'main' into factory/fix-17974
factory/fix-17974
32 minutes ago
Merge branch 'main' into factory/fix-17991
factory/fix-17991
33 minutes ago
Merge branch 'main' into factory/fix-18010
factory/fix-18010
34 minutes ago
Merge branch 'main' into fix/17995-head-metadata-invalidation-loop
L4XB:fix/17995-head-metadata-invalidation-loop
48 minutes ago
Latest Branches
CodSpeed Performance Gauge
0%
Fix redirect targets when a param value contains a `$` replacement pattern
#18002
12 hours ago
dd41e31
shoutoutuoadi325:fix/redirect-param-replacement-patterns
CodSpeed Performance Gauge
0%
Fix trailing-slash redirect body to match the Location header target
#18018
1 day ago
a8dbf3b
factory/fix-18001
CodSpeed Performance Gauge
0%
Hash compiled CSS output in incremental build to detect Sass partial changes
#17994
38 minutes ago
d71650c
factory/fix-17974
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs