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@7.2.9
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@7.2.10
Choose a head ref
  • 19 commits
  • 182 files changed
  • 15 contributors

Commits on Aug 27, 2026

  1. fix(check): include .astro files in checked project references (#17715)

    * fix: include .astro files in checked project references (#17478)
    
    * fix: implement .astro project-reference fix in astro's own source (#17478)
    
    The previous approach patched @volar/kit via pnpm's patchedDependencies,
    which only rewrites node_modules inside this monorepo and never reaches
    published npm tarballs. astro check/@astrojs/language-server both build
    with tsc -b (no bundling) and depend on @volar/kit as a runtime
    dependency, so the patch never shipped to real npm consumers - only the
    VS Code extension (which bundles with esbuild) benefited.
    
    Reimplement the fix directly in AstroCheck's checker setup instead.
    createTypeScriptChecker's setup callback runs once per project (root and
    each reference) and exposes that project's configFileName and mutable
    languageServiceHost, which is enough to re-parse each referenced
    tsconfig with the language plugins' extraFileExtensions and merge the
    result into that project's file list - without touching @volar/kit at
    all. getRootFileNames() reads from a separate internal host, so it gets
    its own merge on top.
    
    Verified end to end: removed the @volar/kit patch, rebuilt
    @astrojs/language-server against the real unpatched dependency, and
    confirmed the project-references test suite (including a fileResult
    assertion swapped for a direct getRootFileNames() check per review) is
    fully green. Also rebuilt astro, @astrojs/markdown-satteri, and the
    svelte/vue integrations from a clean state to confirm the two
    previously-failing assertions were an artifact of an unbuilt local
    environment, not a real pre-existing failure - full suite is 10/10 with
    everything built.
    
    * fix(check): rename shadowed variable to fix lint error
    
    * refactor(check): simplify project-reference .astro file handling per review
    
    Per @matthewp: the previous version's dynamic caching/invalidation was
    unreliable anyway — it only invalidated by comparing TypeScript's own
    file list, which never includes .astro files, so adding/removing only
    an .astro file never triggered a re-parse.
    
    Replaces it with a static approach that matches what the root project
    already does: each referenced project's tsconfig is parsed once with
    extraFileExtensions during checker setup, and the result is merged once
    into that project's languageServiceHost.getScriptFileNames() and into
    linter.getRootFileNames() — no cache, no resolver callbacks, no
    file-list change tracking.
    
    Also removed the editor-language-server claim from the PR description
    and changeset — this only fixes AstroCheck; the editor's language server
    uses the separate nodeServer.ts/createTypeScriptProject path.
    
    Verified: pnpm --filter @astrojs/language-server build (tsc -b) is clean,
    and biome check on check.ts is clean. Could not run the check.test.ts
    suite itself locally — it imports packages/astro/test/test-utils.ts,
    which needs a full astro package build, and that build fails here on an
    unrelated missing workspace dependency (@astrojs/markdown-satteri) not
    present in this checkout. Happy to have CI or a maintainer confirm the
    existing check.test.ts assertions (file count, error count, and the new
    getRootFileNames() .astro-inclusion check) still pass — none of them
    test dynamic add/remove behavior, so nothing in that suite should be
    sensitive to removing the caching layer.
    
    * chore: reword changeset for end-user impact, not implementation
    
    ---------
    
    Co-authored-by: Matthew Phillips <matthewphillips@cloudflare.com>
    Co-authored-by: wakqasahmed <training@saerintech.com>
    3 people authored Aug 27, 2026
    Configuration menu
    Copy the full SHA
    a51c533 View commit details
    Browse the repository at this point in the history
  2. fix(@astrojs/sitemap): preserve root path / in sitemap URLs when tr…

    …ailingSlash is 'never' (#17851)
    
    Co-authored-by: factory[bot] <factory[bot]@users.noreply.github.com>
    astro-factory[bot] and factory[bot] authored Aug 27, 2026
    Configuration menu
    Copy the full SHA
    52d3f56 View commit details
    Browse the repository at this point in the history
  3. fix(content): invalidate the data store directly on write (#17755)

    The dev server relied on the file watcher observing the atomic rename
    that commits a data store write to invalidate the content virtual
    modules. On Windows the watcher can miss that event, leaving dev
    serving stale content until a restart (#17335). The store now notifies
    listeners after real disk writes and the dev server invalidates
    directly, keeping the watcher path as a fallback for other processes
    with echo suppression to avoid double reloads.
    matthewp authored Aug 27, 2026
    Configuration menu
    Copy the full SHA
    157c500 View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2026

  1. Configuration menu
    Copy the full SHA
    1301c37 View commit details
    Browse the repository at this point in the history
  2. fix: add prism package (#17854)

    Co-authored-by: Roman <dev@rman.dev>
    ematipico and gameroman authored Aug 28, 2026
    Configuration menu
    Copy the full SHA
    07b919f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    24d253d View commit details
    Browse the repository at this point in the history
  4. fix(build): correctly identify winning route in prerender conflict wa…

    …rnings (#17833)
    
    Change `builtPaths` from `Set<string>` to `Map<string, RouteData>` so that
    conflict warnings reference the route that actually first rendered the
    duplicate pathname, instead of using `matchRoute()` which could return an
    unrelated route that merely matches the URL pattern.
    
    Co-authored-by: factory[bot] <factory[bot]@users.noreply.github.com>
    Co-authored-by: Matthew Phillips <matthew@matthewphillips.info>
    Co-authored-by: Matthew Phillips <matthewphillips@cloudflare.com>
    4 people authored Aug 28, 2026
    Configuration menu
    Copy the full SHA
    413a6e7 View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2026

  1. Configuration menu
    Copy the full SHA
    7c04f2e View commit details
    Browse the repository at this point in the history
  2. feat: move MDX into the processors themselves (#17262)

    Co-authored-by: Armand Philippot <git@armand.philippot.eu>
    Princesseuh and ArmandPhilippot authored Aug 29, 2026
    Configuration menu
    Copy the full SHA
    f8e9458 View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2026

  1. Configuration menu
    Copy the full SHA
    19dae21 View commit details
    Browse the repository at this point in the history

Commits on Aug 31, 2026

  1. fix: invalid internal declarations (#17869)

    Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
    ematipico and florian-lefebvre authored Aug 31, 2026
    Configuration menu
    Copy the full SHA
    2548abf View commit details
    Browse the repository at this point in the history
  2. Omit empty srcset on content collection markdown images (#17872)

    The content layer's image renderer always wrote the srcset attribute,
    so an image without responsive candidates produced srcset="", which is
    invalid HTML. The older Markdown pipeline in vite-plugin-markdown only
    sets the attribute when there are candidates; mirror that here.
    jx-grxf authored Aug 31, 2026
    Configuration menu
    Copy the full SHA
    f7191cc View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    bd7af0b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4c422e2 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    1870eea View commit details
    Browse the repository at this point in the history
  6. fix(build): replace manifest placeholder when SSR output is minified (#…

    …17874)
    
    Rolldown's minifier rewrites string literals as template literals (backticks),
    but the regex matching the `@@ASTRO_MANIFEST_REPLACE@@` placeholder only
    accepted single and double quotes. Add backtick to the character class in
    the manifest and server islands replacement regexes.
    
    Fixes #17843
    
    Co-authored-by: factory[bot] <factory[bot]@users.noreply.github.com>
    astro-factory[bot] and factory[bot] authored Aug 31, 2026
    Configuration menu
    Copy the full SHA
    10c7e63 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    4f002c9 View commit details
    Browse the repository at this point in the history
  8. fix: cache headers (#17878)

    * fix: cache headers
    
    * Apply suggestion from @matthewp
    
    Co-authored-by:  Matthew Phillips <matthewphillips@cloudflare.com>
    
    * revert change
    
    * update tests
    
    * update tests
    
    ---------
    
    Co-authored-by: Matthew Phillips <matthewphillips@cloudflare.com>
    ematipico and matthewp authored Aug 31, 2026
    Configuration menu
    Copy the full SHA
    76eff3d View commit details
    Browse the repository at this point in the history
  9. [ci] release (#17849)

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