withastro
astro
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
fix(sync): skip adapter configureServer hooks during type generation The temp Vite server created by `astro build` for type generation only resolves virtual modules — it never serves HTTP requests. Adapter plugins (notably `@cloudflare/vite-plugin` via `@astrojs/cloudflare`) were still firing `configureServer` and starting heavy runtimes (miniflare/workerd), and Vite 7's per-environment config meant `optimizeDeps.noDiscovery` only applied to the `client` environment so adapters were re-injecting large `optimizeDeps.include` lists into server environments. Two changes in `createTempViteServer`: 1. Set `optimizeDeps: { noDiscovery: true, include: [] }` on every environment (`client`, `ssr`, `astro`, `prerender`). 2. Add an inline `astro:sync:strip-server-hooks` plugin that removes `configureServer` from non-Astro plugins in `configResolved`. Astro's own plugins are preserved. On a representative project this drops the “Types Generated” phase from ~3.6 s to ~125 ms. Closes #16332
adamchal:fix/sync-skip-adapter-server-hooks
21 minutes ago
fix: handle dev image endpoint with prerender handler
dz0ny:fix/dev-image-endpoint-prerender
13 hours ago
chore: add changeset for glob-loader negation pattern fix
godfengliang:fix-glob-negation-pattern
13 hours ago
fix: handle negation patterns correctly in glob-loader watcher When globOptions.pattern is an array containing negation entries like ['src/content/*.md', '!src/content/README.md'], picomatch.isMatch() treats each array element independently and returns true if ANY pattern matches - including negation patterns themselves. This causes every changed file to be treated as a collection entry, producing schema errors for unrelated files like .astro/data-store.json. The fix uses picomatch() to compile patterns into a matcher function that correctly handles negation patterns within the array. Fixes #16851
godfengliang:fix-glob-negation-pattern
13 hours ago
Emit hashchange events with view transitions
destruc7i0n:t70/hashchange-view-transitions
22 hours ago
Update view transition hash removal test
destruc7i0n:t70/hashchange-view-transitions
24 hours ago
Emit hashchange events with view transitions
destruc7i0n:t70/hashchange-view-transitions
1 day ago
fix: type error TS2322
fkatsuhiro:fix/actions-hmr-invalidate
1 day ago
Latest Branches
CodSpeed Performance Gauge
0%
fix(sync): skip adapter configureServer hooks during type generation
#16587
28 days ago
67f52c2
adamchal:fix/sync-skip-adapter-server-hooks
CodSpeed Performance Gauge
0%
fix: handle dev image endpoint with prerender handler
#16861
8 days ago
a157100
dz0ny:fix/dev-image-endpoint-prerender
CodSpeed Performance Gauge
0%
fix: handle negation patterns correctly in glob-loader watcher
#16937
13 hours ago
bef9311
godfengliang:fix-glob-negation-pattern
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs