withastro
astro
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
test(content): cover glob() deferRender; add changeset; only defer renderable entries
triagebot/fix-17301
19 hours ago
Add tests + changeset, simplify .html suffix handling in getParams - Compute the `.html` suffix check once (`hasHtmlSuffix`) instead of re-running `endsWith`/`routeHasHtmlExtension` across both branches. - Add regression tests for `.html` / `/index.html` requests to dynamic endpoint routes, plus a guard that endpoints capturing `.html` keep it. - Add a changeset.
triagebot/fix-17297
19 hours ago
Merge branch 'main' into fix-middleware-rewrite-404
fix-middleware-rewrite-404
19 hours ago
fix(content): add deferRender option to glob() loader to avoid OOM during content sync When glob() processes .md files, it eagerly renders them and stores the full HTML in the data store. For content with heavy rehype plugins (e.g. KaTeX), rendered HTML can be ~70x larger than source, exhausting memory for large collections. This adds a deferRender option to glob() that skips eager rendering and instead defers it until the entry is actually rendered in a page, matching the existing behavior for .mdx files. Usage: glob({ pattern: '**/*.md', base: 'src/content/docs', deferRender: true }) Fixes #17301
triagebot/fix-17301
20 hours ago
fix: strip .html suffix in getParams for non-page routes when pattern doesn't match In dev mode, the route matcher (dev.ts) strips .html and /index.html suffixes for all route types when retrying unmatched requests. However, getParams() only stripped .html for page routes, causing a mismatch: the endpoint route would be matched (via the dev.ts fallback) but FetchState would call getParams with the original .html-suffixed pathname, failing to extract params and throwing 'Missing parameter'. This fix adds a fallback in getParams for non-page routes: if the route pattern doesn't match the original pathname, try stripping .html or /index.html before giving up. This keeps the existing behavior for endpoints that genuinely capture .html in their params (the pattern matches the original path) while preventing the crash for .html-probing requests like those from netlify dev. Fixes #17297
triagebot/fix-17297
2 days ago
feat: chuncked tests
feat/data-store-backend-abstraction
2 days ago
fix(config-alias): skip data URIs in CSS url() alias resolution Data URIs like url('data:image/svg+xml;base64,...') were incorrectly matched by the baseUrl alias regex and passed to fs.statSync(), which throws ENAMETOOLONG when the base64 string exceeds the OS filename length limit (255 bytes). Add an early return in replaceAliases() to skip data: URIs since they are inline content, not file paths to resolve. Fixes #17293
triagebot/fix-17293
2 days ago
chore: add changesets
chinna250801:fix/security-patches
2 days ago
Latest Branches
CodSpeed Performance Gauge
0%
Add `deferRender` option to `glob()` loader to prevent OOM during content sync
#17302
19 hours ago
fd53e18
triagebot/fix-17301
CodSpeed Performance Gauge
0%
Fix dev server crash when .html-suffixed requests hit dynamic endpoint routes
#17299
19 hours ago
804c6c0
triagebot/fix-17297
CodSpeed Performance Gauge
0%
Render the custom 404 page when a middleware rewrite dead-ends in an empty 404
#17284
19 hours ago
ec41420
fix-middleware-rewrite-404
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs