Avatar for the withastro user
withastro
astro
BlogDocsChangelog

Performance History

Latest Results

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
13 hours ago
feat: chuncked tests
feat/data-store-backend-abstraction
18 hours ago
chore: add changesets
chinna250801:fix/security-patches
1 day ago

Latest Branches

CodSpeed Performance Gauge
0%
Fix dev server crash when .html-suffixed requests hit dynamic endpoint routes#17299
17 hours ago
6223705
triagebot/fix-17297
CodSpeed Performance Gauge
0%
18 hours ago
72b6904
feat/data-store-backend-abstraction
CodSpeed Performance Gauge
0%
© 2026 CodSpeed Technology
Home Terms Privacy Docs