diff --git a/.changeset/red-bikes-return.md b/.changeset/red-bikes-return.md deleted file mode 100644 index 91537b5f11..0000000000 --- a/.changeset/red-bikes-return.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Ensure injectRoute is properly handled in `build` as well as `dev` diff --git a/examples/basics/package.json b/examples/basics/package.json index 971b0479e7..5c0958016b 100644 --- a/examples/basics/package.json +++ b/examples/basics/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^2.10.2" + "astro": "^2.10.3" } } diff --git a/examples/blog/package.json b/examples/blog/package.json index 71aea6a475..5e8015a357 100644 --- a/examples/blog/package.json +++ b/examples/blog/package.json @@ -14,6 +14,6 @@ "@astrojs/mdx": "^0.19.7", "@astrojs/rss": "^2.4.4", "@astrojs/sitemap": "^2.0.1", - "astro": "^2.10.2" + "astro": "^2.10.3" } } diff --git a/examples/component/package.json b/examples/component/package.json index 5ed1000969..afdf917dc8 100644 --- a/examples/component/package.json +++ b/examples/component/package.json @@ -15,7 +15,7 @@ ], "scripts": {}, "devDependencies": { - "astro": "^2.10.2" + "astro": "^2.10.3" }, "peerDependencies": { "astro": "^2.0.0-beta.0" diff --git a/examples/deno/package.json b/examples/deno/package.json index 50c7d770cf..ecec4192f0 100644 --- a/examples/deno/package.json +++ b/examples/deno/package.json @@ -10,7 +10,7 @@ "astro": "astro" }, "dependencies": { - "astro": "^2.10.2" + "astro": "^2.10.3" }, "devDependencies": { "@astrojs/deno": "^4.3.0" diff --git a/examples/framework-alpine/package.json b/examples/framework-alpine/package.json index 558122c30c..b39e4f1fe8 100644 --- a/examples/framework-alpine/package.json +++ b/examples/framework-alpine/package.json @@ -14,6 +14,6 @@ "@astrojs/alpinejs": "^0.2.2", "@types/alpinejs": "^3.7.1", "alpinejs": "^3.12.2", - "astro": "^2.10.2" + "astro": "^2.10.3" } } diff --git a/examples/framework-lit/package.json b/examples/framework-lit/package.json index 9bb126582a..5b551ec661 100644 --- a/examples/framework-lit/package.json +++ b/examples/framework-lit/package.json @@ -13,7 +13,7 @@ "dependencies": { "@astrojs/lit": "^2.1.1", "@webcomponents/template-shadowroot": "^0.2.1", - "astro": "^2.10.2", + "astro": "^2.10.3", "lit": "^2.7.5" } } diff --git a/examples/framework-multiple/package.json b/examples/framework-multiple/package.json index f34ba14085..fcf8fbccb7 100644 --- a/examples/framework-multiple/package.json +++ b/examples/framework-multiple/package.json @@ -16,7 +16,7 @@ "@astrojs/solid-js": "^2.2.0", "@astrojs/svelte": "^3.1.0", "@astrojs/vue": "^2.2.1", - "astro": "^2.10.2", + "astro": "^2.10.3", "preact": "^10.15.1", "react": "^18.2.0", "react-dom": "^18.2.0", diff --git a/examples/framework-preact/package.json b/examples/framework-preact/package.json index 0216d25b0c..6798335216 100644 --- a/examples/framework-preact/package.json +++ b/examples/framework-preact/package.json @@ -13,7 +13,7 @@ "dependencies": { "@astrojs/preact": "^2.2.1", "@preact/signals": "^1.1.3", - "astro": "^2.10.2", + "astro": "^2.10.3", "preact": "^10.15.1" } } diff --git a/examples/framework-react/package.json b/examples/framework-react/package.json index 8a3bd25f9b..66c1bc47b6 100644 --- a/examples/framework-react/package.json +++ b/examples/framework-react/package.json @@ -14,7 +14,7 @@ "@astrojs/react": "^2.2.1", "@types/react": "^18.2.13", "@types/react-dom": "^18.2.6", - "astro": "^2.10.2", + "astro": "^2.10.3", "react": "^18.2.0", "react-dom": "^18.2.0" } diff --git a/examples/framework-solid/package.json b/examples/framework-solid/package.json index 8ce1b0374a..900058bee2 100644 --- a/examples/framework-solid/package.json +++ b/examples/framework-solid/package.json @@ -12,7 +12,7 @@ }, "dependencies": { "@astrojs/solid-js": "^2.2.0", - "astro": "^2.10.2", + "astro": "^2.10.3", "solid-js": "^1.7.6" } } diff --git a/examples/framework-svelte/package.json b/examples/framework-svelte/package.json index 435807aa63..c42ae96ba4 100644 --- a/examples/framework-svelte/package.json +++ b/examples/framework-svelte/package.json @@ -12,7 +12,7 @@ }, "dependencies": { "@astrojs/svelte": "^3.1.0", - "astro": "^2.10.2", + "astro": "^2.10.3", "svelte": "^3.59.1" } } diff --git a/examples/framework-vue/package.json b/examples/framework-vue/package.json index 744d16362d..badfa3a83b 100644 --- a/examples/framework-vue/package.json +++ b/examples/framework-vue/package.json @@ -12,7 +12,7 @@ }, "dependencies": { "@astrojs/vue": "^2.2.1", - "astro": "^2.10.2", + "astro": "^2.10.3", "vue": "^3.3.4" } } diff --git a/examples/hackernews/package.json b/examples/hackernews/package.json index 03ef6d60a8..b60b4a9f22 100644 --- a/examples/hackernews/package.json +++ b/examples/hackernews/package.json @@ -12,6 +12,6 @@ }, "dependencies": { "@astrojs/node": "^5.3.2", - "astro": "^2.10.2" + "astro": "^2.10.3" } } diff --git a/examples/integration/package.json b/examples/integration/package.json index 948e20e1a1..d67aaeafa4 100644 --- a/examples/integration/package.json +++ b/examples/integration/package.json @@ -15,7 +15,7 @@ ], "scripts": {}, "devDependencies": { - "astro": "^2.10.2" + "astro": "^2.10.3" }, "peerDependencies": { "astro": "^2.0.0-beta.0" diff --git a/examples/middleware/package.json b/examples/middleware/package.json index 9cf6f3f1af..e03ac240e4 100644 --- a/examples/middleware/package.json +++ b/examples/middleware/package.json @@ -13,7 +13,7 @@ }, "dependencies": { "@astrojs/node": "^5.3.2", - "astro": "^2.10.2", + "astro": "^2.10.3", "html-minifier": "^4.0.0" } } diff --git a/examples/minimal/package.json b/examples/minimal/package.json index cdebd70f14..15a7f43b3e 100644 --- a/examples/minimal/package.json +++ b/examples/minimal/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^2.10.2" + "astro": "^2.10.3" } } diff --git a/examples/non-html-pages/package.json b/examples/non-html-pages/package.json index b5a3b64974..6d33c50cb1 100644 --- a/examples/non-html-pages/package.json +++ b/examples/non-html-pages/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^2.10.2" + "astro": "^2.10.3" } } diff --git a/examples/portfolio/package.json b/examples/portfolio/package.json index 29656c54cf..31c4783ac8 100644 --- a/examples/portfolio/package.json +++ b/examples/portfolio/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^2.10.2" + "astro": "^2.10.3" } } diff --git a/examples/ssr/package.json b/examples/ssr/package.json index f4d9fc96ff..9f321b2bb4 100644 --- a/examples/ssr/package.json +++ b/examples/ssr/package.json @@ -14,7 +14,7 @@ "dependencies": { "@astrojs/node": "^5.3.2", "@astrojs/svelte": "^3.1.0", - "astro": "^2.10.2", + "astro": "^2.10.3", "svelte": "^3.59.1" } } diff --git a/examples/with-markdoc/package.json b/examples/with-markdoc/package.json index 42aef3958f..560c5d395c 100644 --- a/examples/with-markdoc/package.json +++ b/examples/with-markdoc/package.json @@ -12,6 +12,6 @@ }, "dependencies": { "@astrojs/markdoc": "^0.4.4", - "astro": "^2.10.2" + "astro": "^2.10.3" } } diff --git a/examples/with-markdown-plugins/package.json b/examples/with-markdown-plugins/package.json index d35437b714..aee18c6360 100644 --- a/examples/with-markdown-plugins/package.json +++ b/examples/with-markdown-plugins/package.json @@ -12,7 +12,7 @@ }, "dependencies": { "@astrojs/markdown-remark": "^2.2.1", - "astro": "^2.10.2", + "astro": "^2.10.3", "hast-util-select": "^5.0.5", "rehype-autolink-headings": "^6.1.1", "rehype-slug": "^5.1.0", diff --git a/examples/with-markdown-shiki/package.json b/examples/with-markdown-shiki/package.json index f684a4e7d6..711596f8bd 100644 --- a/examples/with-markdown-shiki/package.json +++ b/examples/with-markdown-shiki/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^2.10.2" + "astro": "^2.10.3" } } diff --git a/examples/with-mdx/package.json b/examples/with-mdx/package.json index 51c69b5767..c66b554e66 100644 --- a/examples/with-mdx/package.json +++ b/examples/with-mdx/package.json @@ -13,7 +13,7 @@ "dependencies": { "@astrojs/mdx": "^0.19.7", "@astrojs/preact": "^2.2.1", - "astro": "^2.10.2", + "astro": "^2.10.3", "preact": "^10.15.1" } } diff --git a/examples/with-nanostores/package.json b/examples/with-nanostores/package.json index a0f0d001d6..afc6bd45ed 100644 --- a/examples/with-nanostores/package.json +++ b/examples/with-nanostores/package.json @@ -13,7 +13,7 @@ "dependencies": { "@astrojs/preact": "^2.2.1", "@nanostores/preact": "^0.4.1", - "astro": "^2.10.2", + "astro": "^2.10.3", "nanostores": "^0.8.1", "preact": "^10.15.1" } diff --git a/examples/with-tailwindcss/package.json b/examples/with-tailwindcss/package.json index 49a638dfe1..e43a63330b 100644 --- a/examples/with-tailwindcss/package.json +++ b/examples/with-tailwindcss/package.json @@ -14,7 +14,7 @@ "@astrojs/mdx": "^0.19.7", "@astrojs/tailwind": "^4.0.0", "@types/canvas-confetti": "^1.6.0", - "astro": "^2.10.2", + "astro": "^2.10.3", "autoprefixer": "^10.4.14", "canvas-confetti": "^1.6.0", "postcss": "^8.4.24", diff --git a/examples/with-vite-plugin-pwa/package.json b/examples/with-vite-plugin-pwa/package.json index af0acaa029..a6fb3bfe0e 100644 --- a/examples/with-vite-plugin-pwa/package.json +++ b/examples/with-vite-plugin-pwa/package.json @@ -11,7 +11,7 @@ "astro": "astro" }, "dependencies": { - "astro": "^2.10.2", + "astro": "^2.10.3", "vite-plugin-pwa": "0.14.7", "workbox-window": "^6.6.0" } diff --git a/examples/with-vitest/package.json b/examples/with-vitest/package.json index c24005bbc4..e45ee30f3e 100644 --- a/examples/with-vitest/package.json +++ b/examples/with-vitest/package.json @@ -12,7 +12,7 @@ "test": "vitest" }, "dependencies": { - "astro": "^2.10.2", + "astro": "^2.10.3", "vitest": "^0.31.4" } } diff --git a/packages/astro/CHANGELOG.md b/packages/astro/CHANGELOG.md index 9bfa935671..a3da9d2c58 100644 --- a/packages/astro/CHANGELOG.md +++ b/packages/astro/CHANGELOG.md @@ -1,5 +1,11 @@ # astro +## 2.10.3 + +### Patch Changes + +- [#7986](https://github.com/withastro/astro/pull/7986) [`8e5a27b48`](https://github.com/withastro/astro/commit/8e5a27b488b326c1f9be6f02c191a2fb0dafac56) Thanks [@natemoo-re](https://github.com/natemoo-re)! - Ensure injectRoute is properly handled in `build` as well as `dev` + ## 2.10.2 ### Patch Changes diff --git a/packages/astro/package.json b/packages/astro/package.json index 1f3619cf07..bf888e3ae0 100644 --- a/packages/astro/package.json +++ b/packages/astro/package.json @@ -1,6 +1,6 @@ { "name": "astro", - "version": "2.10.2", + "version": "2.10.3", "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/package.json b/packages/integrations/cloudflare/package.json index 8334dabc21..b44062aec1 100644 --- a/packages/integrations/cloudflare/package.json +++ b/packages/integrations/cloudflare/package.json @@ -45,7 +45,7 @@ "tiny-glob": "^0.2.9" }, "peerDependencies": { - "astro": "workspace:^2.10.2" + "astro": "workspace:^2.10.3" }, "devDependencies": { "astro": "workspace:*", diff --git a/packages/integrations/deno/package.json b/packages/integrations/deno/package.json index 9e0c5e2857..a7ecb6f144 100644 --- a/packages/integrations/deno/package.json +++ b/packages/integrations/deno/package.json @@ -36,7 +36,7 @@ "esbuild": "^0.15.18" }, "peerDependencies": { - "astro": "workspace:^2.10.2" + "astro": "workspace:^2.10.3" }, "devDependencies": { "astro": "workspace:*", diff --git a/packages/integrations/image/package.json b/packages/integrations/image/package.json index 84a0d4f9b1..0119a5f162 100644 --- a/packages/integrations/image/package.json +++ b/packages/integrations/image/package.json @@ -63,7 +63,7 @@ "vite": "^4.4.6" }, "peerDependencies": { - "astro": "workspace:^2.10.2", + "astro": "workspace:^2.10.3", "sharp": ">=0.31.0" }, "peerDependenciesMeta": { diff --git a/packages/integrations/markdoc/package.json b/packages/integrations/markdoc/package.json index 47499a01cf..8879765436 100644 --- a/packages/integrations/markdoc/package.json +++ b/packages/integrations/markdoc/package.json @@ -75,7 +75,7 @@ "zod": "^3.17.3" }, "peerDependencies": { - "astro": "workspace:^2.10.2" + "astro": "workspace:^2.10.3" }, "devDependencies": { "@astrojs/markdown-remark": "^2.2.1", diff --git a/packages/integrations/netlify/package.json b/packages/integrations/netlify/package.json index 227a363f7b..7c0ef47ce5 100644 --- a/packages/integrations/netlify/package.json +++ b/packages/integrations/netlify/package.json @@ -44,7 +44,7 @@ "esbuild": "^0.15.18" }, "peerDependencies": { - "astro": "workspace:^2.10.2" + "astro": "workspace:^2.10.3" }, "devDependencies": { "@netlify/edge-functions": "^2.0.0", diff --git a/packages/integrations/node/package.json b/packages/integrations/node/package.json index 5bb4472724..ad01866f74 100644 --- a/packages/integrations/node/package.json +++ b/packages/integrations/node/package.json @@ -38,7 +38,7 @@ "server-destroy": "^1.0.1" }, "peerDependencies": { - "astro": "workspace:^2.10.2" + "astro": "workspace:^2.10.3" }, "devDependencies": { "@types/node": "^18.16.18", diff --git a/packages/integrations/svelte/package.json b/packages/integrations/svelte/package.json index 4ca3524e06..295e100541 100644 --- a/packages/integrations/svelte/package.json +++ b/packages/integrations/svelte/package.json @@ -48,7 +48,7 @@ "vite": "^4.4.6" }, "peerDependencies": { - "astro": "workspace:^2.10.2", + "astro": "workspace:^2.10.3", "svelte": "^3.55.0 || ^4.0.0" }, "engines": { diff --git a/packages/integrations/tailwind/package.json b/packages/integrations/tailwind/package.json index 7a9da53ec6..bb643ecede 100644 --- a/packages/integrations/tailwind/package.json +++ b/packages/integrations/tailwind/package.json @@ -43,7 +43,7 @@ "vite": "^4.4.6" }, "peerDependencies": { - "astro": "workspace:^2.10.2", + "astro": "workspace:^2.10.3", "tailwindcss": "^3.0.24" } } diff --git a/packages/integrations/vercel/package.json b/packages/integrations/vercel/package.json index 999c516f1c..e18f4452cb 100644 --- a/packages/integrations/vercel/package.json +++ b/packages/integrations/vercel/package.json @@ -61,7 +61,7 @@ "web-vitals": "^3.3.2" }, "peerDependencies": { - "astro": "workspace:^2.10.2" + "astro": "workspace:^2.10.3" }, "devDependencies": { "@types/set-cookie-parser": "^2.4.2", diff --git a/packages/integrations/vue/package.json b/packages/integrations/vue/package.json index 75dbc8889c..420541b6ed 100644 --- a/packages/integrations/vue/package.json +++ b/packages/integrations/vue/package.json @@ -56,7 +56,7 @@ "vue": "^3.3.4" }, "peerDependencies": { - "astro": "workspace:^2.10.2", + "astro": "workspace:^2.10.3", "vue": "^3.2.30" }, "engines": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 658968c4e4..dd5274659e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -128,7 +128,7 @@ importers: examples/basics: dependencies: astro: - specifier: ^2.10.2 + specifier: ^2.10.3 version: link:../../packages/astro examples/blog: @@ -143,19 +143,19 @@ importers: specifier: ^2.0.1 version: link:../../packages/integrations/sitemap astro: - specifier: ^2.10.2 + specifier: ^2.10.3 version: link:../../packages/astro examples/component: devDependencies: astro: - specifier: ^2.10.2 + specifier: ^2.10.3 version: link:../../packages/astro examples/deno: dependencies: astro: - specifier: ^2.10.2 + specifier: ^2.10.3 version: link:../../packages/astro devDependencies: '@astrojs/deno': @@ -174,7 +174,7 @@ importers: specifier: ^3.12.2 version: 3.12.2 astro: - specifier: ^2.10.2 + specifier: ^2.10.3 version: link:../../packages/astro examples/framework-lit: @@ -186,7 +186,7 @@ importers: specifier: ^0.2.1 version: 0.2.1 astro: - specifier: ^2.10.2 + specifier: ^2.10.3 version: link:../../packages/astro lit: specifier: ^2.7.5 @@ -210,7 +210,7 @@ importers: specifier: ^2.2.1 version: link:../../packages/integrations/vue astro: - specifier: ^2.10.2 + specifier: ^2.10.3 version: link:../../packages/astro preact: specifier: ^10.15.1 @@ -240,7 +240,7 @@ importers: specifier: ^1.1.3 version: 1.1.3(preact@10.15.1) astro: - specifier: ^2.10.2 + specifier: ^2.10.3 version: link:../../packages/astro preact: specifier: ^10.15.1 @@ -258,7 +258,7 @@ importers: specifier: ^18.2.6 version: 18.2.6 astro: - specifier: ^2.10.2 + specifier: ^2.10.3 version: link:../../packages/astro react: specifier: ^18.2.0 @@ -273,7 +273,7 @@ importers: specifier: ^2.2.0 version: link:../../packages/integrations/solid astro: - specifier: ^2.10.2 + specifier: ^2.10.3 version: link:../../packages/astro solid-js: specifier: ^1.7.6 @@ -285,7 +285,7 @@ importers: specifier: ^3.1.0 version: link:../../packages/integrations/svelte astro: - specifier: ^2.10.2 + specifier: ^2.10.3 version: link:../../packages/astro svelte: specifier: ^3.59.1 @@ -297,7 +297,7 @@ importers: specifier: ^2.2.1 version: link:../../packages/integrations/vue astro: - specifier: ^2.10.2 + specifier: ^2.10.3 version: link:../../packages/astro vue: specifier: ^3.3.4 @@ -309,13 +309,13 @@ importers: specifier: ^5.3.2 version: link:../../packages/integrations/node astro: - specifier: ^2.10.2 + specifier: ^2.10.3 version: link:../../packages/astro examples/integration: devDependencies: astro: - specifier: ^2.10.2 + specifier: ^2.10.3 version: link:../../packages/astro examples/middleware: @@ -324,7 +324,7 @@ importers: specifier: ^5.3.2 version: link:../../packages/integrations/node astro: - specifier: ^2.10.2 + specifier: ^2.10.3 version: link:../../packages/astro html-minifier: specifier: ^4.0.0 @@ -333,19 +333,19 @@ importers: examples/minimal: dependencies: astro: - specifier: ^2.10.2 + specifier: ^2.10.3 version: link:../../packages/astro examples/non-html-pages: dependencies: astro: - specifier: ^2.10.2 + specifier: ^2.10.3 version: link:../../packages/astro examples/portfolio: dependencies: astro: - specifier: ^2.10.2 + specifier: ^2.10.3 version: link:../../packages/astro examples/ssr: @@ -357,7 +357,7 @@ importers: specifier: ^3.1.0 version: link:../../packages/integrations/svelte astro: - specifier: ^2.10.2 + specifier: ^2.10.3 version: link:../../packages/astro svelte: specifier: ^3.59.1 @@ -369,7 +369,7 @@ importers: specifier: ^0.4.4 version: link:../../packages/integrations/markdoc astro: - specifier: ^2.10.2 + specifier: ^2.10.3 version: link:../../packages/astro examples/with-markdown-plugins: @@ -378,7 +378,7 @@ importers: specifier: ^2.2.1 version: link:../../packages/markdown/remark astro: - specifier: ^2.10.2 + specifier: ^2.10.3 version: link:../../packages/astro hast-util-select: specifier: ^5.0.5 @@ -399,7 +399,7 @@ importers: examples/with-markdown-shiki: dependencies: astro: - specifier: ^2.10.2 + specifier: ^2.10.3 version: link:../../packages/astro examples/with-mdx: @@ -411,7 +411,7 @@ importers: specifier: ^2.2.1 version: link:../../packages/integrations/preact astro: - specifier: ^2.10.2 + specifier: ^2.10.3 version: link:../../packages/astro preact: specifier: ^10.15.1 @@ -426,7 +426,7 @@ importers: specifier: ^0.4.1 version: 0.4.1(nanostores@0.8.1)(preact@10.15.1) astro: - specifier: ^2.10.2 + specifier: ^2.10.3 version: link:../../packages/astro nanostores: specifier: ^0.8.1 @@ -447,7 +447,7 @@ importers: specifier: ^1.6.0 version: 1.6.0 astro: - specifier: ^2.10.2 + specifier: ^2.10.3 version: link:../../packages/astro autoprefixer: specifier: ^10.4.14 @@ -465,7 +465,7 @@ importers: examples/with-vite-plugin-pwa: dependencies: astro: - specifier: ^2.10.2 + specifier: ^2.10.3 version: link:../../packages/astro vite-plugin-pwa: specifier: 0.14.7 @@ -477,7 +477,7 @@ importers: examples/with-vitest: dependencies: astro: - specifier: ^2.10.2 + specifier: ^2.10.3 version: link:../../packages/astro vitest: specifier: ^0.31.4