withastro
astro
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
feat: enhance changeset
leekeh:feat/step-2
2 hours ago
Update .changeset/export-logger.md Co-authored-by: Armand Philippot <git@armand.philippot.eu>
ronits2407:fix-17273-logger-type
3 hours ago
fix: update APIContext logger to AstroRuntimeLogger
ronits2407:fix-17273-logger-type
5 hours ago
chore: add changeset for AstroComponentLogger
ronits2407:fix-17273-logger-type
16 hours ago
Fix dev request signal listener cleanup
JonathahWasTaken:fix-dev-request-signal-listener-cleanup
22 hours ago
Fix dev server crash when .html-suffixed requests hit dynamic endpoint routes (#17299) * 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 * 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. --------- Co-authored-by: Matthew Phillips <matthew@matthewphillips.info>
main
23 hours ago
Update .changeset/pink-frogs-poke.md Co-authored-by: Armand Philippot <git@armand.philippot.eu>
triagebot/fix-13604
24 hours ago
chore: add changeset
triagebot/fix-13604
1 day ago
Latest Branches
CodSpeed Performance Gauge
-24%
feat: create new middleware mode `"on-request"`
#15686
2 hours ago
4cbf8d5
leekeh:feat/step-2
CodSpeed Performance Gauge
0%
feat: export AstroComponentLogger type
#17313
4 hours ago
fdf2260
ronits2407:fix-17273-logger-type
CodSpeed Performance Gauge
0%
Fix dev request signal listener cleanup
#17309
22 hours ago
76bc210
JonathahWasTaken:fix-dev-request-signal-listener-cleanup
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs