withastro
astro
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
fix: trailing slash redirect loop with non-root base, use helper functions - Handle base + '/' concatenation artifact when trailingSlash is 'never' to prevent redirect loops on index routes like /docs - Use removeBase() from @astrojs/internal-helpers/path instead of manual string slicing throughout hono.ts and pages.ts - Fix index route matching for trailingSlash: 'never' with non-root base
hono
2 hours ago
refactor: restore base URL once and early, remove originalUrlSymbol Consolidate base URL handling so the base is stripped once by the Vite base middleware, then restored once in createAstroServerApp. The entire downstream pipeline (Hono middleware, Pages, RenderContext) now sees base-prefixed URLs matching production behavior. - Remove originalUrlSymbol and all save/restore plumbing - Remove #baseStripped flag from Pages (renamed to #isDev for dev-only behavior) - Router always uses manifest.base; Pages.#getPathnameFromRequest always strips it - Hono middlewares (redirects, actions, i18n) call removeBase() from @astrojs/internal-helpers/path where base-stripped pathnames are needed
hono
2 hours ago
fix: custom 404 rendering, locals propagation, and HMR content updates - Render custom 404/500 pages directly in dev instead of fetching prerendered HTML, so Astro.url reflects the requested path - Add clientLocalsSymbol and forward integration-set locals from the IncomingMessage to the Hono request so Astro.locals works in 404 pages - Invalidate cached user app on file changes (not just add/unlink) so HMR content updates like markdown edits are picked up
hono
3 hours ago
fix: base URL restoration, redirect encoding, HMR cache invalidation - Restore base-prefixed URL before prerender query-strip to prevent originalUrlSymbol from being lost by new Request() - Remove encodeURI on redirect location to prevent double-encoding of already-encoded special characters - Add invalidate() to cached user app and call it on file add/unlink in srcDir so HMR picks up new/removed pages - Skip core-image error log tests (logger not propagated to DevApp)
hono
4 hours ago
fix: HTTP/2 support, prerender 404 handling, and user app module caching - Use :authority pseudo-header for HTTP/2 requests and skip statusMessage which HTTP/2 does not support - Catch NoMatchingStaticPathFound in Pages.render() and return 404 instead of 500 for prerendered routes with no matching static path - Cache the Hono user app instance to avoid re-evaluation caused by virtual:astro:component-metadata invalidation cascading through the import chain on every file-watcher event
hono
4 hours ago
fix(astro): handle case-insensitive paths when matching style modules On case-insensitive filesystems (Windows, macOS), running dev from a path whose casing differs from the canonical filesystem path (e.g. d:\dev\astro-demo vs D:\dev\astro-demo) caused inline <style> blocks to be silently dropped. The HMR handler compared file paths using strict equality, which failed when the casing of ctx.file differed from the key stored in the compile metadata map. Normalize path casing for comparison on case-insensitive platforms only (win32 and darwin), leaving Linux behavior completely unchanged. Fixes withastro/astro#14013
slegarraga:fix/issue-14013
4 hours ago
fix(astro): handle case-insensitive paths when matching style modules\n\nOn case-insensitive filesystems (Windows, macOS), running \nfrom a path with different casing than the canonical filesystem path\n(e.g. d:\dev\astro-demo vs D:\dev\astro-demo) caused inline\n<style> blocks to be silently dropped. The root cause was that the\nHMR handler compared file paths using strict equality, which failed\nwhen the casing of ctx.file differed from the key stored in the\ncompile metadata map.\n\nThis change normalizes path casing for comparison on case-insensitive\nplatforms only (win32/darwin), leaving Linux behavior completely\nunchanged.\n\nFixes withastro/astro#14013
slegarraga:fix/issue-14013
4 hours ago
fix: resolve type errors in example app - Widen context() to accept any HonoContext, not just AstroHonoEnv - Use z.email() instead of deprecated z.string().email() (Zod 4) - Return next() so all code paths return a value
hono
5 hours ago
Latest Branches
CodSpeed Performance Gauge
-30%
Prototype: composable Hono middleware for Astro (astro/hono)
#16208
2 hours ago
b702385
hono
CodSpeed Performance Gauge
0%
fix(astro): handle case-insensitive paths when matching style modules
#16237
5 hours ago
c544c5f
slegarraga:fix/issue-14013
CodSpeed Performance Gauge
0%
fix : astro image position prop bug
#16236
7 hours ago
8883c77
fkatsuhiro:fix/astro-image-position-prop-bug
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs