withastro
astro
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Optimizations
Branches
Benchmarks
Runs
Performance History
Latest Results
Merge branch 'main' into refactor/image-asset-tracking
refactor/image-asset-tracking
6 hours ago
Address portable build review: fix image proxy and chunk fallback Keep fsPath out of the serialized image proxy target so isImageMetadata still recognizes ESM-imported images, restoring the error raised when one is passed directly to getImage. Point absoluteServerDir at the manifest chunk directory in adjustManifestPathsForChunk so the fallback for runtimes without a filesystem resolves relative directories at the right level when the manifest lands in a nested chunk.
florian-lefebvre/Portable-dist
6 hours ago
fix: keep page script CSS when tree shaking components Attribution ran in the client graph, where a page appears only as its script entry. The bare page path had no module info, so its stylesheet was credited to the page as a component owner, then removed at render time and pruned in static builds. Resolve page-ness through the vite id so CSS imported by a page script is always kept.
florian-lefebvre/Include-only-used-scripts-and-styles
6 hours ago
Address portable build review: keep serialized image fsPath consistent The SSR image proxy serialized the untouched image metadata into its target, so the target kept the absolute build-machine fsPath while the getter returned the project-relative override. Serialize the resolved fsPath into the target so reads, clone and the getter agree, and note the remaining absolute values in the changeset.
florian-lefebvre/Portable-dist
7 hours ago
test: expect incremental build cache version 2 The experimental.treeShakeComponents work bumped the incremental cache version, so update the assertion that still expected version 1.
florian-lefebvre/Include-only-used-scripts-and-styles
7 hours ago
Add portable key fallback for server island names The runtime looked up `server:component-path` in `serverIslandNameMap` with an exact match. Older integrations embed the build-machine absolute component path, while the map stores root-relative keys, so `server:defer` islands in `.mdx` files failed with "Could not find server component name". Fall back to `resolvePortableKey` on a miss, matching the same compatibility treatment already applied to `entryModules`, `componentMetadata`, and `inlinedScripts`. Ref: withastro/astro#18323
florian-lefebvre/Portable-dist
8 hours ago
fix: address treeShakeComponents review feedback - Replay referenced assets for incremental-cache skipped pages so pruning keeps the files their restored HTML links - Derive CSS ownership from the module graph so styles shared by several components survive while any owner renders - Align the experimental flag JSDoc with the on-demand streaming behavior
florian-lefebvre/Include-only-used-scripts-and-styles
8 hours ago
Fix portable manifest key lookup for undefined moduleId `PortableKeyedMap.get` and `has` passed every miss to `resolvePortableKey`, which assumes a string specifier. `renderPage` probes `componentMetadata` with an optional `moduleId` when rendering Markdown and MDX pages, so the lookup threw on `specifier.replaceAll` and broke every build that renders those pages. Delegate to the base `Map` for non-string keys so the compatibility fallback only handles the absolute-path specifiers it targets. Ref: withastro/astro#18323
florian-lefebvre/Portable-dist
8 hours ago
Latest Branches
CodSpeed Performance Gauge
0%
refactor(assets): remove globalThis.astroAsset image tracking
#18177
6 hours ago
c830d69
refactor/image-asset-tracking
CodSpeed Performance Gauge
-11%
Make build `dist/` directory portable
#18323
6 hours ago
5b16376
florian-lefebvre/Portable-dist
CodSpeed Performance Gauge
-1%
Add an experimental flag to include only used component styles and scripts
#18326
6 hours ago
2f51e76
florian-lefebvre/Include-only-used-scripts-and-styles
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs