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/astro-ssr-check-metadata.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'astro': minor
---

Updates the internal logic during SSR by providing additional metadata for UI framework integrations.
5 changes: 5 additions & 0 deletions .changeset/breezy-schools-travel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'astro': patch
---

Improves `astro info` by supporting more operating systems when copying the information to the clipboard.
6 changes: 6 additions & 0 deletions .changeset/harden-origin-port-consistency.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'astro': patch
'@astrojs/node': patch
---

Fixes CSRF origin check mismatch by passing the actual server listening port to `createRequest`, ensuring the constructed URL origin includes the correct port (e.g., `http://localhost:4321` instead of `http://localhost`). Also restricts `X-Forwarded-Proto` to only be trusted when `allowedDomains` is configured.
5 changes: 5 additions & 0 deletions .changeset/internal-create-filter.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@astrojs/internal-helpers': patch
---

Adds a fork of `createFilter` from `@rollup/pluginutils` without Node.js APIs.
5 changes: 5 additions & 0 deletions .changeset/jsx-include-exclude-preact.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@astrojs/preact': patch
---

Improves how Preact components are identified when setting the `include` and/or `exclude` options in projects where multiple JSX frameworks are used together
5 changes: 5 additions & 0 deletions .changeset/jsx-include-exclude-react.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@astrojs/react': patch
---

Improves how React components are identified when setting the `include` and/or `exclude` options in projects where multiple JSX frameworks are used together
5 changes: 5 additions & 0 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@
"eager-owls-stare",
"early-badgers-pull",
"early-times-drop",
"eight-lines-dig",
"emit-client-asset-api",
"encoding-static-builds",
"every-carpets-grin",
Expand All @@ -121,6 +122,7 @@
"fix-netlify-ssr-routing",
"fix-preact-cloudflare-hooks",
"fix-rewrite-non-ascii-paths",
"fix-safari-persist-canvas-context-loss",
"fix-serve-files-outside-srcdir",
"fix-server-island-dev-build-output",
"fix-session-regenerate-dirty",
Expand Down Expand Up @@ -153,6 +155,7 @@
"grumpy-tables-serve",
"happy-falcons-show",
"harden-attribute-escaping",
"harden-dev-server-sec-fetch",
"harden-merge-responses-cookies",
"harden-xff-allowed-domains",
"heavy-beers-unite",
Expand Down Expand Up @@ -214,6 +217,7 @@
"public-lemons-mate",
"puny-dragons-fail",
"puny-poems-create",
"purple-steaks-begin",
"quick-dingos-itch",
"quiet-cars-burn",
"quiet-owls-jump",
Expand Down Expand Up @@ -290,6 +294,7 @@
"warm-comics-pump",
"warm-donuts-learn",
"warm-dots-glow",
"wet-animals-pump",
"wet-lines-wear",
"wet-suits-help",
"whole-geckos-think",
Expand Down
5 changes: 5 additions & 0 deletions .changeset/rich-ghosts-pick.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'astro': patch
---

Fixes an issue where it wasn't possible to set `experimental.queuedRendering.poolSize` to `0`.
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.18"
"astro": "^6.0.0-beta.19"
}
}
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.10",
"@astrojs/mdx": "^5.0.0-beta.11",
"@astrojs/rss": "^4.0.15-beta.4",
"@astrojs/sitemap": "^3.6.1-beta.3",
"astro": "^6.0.0-beta.18",
"astro": "^6.0.0-beta.19",
"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.18"
"astro": "^6.0.0-beta.19"
},
"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.18",
"astro": "^6.0.0-beta.19",
"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.18"
"astro": "^6.0.0-beta.19"
}
}
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.18",
"astro": "^6.0.0-beta.19",
"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.18",
"astro": "^6.0.0-beta.19",
"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.18",
"astro": "^6.0.0-beta.19",
"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.18",
"astro": "^6.0.0-beta.19",
"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.18",
"astro": "^6.0.0-beta.19",
"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.18",
"astro": "^6.0.0-beta.19",
"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.7",
"astro": "^6.0.0-beta.18"
"@astrojs/node": "^10.0.0-beta.8",
"astro": "^6.0.0-beta.19"
}
}
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.18"
"astro": "^6.0.0-beta.19"
},
"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.18"
"astro": "^6.0.0-beta.19"
}
}
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.18"
"astro": "^6.0.0-beta.19"
}
}
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.7",
"@astrojs/node": "^10.0.0-beta.8",
"@astrojs/svelte": "^8.0.0-beta.3",
"astro": "^6.0.0-beta.18",
"astro": "^6.0.0-beta.19",
"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.18",
"astro": "^6.0.0-beta.19",
"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.18"
"astro": "^6.0.0-beta.19"
},
"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.13",
"astro": "^6.0.0-beta.18"
"@astrojs/markdoc": "^1.0.0-beta.14",
"astro": "^6.0.0-beta.19"
}
}
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.10",
"@astrojs/mdx": "^5.0.0-beta.11",
"@astrojs/preact": "^5.0.0-beta.4",
"astro": "^6.0.0-beta.18",
"astro": "^6.0.0-beta.19",
"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.18",
"astro": "^6.0.0-beta.19",
"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.10",
"@astrojs/mdx": "^5.0.0-beta.11",
"@tailwindcss/vite": "^4.2.1",
"@types/canvas-confetti": "^1.9.0",
"astro": "^6.0.0-beta.18",
"astro": "^6.0.0-beta.19",
"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.18",
"astro": "^6.0.0-beta.19",
"vitest": "^3.2.4"
}
}
16 changes: 16 additions & 0 deletions packages/astro/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# astro

