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/clean-planets-flow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'astro': patch
---

Improves rendering by preserving `hidden="until-found"` value in attribues
7 changes: 7 additions & 0 deletions .changeset/happy-frogs-glow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@astrojs/markdown-remark': major
'@astrojs/mdx': major
'astro': major
---

Changes how styles applied to code blocks are emitted to support CSP - ([v6 upgrade guidance](https://v6.docs.astro.build/en/guides/upgrade-to/v6/#changed-how-shiki-code-block-styles-are-emitted))
5 changes: 5 additions & 0 deletions .changeset/little-goats-poke.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'astro': patch
---

Improves the JSDoc annotations for the `AstroAdapter` type
8 changes: 8 additions & 0 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@
"busy-humans-smoke",
"busy-olives-chew",
"calm-birds-fly",
"clean-planets-flow",
"clear-areas-cry",
"clever-clubs-listen",
"cloudflare-dev-styles",
Expand Down Expand Up @@ -120,6 +121,8 @@
"great-nails-brake",
"green-garlics-heal",
"grumpy-tables-serve",
"happy-frogs-glow",
"heavy-beers-unite",
"heavy-cats-own",
"heavy-parts-throw",
"helpful-runtime-errors",
Expand All @@ -139,6 +142,7 @@
"late-spiders-change",
"legacy-collections-backwards-compat-docs",
"light-parrots-find",
"little-goats-poke",
"long-trams-see",
"lovely-mice-sniff",
"lowercase-style-tags",
Expand Down Expand Up @@ -166,6 +170,7 @@
"puny-poems-create",
"quick-dingos-itch",
"quiet-cars-burn",
"quiet-owls-jump",
"ready-eagles-wink",
"ready-tigers-try",
"remove-cloudflare-modules",
Expand All @@ -178,6 +183,7 @@
"sad-teams-end",
"short-pears-hammer",
"shy-cats-grin",
"silly-eels-remain",
"six-women-visit",
"sixty-deer-fold",
"slick-plums-remain",
Expand Down Expand Up @@ -205,6 +211,7 @@
"tall-needles-cross",
"tall-worms-live",
"tangy-days-wink",
"tangy-tables-jog",
"tangy-years-grin",
"tender-bats-tan",
"tender-moose-help",
Expand All @@ -219,6 +226,7 @@
"vite-environments-breaking",
"vite-plugin-react-v5",
"vite-plugin-vue-v6",
"warm-donuts-learn",
"warm-dots-glow",
"wet-lines-wear",
"wet-suits-help",
Expand Down
19 changes: 19 additions & 0 deletions .changeset/warm-donuts-learn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
'astro': minor
---

Adds `streaming` option to the `createApp()` function in the Adapter API, mirroring the same functionality available when creating a new `App` instance

An adapter's `createApp()` function now accepts `streaming` (defaults to `true`) as an option. HTML streaming breaks a document into chunks to send over the network and render on the page in order. This normally results in visitors seeing your HTML as fast as possible but factors such as network conditions and waiting for data fetches can block page rendering.

HTML streaming helps with performance and generally provides a better visitor experience. In most cases, disabling streaming is not recommended.

However, when you need to disable HTML streaming (e.g. your host only supports non-streamed HTML caching at the CDN level), you can opt out of the default behavior by passing `streaming: false` to `createApp()`:

```ts
import { createApp } from 'astro/app/entrypoint'

const app = createApp({ streaming: false })
```

See more about [the `createApp()` function](https://v6.docs.astro.build/en/reference/adapter-reference/#createapp) in the Adapter API reference.
2 changes: 1 addition & 1 deletion biome.jsonc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://biomejs.dev/schemas/2.3.6/schema.json",
"$schema": "https://biomejs.dev/schemas/2.3.15/schema.json",
"files": {
"includes": [
"**",
Expand Down
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.12"
"astro": "^6.0.0-beta.13"
}
}
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.7",
"@astrojs/mdx": "^5.0.0-beta.8",
"@astrojs/rss": "^4.0.15-beta.3",
"@astrojs/sitemap": "^3.6.1-beta.3",
"astro": "^6.0.0-beta.12",
"astro": "^6.0.0-beta.13",
"sharp": "^0.34.3"
}
}
4 changes: 2 additions & 2 deletions examples/blog/src/styles/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
--gray-dark: 34, 41, 57;
--gray-gradient: rgba(var(--gray-light), 50%), #fff;
--box-shadow:
0 2px 6px rgba(var(--gray), 25%), 0 8px 24px rgba(var(--gray), 33%), 0 16px 32px
rgba(var(--gray), 33%);
0 2px 6px rgba(var(--gray), 25%), 0 8px 24px rgba(var(--gray), 33%),
0 16px 32px rgba(var(--gray), 33%);
}
@font-face {
font-family: "Atkinson";
Expand Down
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.12"
"astro": "^6.0.0-beta.13"
},
"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.12",
"astro": "^6.0.0-beta.13",
"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.12"
"astro": "^6.0.0-beta.13"
}
}
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.12",
"astro": "^6.0.0-beta.13",
"preact": "^10.28.3",
"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.3",
"@preact/signals": "^2.7.1",
"astro": "^6.0.0-beta.12",
"astro": "^6.0.0-beta.13",
"preact": "^10.28.3"
}
}
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.12",
"astro": "^6.0.0-beta.13",
"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.12",
"astro": "^6.0.0-beta.13",
"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.2",
"astro": "^6.0.0-beta.12",
"astro": "^6.0.0-beta.13",
"svelte": "^5.50.3"
}
}
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.12",
"astro": "^6.0.0-beta.13",
"vue": "^3.5.28"
}
}
2 changes: 1 addition & 1 deletion examples/hackernews/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
},
"dependencies": {
"@astrojs/node": "^10.0.0-beta.4",
"astro": "^6.0.0-beta.12"
"astro": "^6.0.0-beta.13"
}
}
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.12"
"astro": "^6.0.0-beta.13"
},
"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.12"
"astro": "^6.0.0-beta.13"
}
}
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.12"
"astro": "^6.0.0-beta.13"
}
}
2 changes: 1 addition & 1 deletion examples/ssr/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"dependencies": {
"@astrojs/node": "^10.0.0-beta.4",
"@astrojs/svelte": "^8.0.0-beta.2",
"astro": "^6.0.0-beta.12",
"astro": "^6.0.0-beta.13",
"svelte": "^5.50.3"
}
}
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.12",
"astro": "^6.0.0-beta.13",
"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.12"
"astro": "^6.0.0-beta.13"
},
"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.10",
"astro": "^6.0.0-beta.12"
"@astrojs/markdoc": "^1.0.0-beta.11",
"astro": "^6.0.0-beta.13"
}
}
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.7",
"@astrojs/mdx": "^5.0.0-beta.8",
"@astrojs/preact": "^5.0.0-beta.3",
"astro": "^6.0.0-beta.12",
"astro": "^6.0.0-beta.13",
"preact": "^10.28.3"
}
}
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.3",
"@nanostores/preact": "^1.0.0",
"astro": "^6.0.0-beta.12",
"astro": "^6.0.0-beta.13",
"nanostores": "^1.1.0",
"preact": "^10.28.3"
}
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.7",
"@astrojs/mdx": "^5.0.0-beta.8",
"@tailwindcss/vite": "^4.1.18",
"@types/canvas-confetti": "^1.9.0",
"astro": "^6.0.0-beta.12",
"astro": "^6.0.0-beta.13",
"canvas-confetti": "^1.9.4",
"tailwindcss": "^4.1.18"
}
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.12",
"astro": "^6.0.0-beta.13",
"vitest": "^3.2.4"
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
},
"devDependencies": {
"@astrojs/check": "^0.9.5",
"@biomejs/biome": "2.3.6",
"@biomejs/biome": "2.3.15",
"@changesets/changelog-github": "^0.5.2",
"@changesets/cli": "^2.29.8",
"@flue/cli": "^0.0.32",
Expand Down
Loading
Loading