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
9 changes: 9 additions & 0 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@
"cyan-crews-cross",
"dance-ornate-keen",
"deep-states-talk",
"drop-cjs-config-support",
"dull-mangos-travel",
"early-badgers-pull",
"encoding-static-builds",
Expand All @@ -84,11 +85,14 @@
"grumpy-tables-serve",
"heavy-cats-own",
"helpful-runtime-errors",
"hojze-jglnm-ggfbv",
"honest-deer-add",
"icy-pigs-smile",
"itchy-ghosts-flow",
"kind-emus-relate",
"kind-pears-behave",
"large-ears-ask",
"large-keys-see",
"late-carrots-cough",
"late-spiders-change",
"legacy-collections-backwards-compat-docs",
Expand All @@ -112,19 +116,24 @@
"sixty-deer-fold",
"slow-laws-marry",
"smooth-kids-tease",
"social-kings-swim",
"social-maps-shine",
"solid-fans-jam",
"some-olives-march",
"spicy-beds-boil",
"ssr-manifest-breaking",
"stale-ads-see",
"strong-islands-say",
"swift-planets-swim",
"tall-needles-cross",
"tangy-years-grin",
"tender-moose-help",
"thin-hands-find",
"tiny-books-scream",
"tired-eels-cough",
"tired-poems-shake",
"tricky-donkeys-camp",
"true-bats-punch",
"vite-environments-breaking",
"warm-dots-glow",
"wet-lines-wear",
Expand Down
2 changes: 1 addition & 1 deletion examples/basics/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
"astro": "astro"
},
"dependencies": {
"astro": "^6.0.0-beta.1"
"astro": "^6.0.0-beta.2"
}
}
2 changes: 1 addition & 1 deletion examples/blog/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"@astrojs/mdx": "^5.0.0-beta.1",
"@astrojs/rss": "^4.0.15-beta.1",
"@astrojs/sitemap": "^3.6.1-beta.2",
"astro": "^6.0.0-beta.1",
"astro": "^6.0.0-beta.2",
"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 @@ -15,7 +15,7 @@
],
"scripts": {},
"devDependencies": {
"astro": "^6.0.0-beta.1"
"astro": "^6.0.0-beta.2"
},
"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 @@ -12,7 +12,7 @@
},
"dependencies": {
"@astrojs/react": "^5.0.0-beta.1",
"astro": "^6.0.0-beta.1",
"astro": "^6.0.0-beta.2",
"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 @@ -13,6 +13,6 @@
"@astrojs/alpinejs": "^0.5.0-beta.1",
"@types/alpinejs": "^3.13.11",
"alpinejs": "^3.15.4",
"astro": "^6.0.0-beta.1"
"astro": "^6.0.0-beta.2"
}
}
2 changes: 1 addition & 1 deletion examples/framework-multiple/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"@astrojs/vue": "^6.0.0-beta.0",
"@types/react": "^18.3.27",
"@types/react-dom": "^18.3.7",
"astro": "^6.0.0-beta.1",
"astro": "^6.0.0-beta.2",
"preact": "^10.28.2",
"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 @@ -12,7 +12,7 @@
"dependencies": {
"@astrojs/preact": "^5.0.0-beta.1",
"@preact/signals": "^2.5.1",
"astro": "^6.0.0-beta.1",
"astro": "^6.0.0-beta.2",
"preact": "^10.28.2"
}
}
2 changes: 1 addition & 1 deletion examples/framework-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"@astrojs/react": "^5.0.0-beta.1",
"@types/react": "^18.3.27",
"@types/react-dom": "^18.3.7",
"astro": "^6.0.0-beta.1",
"astro": "^6.0.0-beta.2",
"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 @@ -11,7 +11,7 @@
},
"dependencies": {
"@astrojs/solid-js": "^6.0.0-beta.1",
"astro": "^6.0.0-beta.1",
"astro": "^6.0.0-beta.2",
"solid-js": "^1.9.10"
}
}
2 changes: 1 addition & 1 deletion examples/framework-svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"dependencies": {
"@astrojs/svelte": "^8.0.0-beta.0",
"astro": "^6.0.0-beta.1",
"astro": "^6.0.0-beta.2",
"svelte": "^5.46.1"
}
}
2 changes: 1 addition & 1 deletion examples/framework-vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"dependencies": {
"@astrojs/vue": "^6.0.0-beta.0",
"astro": "^6.0.0-beta.1",
"astro": "^6.0.0-beta.2",
"vue": "^3.5.26"
}
}
2 changes: 1 addition & 1 deletion examples/hackernews/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
},
"dependencies": {
"@astrojs/node": "^10.0.0-beta.0",
"astro": "^6.0.0-beta.1"
"astro": "^6.0.0-beta.2"
}
}
2 changes: 1 addition & 1 deletion examples/integration/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
],
"scripts": {},
"devDependencies": {
"astro": "^6.0.0-beta.1"
"astro": "^6.0.0-beta.2"
},
"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 @@ -10,6 +10,6 @@
"astro": "astro"
},
"dependencies": {
"astro": "^6.0.0-beta.1"
"astro": "^6.0.0-beta.2"
}
}
2 changes: 1 addition & 1 deletion examples/portfolio/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
"astro": "astro"
},
"dependencies": {
"astro": "^6.0.0-beta.1"
"astro": "^6.0.0-beta.2"
}
}
2 changes: 1 addition & 1 deletion examples/ssr/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"dependencies": {
"@astrojs/node": "^10.0.0-beta.0",
"@astrojs/svelte": "^8.0.0-beta.0",
"astro": "^6.0.0-beta.1",
"astro": "^6.0.0-beta.2",
"svelte": "^5.46.1"
}
}
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.1",
"astro": "^6.0.0-beta.2",
"sass": "^1.97.2",
"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,6 +16,6 @@
},
"devDependencies": {
"@types/node": "^18.17.8",
"astro": "^6.0.0-beta.1"
"astro": "^6.0.0-beta.2"
}
}
2 changes: 1 addition & 1 deletion examples/with-markdoc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
},
"dependencies": {
"@astrojs/markdoc": "^1.0.0-beta.4",
"astro": "^6.0.0-beta.1"
"astro": "^6.0.0-beta.2"
}
}
2 changes: 1 addition & 1 deletion examples/with-mdx/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"dependencies": {
"@astrojs/mdx": "^5.0.0-beta.1",
"@astrojs/preact": "^5.0.0-beta.1",
"astro": "^6.0.0-beta.1",
"astro": "^6.0.0-beta.2",
"preact": "^10.28.2"
}
}
2 changes: 1 addition & 1 deletion examples/with-nanostores/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"dependencies": {
"@astrojs/preact": "^5.0.0-beta.1",
"@nanostores/preact": "^0.5.2",
"astro": "^6.0.0-beta.1",
"astro": "^6.0.0-beta.2",
"nanostores": "^0.11.4",
"preact": "^10.28.2"
}
Expand Down
2 changes: 1 addition & 1 deletion examples/with-tailwindcss/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"@astrojs/mdx": "^5.0.0-beta.1",
"@tailwindcss/vite": "^4.1.18",
"@types/canvas-confetti": "^1.9.0",
"astro": "^6.0.0-beta.1",
"astro": "^6.0.0-beta.2",
"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 @@ -11,7 +11,7 @@
"test": "vitest"
},
"dependencies": {
"astro": "^6.0.0-beta.1",
"astro": "^6.0.0-beta.2",
"vitest": "^3.2.4"
}
}
44 changes: 41 additions & 3 deletions packages/astro/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,42 @@
# astro

