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/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,13 @@
"changesets": [
"beige-doodles-bow",
"bright-insects-peel",
"bump-satteri",
"cloudflare-skip-sync-runtime",
"common-pears-drive",
"compress-html-jsx-default",
"container-renderer-export",
"cozy-knives-buy",
"eleven-mice-wink",
"experimental-background-dev",
"expose-get-fetch-state",
"fifty-ways-swim",
Expand All @@ -58,6 +61,8 @@
"seven-pots-begin",
"silly-spoons-write",
"social-paws-take",
"stable-route-caching",
"sunny-rocks-sin",
"trigger-beta",
"two-eels-live",
"update-vite-plugin-svelte-v7",
Expand Down
2 changes: 1 addition & 1 deletion examples/advanced-routing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
},
"dependencies": {
"@astrojs/node": "^11.0.0-beta.2",
"astro": "^7.0.0-beta.5",
"astro": "^7.0.0-beta.6",
"hono": "^4.12.14"
}
}
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": "^7.0.0-beta.5"
"astro": "^7.0.0-beta.6"
}
}
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": "^7.0.0-beta.3",
"@astrojs/mdx": "^7.0.0-beta.4",
"@astrojs/rss": "^4.0.18",
"@astrojs/sitemap": "^3.7.3",
"astro": "^7.0.0-beta.5",
"astro": "^7.0.0-beta.6",
"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": "^7.0.0-beta.5"
"astro": "^7.0.0-beta.6"
},
"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": "^6.0.0-beta.2",
"astro": "^7.0.0-beta.5",
"astro": "^7.0.0-beta.6",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"vitest": "^4.1.0"
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": "^1.0.0-beta.1",
"@types/alpinejs": "^3.13.11",
"alpinejs": "^3.15.8",
"astro": "^7.0.0-beta.5"
"astro": "^7.0.0-beta.6"
}
}
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": "^7.0.0-beta.2",
"@types/react": "^18.3.28",
"@types/react-dom": "^18.3.7",
"astro": "^7.0.0-beta.5",
"astro": "^7.0.0-beta.6",
"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": "^6.0.0-beta.2",
"@preact/signals": "^2.8.1",
"astro": "^7.0.0-beta.5",
"astro": "^7.0.0-beta.6",
"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": "^6.0.0-beta.2",
"@types/react": "^18.3.28",
"@types/react-dom": "^18.3.7",
"astro": "^7.0.0-beta.5",
"astro": "^7.0.0-beta.6",
"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": "^7.0.0-beta.2",
"astro": "^7.0.0-beta.5",
"astro": "^7.0.0-beta.6",
"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": "^9.0.0-beta.4",
"astro": "^7.0.0-beta.5",
"astro": "^7.0.0-beta.6",
"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": "^7.0.0-beta.2",
"astro": "^7.0.0-beta.5",
"astro": "^7.0.0-beta.6",
"vue": "^3.5.29"
}
}
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": "^11.0.0-beta.2",
"astro": "^7.0.0-beta.5"
"astro": "^7.0.0-beta.6"
}
}
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": "^7.0.0-beta.5"
"astro": "^7.0.0-beta.6"
},
"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": "^7.0.0-beta.5"
"astro": "^7.0.0-beta.6"
}
}
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": "^7.0.0-beta.5"
"astro": "^7.0.0-beta.6"
}
}
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": "^11.0.0-beta.2",
"@astrojs/svelte": "^9.0.0-beta.4",
"astro": "^7.0.0-beta.5",
"astro": "^7.0.0-beta.6",
"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": "^7.0.0-beta.5",
"astro": "^7.0.0-beta.6",
"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": "^22.10.6",
"astro": "^7.0.0-beta.5"
"astro": "^7.0.0-beta.6"
},
"engines": {
"node": ">=22.12.0"
Expand Down
2 changes: 1 addition & 1 deletion examples/with-markdoc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
},
"dependencies": {
"@astrojs/markdoc": "^2.0.0-beta.1",
"astro": "^7.0.0-beta.5"
"astro": "^7.0.0-beta.6"
}
}
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": "^7.0.0-beta.3",
"@astrojs/mdx": "^7.0.0-beta.4",
"@astrojs/preact": "^6.0.0-beta.2",
"astro": "^7.0.0-beta.5",
"astro": "^7.0.0-beta.6",
"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": "^6.0.0-beta.2",
"@nanostores/preact": "^1.0.0",
"astro": "^7.0.0-beta.5",
"astro": "^7.0.0-beta.6",
"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": "^7.0.0-beta.3",
"@astrojs/mdx": "^7.0.0-beta.4",
"@tailwindcss/vite": "^4.2.1",
"@types/canvas-confetti": "^1.9.0",
"astro": "^7.0.0-beta.5",
"astro": "^7.0.0-beta.6",
"canvas-confetti": "^1.9.4",
"tailwindcss": "^4.2.1",
"vite": "^8.0.13"
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": "^7.0.0-beta.5",
"astro": "^7.0.0-beta.6",
"vitest": "^5.0.0-beta.2"
}
}
43 changes: 43 additions & 0 deletions packages/astro/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,48 @@
# astro

## 7.0.0-beta.6

### Minor Changes

