-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Comparing changes
Open a pull request
base repository: withastro/astro
base: astro@6.3.5
head repository: withastro/astro
compare: astro@6.3.6
- 16 commits
- 65 files changed
- 10 contributors
Commits on May 18, 2026
-
fix(content): preserve empty alt attributes on markdown images in con…
…tent collections (#16774)
Configuration menu - View commit details
-
Copy full SHA for 8f77583 - Browse repository at this point
Copy the full SHA 8f77583View commit details
Commits on May 19, 2026
-
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
Configuration menu - View commit details
-
Copy full SHA for 068d924 - Browse repository at this point
Copy the full SHA 068d924View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1e318da - Browse repository at this point
Copy the full SHA 1e318daView commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 3dbbcee - Browse repository at this point
Copy the full SHA 3dbbceeView commit details -
fix: build times timestamp (#16784)
Co-authored-by: Matt Kane <m@mk.gg>
Configuration menu - View commit details
-
Copy full SHA for 7453860 - Browse repository at this point
Copy the full SHA 7453860View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 1056891 - Browse repository at this point
Copy the full SHA 1056891View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 3d10b5e - Browse repository at this point
Copy the full SHA 3d10b5eView commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 1754b91 - Browse repository at this point
Copy the full SHA 1754b91View commit details -
Configuration menu - View commit details
-
Copy full SHA for e4bce73 - Browse repository at this point
Copy the full SHA e4bce73View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 70b7348 - Browse repository at this point
Copy the full SHA 70b7348View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7dcf7b8 - Browse repository at this point
Copy the full SHA 7dcf7b8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 653655c - Browse repository at this point
Copy the full SHA 653655cView commit details
Commits on May 20, 2026
-
Configuration menu - View commit details
-
Copy full SHA for 8062391 - Browse repository at this point
Copy the full SHA 8062391View commit details -
Configuration menu - View commit details
-
Copy full SHA for df60ebf - Browse repository at this point
Copy the full SHA df60ebfView commit details -
Configuration menu - View commit details
-
Copy full SHA for d619277 - Browse repository at this point
Copy the full SHA d619277View commit details -
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 223a843 - Browse repository at this point
Copy the full SHA 223a843View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff astro@6.3.5...astro@6.3.6