## 6.0.0-beta.19

### Patch Changes

- [#15760](https://github.com/withastro/astro/pull/15760) [`f49a27f`](https://github.com/withastro/astro/commit/f49a27fd2ac2559c06671979487f642360791a92) Thanks [@ematipico](https://github.com/ematipico)! - Fixed an issue where queued rendering wasn't correctly re-using the saved nodes.

- [#15728](https://github.com/withastro/astro/pull/15728) [`12ca621`](https://github.com/withastro/astro/commit/12ca6213a68280293485d091e14899e7f2a4fee8) Thanks [@SvetimFM](https://github.com/SvetimFM)! - Improves internal state retention for persisted elements during view transitions, especially avoiding WebGL context loss in Safari and resets of CSS transitions and iframes in modern Chromium and Firefox browsers

- [#15756](https://github.com/withastro/astro/pull/15756) [`b6c64d1`](https://github.com/withastro/astro/commit/b6c64d1760ded517db37e1dd86a909959f7f619d) Thanks [@matthewp](https://github.com/matthewp)! - Hardens the dev server by validating Sec-Fetch metadata headers to restrict cross-origin subresource requests

- [#15414](https://github.com/withastro/astro/pull/15414) [`faedcc4`](https://github.com/withastro/astro/commit/faedcc40bccc43e27a53eee495b34448532866d6) Thanks [@sapphi-red](https://github.com/sapphi-red)! - Fixes a bug where some requests to the dev server didn't start with the leading `/`.

- Updated dependencies [[`745e632`](https://github.com/withastro/astro/commit/745e632fc590e41a5701509e9cc4ed971bdddf74)]:
- @astrojs/internal-helpers@0.8.0-beta.2
- @astrojs/markdown-remark@7.0.0-beta.10

## 6.0.0-beta.18

### Major Changes
Expand Down
3 changes: 2 additions & 1 deletion packages/astro/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "astro",
"version": "6.0.0-beta.18",
"version": "6.0.0-beta.19",
"description": "Astro is a modern site builder with web best practices, performance, and DX front-of-mind.",
"type": "module",
"author": "withastro",
Expand Down Expand Up @@ -158,6 +158,7 @@
"shiki": "^4.0.0",
"smol-toml": "^1.6.0",
"svgo": "^4.0.0",
"tinyclip": "^0.1.6",
"tinyexec": "^1.0.2",
"tinyglobby": "^0.2.15",
"tsconfck": "^3.1.6",
Expand Down
8 changes: 3 additions & 5 deletions packages/astro/src/cli/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ async function runCommand(cmd: string, flags: yargs.Arguments) {
{ getPackageManager },
{ StyledDebugInfoFormatter },
{ ClackPrompt },
{ CliClipboard },
{ TinyclipClipboard },
{ PassthroughTextStyler },
{ infoCommand },
] = await Promise.all([
Expand All @@ -115,7 +115,7 @@ async function runCommand(cmd: string, flags: yargs.Arguments) {
import('./info/core/get-package-manager.js'),
import('./info/infra/styled-debug-info-formatter.js'),
import('./info/infra/clack-prompt.js'),
import('./info/infra/cli-clipboard.js'),
import('./info/infra/tinyclip-clipboard.js'),
import('./infra/passthrough-text-styler.js'),
import('./info/core/info.js'),
]);
Expand All @@ -135,10 +135,8 @@ async function runCommand(cmd: string, flags: yargs.Arguments) {
nodeVersionProvider,
});
const prompt = new ClackPrompt({ force: flags.copy });
const clipboard = new CliClipboard({
commandExecutor,
const clipboard = new TinyclipClipboard({
logger,
operatingSystemProvider,
prompt,
});

Expand Down
Loading