Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/harden-dev-server-sec-fetch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'astro': patch
---

Hardens the dev server by validating Sec-Fetch metadata headers to restrict cross-origin subresource requests
24 changes: 24 additions & 0 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@
"dull-mangos-travel",
"eager-owls-stare",
"early-badgers-pull",
"early-times-drop",
"emit-client-asset-api",
"encoding-static-builds",
"every-carpets-grin",
Expand All @@ -105,10 +106,13 @@
"fast-bushes-fall",
"fast-wolves-render",
"fifty-dingos-study",
"fix-action-prototype-traversal",
"fix-cloudflare-static-output",
"fix-content-hmr",
"fix-create-astro-registry-hang",
"fix-font-head-swap",
"fix-forwarded-proto-allowed-domains",
"fix-i18n-fallback-redirect",
"fix-large-static-build-promise-all",
"fix-large-static-routes-stack-overflow",
"fix-markdoc-table-attributes",
Expand All @@ -118,8 +122,11 @@
"fix-preact-cloudflare-hooks",
"fix-rewrite-non-ascii-paths",
"fix-serve-files-outside-srcdir",
"fix-server-island-dev-build-output",
"fix-session-regenerate-dirty",
"fix-ssr-prerendered-image-deletion",
"fix-store-race-condition",
"fix-svg-content-collection-component",
"fix-svg-content-collection-deadlock",
"fix-vite-runner-closed",
"flat-lions-care",
Expand All @@ -145,13 +152,17 @@
"green-zebras-lick",
"grumpy-tables-serve",
"happy-falcons-show",
"harden-attribute-escaping",
"harden-merge-responses-cookies",
"harden-xff-allowed-domains",
"heavy-beers-unite",
"heavy-cats-own",
"heavy-parts-throw",
"helpful-runtime-errors",
"hojze-jglnm-ggfbv",
"honest-deer-add",
"hot-eyes-sink",
"humble-humans-sink",
"hungry-jars-pump",
"icy-pigs-smile",
"internal-helpers-normalize-pathname",
Expand All @@ -160,6 +171,7 @@
"khaki-bushes-stop",
"khaki-toys-think",
"kind-emus-relate",
"kind-hairs-report",
"kind-pears-behave",
"large-ears-ask",
"large-keys-see",
Expand All @@ -170,10 +182,12 @@
"legacy-collections-backwards-compat-docs",
"light-parrots-find",
"little-goats-poke",
"long-bushes-rest",
"long-chefs-tie",
"long-trams-see",
"lovely-mice-sniff",
"lowercase-style-tags",
"major-lights-kiss",
"many-banks-hammer",
"many-cars-hope",
"markdoc-emit-client-asset",
Expand All @@ -191,7 +205,9 @@
"open-monkeys-boil",
"optional-wrangler-config",
"orange-boats-refuse",
"polite-balloons-rhyme",
"polite-terms-shop",
"preserve-directory-structure",
"pretty-forks-smash",
"proud-pans-change",
"public-files-priority",
Expand All @@ -203,6 +219,8 @@
"quiet-owls-jump",
"ready-eagles-wink",
"ready-tigers-try",
"red-quail-bite",
"redirect-catch-all-hardening",
"remove-cloudflare-modules",
"render-markdown-file-url",
"render-markdown-frontmatter",
Expand All @@ -213,6 +231,7 @@
"sad-lines-hear",
"sad-teams-end",
"server-island-slot-scripts",
"shiki-v4",
"short-pears-hammer",
"shy-cats-grin",
"silly-eels-remain",
Expand All @@ -221,13 +240,16 @@
"slick-plums-remain",
"slimy-fans-sing",
"slimy-queens-punch",
"slow-coins-write",
"slow-laws-marry",
"small-ghosts-sort",
"smart-mammals-stop",
"smart-pillows-chew",
"smooth-kids-tease",
"social-jeans-mix",
"social-kings-swim",
"social-maps-shine",
"soft-vans-ask",
"solid-fans-jam",
"solid-sloths-call",
"some-olives-march",
Expand All @@ -252,6 +274,7 @@
"tender-bats-tan",
"tender-moose-help",
"thin-hands-find",
"thirty-experts-tickle",
"three-sheep-burn",
"tiny-books-scream",
"tired-eels-cough",
Expand All @@ -264,6 +287,7 @@
"vite-environments-breaking",
"vite-plugin-react-v5",
"vite-plugin-vue-v6",
"warm-comics-pump",
"warm-donuts-learn",
"warm-dots-glow",
"wet-lines-wear",
Expand Down
5 changes: 5 additions & 0 deletions .changeset/purple-steaks-begin.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'astro': patch
---