## 6.0.0-beta.2

### Major Changes

- [#15192](https://github.com/withastro/astro/pull/15192) [`ada2808`](https://github.com/withastro/astro/commit/ada2808a23fc70ea1f1663f3e1b69c6b735251e5) Thanks [@gameroman](https://github.com/gameroman)! - Removes support for CommonJS config files - ([v6 upgrade guidance](https://v6.docs.astro.build/en/guides/upgrade-to/v6/#removed-support-for-commonjs-config-files))

- [#15266](https://github.com/withastro/astro/pull/15266) [`f7c9365`](https://github.com/withastro/astro/commit/f7c9365d92b2196d4ba6cffd01b01967ca73728c) Thanks [@florian-lefebvre](https://github.com/florian-lefebvre)! - Allows `Astro.csp` and `context.csp` to be undefined instead of throwing errors when `csp: true` is not configured

When using the experimental Content Security Policy feature in Astro 5.x, `context.csp` was always defined but would throw if `experimental.csp` was not enabled in the Astro config.

For the stable version of this API in Astro 6, `context.csp` can now be undefined if CSP is not enabled and its methods will never throw.

#### What should I do?

If you were using experimental CSP runtime utilities, you must now access methods conditionally:

```diff
-Astro.csp.insertDirective("default-src 'self'");
+Astro.csp?.insertDirective("default-src 'self'");
```

### Patch Changes

- [#15208](https://github.com/withastro/astro/pull/15208) [`8dbdd8e`](https://github.com/withastro/astro/commit/8dbdd8efc12926eddbe189cf67a161bebf9fb5dd) Thanks [@matthewp](https://github.com/matthewp)! - Makes `session.driver` optional in config schema, allowing adapters to provide default drivers

Adapters like Cloudflare, Netlify, and Node provide default session drivers, so users can now configure session options (like `ttl`) without explicitly specifying a driver.

- [#15260](https://github.com/withastro/astro/pull/15260) [`abca1eb`](https://github.com/withastro/astro/commit/abca1ebc0ed4b89b1904c58b7969f8386250f8de) Thanks [@ematipico](https://github.com/ematipico)! - Fixes an issue where adding new pages weren't correctly shown when using the development server.

- [#15214](https://github.com/withastro/astro/pull/15214) [`6bab8c9`](https://github.com/withastro/astro/commit/6bab8c992add3ecad7581b26f6bc28a74e5d3485) Thanks [@ematipico](https://github.com/ematipico)! - Fixes an issue where the internal perfomance timers weren't correctly updated to reflect new build pipeline.

- [#15259](https://github.com/withastro/astro/pull/15259) [`8670a69`](https://github.com/withastro/astro/commit/8670a699e96fcc972d441c75e503b20e8961a71f) Thanks [@ematipico](https://github.com/ematipico)! - Fixes an issue where styles weren't correctly reloaded when using the `@astrojs/cloudflare` adapter.

- [#15205](https://github.com/withastro/astro/pull/15205) [`12adc55`](https://github.com/withastro/astro/commit/12adc5507c99fa7f315d0c78e82005524e7bbb32) Thanks [@martrapp](https://github.com/martrapp)! - Fixes an issue where the `astro:page-load` event did not fire on initial page loads.

- [#15269](https://github.com/withastro/astro/pull/15269) [`6f82aae`](https://github.com/withastro/astro/commit/6f82aae24c64a059531f4b924c201fbd4c3e9180) Thanks [@ematipico](https://github.com/ematipico)! - Fixes a regression where `build.serverEntry` stopped working as expected.

## 6.0.0-beta.1

### Patch Changes
Expand Down Expand Up @@ -37,8 +74,8 @@
export default defineConfig({
legacy: {
collectionsBackwardsCompat: true,
}
})
},
});
```

## 6.0.0-alpha.5
Expand Down Expand Up @@ -557,6 +594,8 @@
```diff
// astro.config.mjs
import { defineConfig, fontProviders } from 'astro/config'
```

- [#15150](https://github.com/withastro/astro/pull/15150) [`a77c4f4`](https://github.com/withastro/astro/commit/a77c4f42b56b46b08064a99e9cb9a2b4bace4445) Thanks [@matthewp](https://github.com/matthewp)! - Fixes hydration for framework components inside MDX when using `Astro.slots.render()`

Previously, when multiple framework components with `client:*` directives were passed as named slots to an Astro component in MDX, only the first slot would hydrate correctly. Subsequent slots would render their HTML but fail to include the necessary hydration scripts.
Expand Down Expand Up @@ -619,7 +658,6 @@

- [#15176](https://github.com/withastro/astro/pull/15176) [`9265546`](https://github.com/withastro/astro/commit/92655460785e4b0a9eca9bac2e493a9c989dff47) Thanks [@matthewp](https://github.com/matthewp)! - Fixes scripts in components not rendering when a sibling `<Fragment slot="...">` exists but is unused


## 5.16.8

### Patch Changes
Expand Down
2 changes: 1 addition & 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.1",
"version": "6.0.0-beta.2",
"description": "Astro is a modern site builder with web best practices, performance, and DX front-of-mind.",
"type": "module",
"author": "withastro",
Expand Down
9 changes: 9 additions & 0 deletions packages/integrations/cloudflare/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @astrojs/cloudflare

## 13.0.0-beta.1

### Patch Changes

- [#15269](https://github.com/withastro/astro/pull/15269) [`6f82aae`](https://github.com/withastro/astro/commit/6f82aae24c64a059531f4b924c201fbd4c3e9180) Thanks [@ematipico](https://github.com/ematipico)! - Fixes a regression where `build.serverEntry` stopped working as expected.

- Updated dependencies []:
- @astrojs/underscore-redirects@1.0.0

## 13.0.0-beta.0

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/integrations/cloudflare/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@astrojs/cloudflare",
"description": "Deploy your site to Cloudflare Workers/Pages",
"version": "13.0.0-beta.0",
"version": "13.0.0-beta.1",
"type": "module",
"types": "./dist/index.d.ts",
"author": "withastro",
Expand Down
6 changes: 6 additions & 0 deletions packages/language-tools/astro-check/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @astrojs/check

## 0.9.7-beta.1

### Patch Changes

- [#15198](https://github.com/withastro/astro/pull/15198) [`55107a1`](https://github.com/withastro/astro/commit/55107a1bc6e578e036be45ade5e259e77f31105b) Thanks [@HiDeoo](https://github.com/HiDeoo)! - Updates to Astro 6 beta

## 0.9.6-beta.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/language-tools/astro-check/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@astrojs/check",
"description": "Type checking and diagnostics for Astro projects",
"version": "0.9.7-beta.0",
"version": "0.9.7-beta.1",
"author": "withastro",
"license": "MIT",
"homepage": "https://github.com/withastro/astro/tree/main/packages/language-tools/astro-check",
Expand Down
Loading