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
7 changes: 7 additions & 0 deletions .changeset/fix-netlify-ssr-routing.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@astrojs/netlify': patch
---

Fixes server-rendered routes returning 404 errors

A configuration error in the build output prevented Netlify from correctly routing requests to server-rendered pages, causing them to return 404 errors. This fix ensures that all server routes are properly handled by the Netlify SSR function.
7 changes: 7 additions & 0 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@
"fix-markdoc-table-attributes",
"fix-mdx-slot-hydration",
"fix-netlify-external",
"fix-netlify-ssr-routing",
"fix-preact-cloudflare-hooks",
"fix-rewrite-non-ascii-paths",
"fix-serve-files-outside-srcdir",
Expand Down Expand Up @@ -169,10 +170,12 @@
"legacy-collections-backwards-compat-docs",
"light-parrots-find",
"little-goats-poke",
"long-chefs-tie",
"long-trams-see",
"lovely-mice-sniff",
"lowercase-style-tags",
"many-banks-hammer",
"many-cars-hope",
"markdoc-emit-client-asset",
"markdoc-emit-image-metadata",
"markdoc-render-transform",
Expand Down Expand Up @@ -222,6 +225,7 @@
"small-ghosts-sort",
"smart-mammals-stop",
"smooth-kids-tease",
"social-jeans-mix",
"social-kings-swim",
"social-maps-shine",
"solid-fans-jam",
Expand All @@ -248,6 +252,7 @@
"tender-bats-tan",
"tender-moose-help",
"thin-hands-find",
"three-sheep-burn",
"tiny-books-scream",
"tired-eels-cough",
"tired-poems-shake",
Expand All @@ -265,7 +270,9 @@
"wet-suits-help",
"whole-geckos-think",
"wrangler-main-field",
"yellow-cycles-cheer",
"young-banks-camp",
"young-cougars-mix",
"young-pandas-talk",
"yummy-peas-carry"
]
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.16"
"astro": "^6.0.0-beta.17"
}
}
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.8",
"@astrojs/mdx": "^5.0.0-beta.9",
"@astrojs/rss": "^4.0.15-beta.4",
"@astrojs/sitemap": "^3.6.1-beta.3",
"astro": "^6.0.0-beta.16",
"astro": "^6.0.0-beta.17",
"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.16"
"astro": "^6.0.0-beta.17"
},
"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.16",
"astro": "^6.0.0-beta.17",
"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.16"
"astro": "^6.0.0-beta.17"
}
}
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.16",
"astro": "^6.0.0-beta.17",
"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.16",
"astro": "^6.0.0-beta.17",
"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.16",
"astro": "^6.0.0-beta.17",
"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.16",
"astro": "^6.0.0-beta.17",
"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.16",
"astro": "^6.0.0-beta.17",
"svelte": "^5.53.0"
}
}
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.16",
"astro": "^6.0.0-beta.17",
"vue": "^3.5.28"
}
}
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.5",
"astro": "^6.0.0-beta.16"
"@astrojs/node": "^10.0.0-beta.6",
"astro": "^6.0.0-beta.17"
}
}
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.16"
"astro": "^6.0.0-beta.17"
},
"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.16"
"astro": "^6.0.0-beta.17"
}
}
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.16"
"astro": "^6.0.0-beta.17"
}
}
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.5",
"@astrojs/node": "^10.0.0-beta.6",
"@astrojs/svelte": "^8.0.0-beta.3",
"astro": "^6.0.0-beta.16",
"astro": "^6.0.0-beta.17",
"svelte": "^5.53.0"
}
}
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.16",
"astro": "^6.0.0-beta.17",
"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.16"
"astro": "^6.0.0-beta.17"
},
"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.11",
"astro": "^6.0.0-beta.16"
"@astrojs/markdoc": "^1.0.0-beta.12",
"astro": "^6.0.0-beta.17"
}
}
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.8",
"@astrojs/mdx": "^5.0.0-beta.9",
"@astrojs/preact": "^5.0.0-beta.4",
"astro": "^6.0.0-beta.16",
"astro": "^6.0.0-beta.17",
"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.16",
"astro": "^6.0.0-beta.17",
"nanostores": "^1.1.0",
"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.8",
"@astrojs/mdx": "^5.0.0-beta.9",
"@tailwindcss/vite": "^4.2.0",
"@types/canvas-confetti": "^1.9.0",
"astro": "^6.0.0-beta.16",
"astro": "^6.0.0-beta.17",
"canvas-confetti": "^1.9.4",
"tailwindcss": "^4.2.0"
}
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.16",
"astro": "^6.0.0-beta.17",
"vitest": "^3.2.4"
}
}
48 changes: 48 additions & 0 deletions packages/astro/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,53 @@
# astro

