Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: withastro/astro
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: astro@6.3.7
Choose a base ref
...
head repository: withastro/astro
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: astro@6.3.8
Choose a head ref
  • 20 commits
  • 213 files changed
  • 19 contributors

Commits on May 21, 2026

  1. Set GH_TOKEN for preview release label removal step (#16829)

    * fix(ci): set GH_TOKEN for preview release label removal step
    
    * Update .github/workflows/preview-release.yml
    
    Co-authored-by: Felix Schneider <99918022+trueberryless@users.noreply.github.com>
    
    ---------
    
    Co-authored-by: Felix Schneider <99918022+trueberryless@users.noreply.github.com>
    matthewp and trueberryless authored May 21, 2026
    Configuration menu
    Copy the full SHA
    0213c3f View commit details
    Browse the repository at this point in the history
  2. Fix misleading error when redirect has more dynamic params than desti…

    …nation (#16831)
    
    * fix(routing): detect param mismatch in dynamic redirect destinations (#16482)
    
    * fix: use method shorthand for eslint object-shorthand rule
    
    ---------
    
    Co-authored-by: Matthew Phillips <matthew@matthewphillips.info>
    astrobot-houston and matthewp authored May 21, 2026
    Configuration menu
    Copy the full SHA
    ace96ba View commit details
    Browse the repository at this point in the history

Commits on May 22, 2026

  1. Configuration menu
    Copy the full SHA
    98297af View commit details
    Browse the repository at this point in the history
  2. [ci] format

    ematipico authored and astrobot-houston committed May 22, 2026
    Configuration menu
    Copy the full SHA
    1e7b988 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f2bf3cb View commit details
    Browse the repository at this point in the history
  4. Document compressHTML: "jsx" config is only available since Astro v6.…

    …2.0 (#16836)
    
    Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
    LongYC and Princesseuh authored May 22, 2026
    Configuration menu
    Copy the full SHA
    3d7adfa View commit details
    Browse the repository at this point in the history
  5. fix(render): propagate styles through Fragment named slots (#16181) (#…

    …16702)
    
    Co-authored-by: astrobot-houston <fred+astrobot@astro.build>
    matthewp and astrobot-houston authored May 22, 2026
    Configuration menu
    Copy the full SHA
    b7d1758 View commit details
    Browse the repository at this point in the history
  6. [ci] format

    matthewp authored and astrobot-houston committed May 22, 2026
    Configuration menu
    Copy the full SHA
    e542226 View commit details
    Browse the repository at this point in the history
  7. fix(docs): update InvalidRedirectDestination error message (#16840)

    Co-authored-by: yanthomasdev <61414485+yanthomasdev@users.noreply.github.com>
    ArmandPhilippot and yanthomasdev authored May 22, 2026
    Configuration menu
    Copy the full SHA
    b22af11 View commit details
    Browse the repository at this point in the history

Commits on May 25, 2026

  1. Configuration menu
    Copy the full SHA
    4d79750 View commit details
    Browse the repository at this point in the history
  2. [ci] format

    ematipico authored and astrobot-houston committed May 25, 2026
    Configuration menu
    Copy the full SHA
    5e209e4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    783c4a6 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4f5a9a8 View commit details
    Browse the repository at this point in the history
  5. fix(core): cache resolved actions in base pipeline (#16859)

    * fix(core): cache resolved actions to prevent re-importing on every request
    
    * Delete .changeset/caching-actions.md
    
    ---------
    
    Co-authored-by: Emanuele Stoppa <estoppa@cloudflare.com>
    pipe1os and ematipico authored May 25, 2026
    Configuration menu
    Copy the full SHA
    221bb4b View commit details
    Browse the repository at this point in the history

Commits on May 26, 2026

  1. fix(language-server): prevent stack overflow with project references …

    …containing non-TS files (#16827)
    
    * fix(language-server): prevent stack overflow with project references containing non-TS files
    
    * address review: improve comment, remove unnecessary cast, use host.readFile
    matthewp authored May 26, 2026
    Configuration menu
    Copy the full SHA
    90ee151 View commit details
    Browse the repository at this point in the history
  2. Fix missing CSS for conditionally rendered Svelte components (#16823)

    * fix(css): restore deleted CSS assets needed by cssScopeTo recovery for conditionally rendered Svelte components
    
    * fix(css): only restore deleted CSS for components not rendered in SSR
    
    The restore logic was too broad — it restored any deleted CSS asset
    found in pagesToCss, but the normal parent walk also adds deleted CSS
    IDs there for components whose styles are already on the page from SSR.
    
    Track which component exports were rendered during SSR via
    ssrRenderedExports. Only flag deleted CSS for restore when the
    cssScopeTo target was NOT rendered in SSR (i.e. the styles were
    actually tree-shaken and missing from the page).
    
    * Simplify changeset to user-facing message
    
    ---------
    
    Co-authored-by: Matthew Phillips <matthew@matthewphillips.info>
    astrobot-houston and matthewp authored May 26, 2026
    Configuration menu
    Copy the full SHA
    3df6a45 View commit details
    Browse the repository at this point in the history
  3. fix(core): include mod in SSR route-cache entry to silence false-po…

    …sitive warning (#16864)
    
    * fix(core): include `mod` in SSR route-cache entry to silence false-positive warning
    
    The fast-path check added in #16776 (`cached.mod === mod`) was never
    satisfied for SSR dynamic routes because the SSR branch in
    `callGetStaticPaths` stored its empty entry without `mod`. Every request
    after the first re-entered the SSR branch, called `routeCache.set()`
    again, and triggered `Internal Warning: route cache overwritten` in
    production.
    
    Store `mod` alongside the SSR entry so the fast-path hits cleanly.
    
    Closes #16863
    
    Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
    
    * test: drop `default: () => null` mock that broke astro-check typecheck
    
    `AstroComponentFactory` requires a non-null return value. The SSR
    non-prerender path never touches `mod.default`, so an empty mock object
    is sufficient.
    
    Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
    
    * Address review feedback on PR #16864
    
    Related: 93ea130, 3d10b5e
    
    ## Goal
    Address ematipico's review comments on the SSR route-cache fix PR.
    
    ## Decisions
    - Made RouteCacheEntry.mod required instead of optional: both set() call
      sites already provide mod (the function throws early if mod is undefined),
      so the optional marker was lying about the actual invariant.
    - Converted the entire test describe block to use SpyLogger: the reviewer
      asked why the new test was different from the others, and the cleanest
      answer was to unify them all on SpyLogger rather than keeping a mix of
      hand-rolled AstroLogger+destination and SpyLogger.
    - Shortened changeset to a single user-facing sentence per the Astro
      changeset guide (patch changes need one line, not implementation details).
    
    ## Changes
    - .changeset/ssr-route-cache-mod.md: Replaced 3-paragraph explanation with
      single-line patch description.
    - route-cache.ts: Changed RouteCacheEntry.mod from optional to required.
    - getstaticpaths-cache.test.ts: Replaced manual AstroLoggerDestination with
      SpyLogger throughout. Removed before() hook, moved logger creation into
      beforeEach(). New SSR test uses spyLogger.logs for assertions.
    
    ---------
    
    Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
    Co-authored-by: Matthew Phillips <matthew@matthewphillips.info>
    3 people authored May 26, 2026
    Configuration menu
    Copy the full SHA
    334ce13 View commit details
    Browse the repository at this point in the history
  4. [ci] format

    matthewp authored and astrobot-houston committed May 26, 2026
    Configuration menu
    Copy the full SHA
    4591fb0 View commit details
    Browse the repository at this point in the history
  5. refactor: move integration tests to unit tests (#16866)

    * chore: move astro-cookies.test.ts to unit test
    
    * chore: move astro-not-response.test.ts to unit test
    
    * chore: move cache-memory.test.ts to unit tests
    
    * chore: moved some actions.test.ts tests to unit tests
    
    * chore: move tests, move streaming.test.ts to unit tests
    
    * chore: removed dev-container.test.ts because already tested with other means
    ematipico authored May 26, 2026
    Configuration menu
    Copy the full SHA
    2f3bbf1 View commit details
    Browse the repository at this point in the history
  6. [ci] release (#16832)

    Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
    astrobot-houston and github-actions[bot] authored May 26, 2026
    Configuration menu
    Copy the full SHA
    1e49163 View commit details
    Browse the repository at this point in the history
Loading