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.5
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.6
Choose a head ref
  • 16 commits
  • 65 files changed
  • 10 contributors

Commits on May 18, 2026

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

Commits on May 19, 2026

  1. fix(content): generate anyOf schema for file() loader to support top-…

    …level arrays (#16730)
    
    * fix(content): generate anyOf schema for file() loader to support top-level arrays
    
    The file() loader accepts both top-level array JSON files and record object
    JSON files. Previously, generateJSONSchema always wrapped the item schema in
    z.object({}).catchall() which produces a type:object JSON schema. When the
    source file is a top-level array, VS Code reports validation errors because
    the data shape doesn't match the generated schema.
    
    Replace the object-only wrapping with a z.union of the array shape and the
    object shape. This generates an anyOf in the output JSON schema, allowing
    VS Code to validate array-shaped and object-shaped files correctly.
    
    The $schema property is injected into the object branch only — top-level
    array JSON files cannot reference an external schema property.
    
    Fixes #16602
    
    * test: update content intellisense test for file loader union schema
    
    * chore: add changeset for file loader anyOf schema fix
    
    * docs(changeset): reword to user-facing prose per astro guide
    harshagarwalnyu authored May 19, 2026
    Configuration menu
    Copy the full SHA
    068d924 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1e318da View commit details
    Browse the repository at this point in the history
  3. fix(sharp): handle default formats differently (#16665)

    * feat: try something else
    
    * fix: return buffer format instead of asked format in error cases so SSR gets the proper format
    
    * fix: better error message
    
    * fix: update for feedback
    
    * chore: cleanup comments
    Princesseuh authored May 19, 2026
    Configuration menu
    Copy the full SHA
    3dbbcee View commit details
    Browse the repository at this point in the history
  4. fix: build times timestamp (#16784)

    Co-authored-by: Matt Kane <m@mk.gg>
    ematipico and ascorbic authored May 19, 2026
    Configuration menu
    Copy the full SHA
    7453860 View commit details
    Browse the repository at this point in the history
  5. Allow npm and npx commands in triage agent sandbox (#16778)

    * Allow npm and npx commands in triage agent sandbox
    
    * Remove npm from allowed commands, keep only npx
    matthewp authored May 19, 2026
    Configuration menu
    Copy the full SHA
    1056891 View commit details
    Browse the repository at this point in the history
  6. Invalidate route cache when module identity changes after HMR (#16776)

    The route cache stores getStaticPaths() return values keyed by route path,
    but never checked whether the module that produced those values had been
    re-evaluated. After HMR, components passed as props via getStaticPaths()
    remained stale even on manual refresh.
    
    Store the module reference in the cache entry and compare identity on
    lookup. A new module object (from a fresh import after HMR) causes the
    cache to miss, re-calling getStaticPaths() with updated references.
    
    Fixes #16522
    matthewp authored May 19, 2026
    Configuration menu
    Copy the full SHA
    3d10b5e View commit details
    Browse the repository at this point in the history
  7. Invalidate importer modules in runner cache during HMR (#16777)

    When an SSR-only module changes, moduleGraph.invalidateModule() recursively
    walks importers and populates the invalidatedModules set. However, the
    runner's evaluatedModules cache was only invalidated for the directly
    changed file. Barrel files (e.g. index.ts re-exporting components) stayed
    cached in the runner, so dynamic import() calls returned stale exports.
    
    Invalidate all modules in the invalidatedModules set in the runner cache,
    not just the directly changed ones.
    
    Fixes #16000
    matthewp authored May 19, 2026
    Configuration menu
    Copy the full SHA
    1754b91 View commit details
    Browse the repository at this point in the history
  8. [ci] format

    matthewp authored and astrobot-houston committed May 19, 2026
    Configuration menu
    Copy the full SHA
    e4bce73 View commit details
    Browse the repository at this point in the history
  9. Fix verification agent: check for existing PR before creating a new o…

    …ne (#16789)
    
    * Check for existing PR before creating in fix-verification agent
    
    * Verify pulls response is an array before indexing
    
    * Wrap findPullRequest in try/catch with better error message
    matthewp authored May 19, 2026
    Configuration menu
    Copy the full SHA
    70b7348 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    7dcf7b8 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    653655c View commit details
    Browse the repository at this point in the history

Commits on May 20, 2026

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

    ematipico authored and astrobot-houston committed May 20, 2026
    Configuration menu
    Copy the full SHA
    df60ebf View commit details
    Browse the repository at this point in the history
  3. revert: PR 16708 (#16801)

    ematipico authored May 20, 2026
    Configuration menu
    Copy the full SHA
    d619277 View commit details
    Browse the repository at this point in the history
  4. [ci] release (#16775)

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