From 8fc6bfed4d02fbee793fc3b896df10850cb0e0bf Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 17 Aug 2023 16:21:08 +0000 Subject: [PATCH] [ci] release --- .changeset/big-elephants-drive.md | 5 -- .changeset/brown-wolves-tan.md | 5 -- .changeset/eleven-wasps-teach.md | 5 -- .changeset/itchy-pants-grin.md | 5 -- .changeset/many-actors-flash.md | 5 -- .changeset/orange-foxes-care.md | 5 -- .changeset/popular-planes-cover.md | 5 -- .changeset/silent-baboons-juggle.md | 5 -- .changeset/small-nails-try.md | 5 -- .changeset/sour-frogs-shout.md | 27 ------- .changeset/wet-foxes-sleep.md | 5 -- .changeset/yellow-snakes-jam.md | 21 ------ examples/basics/package.json | 2 +- examples/blog/package.json | 2 +- examples/component/package.json | 2 +- examples/deno/package.json | 2 +- examples/framework-alpine/package.json | 2 +- examples/framework-lit/package.json | 2 +- examples/framework-multiple/package.json | 8 +-- examples/framework-preact/package.json | 2 +- examples/framework-react/package.json | 4 +- examples/framework-solid/package.json | 4 +- examples/framework-svelte/package.json | 4 +- examples/framework-vue/package.json | 2 +- examples/hackernews/package.json | 2 +- examples/integration/package.json | 2 +- examples/middleware/package.json | 2 +- examples/minimal/package.json | 2 +- examples/non-html-pages/package.json | 2 +- examples/portfolio/package.json | 2 +- examples/ssr/package.json | 4 +- examples/with-markdoc/package.json | 2 +- examples/with-markdown-plugins/package.json | 2 +- examples/with-markdown-shiki/package.json | 2 +- examples/with-mdx/package.json | 2 +- examples/with-nanostores/package.json | 2 +- examples/with-tailwindcss/package.json | 2 +- examples/with-vite-plugin-pwa/package.json | 2 +- examples/with-vitest/package.json | 2 +- packages/astro/CHANGELOG.md | 38 ++++++++++ packages/astro/package.json | 2 +- packages/create-astro/CHANGELOG.md | 8 +++ packages/create-astro/package.json | 2 +- packages/integrations/cloudflare/package.json | 2 +- packages/integrations/deno/package.json | 2 +- packages/integrations/image/package.json | 2 +- packages/integrations/markdoc/package.json | 2 +- packages/integrations/netlify/package.json | 2 +- packages/integrations/node/package.json | 2 +- packages/integrations/react/CHANGELOG.md | 22 ++++++ packages/integrations/react/package.json | 2 +- packages/integrations/solid/CHANGELOG.md | 6 ++ packages/integrations/solid/package.json | 2 +- packages/integrations/svelte/CHANGELOG.md | 9 +++ packages/integrations/svelte/package.json | 4 +- packages/integrations/tailwind/package.json | 2 +- packages/integrations/vercel/CHANGELOG.md | 9 +++ packages/integrations/vercel/package.json | 4 +- packages/integrations/vue/package.json | 2 +- pnpm-lock.yaml | 72 ++++++++++--------- 60 files changed, 180 insertions(+), 182 deletions(-) delete mode 100644 .changeset/big-elephants-drive.md delete mode 100644 .changeset/brown-wolves-tan.md delete mode 100644 .changeset/eleven-wasps-teach.md delete mode 100644 .changeset/itchy-pants-grin.md delete mode 100644 .changeset/many-actors-flash.md delete mode 100644 .changeset/orange-foxes-care.md delete mode 100644 .changeset/popular-planes-cover.md delete mode 100644 .changeset/silent-baboons-juggle.md delete mode 100644 .changeset/small-nails-try.md delete mode 100644 .changeset/sour-frogs-shout.md delete mode 100644 .changeset/wet-foxes-sleep.md delete mode 100644 .changeset/yellow-snakes-jam.md diff --git a/.changeset/big-elephants-drive.md b/.changeset/big-elephants-drive.md deleted file mode 100644 index 2d760f715ee29..0000000000000 --- a/.changeset/big-elephants-drive.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@astrojs/svelte': patch ---- - -Filter unknown `class` prop warnings diff --git a/.changeset/brown-wolves-tan.md b/.changeset/brown-wolves-tan.md deleted file mode 100644 index 4f11f4534c896..0000000000000 --- a/.changeset/brown-wolves-tan.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'create-astro': patch ---- - -Update 'dev' command for Bun users diff --git a/.changeset/eleven-wasps-teach.md b/.changeset/eleven-wasps-teach.md deleted file mode 100644 index 3a0993f49e222..0000000000000 --- a/.changeset/eleven-wasps-teach.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Ensure dotfiles are cleaned during static builds diff --git a/.changeset/itchy-pants-grin.md b/.changeset/itchy-pants-grin.md deleted file mode 100644 index 2ab292f27d307..0000000000000 --- a/.changeset/itchy-pants-grin.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@astrojs/vercel': patch ---- - -Update image support to work with latest version of Astro diff --git a/.changeset/many-actors-flash.md b/.changeset/many-actors-flash.md deleted file mode 100644 index 92f70c55a024d..0000000000000 --- a/.changeset/many-actors-flash.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"astro": patch ---- - -Fix a handful of edge cases with prerendered 404/500 pages diff --git a/.changeset/orange-foxes-care.md b/.changeset/orange-foxes-care.md deleted file mode 100644 index 2136a95a935ee..0000000000000 --- a/.changeset/orange-foxes-care.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@astrojs/solid-js': patch ---- - -Update `babel-preset-solid` dependency to `^1.7.7` diff --git a/.changeset/popular-planes-cover.md b/.changeset/popular-planes-cover.md deleted file mode 100644 index c379a7edc0304..0000000000000 --- a/.changeset/popular-planes-cover.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -ViewTransition: bug fix for lost scroll position in browser history diff --git a/.changeset/silent-baboons-juggle.md b/.changeset/silent-baboons-juggle.md deleted file mode 100644 index bd57c6a8a1142..0000000000000 --- a/.changeset/silent-baboons-juggle.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'create-astro': patch ---- - -Verify internet connection and that `--template` exists before continuing diff --git a/.changeset/small-nails-try.md b/.changeset/small-nails-try.md deleted file mode 100644 index 3f6f591f133fe..0000000000000 --- a/.changeset/small-nails-try.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -On back navigation only animate view transitions that were animated going forward. diff --git a/.changeset/sour-frogs-shout.md b/.changeset/sour-frogs-shout.md deleted file mode 100644 index 9006914f1061f..0000000000000 --- a/.changeset/sour-frogs-shout.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -'astro': patch ---- - -Added support for optimizing remote images from authorized sources when using `astro:assets`. This comes with two new parameters to specify which domains (`image.domains`) and host patterns (`image.remotePatterns`) are authorized for remote images. - -For example, the following configuration will only allow remote images from `astro.build` to be optimized: - -```ts -// astro.config.mjs -export default defineConfig({ - image: { - domains: ["astro.build"], - } -}); -``` - -The following configuration will only allow remote images from HTTPS hosts: - -```ts -// astro.config.mjs -export default defineConfig({ - image: { - remotePatterns: [{ protocol: "https" }], - } -}); -``` diff --git a/.changeset/wet-foxes-sleep.md b/.changeset/wet-foxes-sleep.md deleted file mode 100644 index 7d81195f8c094..0000000000000 --- a/.changeset/wet-foxes-sleep.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -fix: reinsert attribute to specify direction of ViewTransition (forward / back) diff --git a/.changeset/yellow-snakes-jam.md b/.changeset/yellow-snakes-jam.md deleted file mode 100644 index 87c4d1da70b82..0000000000000 --- a/.changeset/yellow-snakes-jam.md +++ /dev/null @@ -1,21 +0,0 @@ ---- -'@astrojs/react': minor ---- - -Optionally parse React slots as React children. - -This adds a new configuration option for the React integration `experimentalReactChildren`: - -```js -export default { - integrations: [ - react({ - experimentalReactChildren: true, - }) - ] -} -``` - -With this enabled, children passed to React from Astro components via the default slot are parsed as React components. - -This enables better compatibility with certain React components which manipulate their children. diff --git a/examples/basics/package.json b/examples/basics/package.json index b6513759ee69d..47598d43b8802 100644 --- a/examples/basics/package.json +++ b/examples/basics/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^2.10.9" + "astro": "^2.10.10" } } diff --git a/examples/blog/package.json b/examples/blog/package.json index a3669469ff397..ccdbedb20055e 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.2", - "astro": "^2.10.9" + "astro": "^2.10.10" } } diff --git a/examples/component/package.json b/examples/component/package.json index ee1151ea1b2c8..8ac6a6b9ea3b8 100644 --- a/examples/component/package.json +++ b/examples/component/package.json @@ -15,7 +15,7 @@ ], "scripts": {}, "devDependencies": { - "astro": "^2.10.9" + "astro": "^2.10.10" }, "peerDependencies": { "astro": "^2.0.0-beta.0" diff --git a/examples/deno/package.json b/examples/deno/package.json index 410082241ceeb..1596f180416a7 100644 --- a/examples/deno/package.json +++ b/examples/deno/package.json @@ -10,7 +10,7 @@ "astro": "astro" }, "dependencies": { - "astro": "^2.10.9" + "astro": "^2.10.10" }, "devDependencies": { "@astrojs/deno": "^4.3.0" diff --git a/examples/framework-alpine/package.json b/examples/framework-alpine/package.json index 75113f4e3cdcc..44ebe9c8f6641 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.9" + "astro": "^2.10.10" } } diff --git a/examples/framework-lit/package.json b/examples/framework-lit/package.json index d18731fa5e4f4..896e6ccc11b2f 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.9", + "astro": "^2.10.10", "lit": "^2.7.5" } } diff --git a/examples/framework-multiple/package.json b/examples/framework-multiple/package.json index 9405a65b8d2e7..640b1a61d9467 100644 --- a/examples/framework-multiple/package.json +++ b/examples/framework-multiple/package.json @@ -12,11 +12,11 @@ }, "dependencies": { "@astrojs/preact": "^2.2.2", - "@astrojs/react": "^2.2.2", - "@astrojs/solid-js": "^2.2.0", - "@astrojs/svelte": "^3.1.0", + "@astrojs/react": "^2.3.0", + "@astrojs/solid-js": "^2.2.1", + "@astrojs/svelte": "^3.1.1", "@astrojs/vue": "^2.2.1", - "astro": "^2.10.9", + "astro": "^2.10.10", "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 503a2b22b1527..3940efbe96d9b 100644 --- a/examples/framework-preact/package.json +++ b/examples/framework-preact/package.json @@ -13,7 +13,7 @@ "dependencies": { "@astrojs/preact": "^2.2.2", "@preact/signals": "^1.1.3", - "astro": "^2.10.9", + "astro": "^2.10.10", "preact": "^10.15.1" } } diff --git a/examples/framework-react/package.json b/examples/framework-react/package.json index 0110bb53b4b03..fd4eade55b699 100644 --- a/examples/framework-react/package.json +++ b/examples/framework-react/package.json @@ -11,10 +11,10 @@ "astro": "astro" }, "dependencies": { - "@astrojs/react": "^2.2.2", + "@astrojs/react": "^2.3.0", "@types/react": "^18.2.13", "@types/react-dom": "^18.2.6", - "astro": "^2.10.9", + "astro": "^2.10.10", "react": "^18.2.0", "react-dom": "^18.2.0" } diff --git a/examples/framework-solid/package.json b/examples/framework-solid/package.json index 302fa3abca358..9566b6bc54a1a 100644 --- a/examples/framework-solid/package.json +++ b/examples/framework-solid/package.json @@ -11,8 +11,8 @@ "astro": "astro" }, "dependencies": { - "@astrojs/solid-js": "^2.2.0", - "astro": "^2.10.9", + "@astrojs/solid-js": "^2.2.1", + "astro": "^2.10.10", "solid-js": "^1.7.6" } } diff --git a/examples/framework-svelte/package.json b/examples/framework-svelte/package.json index 5f52209a22e99..3582b9556e5c1 100644 --- a/examples/framework-svelte/package.json +++ b/examples/framework-svelte/package.json @@ -11,8 +11,8 @@ "astro": "astro" }, "dependencies": { - "@astrojs/svelte": "^3.1.0", - "astro": "^2.10.9", + "@astrojs/svelte": "^3.1.1", + "astro": "^2.10.10", "svelte": "^3.59.1" } } diff --git a/examples/framework-vue/package.json b/examples/framework-vue/package.json index f06c2140ac370..25a100a0e4774 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.9", + "astro": "^2.10.10", "vue": "^3.3.4" } } diff --git a/examples/hackernews/package.json b/examples/hackernews/package.json index d68e7e3e378e6..34c0e9ecff8bd 100644 --- a/examples/hackernews/package.json +++ b/examples/hackernews/package.json @@ -12,6 +12,6 @@ }, "dependencies": { "@astrojs/node": "^5.3.4", - "astro": "^2.10.9" + "astro": "^2.10.10" } } diff --git a/examples/integration/package.json b/examples/integration/package.json index 05c0a6c4c6645..d02b4bf16332a 100644 --- a/examples/integration/package.json +++ b/examples/integration/package.json @@ -15,7 +15,7 @@ ], "scripts": {}, "devDependencies": { - "astro": "^2.10.9" + "astro": "^2.10.10" }, "peerDependencies": { "astro": "^2.0.0-beta.0" diff --git a/examples/middleware/package.json b/examples/middleware/package.json index 30a61849a496f..d2af3dc91f1d3 100644 --- a/examples/middleware/package.json +++ b/examples/middleware/package.json @@ -13,7 +13,7 @@ }, "dependencies": { "@astrojs/node": "^5.3.4", - "astro": "^2.10.9", + "astro": "^2.10.10", "html-minifier": "^4.0.0" } } diff --git a/examples/minimal/package.json b/examples/minimal/package.json index e8e04fd77816c..e457e399e7de4 100644 --- a/examples/minimal/package.json +++ b/examples/minimal/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^2.10.9" + "astro": "^2.10.10" } } diff --git a/examples/non-html-pages/package.json b/examples/non-html-pages/package.json index e72d52d6fa7da..33bc7899721be 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.9" + "astro": "^2.10.10" } } diff --git a/examples/portfolio/package.json b/examples/portfolio/package.json index d87ef12b49073..a3767fc02e3f3 100644 --- a/examples/portfolio/package.json +++ b/examples/portfolio/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^2.10.9" + "astro": "^2.10.10" } } diff --git a/examples/ssr/package.json b/examples/ssr/package.json index d25c37e236b8a..5ebdf2ac2d482 100644 --- a/examples/ssr/package.json +++ b/examples/ssr/package.json @@ -13,8 +13,8 @@ }, "dependencies": { "@astrojs/node": "^5.3.4", - "@astrojs/svelte": "^3.1.0", - "astro": "^2.10.9", + "@astrojs/svelte": "^3.1.1", + "astro": "^2.10.10", "svelte": "^3.59.1" } } diff --git a/examples/with-markdoc/package.json b/examples/with-markdoc/package.json index e60ddd132b8a0..7714fb2704323 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.9" + "astro": "^2.10.10" } } diff --git a/examples/with-markdown-plugins/package.json b/examples/with-markdown-plugins/package.json index ad5fd3fe882ab..499638417f343 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.9", + "astro": "^2.10.10", "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 3487ecbe40ce7..2bf4622ef30f0 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.9" + "astro": "^2.10.10" } } diff --git a/examples/with-mdx/package.json b/examples/with-mdx/package.json index 5472ac38e5845..cf9de5325b7dc 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.2", - "astro": "^2.10.9", + "astro": "^2.10.10", "preact": "^10.15.1" } } diff --git a/examples/with-nanostores/package.json b/examples/with-nanostores/package.json index aa1d589d39219..b16b1f7e462f2 100644 --- a/examples/with-nanostores/package.json +++ b/examples/with-nanostores/package.json @@ -13,7 +13,7 @@ "dependencies": { "@astrojs/preact": "^2.2.2", "@nanostores/preact": "^0.4.1", - "astro": "^2.10.9", + "astro": "^2.10.10", "nanostores": "^0.8.1", "preact": "^10.15.1" } diff --git a/examples/with-tailwindcss/package.json b/examples/with-tailwindcss/package.json index e0195c8b79161..a3d14ebbf95f8 100644 --- a/examples/with-tailwindcss/package.json +++ b/examples/with-tailwindcss/package.json @@ -13,7 +13,7 @@ "dependencies": { "@astrojs/tailwind": "^4.0.0", "@types/canvas-confetti": "^1.6.0", - "astro": "^2.10.9", + "astro": "^2.10.10", "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 cb464375d7b39..064ab438b9911 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.9", + "astro": "^2.10.10", "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 8e3a2443b1294..1f8a6813bd1dd 100644 --- a/examples/with-vitest/package.json +++ b/examples/with-vitest/package.json @@ -12,7 +12,7 @@ "test": "vitest" }, "dependencies": { - "astro": "^2.10.9", + "astro": "^2.10.10", "vitest": "^0.31.4" } } diff --git a/packages/astro/CHANGELOG.md b/packages/astro/CHANGELOG.md index e3865fe339ab9..c4af521e52211 100644 --- a/packages/astro/CHANGELOG.md +++ b/packages/astro/CHANGELOG.md @@ -1,5 +1,43 @@ # astro +## 2.10.10 + +### Patch Changes + +- [#8092](https://github.com/withastro/astro/pull/8092) [`7177f7579`](https://github.com/withastro/astro/commit/7177f7579b6e866f0fd895b3fd079d8ba330b1a9) Thanks [@natemoo-re](https://github.com/natemoo-re)! - Ensure dotfiles are cleaned during static builds + +- [#8070](https://github.com/withastro/astro/pull/8070) [`097a8e4e9`](https://github.com/withastro/astro/commit/097a8e4e916c7df18eafdaa6c8d6ce2991c17ab6) Thanks [@lilnasy](https://github.com/lilnasy)! - Fix a handful of edge cases with prerendered 404/500 pages + +- [#8105](https://github.com/withastro/astro/pull/8105) [`0e0fa605d`](https://github.com/withastro/astro/commit/0e0fa605d109cc91e08a1ae1cc560ea240fe631b) Thanks [@martrapp](https://github.com/martrapp)! - ViewTransition: bug fix for lost scroll position in browser history + +- [#8116](https://github.com/withastro/astro/pull/8116) [`b290f0a99`](https://github.com/withastro/astro/commit/b290f0a99778a9b9c1045f3cd06b6aee934d7c03) Thanks [@martrapp](https://github.com/martrapp)! - On back navigation only animate view transitions that were animated going forward. + +- [#7778](https://github.com/withastro/astro/pull/7778) [`d6b494376`](https://github.com/withastro/astro/commit/d6b4943764989c0e89df2d6875cd19691566dfb3) Thanks [@y-nk](https://github.com/y-nk)! - Added support for optimizing remote images from authorized sources when using `astro:assets`. This comes with two new parameters to specify which domains (`image.domains`) and host patterns (`image.remotePatterns`) are authorized for remote images. + + For example, the following configuration will only allow remote images from `astro.build` to be optimized: + + ```ts + // astro.config.mjs + export default defineConfig({ + image: { + domains: ['astro.build'], + }, + }); + ``` + + The following configuration will only allow remote images from HTTPS hosts: + + ```ts + // astro.config.mjs + export default defineConfig({ + image: { + remotePatterns: [{ protocol: 'https' }], + }, + }); + ``` + +- [#8109](https://github.com/withastro/astro/pull/8109) [`da6e3da1c`](https://github.com/withastro/astro/commit/da6e3da1ce00bed625fc568cfe4693713448e93f) Thanks [@martrapp](https://github.com/martrapp)! - fix: reinsert attribute to specify direction of ViewTransition (forward / back) + ## 2.10.9 ### Patch Changes diff --git a/packages/astro/package.json b/packages/astro/package.json index c79eccc6052fe..f8ad63456fd39 100644 --- a/packages/astro/package.json +++ b/packages/astro/package.json @@ -1,6 +1,6 @@ { "name": "astro", - "version": "2.10.9", + "version": "2.10.10", "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/create-astro/CHANGELOG.md b/packages/create-astro/CHANGELOG.md index 84611e1f2f1aa..f555a98b02d60 100644 --- a/packages/create-astro/CHANGELOG.md +++ b/packages/create-astro/CHANGELOG.md @@ -1,5 +1,13 @@ # create-astro +## 3.2.2 + +### Patch Changes + +- [#7944](https://github.com/withastro/astro/pull/7944) [`dff0f0f8d`](https://github.com/withastro/astro/commit/dff0f0f8ddd531c5d92a90ac00fdb86d71f77509) Thanks [@colinhacks](https://github.com/colinhacks)! - Update 'dev' command for Bun users + +- [#8102](https://github.com/withastro/astro/pull/8102) [`e6e1de4f0`](https://github.com/withastro/astro/commit/e6e1de4f08ddba3a7703136a81f275de1976dc9e) Thanks [@natemoo-re](https://github.com/natemoo-re)! - Verify internet connection and that `--template` exists before continuing + ## 3.2.1 ### Patch Changes diff --git a/packages/create-astro/package.json b/packages/create-astro/package.json index a62a0eaeda496..39bd0f315938f 100644 --- a/packages/create-astro/package.json +++ b/packages/create-astro/package.json @@ -1,6 +1,6 @@ { "name": "create-astro", - "version": "3.2.1", + "version": "3.2.2", "type": "module", "author": "withastro", "license": "MIT", diff --git a/packages/integrations/cloudflare/package.json b/packages/integrations/cloudflare/package.json index 128083ae6c233..b2e0591397655 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.9" + "astro": "workspace:^2.10.10" }, "devDependencies": { "astro": "workspace:*", diff --git a/packages/integrations/deno/package.json b/packages/integrations/deno/package.json index 890780a9187d9..749f1f5326924 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.9" + "astro": "workspace:^2.10.10" }, "devDependencies": { "astro": "workspace:*", diff --git a/packages/integrations/image/package.json b/packages/integrations/image/package.json index 9cb47b08c2ec1..7e2afdb56347d 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.9", + "astro": "workspace:^2.10.10", "sharp": ">=0.31.0" }, "peerDependenciesMeta": { diff --git a/packages/integrations/markdoc/package.json b/packages/integrations/markdoc/package.json index e60bd7aef84f5..4750e2ec67eaa 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.9" + "astro": "workspace:^2.10.10" }, "devDependencies": { "@astrojs/markdown-remark": "^2.2.1", diff --git a/packages/integrations/netlify/package.json b/packages/integrations/netlify/package.json index 048e0e1f284f5..2818546d60d0e 100644 --- a/packages/integrations/netlify/package.json +++ b/packages/integrations/netlify/package.json @@ -45,7 +45,7 @@ "esbuild": "^0.15.18" }, "peerDependencies": { - "astro": "workspace:^2.10.9" + "astro": "workspace:^2.10.10" }, "devDependencies": { "@netlify/edge-functions": "^2.0.0", diff --git a/packages/integrations/node/package.json b/packages/integrations/node/package.json index 9247e82c793f4..fd6a69e825010 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.9" + "astro": "workspace:^2.10.10" }, "devDependencies": { "@types/node": "^18.16.18", diff --git a/packages/integrations/react/CHANGELOG.md b/packages/integrations/react/CHANGELOG.md index c6ccf491c0abf..9471ae8cb5b1f 100644 --- a/packages/integrations/react/CHANGELOG.md +++ b/packages/integrations/react/CHANGELOG.md @@ -1,5 +1,27 @@ # @astrojs/react +## 2.3.0 + +### Minor Changes + +- [#8082](https://github.com/withastro/astro/pull/8082) [`16a3fdf93`](https://github.com/withastro/astro/commit/16a3fdf93165a1a0404c1db0973871345b2c591b) Thanks [@matthewp](https://github.com/matthewp)! - Optionally parse React slots as React children. + + This adds a new configuration option for the React integration `experimentalReactChildren`: + + ```js + export default { + integrations: [ + react({ + experimentalReactChildren: true, + }), + ], + }; + ``` + + With this enabled, children passed to React from Astro components via the default slot are parsed as React components. + + This enables better compatibility with certain React components which manipulate their children. + ## 2.2.2 ### Patch Changes diff --git a/packages/integrations/react/package.json b/packages/integrations/react/package.json index e238e21b90745..23b19447e1b89 100644 --- a/packages/integrations/react/package.json +++ b/packages/integrations/react/package.json @@ -1,7 +1,7 @@ { "name": "@astrojs/react", "description": "Use React components within Astro", - "version": "2.2.2", + "version": "2.3.0", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", diff --git a/packages/integrations/solid/CHANGELOG.md b/packages/integrations/solid/CHANGELOG.md index a23dd7f7a7874..fdd813048dc53 100644 --- a/packages/integrations/solid/CHANGELOG.md +++ b/packages/integrations/solid/CHANGELOG.md @@ -1,5 +1,11 @@ # @astrojs/solid-js +## 2.2.1 + +### Patch Changes + +- [#8107](https://github.com/withastro/astro/pull/8107) [`5b4b78245`](https://github.com/withastro/astro/commit/5b4b782451ba9a7d685d56990b471740616e9610) Thanks [@natemoo-re](https://github.com/natemoo-re)! - Update `babel-preset-solid` dependency to `^1.7.7` + ## 2.2.0 ### Minor Changes diff --git a/packages/integrations/solid/package.json b/packages/integrations/solid/package.json index 991ff579f67b9..4e3fef843efce 100644 --- a/packages/integrations/solid/package.json +++ b/packages/integrations/solid/package.json @@ -1,6 +1,6 @@ { "name": "@astrojs/solid-js", - "version": "2.2.0", + "version": "2.2.1", "description": "Use Solid components within Astro", "type": "module", "types": "./dist/index.d.ts", diff --git a/packages/integrations/svelte/CHANGELOG.md b/packages/integrations/svelte/CHANGELOG.md index 4f13fe9c165f0..1616c292be78e 100644 --- a/packages/integrations/svelte/CHANGELOG.md +++ b/packages/integrations/svelte/CHANGELOG.md @@ -1,5 +1,14 @@ # @astrojs/svelte +## 3.1.1 + +### Patch Changes + +- [#7291](https://github.com/withastro/astro/pull/7291) [`0bf2cca5d`](https://github.com/withastro/astro/commit/0bf2cca5d7fe1fb025feae00ab3c12ed80f9ea9a) Thanks [@kitschpatrol](https://github.com/kitschpatrol)! - Filter unknown `class` prop warnings + +- Updated dependencies [[`7177f7579`](https://github.com/withastro/astro/commit/7177f7579b6e866f0fd895b3fd079d8ba330b1a9), [`097a8e4e9`](https://github.com/withastro/astro/commit/097a8e4e916c7df18eafdaa6c8d6ce2991c17ab6), [`0e0fa605d`](https://github.com/withastro/astro/commit/0e0fa605d109cc91e08a1ae1cc560ea240fe631b), [`b290f0a99`](https://github.com/withastro/astro/commit/b290f0a99778a9b9c1045f3cd06b6aee934d7c03), [`d6b494376`](https://github.com/withastro/astro/commit/d6b4943764989c0e89df2d6875cd19691566dfb3), [`da6e3da1c`](https://github.com/withastro/astro/commit/da6e3da1ce00bed625fc568cfe4693713448e93f)]: + - astro@2.10.10 + ## 3.1.0 ### Minor Changes diff --git a/packages/integrations/svelte/package.json b/packages/integrations/svelte/package.json index 3ff627cc85682..0d5e5b8ff92ff 100644 --- a/packages/integrations/svelte/package.json +++ b/packages/integrations/svelte/package.json @@ -1,6 +1,6 @@ { "name": "@astrojs/svelte", - "version": "3.1.0", + "version": "3.1.1", "description": "Use Svelte components within Astro", "type": "module", "types": "./dist/index.d.ts", @@ -48,7 +48,7 @@ "vite": "^4.4.6" }, "peerDependencies": { - "astro": "workspace:^2.10.9", + "astro": "workspace:^2.10.10", "svelte": "^3.55.0 || ^4.0.0" }, "engines": { diff --git a/packages/integrations/tailwind/package.json b/packages/integrations/tailwind/package.json index 726d4f83f67d9..d2aee1e95431d 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.9", + "astro": "workspace:^2.10.10", "tailwindcss": "^3.0.24" } } diff --git a/packages/integrations/vercel/CHANGELOG.md b/packages/integrations/vercel/CHANGELOG.md index d255604532a6e..96d6561758c64 100644 --- a/packages/integrations/vercel/CHANGELOG.md +++ b/packages/integrations/vercel/CHANGELOG.md @@ -1,5 +1,14 @@ # @astrojs/vercel +## 3.8.2 + +### Patch Changes + +- [#7778](https://github.com/withastro/astro/pull/7778) [`d6b494376`](https://github.com/withastro/astro/commit/d6b4943764989c0e89df2d6875cd19691566dfb3) Thanks [@y-nk](https://github.com/y-nk)! - Update image support to work with latest version of Astro + +- Updated dependencies [[`7177f7579`](https://github.com/withastro/astro/commit/7177f7579b6e866f0fd895b3fd079d8ba330b1a9), [`097a8e4e9`](https://github.com/withastro/astro/commit/097a8e4e916c7df18eafdaa6c8d6ce2991c17ab6), [`0e0fa605d`](https://github.com/withastro/astro/commit/0e0fa605d109cc91e08a1ae1cc560ea240fe631b), [`b290f0a99`](https://github.com/withastro/astro/commit/b290f0a99778a9b9c1045f3cd06b6aee934d7c03), [`d6b494376`](https://github.com/withastro/astro/commit/d6b4943764989c0e89df2d6875cd19691566dfb3), [`da6e3da1c`](https://github.com/withastro/astro/commit/da6e3da1ce00bed625fc568cfe4693713448e93f)]: + - astro@2.10.10 + ## 3.8.1 ### Patch Changes diff --git a/packages/integrations/vercel/package.json b/packages/integrations/vercel/package.json index 9c5891cd95c89..bfd6f2e3e1f83 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": "3.8.1", + "version": "3.8.2", "type": "module", "author": "withastro", "license": "MIT", @@ -61,7 +61,7 @@ "web-vitals": "^3.3.2" }, "peerDependencies": { - "astro": "workspace:^2.10.9" + "astro": "workspace:^2.10.10" }, "devDependencies": { "@types/set-cookie-parser": "^2.4.2", diff --git a/packages/integrations/vue/package.json b/packages/integrations/vue/package.json index 8319527e33837..8a9c69eea66ee 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.9", + "astro": "workspace:^2.10.10", "vue": "^3.2.30" }, "engines": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 15bc70591a903..ccaa11fecdc6e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -128,7 +128,7 @@ importers: examples/basics: dependencies: astro: - specifier: ^2.10.9 + specifier: ^2.10.10 version: link:../../packages/astro examples/blog: @@ -143,19 +143,19 @@ importers: specifier: ^2.0.2 version: link:../../packages/integrations/sitemap astro: - specifier: ^2.10.9 + specifier: ^2.10.10 version: link:../../packages/astro examples/component: devDependencies: astro: - specifier: ^2.10.9 + specifier: ^2.10.10 version: link:../../packages/astro examples/deno: dependencies: astro: - specifier: ^2.10.9 + specifier: ^2.10.10 version: link:../../packages/astro devDependencies: '@astrojs/deno': @@ -174,7 +174,7 @@ importers: specifier: ^3.12.2 version: 3.12.2 astro: - specifier: ^2.10.9 + specifier: ^2.10.10 version: link:../../packages/astro examples/framework-lit: @@ -186,7 +186,7 @@ importers: specifier: ^0.2.1 version: 0.2.1 astro: - specifier: ^2.10.9 + specifier: ^2.10.10 version: link:../../packages/astro lit: specifier: ^2.7.5 @@ -198,19 +198,19 @@ importers: specifier: ^2.2.2 version: link:../../packages/integrations/preact '@astrojs/react': - specifier: ^2.2.2 + specifier: ^2.3.0 version: link:../../packages/integrations/react '@astrojs/solid-js': - specifier: ^2.2.0 + specifier: ^2.2.1 version: link:../../packages/integrations/solid '@astrojs/svelte': - specifier: ^3.1.0 + specifier: ^3.1.1 version: link:../../packages/integrations/svelte '@astrojs/vue': specifier: ^2.2.1 version: link:../../packages/integrations/vue astro: - specifier: ^2.10.9 + specifier: ^2.10.10 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.9 + specifier: ^2.10.10 version: link:../../packages/astro preact: specifier: ^10.15.1 @@ -249,7 +249,7 @@ importers: examples/framework-react: dependencies: '@astrojs/react': - specifier: ^2.2.2 + specifier: ^2.3.0 version: link:../../packages/integrations/react '@types/react': specifier: ^18.2.13 @@ -258,7 +258,7 @@ importers: specifier: ^18.2.6 version: 18.2.6 astro: - specifier: ^2.10.9 + specifier: ^2.10.10 version: link:../../packages/astro react: specifier: ^18.2.0 @@ -270,10 +270,10 @@ importers: examples/framework-solid: dependencies: '@astrojs/solid-js': - specifier: ^2.2.0 + specifier: ^2.2.1 version: link:../../packages/integrations/solid astro: - specifier: ^2.10.9 + specifier: ^2.10.10 version: link:../../packages/astro solid-js: specifier: ^1.7.6 @@ -282,10 +282,10 @@ importers: examples/framework-svelte: dependencies: '@astrojs/svelte': - specifier: ^3.1.0 + specifier: ^3.1.1 version: link:../../packages/integrations/svelte astro: - specifier: ^2.10.9 + specifier: ^2.10.10 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.9 + specifier: ^2.10.10 version: link:../../packages/astro vue: specifier: ^3.3.4 @@ -309,13 +309,13 @@ importers: specifier: ^5.3.4 version: link:../../packages/integrations/node astro: - specifier: ^2.10.9 + specifier: ^2.10.10 version: link:../../packages/astro examples/integration: devDependencies: astro: - specifier: ^2.10.9 + specifier: ^2.10.10 version: link:../../packages/astro examples/middleware: @@ -324,7 +324,7 @@ importers: specifier: ^5.3.4 version: link:../../packages/integrations/node astro: - specifier: ^2.10.9 + specifier: ^2.10.10 version: link:../../packages/astro html-minifier: specifier: ^4.0.0 @@ -333,19 +333,19 @@ importers: examples/minimal: dependencies: astro: - specifier: ^2.10.9 + specifier: ^2.10.10 version: link:../../packages/astro examples/non-html-pages: dependencies: astro: - specifier: ^2.10.9 + specifier: ^2.10.10 version: link:../../packages/astro examples/portfolio: dependencies: astro: - specifier: ^2.10.9 + specifier: ^2.10.10 version: link:../../packages/astro examples/ssr: @@ -354,10 +354,10 @@ importers: specifier: ^5.3.4 version: link:../../packages/integrations/node '@astrojs/svelte': - specifier: ^3.1.0 + specifier: ^3.1.1 version: link:../../packages/integrations/svelte astro: - specifier: ^2.10.9 + specifier: ^2.10.10 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.9 + specifier: ^2.10.10 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.9 + specifier: ^2.10.10 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.9 + specifier: ^2.10.10 version: link:../../packages/astro examples/with-mdx: @@ -411,7 +411,7 @@ importers: specifier: ^2.2.2 version: link:../../packages/integrations/preact astro: - specifier: ^2.10.9 + specifier: ^2.10.10 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.9 + specifier: ^2.10.10 version: link:../../packages/astro nanostores: specifier: ^0.8.1 @@ -444,7 +444,7 @@ importers: specifier: ^1.6.0 version: 1.6.0 astro: - specifier: ^2.10.9 + specifier: ^2.10.10 version: link:../../packages/astro autoprefixer: specifier: ^10.4.14 @@ -462,7 +462,7 @@ importers: examples/with-vite-plugin-pwa: dependencies: astro: - specifier: ^2.10.9 + specifier: ^2.10.10 version: link:../../packages/astro vite-plugin-pwa: specifier: 0.14.7 @@ -474,7 +474,7 @@ importers: examples/with-vitest: dependencies: astro: - specifier: ^2.10.9 + specifier: ^2.10.10 version: link:../../packages/astro vitest: specifier: ^0.31.4 @@ -18566,21 +18566,25 @@ packages: file:packages/astro/test/fixtures/css-assets/packages/font-awesome: resolution: {directory: packages/astro/test/fixtures/css-assets/packages/font-awesome, type: directory} name: '@test/astro-font-awesome-package' + version: 0.0.1 dev: false file:packages/astro/test/fixtures/multiple-renderers/renderers/one: resolution: {directory: packages/astro/test/fixtures/multiple-renderers/renderers/one, type: directory} name: '@test/astro-renderer-one' + version: 1.0.0 dev: false file:packages/astro/test/fixtures/multiple-renderers/renderers/two: resolution: {directory: packages/astro/test/fixtures/multiple-renderers/renderers/two, type: directory} name: '@test/astro-renderer-two' + version: 1.0.0 dev: false file:packages/astro/test/fixtures/solid-component/deps/solid-jsx-component: resolution: {directory: packages/astro/test/fixtures/solid-component/deps/solid-jsx-component, type: directory} name: '@test/solid-jsx-component' + version: 0.0.0 dependencies: solid-js: 1.7.6 dev: false