withastro
astro
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Optimizations
Branches
Benchmarks
Runs
Performance History
Latest Results
feat: treat Vite's resolved outDir values as the source of truth for build output (#18112) (#18313) Backport of #18112 from next to main. Generated assets, build hook `dir` values, and SSR manifest paths use the resolved client, server, and prerender environment outDirs. Custom prerenderer factories receive these via a new context argument. Vite manifest cleanup is deferred until all buildApp hooks complete. (cherry picked from commit c68d737f2de8ef8d3c1c0ba455dccbf2563fa7da) Co-authored-by: James Opstad <13586373+jamesopstad@users.noreply.github.com> Co-authored-by: ematipico <estoppa@cloudflare.com>
main
5 hours ago
Merge main into backport/18112-outdir-source-of-truth Resolves conflicts between this backport's outDir-source-of-truth refactor and main's independent build-timings instrumentation (buildPhase/withBuildTimings) and custom-prerenderer-factory context argument changes, both of which touch the same build/generate pipeline. Keeps the resolved outputDirectories plumbing (common.ts's getOutFolder/getOutFile signatures, static-build.ts's resolvedOpts + try/finally manifest cleanup) while wrapping the manifest injection, asset rearranging, and page generation calls in main's buildPhase timing wrappers, and keeps main's extra generatePages(..., builder) argument and settingsPrerenderer(defaultPrerenderer, { outputDirectories }) context argument together.
backport/18112-outdir-source-of-truth
5 hours ago
feat(fonts): warn on invalid properties (#17830) * feat(fonts): warn on invalid properties * refactor(fonts): don't expose fetch() in the provider init context `FontProviderInitContext` mirrored unifont's `ProviderContext`, so `fetch()` leaked into Astro's public API even though only the built-in providers, which wrap unifont providers, ever need it. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AsXXAgde5nsXg64q9jTAAH * wip * feat(fonts): update unifont to v1 and expose `fetch()` to providers `unifont@1.0` keeps `fetch` required on its provider context, which the font resolver already forwards to `init()`. Restoring `fetch` on `FontProviderInitContext` makes the documented 3rd-party unifont provider pattern typecheck without a cast. * Update .changeset/gentle-tires-add.md --------- Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
main
5 hours ago
Fix `image.service` type annotation for docs (#18379) Co-authored-by: delucis <357379+delucis@users.noreply.github.com>
main
6 hours ago
Fix `image.service` type annotation for docs
armand/fix-image-service
6 hours ago
fix(transitions): run script onload and onerror attributes on navigation The router waited for external scripts by assigning `onload` and `onerror`, which clobbered the page's own handler or was clobbered by it. Wait with listeners added after the attributes are copied, so the handler runs first and `astro:page-load` fires after it, as on a full page load.
ahtcx:fix-router-script-listeners
7 hours ago
Add `notFound()` handler to `astro/hono` and `astro/fetch` so prerendered 404 pages are served in custom worker entries (#18265) * Add notFound() handler to astro/fetch and astro/hono for unmatched routes * docs(cloudflare): include notFound() in astro/hono usage example --------- Co-authored-by: factory[bot] <factory[bot]@users.noreply.github.com> Co-authored-by: Matthew Phillips <matthew@matthewphillips.info>
main
8 hours ago
docs: update legacy flags JSDocs to generate their reference in docs
armand/legacy-flags-docs
8 hours ago
Latest Branches
CodSpeed Performance Gauge
0%
Treat Vite's resolved outDir values as the source of truth for build output (backport #18112)
#18313
5 hours ago
9c005a7
backport/18112-outdir-source-of-truth
CodSpeed Performance Gauge
0%
Fix `image.service` type annotation for docs
#18379
7 hours ago
ca4e633
armand/fix-image-service
CodSpeed Performance Gauge
0%
Fix ClientRouter clashing with script onload and onerror attributes
#18352
7 hours ago
595abb8
ahtcx:fix-router-script-listeners
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs