From 19ba8221bbdb1169568c80443eb3c509c688193d Mon Sep 17 00:00:00 2001 From: Matthew Phillips Date: Thu, 26 Feb 2026 16:33:44 -0500 Subject: [PATCH 1/2] Fix Netlify routing of SSR pages (#15679) * Fix Netlify routing of SSR pages * add comment --- .changeset/fix-netlify-ssr-routing.md | 7 +++++++ packages/integrations/netlify/src/index.ts | 14 +++++++++++--- packages/integrations/netlify/src/ssr-function.ts | 11 +---------- .../integrations/netlify/src/vite-plugin-config.ts | 1 - 4 files changed, 19 insertions(+), 14 deletions(-) create mode 100644 .changeset/fix-netlify-ssr-routing.md diff --git a/.changeset/fix-netlify-ssr-routing.md b/.changeset/fix-netlify-ssr-routing.md new file mode 100644 index 000000000000..dca3940317b6 --- /dev/null +++ b/.changeset/fix-netlify-ssr-routing.md @@ -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. \ No newline at end of file diff --git a/packages/integrations/netlify/src/index.ts b/packages/integrations/netlify/src/index.ts index 7ca6aed53549..8e1a458a7a12 100644 --- a/packages/integrations/netlify/src/index.ts +++ b/packages/integrations/netlify/src/index.ts @@ -420,11 +420,20 @@ export default function netlifyIntegration( await writeFile( new URL('./ssr.mjs', ssrOutputDir()), ` - import { config, createHandler } from './${handler}'; + import { createHandler } from './${handler}'; export default createHandler(${JSON.stringify({ notFoundContent })}); - export { config }; + // The config must be inlined here instead of imported because Netlify + // parses this file statically to read the config. + export const config = { + includedFiles: ['**/*'], + name: 'Astro SSR', + nodeBundler: 'none', + generator: '@astrojs/netlify@${packageVersion}', + path: '/*', + preferStatic: true, + }; `, ); } @@ -652,7 +661,6 @@ export default function netlifyIntegration( createConfigPlugin({ middlewareSecret, cacheOnDemandPages: !!integrationConfig?.cacheOnDemandPages, - packageVersion, }), ], ssr: { diff --git a/packages/integrations/netlify/src/ssr-function.ts b/packages/integrations/netlify/src/ssr-function.ts index 17e0c65d6033..ad22c6385f8a 100644 --- a/packages/integrations/netlify/src/ssr-function.ts +++ b/packages/integrations/netlify/src/ssr-function.ts @@ -1,6 +1,6 @@ import type { Context } from '@netlify/functions'; import { setGetEnv } from 'astro/env/setup'; -import { middlewareSecret, cacheOnDemandPages, packageVersion } from 'virtual:astro-netlify:config'; +import { middlewareSecret, cacheOnDemandPages } from 'virtual:astro-netlify:config'; import { createApp } from 'astro/app/entrypoint'; setGetEnv((key) => process.env[key]); @@ -64,12 +64,3 @@ export function createHandler({ notFoundContent }: { notFoundContent: string | u return response; }; } - -export const config = { - includedFiles: ['**/*'], - name: 'Astro SSR', - nodeBundler: 'none', - generator: `@astrojs/netlify@${packageVersion}`, - path: '/*', - preferStatic: true, -}; diff --git a/packages/integrations/netlify/src/vite-plugin-config.ts b/packages/integrations/netlify/src/vite-plugin-config.ts index 3472b5de05c0..23a756f29c42 100644 --- a/packages/integrations/netlify/src/vite-plugin-config.ts +++ b/packages/integrations/netlify/src/vite-plugin-config.ts @@ -6,7 +6,6 @@ const RESOLVED_VIRTUAL_CONFIG_ID = '\0' + VIRTUAL_CONFIG_ID; export interface Config { middlewareSecret: string; cacheOnDemandPages: boolean; - packageVersion: string; } export function createConfigPlugin(config: Config): PluginOption { From 2239cf2bce0a19486e8e9ad7a48bc004c2938899 Mon Sep 17 00:00:00 2001 From: "Houston (Bot)" <108291165+astrobot-houston@users.noreply.github.com> Date: Thu, 26 Feb 2026 13:39:32 -0800 Subject: [PATCH 2/2] [ci] release (beta) (#15674) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- .changeset/pre.json | 7 +++ examples/basics/package.json | 2 +- examples/blog/package.json | 4 +- examples/component/package.json | 2 +- examples/container-with-vitest/package.json | 2 +- examples/framework-alpine/package.json | 2 +- examples/framework-multiple/package.json | 2 +- examples/framework-preact/package.json | 2 +- examples/framework-react/package.json | 2 +- examples/framework-solid/package.json | 2 +- examples/framework-svelte/package.json | 2 +- examples/framework-vue/package.json | 2 +- examples/hackernews/package.json | 4 +- examples/integration/package.json | 2 +- examples/minimal/package.json | 2 +- examples/portfolio/package.json | 2 +- examples/ssr/package.json | 4 +- examples/starlog/package.json | 2 +- examples/toolbar-app/package.json | 2 +- examples/with-markdoc/package.json | 4 +- examples/with-mdx/package.json | 4 +- examples/with-nanostores/package.json | 2 +- examples/with-tailwindcss/package.json | 4 +- examples/with-vitest/package.json | 2 +- packages/astro/CHANGELOG.md | 48 +++++++++++++++ packages/astro/package.json | 2 +- packages/integrations/cloudflare/CHANGELOG.md | 9 +++ packages/integrations/cloudflare/package.json | 2 +- packages/integrations/markdoc/CHANGELOG.md | 7 +++ packages/integrations/markdoc/package.json | 2 +- packages/integrations/mdx/CHANGELOG.md | 7 +++ packages/integrations/mdx/package.json | 2 +- packages/integrations/netlify/CHANGELOG.md | 26 +++++++++ packages/integrations/netlify/package.json | 2 +- packages/integrations/node/CHANGELOG.md | 21 +++++++ packages/integrations/node/package.json | 2 +- packages/integrations/vercel/CHANGELOG.md | 17 ++++++ packages/integrations/vercel/package.json | 2 +- packages/markdown/remark/CHANGELOG.md | 6 ++ packages/markdown/remark/package.json | 2 +- pnpm-lock.yaml | 58 +++++++++---------- 41 files changed, 214 insertions(+), 66 deletions(-) diff --git a/.changeset/pre.json b/.changeset/pre.json index fdf9f855a195..0f8a73227f0e 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -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", @@ -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", @@ -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", @@ -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", @@ -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" ] diff --git a/examples/basics/package.json b/examples/basics/package.json index cddfa43731a2..089324517991 100644 --- a/examples/basics/package.json +++ b/examples/basics/package.json @@ -13,6 +13,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^6.0.0-beta.16" + "astro": "^6.0.0-beta.17" } } diff --git a/examples/blog/package.json b/examples/blog/package.json index c95861fc5074..8816b7b3cd53 100644 --- a/examples/blog/package.json +++ b/examples/blog/package.json @@ -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" } } diff --git a/examples/component/package.json b/examples/component/package.json index 6a9bb8a33d67..6a544eb47985 100644 --- a/examples/component/package.json +++ b/examples/component/package.json @@ -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" diff --git a/examples/container-with-vitest/package.json b/examples/container-with-vitest/package.json index bf0cf44e485c..878afcaf09a6 100644 --- a/examples/container-with-vitest/package.json +++ b/examples/container-with-vitest/package.json @@ -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" diff --git a/examples/framework-alpine/package.json b/examples/framework-alpine/package.json index 91db50b27648..a4e6c6f85d1b 100644 --- a/examples/framework-alpine/package.json +++ b/examples/framework-alpine/package.json @@ -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" } } diff --git a/examples/framework-multiple/package.json b/examples/framework-multiple/package.json index 316cf62842d0..44397e6c4cd8 100644 --- a/examples/framework-multiple/package.json +++ b/examples/framework-multiple/package.json @@ -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", diff --git a/examples/framework-preact/package.json b/examples/framework-preact/package.json index 4de3b8a55dac..cac6b7e114b7 100644 --- a/examples/framework-preact/package.json +++ b/examples/framework-preact/package.json @@ -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" } } diff --git a/examples/framework-react/package.json b/examples/framework-react/package.json index 09b4d0fc97fb..6a3c48f9ef04 100644 --- a/examples/framework-react/package.json +++ b/examples/framework-react/package.json @@ -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" } diff --git a/examples/framework-solid/package.json b/examples/framework-solid/package.json index 79ff40c8ea06..446682d44915 100644 --- a/examples/framework-solid/package.json +++ b/examples/framework-solid/package.json @@ -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" } } diff --git a/examples/framework-svelte/package.json b/examples/framework-svelte/package.json index 580ca29d0012..7e0e777c0e87 100644 --- a/examples/framework-svelte/package.json +++ b/examples/framework-svelte/package.json @@ -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" } } diff --git a/examples/framework-vue/package.json b/examples/framework-vue/package.json index 6ce19149b9f2..d4952d43e821 100644 --- a/examples/framework-vue/package.json +++ b/examples/framework-vue/package.json @@ -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" } } diff --git a/examples/hackernews/package.json b/examples/hackernews/package.json index 46fd63a3b39f..b5019572b4d6 100644 --- a/examples/hackernews/package.json +++ b/examples/hackernews/package.json @@ -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" } } diff --git a/examples/integration/package.json b/examples/integration/package.json index 5a75c260e2e0..74da1874298d 100644 --- a/examples/integration/package.json +++ b/examples/integration/package.json @@ -18,7 +18,7 @@ ], "scripts": {}, "devDependencies": { - "astro": "^6.0.0-beta.16" + "astro": "^6.0.0-beta.17" }, "peerDependencies": { "astro": "^4.0.0" diff --git a/examples/minimal/package.json b/examples/minimal/package.json index 6ee0ca0f7089..18f4714fab05 100644 --- a/examples/minimal/package.json +++ b/examples/minimal/package.json @@ -13,6 +13,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^6.0.0-beta.16" + "astro": "^6.0.0-beta.17" } } diff --git a/examples/portfolio/package.json b/examples/portfolio/package.json index 093810392540..3189a474dec1 100644 --- a/examples/portfolio/package.json +++ b/examples/portfolio/package.json @@ -13,6 +13,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^6.0.0-beta.16" + "astro": "^6.0.0-beta.17" } } diff --git a/examples/ssr/package.json b/examples/ssr/package.json index 4e03fdeca75e..c0639502f4bc 100644 --- a/examples/ssr/package.json +++ b/examples/ssr/package.json @@ -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" } } diff --git a/examples/starlog/package.json b/examples/starlog/package.json index e67655c67471..f11da4f42517 100644 --- a/examples/starlog/package.json +++ b/examples/starlog/package.json @@ -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" }, diff --git a/examples/toolbar-app/package.json b/examples/toolbar-app/package.json index d5a5731d9a2f..5273c8819a10 100644 --- a/examples/toolbar-app/package.json +++ b/examples/toolbar-app/package.json @@ -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" diff --git a/examples/with-markdoc/package.json b/examples/with-markdoc/package.json index 83e101e68ea3..0bbfdb06ff47 100644 --- a/examples/with-markdoc/package.json +++ b/examples/with-markdoc/package.json @@ -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" } } diff --git a/examples/with-mdx/package.json b/examples/with-mdx/package.json index aeb7832f70d9..14bfefccf386 100644 --- a/examples/with-mdx/package.json +++ b/examples/with-mdx/package.json @@ -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" } } diff --git a/examples/with-nanostores/package.json b/examples/with-nanostores/package.json index f6861b7e5939..bdc17686b9f8 100644 --- a/examples/with-nanostores/package.json +++ b/examples/with-nanostores/package.json @@ -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" } diff --git a/examples/with-tailwindcss/package.json b/examples/with-tailwindcss/package.json index 89270c446313..f654b5d2ff53 100644 --- a/examples/with-tailwindcss/package.json +++ b/examples/with-tailwindcss/package.json @@ -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" } diff --git a/examples/with-vitest/package.json b/examples/with-vitest/package.json index 4fa2cca1b3fe..338345a2f410 100644 --- a/examples/with-vitest/package.json +++ b/examples/with-vitest/package.json @@ -14,7 +14,7 @@ "test": "vitest" }, "dependencies": { - "astro": "^6.0.0-beta.16", + "astro": "^6.0.0-beta.17", "vitest": "^3.2.4" } } diff --git a/packages/astro/CHANGELOG.md b/packages/astro/CHANGELOG.md index 37ef4147d9b3..ec53e202a39e 100644 --- a/packages/astro/CHANGELOG.md +++ b/packages/astro/CHANGELOG.md @@ -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 diff --git a/packages/astro/package.json b/packages/astro/package.json index 8ae84a44cb34..78ad1b186f1d 100644 --- a/packages/astro/package.json +++ b/packages/astro/package.json @@ -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", diff --git a/packages/integrations/cloudflare/CHANGELOG.md b/packages/integrations/cloudflare/CHANGELOG.md index 566c9c55b12a..220e6df953d0 100644 --- a/packages/integrations/cloudflare/CHANGELOG.md +++ b/packages/integrations/cloudflare/CHANGELOG.md @@ -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 diff --git a/packages/integrations/cloudflare/package.json b/packages/integrations/cloudflare/package.json index 36538c3d00fd..716d5bb15be5 100644 --- a/packages/integrations/cloudflare/package.json +++ b/packages/integrations/cloudflare/package.json @@ -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", diff --git a/packages/integrations/markdoc/CHANGELOG.md b/packages/integrations/markdoc/CHANGELOG.md index 01ca5c75e732..6629c5f1753e 100644 --- a/packages/integrations/markdoc/CHANGELOG.md +++ b/packages/integrations/markdoc/CHANGELOG.md @@ -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 diff --git a/packages/integrations/markdoc/package.json b/packages/integrations/markdoc/package.json index 1171b6dc1b5f..f1efa7638ac9 100644 --- a/packages/integrations/markdoc/package.json +++ b/packages/integrations/markdoc/package.json @@ -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", diff --git a/packages/integrations/mdx/CHANGELOG.md b/packages/integrations/mdx/CHANGELOG.md index adc49906aa7f..0401f88f76e2 100644 --- a/packages/integrations/mdx/CHANGELOG.md +++ b/packages/integrations/mdx/CHANGELOG.md @@ -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 diff --git a/packages/integrations/mdx/package.json b/packages/integrations/mdx/package.json index ba877c838cba..24682cfb44bb 100644 --- a/packages/integrations/mdx/package.json +++ b/packages/integrations/mdx/package.json @@ -1,7 +1,7 @@ { "name": "@astrojs/mdx", "description": "Add support for MDX pages in your Astro site", - "version": "5.0.0-beta.8", + "version": "5.0.0-beta.9", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", diff --git a/packages/integrations/netlify/CHANGELOG.md b/packages/integrations/netlify/CHANGELOG.md index a257c0c5bbb3..92ad4e446304 100644 --- a/packages/integrations/netlify/CHANGELOG.md +++ b/packages/integrations/netlify/CHANGELOG.md @@ -1,5 +1,31 @@ # @astrojs/netlify +## 7.0.0-beta.12 + +### 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 new `middlewareMode` adapter feature and deprecates `edgeMiddleware` option + + The `edgeMiddleware` option is now deprecated and will be removed in a future major release, so users should transition to using the new `middlewareMode` feature as soon as possible. + + ```diff + export default defineConfig({ + adapter: netlify({ + - edgeMiddleware: true + + middlewareMode: 'edge' + }) + }) + ``` + +### Patch Changes + +- [#15679](https://github.com/withastro/astro/pull/15679) [`19ba822`](https://github.com/withastro/astro/commit/19ba8221bbdb1169568c80443eb3c509c688193d) Thanks [@matthewp](https://github.com/matthewp)! - 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. + +- Updated dependencies []: + - @astrojs/underscore-redirects@1.0.0 + ## 7.0.0-beta.11 ### Patch Changes diff --git a/packages/integrations/netlify/package.json b/packages/integrations/netlify/package.json index 13efbd35e7b1..2033097629c0 100644 --- a/packages/integrations/netlify/package.json +++ b/packages/integrations/netlify/package.json @@ -1,7 +1,7 @@ { "name": "@astrojs/netlify", "description": "Deploy your site to Netlify", - "version": "7.0.0-beta.11", + "version": "7.0.0-beta.12", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", diff --git a/packages/integrations/node/CHANGELOG.md b/packages/integrations/node/CHANGELOG.md index b44d96d4be21..9c163e574947 100644 --- a/packages/integrations/node/CHANGELOG.md +++ b/packages/integrations/node/CHANGELOG.md @@ -1,5 +1,26 @@ # @astrojs/node +## 10.0.0-beta.6 + +### 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`) + +- [#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 + }, + }); + ``` + ## 10.0.0-beta.5 ### Patch Changes diff --git a/packages/integrations/node/package.json b/packages/integrations/node/package.json index e382e962511b..c36afe483b3a 100644 --- a/packages/integrations/node/package.json +++ b/packages/integrations/node/package.json @@ -1,7 +1,7 @@ { "name": "@astrojs/node", "description": "Deploy your site to a Node.js server", - "version": "10.0.0-beta.5", + "version": "10.0.0-beta.6", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", diff --git a/packages/integrations/vercel/CHANGELOG.md b/packages/integrations/vercel/CHANGELOG.md index 176e1ce82f2b..e7b6593ce5d4 100644 --- a/packages/integrations/vercel/CHANGELOG.md +++ b/packages/integrations/vercel/CHANGELOG.md @@ -1,5 +1,22 @@ # @astrojs/vercel +## 10.0.0-beta.6 + +### 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 new `middlewareMode` adapter feature and deprecates `edgeMiddleware` option + + The `edgeMiddleware` option is now deprecated and will be removed in a future release, so users should transition to using the new `middlewareMode` feature as soon as possible. + + ```diff + export default defineConfig({ + adapter: vercel({ + - edgeMiddleware: true + + middlewareMode: 'edge' + }) + }) + ``` + ## 10.0.0-beta.5 ### Patch Changes diff --git a/packages/integrations/vercel/package.json b/packages/integrations/vercel/package.json index c67413171258..b675c0865cc6 100644 --- a/packages/integrations/vercel/package.json +++ b/packages/integrations/vercel/package.json @@ -1,7 +1,7 @@ { "name": "@astrojs/vercel", "description": "Deploy your site to Vercel", - "version": "10.0.0-beta.5", + "version": "10.0.0-beta.6", "type": "module", "author": "withastro", "license": "MIT", diff --git a/packages/markdown/remark/CHANGELOG.md b/packages/markdown/remark/CHANGELOG.md index 293052b69b27..9f88aa2839b9 100644 --- a/packages/markdown/remark/CHANGELOG.md +++ b/packages/markdown/remark/CHANGELOG.md @@ -1,5 +1,11 @@ # @astrojs/markdown-remark +## 7.0.0-beta.8 + +### Patch Changes + +- [#15676](https://github.com/withastro/astro/pull/15676) [`1fa4177`](https://github.com/withastro/astro/commit/1fa41779c458123f707940a5253dbe6e540dbf7d) Thanks [@rururux](https://github.com/rururux)! - Fixes an issue where the use of the `Code` component would result in an unexpected error. + ## 7.0.0-beta.7 ### Major Changes diff --git a/packages/markdown/remark/package.json b/packages/markdown/remark/package.json index b10f0d981871..fa431808e48e 100644 --- a/packages/markdown/remark/package.json +++ b/packages/markdown/remark/package.json @@ -1,6 +1,6 @@ { "name": "@astrojs/markdown-remark", - "version": "7.0.0-beta.7", + "version": "7.0.0-beta.8", "type": "module", "author": "withastro", "license": "MIT", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 4e532f0dd98d..a1192e46fb76 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -184,13 +184,13 @@ importers: examples/basics: dependencies: astro: - specifier: ^6.0.0-beta.16 + specifier: ^6.0.0-beta.17 version: link:../../packages/astro examples/blog: dependencies: '@astrojs/mdx': - specifier: ^5.0.0-beta.8 + specifier: ^5.0.0-beta.9 version: link:../../packages/integrations/mdx '@astrojs/rss': specifier: ^4.0.15-beta.4 @@ -199,7 +199,7 @@ importers: specifier: ^3.6.1-beta.3 version: link:../../packages/integrations/sitemap astro: - specifier: ^6.0.0-beta.16 + specifier: ^6.0.0-beta.17 version: link:../../packages/astro sharp: specifier: ^0.34.3 @@ -208,7 +208,7 @@ importers: examples/component: devDependencies: astro: - specifier: ^6.0.0-beta.16 + specifier: ^6.0.0-beta.17 version: link:../../packages/astro examples/container-with-vitest: @@ -217,7 +217,7 @@ importers: specifier: ^5.0.0-beta.3 version: link:../../packages/integrations/react astro: - specifier: ^6.0.0-beta.16 + specifier: ^6.0.0-beta.17 version: link:../../packages/astro react: specifier: ^18.3.1 @@ -248,7 +248,7 @@ importers: specifier: ^3.15.8 version: 3.15.8 astro: - specifier: ^6.0.0-beta.16 + specifier: ^6.0.0-beta.17 version: link:../../packages/astro examples/framework-multiple: @@ -275,7 +275,7 @@ importers: specifier: ^18.3.7 version: 18.3.7(@types/react@18.3.28) astro: - specifier: ^6.0.0-beta.16 + specifier: ^6.0.0-beta.17 version: link:../../packages/astro preact: specifier: ^10.28.4 @@ -305,7 +305,7 @@ importers: specifier: ^2.8.1 version: 2.8.1(preact@10.28.4) astro: - specifier: ^6.0.0-beta.16 + specifier: ^6.0.0-beta.17 version: link:../../packages/astro preact: specifier: ^10.28.4 @@ -323,7 +323,7 @@ importers: specifier: ^18.3.7 version: 18.3.7(@types/react@18.3.28) astro: - specifier: ^6.0.0-beta.16 + specifier: ^6.0.0-beta.17 version: link:../../packages/astro react: specifier: ^18.3.1 @@ -338,7 +338,7 @@ importers: specifier: ^6.0.0-beta.2 version: link:../../packages/integrations/solid astro: - specifier: ^6.0.0-beta.16 + specifier: ^6.0.0-beta.17 version: link:../../packages/astro solid-js: specifier: ^1.9.11 @@ -350,7 +350,7 @@ importers: specifier: ^8.0.0-beta.3 version: link:../../packages/integrations/svelte astro: - specifier: ^6.0.0-beta.16 + specifier: ^6.0.0-beta.17 version: link:../../packages/astro svelte: specifier: ^5.53.0 @@ -362,7 +362,7 @@ importers: specifier: ^6.0.0-beta.1 version: link:../../packages/integrations/vue astro: - specifier: ^6.0.0-beta.16 + specifier: ^6.0.0-beta.17 version: link:../../packages/astro vue: specifier: ^3.5.28 @@ -371,40 +371,40 @@ importers: examples/hackernews: dependencies: '@astrojs/node': - specifier: ^10.0.0-beta.5 + specifier: ^10.0.0-beta.6 version: link:../../packages/integrations/node astro: - specifier: ^6.0.0-beta.16 + specifier: ^6.0.0-beta.17 version: link:../../packages/astro examples/integration: devDependencies: astro: - specifier: ^6.0.0-beta.16 + specifier: ^6.0.0-beta.17 version: link:../../packages/astro examples/minimal: dependencies: astro: - specifier: ^6.0.0-beta.16 + specifier: ^6.0.0-beta.17 version: link:../../packages/astro examples/portfolio: dependencies: astro: - specifier: ^6.0.0-beta.16 + specifier: ^6.0.0-beta.17 version: link:../../packages/astro examples/ssr: dependencies: '@astrojs/node': - specifier: ^10.0.0-beta.5 + specifier: ^10.0.0-beta.6 version: link:../../packages/integrations/node '@astrojs/svelte': specifier: ^8.0.0-beta.3 version: link:../../packages/integrations/svelte astro: - specifier: ^6.0.0-beta.16 + specifier: ^6.0.0-beta.17 version: link:../../packages/astro svelte: specifier: ^5.53.0 @@ -413,7 +413,7 @@ importers: examples/starlog: dependencies: astro: - specifier: ^6.0.0-beta.16 + specifier: ^6.0.0-beta.17 version: link:../../packages/astro sass: specifier: ^1.97.3 @@ -428,28 +428,28 @@ importers: specifier: ^18.17.8 version: 18.19.130 astro: - specifier: ^6.0.0-beta.16 + specifier: ^6.0.0-beta.17 version: link:../../packages/astro examples/with-markdoc: dependencies: '@astrojs/markdoc': - specifier: ^1.0.0-beta.11 + specifier: ^1.0.0-beta.12 version: link:../../packages/integrations/markdoc astro: - specifier: ^6.0.0-beta.16 + specifier: ^6.0.0-beta.17 version: link:../../packages/astro examples/with-mdx: dependencies: '@astrojs/mdx': - specifier: ^5.0.0-beta.8 + specifier: ^5.0.0-beta.9 version: link:../../packages/integrations/mdx '@astrojs/preact': specifier: ^5.0.0-beta.4 version: link:../../packages/integrations/preact astro: - specifier: ^6.0.0-beta.16 + specifier: ^6.0.0-beta.17 version: link:../../packages/astro preact: specifier: ^10.28.4 @@ -464,7 +464,7 @@ importers: specifier: ^1.0.0 version: 1.0.0(nanostores@1.1.0)(preact@10.28.4) astro: - specifier: ^6.0.0-beta.16 + specifier: ^6.0.0-beta.17 version: link:../../packages/astro nanostores: specifier: ^1.1.0 @@ -476,7 +476,7 @@ importers: examples/with-tailwindcss: dependencies: '@astrojs/mdx': - specifier: ^5.0.0-beta.8 + specifier: ^5.0.0-beta.9 version: link:../../packages/integrations/mdx '@tailwindcss/vite': specifier: ^4.2.0 @@ -485,7 +485,7 @@ importers: specifier: ^1.9.0 version: 1.9.0 astro: - specifier: ^6.0.0-beta.16 + specifier: ^6.0.0-beta.17 version: link:../../packages/astro canvas-confetti: specifier: ^1.9.4 @@ -497,7 +497,7 @@ importers: examples/with-vitest: dependencies: astro: - specifier: ^6.0.0-beta.16 + specifier: ^6.0.0-beta.17 version: link:../../packages/astro vitest: specifier: ^3.2.4