Fixes a bug where some requests to the dev server didn't start with the leading `/`.
2 changes: 1 addition & 1 deletion examples/basics/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
"astro": "astro"
},
"dependencies": {
"astro": "^6.0.0-beta.17"
"astro": "^6.0.0-beta.18"
}
}
4 changes: 2 additions & 2 deletions examples/blog/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
"astro": "astro"
},
"dependencies": {
"@astrojs/mdx": "^5.0.0-beta.9",
"@astrojs/mdx": "^5.0.0-beta.10",
"@astrojs/rss": "^4.0.15-beta.4",
"@astrojs/sitemap": "^3.6.1-beta.3",
"astro": "^6.0.0-beta.17",
"astro": "^6.0.0-beta.18",
"sharp": "^0.34.3"
}
}
2 changes: 1 addition & 1 deletion examples/component/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
],
"scripts": {},
"devDependencies": {
"astro": "^6.0.0-beta.17"
"astro": "^6.0.0-beta.18"
},
"peerDependencies": {
"astro": "^5.0.0 || ^6.0.0"
Expand Down
2 changes: 1 addition & 1 deletion examples/container-with-vitest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
},
"dependencies": {
"@astrojs/react": "^5.0.0-beta.3",
"astro": "^6.0.0-beta.17",
"astro": "^6.0.0-beta.18",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"vitest": "^3.2.4"
Expand Down
2 changes: 1 addition & 1 deletion examples/framework-alpine/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@
"@astrojs/alpinejs": "^0.5.0-beta.1",
"@types/alpinejs": "^3.13.11",
"alpinejs": "^3.15.8",
"astro": "^6.0.0-beta.17"
"astro": "^6.0.0-beta.18"
}
}
2 changes: 1 addition & 1 deletion examples/framework-multiple/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"@astrojs/vue": "^6.0.0-beta.1",
"@types/react": "^18.3.28",
"@types/react-dom": "^18.3.7",
"astro": "^6.0.0-beta.17",
"astro": "^6.0.0-beta.18",
"preact": "^10.28.4",
"react": "^18.3.1",
"react-dom": "^18.3.1",
Expand Down
2 changes: 1 addition & 1 deletion examples/framework-preact/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"dependencies": {
"@astrojs/preact": "^5.0.0-beta.4",
"@preact/signals": "^2.8.1",
"astro": "^6.0.0-beta.17",
"astro": "^6.0.0-beta.18",
"preact": "^10.28.4"
}
}
2 changes: 1 addition & 1 deletion examples/framework-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"@astrojs/react": "^5.0.0-beta.3",
"@types/react": "^18.3.28",
"@types/react-dom": "^18.3.7",
"astro": "^6.0.0-beta.17",
"astro": "^6.0.0-beta.18",
"react": "^18.3.1",
"react-dom": "^18.3.1"
}
Expand Down
2 changes: 1 addition & 1 deletion examples/framework-solid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
},
"dependencies": {
"@astrojs/solid-js": "^6.0.0-beta.2",
"astro": "^6.0.0-beta.17",
"astro": "^6.0.0-beta.18",
"solid-js": "^1.9.11"
}
}
2 changes: 1 addition & 1 deletion examples/framework-svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
},
"dependencies": {
"@astrojs/svelte": "^8.0.0-beta.3",
"astro": "^6.0.0-beta.17",
"astro": "^6.0.0-beta.18",
"svelte": "^5.53.5"
}
}
2 changes: 1 addition & 1 deletion examples/framework-vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
},
"dependencies": {
"@astrojs/vue": "^6.0.0-beta.1",
"astro": "^6.0.0-beta.17",
"astro": "^6.0.0-beta.18",
"vue": "^3.5.29"
}
}
4 changes: 2 additions & 2 deletions examples/hackernews/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"astro": "astro"
},
"dependencies": {
"@astrojs/node": "^10.0.0-beta.6",
"astro": "^6.0.0-beta.17"
"@astrojs/node": "^10.0.0-beta.7",
"astro": "^6.0.0-beta.18"
}
}
2 changes: 1 addition & 1 deletion examples/integration/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
],
"scripts": {},
"devDependencies": {
"astro": "^6.0.0-beta.17"
"astro": "^6.0.0-beta.18"
},
"peerDependencies": {
"astro": "^4.0.0"
Expand Down
2 changes: 1 addition & 1 deletion examples/minimal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
"astro": "astro"
},
"dependencies": {
"astro": "^6.0.0-beta.17"
"astro": "^6.0.0-beta.18"
}
}
2 changes: 1 addition & 1 deletion examples/portfolio/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
"astro": "astro"
},
"dependencies": {
"astro": "^6.0.0-beta.17"
"astro": "^6.0.0-beta.18"
}
}
4 changes: 2 additions & 2 deletions examples/ssr/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
"server": "node dist/server/entry.mjs"
},
"dependencies": {
"@astrojs/node": "^10.0.0-beta.6",
"@astrojs/node": "^10.0.0-beta.7",
"@astrojs/svelte": "^8.0.0-beta.3",
"astro": "^6.0.0-beta.17",
"astro": "^6.0.0-beta.18",
"svelte": "^5.53.5"
}
}
2 changes: 1 addition & 1 deletion examples/starlog/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"astro": "astro"
},
"dependencies": {
"astro": "^6.0.0-beta.17",
"astro": "^6.0.0-beta.18",
"sass": "^1.97.3",
"sharp": "^0.34.3"
},
Expand Down
2 changes: 1 addition & 1 deletion examples/toolbar-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
},
"devDependencies": {
"@types/node": "^18.17.8",
"astro": "^6.0.0-beta.17"
"astro": "^6.0.0-beta.18"
},
"engines": {
"node": ">=22.12.0"
Expand Down
4 changes: 2 additions & 2 deletions examples/with-markdoc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"astro": "astro"
},
"dependencies": {
"@astrojs/markdoc": "^1.0.0-beta.12",
"astro": "^6.0.0-beta.17"
"@astrojs/markdoc": "^1.0.0-beta.13",
"astro": "^6.0.0-beta.18"
}
}
4 changes: 2 additions & 2 deletions examples/with-mdx/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
"astro": "astro"
},
"dependencies": {
"@astrojs/mdx": "^5.0.0-beta.9",
"@astrojs/mdx": "^5.0.0-beta.10",
"@astrojs/preact": "^5.0.0-beta.4",
"astro": "^6.0.0-beta.17",
"astro": "^6.0.0-beta.18",
"preact": "^10.28.4"
}
}
2 changes: 1 addition & 1 deletion examples/with-nanostores/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"dependencies": {
"@astrojs/preact": "^5.0.0-beta.4",
"@nanostores/preact": "^1.0.0",
"astro": "^6.0.0-beta.17",
"astro": "^6.0.0-beta.18",
"nanostores": "^1.1.1",
"preact": "^10.28.4"
}
Expand Down
4 changes: 2 additions & 2 deletions examples/with-tailwindcss/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
"astro": "astro"
},
"dependencies": {
"@astrojs/mdx": "^5.0.0-beta.9",
"@astrojs/mdx": "^5.0.0-beta.10",
"@tailwindcss/vite": "^4.2.1",
"@types/canvas-confetti": "^1.9.0",
"astro": "^6.0.0-beta.17",
"astro": "^6.0.0-beta.18",
"canvas-confetti": "^1.9.4",
"tailwindcss": "^4.2.1"
}
Expand Down
2 changes: 1 addition & 1 deletion examples/with-vitest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"test": "vitest"
},
"dependencies": {
"astro": "^6.0.0-beta.17",
"astro": "^6.0.0-beta.18",
"vitest": "^3.2.4"
}
}
Loading
Loading