- [#17116](https://github.com/withastro/astro/pull/17116) [`f95e58e`](https://github.com/withastro/astro/commit/f95e58eaa6a6d7ac02f84193b485471f0cd14de6) Thanks [@ascorbic](https://github.com/ascorbic)! - Stabilizes route caching, removing the `experimental.cache` and `experimental.routeRules` flags and replacing them with the top-level `cache` and `routeRules` configuration options.

Route caching, introduced experimentally in v6.0.0, is now stable. It gives you a platform-agnostic way to cache responses from [on-demand rendered](https://docs.astro.build/en/guides/on-demand-rendering/) pages and endpoints, based on standard HTTP caching semantics.

Update your config to move `cache` and `routeRules` out of the `experimental` block:

```diff
// astro.config.mjs
import { defineConfig, memoryCache } from 'astro/config';

export default defineConfig({
- experimental: {
- cache: {
- provider: memoryCache(),
- },
- routeRules: {
- '/blog/[...path]': { maxAge: 300, swr: 60 },
- },
- },
+ cache: {
+ provider: memoryCache(),
+ },
+ routeRules: {
+ '/blog/[...path]': { maxAge: 300, swr: 60 },
+ },
});
```

Set caching directives in your routes with `Astro.cache` (in `.astro` pages) or `context.cache` (in API routes and middleware), and Astro translates them into the appropriate headers or runtime behavior depending on your configured cache provider. You can also define cache rules for routes declaratively in your config using `routeRules`, without modifying route code.

See the [route caching guide](https://docs.astro.build/en/guides/caching/) for more information.

### Patch Changes

- [#17090](https://github.com/withastro/astro/pull/17090) [`3cf76c0`](https://github.com/withastro/astro/commit/3cf76c035eef5954637e78015be9c20d0129599a) Thanks [@matthewp](https://github.com/matthewp)! - Fixes Vite and Rolldown build warnings

- Updated dependencies [[`7e7ab87`](https://github.com/withastro/astro/commit/7e7ab8775f1c70e00e30db9d3c4796246eaf1c5f)]:
- @astrojs/markdown-satteri@0.3.1-beta.2

## 7.0.0-beta.5

### Major 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": "7.0.0-beta.5",
"version": "7.0.0-beta.6",
"description": "Astro is a modern site builder with web best practices, performance, and DX front-of-mind.",
"type": "module",
"author": "withastro",
Expand Down
6 changes: 6 additions & 0 deletions packages/create-astro/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# create-astro

## 5.1.0-beta.0

### Minor Changes

- [#17122](https://github.com/withastro/astro/pull/17122) [`cbd6123`](https://github.com/withastro/astro/commit/cbd6123f072190df9c6bd49f5baf0e248e521d20) Thanks [@matthewp](https://github.com/matthewp)! - Adds a default `AGENTS.md` file to new projects with dev server instructions and documentation links. Also creates a `CLAUDE.md` symlink (with hard link fallback) pointing to `AGENTS.md`.

## 5.0.6

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/create-astro/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "create-astro",
"version": "5.0.6",
"version": "5.1.0-beta.0",
"type": "module",
"author": "withastro",
"license": "MIT",
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

## 14.0.0-beta.3

### Patch Changes

- [#16961](https://github.com/withastro/astro/pull/16961) [`96398e8`](https://github.com/withastro/astro/commit/96398e8e81632e9c8b61cb8ee23ac359ea8120c0) Thanks [@adamchal](https://github.com/adamchal)! - Speeds up `astro sync` by no longer starting the Cloudflare runtime during type generation

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

## 14.0.0-beta.2

### 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",
"version": "14.0.0-beta.2",
"version": "14.0.0-beta.3",
"type": "module",
"types": "./dist/index.d.ts",
"author": "withastro",
Expand Down
6 changes: 6 additions & 0 deletions packages/integrations/mdx/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @astrojs/mdx

## 7.0.0-beta.4

### Patch Changes

- [#17124](https://github.com/withastro/astro/pull/17124) [`7e7ab87`](https://github.com/withastro/astro/commit/7e7ab8775f1c70e00e30db9d3c4796246eaf1c5f) Thanks [@Princesseuh](https://github.com/Princesseuh)! - Updates `satteri` to `0.9.0`. See the [Sätteri changelog](https://github.com/bruits/satteri/blob/main/packages/satteri/CHANGELOG.md) for details.

## 7.0.0-beta.3

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/integrations/mdx/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@astrojs/mdx",
"description": "Add support for MDX pages in your Astro site",
"version": "7.0.0-beta.3",
"version": "7.0.0-beta.4",
"type": "module",
"types": "./dist/index.d.ts",
"author": "withastro",
Expand Down
6 changes: 6 additions & 0 deletions packages/markdown/satteri/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @astrojs/markdown-satteri

## 0.3.1-beta.2

### Patch Changes

- [#17124](https://github.com/withastro/astro/pull/17124) [`7e7ab87`](https://github.com/withastro/astro/commit/7e7ab8775f1c70e00e30db9d3c4796246eaf1c5f) Thanks [@Princesseuh](https://github.com/Princesseuh)! - Updates `satteri` to `0.9.0`. See the [Sätteri changelog](https://github.com/bruits/satteri/blob/main/packages/satteri/CHANGELOG.md) for details.

## 0.3.1-beta.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/markdown/satteri/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@astrojs/markdown-satteri",
"version": "0.3.1-beta.1",
"version": "0.3.1-beta.2",
"type": "module",
"author": "withastro",
"license": "MIT",
Expand Down
Loading