Astro adds experimental advanced routing
Astro 6.3.0 introduces experimental advanced routing, letting projects define `src/app.ts` and take over the request pipeline. It ships with `astro/fetch` for low-level control and `astro/hono` for teams that want Hono-style middleware composition.
This is a meaningful shift for Astro: it moves from file-based routing into a more programmable server pipeline without abandoning its existing mental model.
- –`src/app.ts` becomes the entrypoint for SSR requests, so teams can insert auth, logging, rate limits, or custom response handling at precise points
- –`astro/fetch` is the minimal path for people who want direct control over the request lifecycle
- –`astro/hono` is the pragmatic move: it lowers adoption friction for Hono users and makes Astro easier to fit into middleware-heavy stacks
- –The feature is still experimental, so early adopters should expect API churn, but the direction is clear: Astro wants a bigger role in full-stack app infrastructure
- –This is especially relevant for projects that like Astro’s frontend story but need more serious server-side routing control
DISCOVERED
2h ago
2026-05-07
PUBLISHED
2h ago
2026-05-07
RELEVANCE
AUTHOR
FredKSchott