## 6.0.0-beta.17

### Minor Changes

- [#15495](https://github.com/withastro/astro/pull/15495) [`5b99e90`](https://github.com/withastro/astro/commit/5b99e9077a92602f1e46e9b6eb9094bcd00c640e) Thanks [@leekeh](https://github.com/leekeh)! - Adds a new `middlewareMode` adapter feature to replace the previous `edgeMiddleware` option.

This feature only impacts adapter authors. If your adapter supports `edgeMiddleware`, you should upgrade to the new `middlewareMode` option to specify the middleware mode for your adapter as soon as possible. The `edgeMiddleware` feature is deprecated and will be removed in a future major release.

```diff
export default function createIntegration() {
return {
name: '@example/my-adapter',
hooks: {
'astro:config:done': ({ setAdapter }) => {
setAdapter({
name: '@example/my-adapter',
serverEntrypoint: '@example/my-adapter/server.js',
adapterFeatures: {
- edgeMiddleware: true
+ middlewareMode: 'edge'
}
});
},
},
};
}
```

### Patch Changes

- [#15657](https://github.com/withastro/astro/pull/15657) [`cb625b6`](https://github.com/withastro/astro/commit/cb625b62596582047ec8cc4256960cc11804e931) Thanks [@qzio](https://github.com/qzio)! - Adds a new `security.actionBodySizeLimit` option to configure the maximum size of Astro Actions request bodies.

This lets you increase the default 1 MB limit when your actions need to accept larger payloads. For example, actions that handle file uploads or large JSON payloads can now opt in to a higher limit.

If you do not set this option, Astro continues to enforce the 1 MB default to help prevent abuse.

```js
// astro.config.mjs
export default defineConfig({
security: {
actionBodySizeLimit: 10 * 1024 * 1024, // set to 10 MB
},
});
```

- Updated dependencies [[`1fa4177`](https://github.com/withastro/astro/commit/1fa41779c458123f707940a5253dbe6e540dbf7d)]:
- @astrojs/markdown-remark@7.0.0-beta.8

## 6.0.0-beta.16

### Minor 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.16",
"version": "6.0.0-beta.17",
"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.11

### Patch Changes

- [#15495](https://github.com/withastro/astro/pull/15495) [`5b99e90`](https://github.com/withastro/astro/commit/5b99e9077a92602f1e46e9b6eb9094bcd00c640e) Thanks [@leekeh](https://github.com/leekeh)! - Refactors to use `middlewareMode` adapter feature (set to `classic`)

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

## 13.0.0-beta.10

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

## 1.0.0-beta.12

### Patch Changes

- Updated dependencies [[`1fa4177`](https://github.com/withastro/astro/commit/1fa41779c458123f707940a5253dbe6e540dbf7d)]:
- @astrojs/markdown-remark@7.0.0-beta.8

## 1.0.0-beta.11

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

## 5.0.0-beta.9

### Patch Changes

- Updated dependencies [[`1fa4177`](https://github.com/withastro/astro/commit/1fa41779c458123f707940a5253dbe6e540dbf7d)]:
- @astrojs/markdown-remark@7.0.0-beta.8

## 5.0.0-beta.8

### Major Changes
Expand Down
Loading
Loading