diff --git a/.changeset/big-elephants-drive.md b/.changeset/big-elephants-drive.md deleted file mode 100644 index 2d760f715ee2..000000000000 --- a/.changeset/big-elephants-drive.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@astrojs/svelte': patch ---- - -Filter unknown `class` prop warnings diff --git a/.changeset/brave-cheetahs-float.md b/.changeset/brave-cheetahs-float.md deleted file mode 100644 index 84825ce0f7d3..000000000000 --- a/.changeset/brave-cheetahs-float.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Do not throw Error when users pass an object with a "type" property diff --git a/.changeset/brown-wolves-tan.md b/.changeset/brown-wolves-tan.md deleted file mode 100644 index 4f11f4534c89..000000000000 --- 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 3a0993f49e22..000000000000 --- 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 2ab292f27d30..000000000000 --- 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/lovely-walls-call.md b/.changeset/lovely-walls-call.md deleted file mode 100644 index 408fa00c5a7c..000000000000 --- a/.changeset/lovely-walls-call.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Improve fidelity of time stats when running `astro build` diff --git a/.changeset/many-actors-flash.md b/.changeset/many-actors-flash.md deleted file mode 100644 index 92f70c55a024..000000000000 --- 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 2136a95a935e..000000000000 --- 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-carrots-sneeze.md b/.changeset/popular-carrots-sneeze.md deleted file mode 100644 index 0f914891dc07..000000000000 --- a/.changeset/popular-carrots-sneeze.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Open to configured `base` when `astro dev --open` runs diff --git a/.changeset/popular-planes-cover.md b/.changeset/popular-planes-cover.md deleted file mode 100644 index c379a7edc030..000000000000 --- 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 bd57c6a8a114..000000000000 --- 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 3f6f591f133f..000000000000 --- 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 9006914f1061..000000000000 --- 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 7d81195f8c09..000000000000 --- 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 87c4d1da70b8..000000000000 --- 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 b6513759ee69..47598d43b880 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 a3669469ff39..ccdbedb20055 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 ee1151ea1b2c..8ac6a6b9ea3b 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 410082241cee..1596f180416a 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 75113f4e3cdc..44ebe9c8f664 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 d18731fa5e4f..896e6ccc11b2 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 9405a65b8d2e..640b1a61d946 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 503a2b22b152..3940efbe96d9 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 0110bb53b4b0..fd4eade55b69 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 302fa3abca35..9566b6bc54a1 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 5f52209a22e9..3582b9556e5c 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 f06c2140ac37..25a100a0e477 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 d68e7e3e378e..34c0e9ecff8b 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 05c0a6c4c664..d02b4bf16332 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 30a61849a496..d2af3dc91f1d 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 e8e04fd77816..e457e399e7de 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 e72d52d6fa7d..33bc7899721b 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 d87ef12b4907..a3767fc02e3f 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 d25c37e236b8..5ebdf2ac2d48 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 e60ddd132b8a..7714fb270432 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 ad5fd3fe882a..499638417f34 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 3487ecbe40ce..2bf4622ef30f 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 5472ac38e584..cf9de5325b7d 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 aa1d589d3921..b16b1f7e462f 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 e0195c8b7916..a3d14ebbf95f 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 cb464375d7b3..064ab438b991 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 8e3a2443b129..1f8a6813bd1d 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 e3865fe339ab..f52131a66d7c 100644 --- a/packages/astro/CHANGELOG.md +++ b/packages/astro/CHANGELOG.md @@ -1,5 +1,49 @@ # astro +## 2.10.10 + +### Patch Changes + +- [#8127](https://github.com/withastro/astro/pull/8127) [`b12c8471f`](https://github.com/withastro/astro/commit/b12c8471f413c0291de4a9c444bfe3079a192034) Thanks [@natemoo-re](https://github.com/natemoo-re)! - Do not throw Error when users pass an object with a "type" property + +- [#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 + +- [#8122](https://github.com/withastro/astro/pull/8122) [`fa6b68a77`](https://github.com/withastro/astro/commit/fa6b68a776c5b3cc8167fc042b7d305234ebcff9) Thanks [@natemoo-re](https://github.com/natemoo-re)! - Improve fidelity of time stats when running `astro build` + +- [#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 + +- [#8123](https://github.com/withastro/astro/pull/8123) [`1f6497c33`](https://github.com/withastro/astro/commit/1f6497c3341231ee76fc4538cfe7624cf4721d56) Thanks [@natemoo-re](https://github.com/natemoo-re)! - Open to configured `base` when `astro dev --open` runs + +- [#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 c79eccc6052f..f8ad63456fd3 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 84611e1f2f1a..f555a98b02d6 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 a62a0eaeda49..39bd0f315938 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 128083ae6c23..b2e059139765 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 890780a9187d..749f1f532692 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 9cb47b08c2ec..7e2afdb56347 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 e60bd7aef84f..4750e2ec67ea 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 048e0e1f284f..2818546d60d0 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 9247e82c793f..fd6a69e82501 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 c6ccf491c0ab..9471ae8cb5b1 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 e238e21b9074..23b19447e1b8 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 a23dd7f7a787..fdd813048dc5 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 991ff579f67b..4e3fef843efc 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 4f13fe9c165f..8a7bd4344fc0 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 [[`b12c8471f`](https://github.com/withastro/astro/commit/b12c8471f413c0291de4a9c444bfe3079a192034), [`7177f7579`](https://github.com/withastro/astro/commit/7177f7579b6e866f0fd895b3fd079d8ba330b1a9), [`fa6b68a77`](https://github.com/withastro/astro/commit/fa6b68a776c5b3cc8167fc042b7d305234ebcff9), [`097a8e4e9`](https://github.com/withastro/astro/commit/097a8e4e916c7df18eafdaa6c8d6ce2991c17ab6), [`1f6497c33`](https://github.com/withastro/astro/commit/1f6497c3341231ee76fc4538cfe7624cf4721d56), [`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 3ff627cc8568..0d5e5b8ff92f 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 726d4f83f67d..d2aee1e95431 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 d255604532a6..e60fed4b06b5 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 [[`b12c8471f`](https://github.com/withastro/astro/commit/b12c8471f413c0291de4a9c444bfe3079a192034), [`7177f7579`](https://github.com/withastro/astro/commit/7177f7579b6e866f0fd895b3fd079d8ba330b1a9), [`fa6b68a77`](https://github.com/withastro/astro/commit/fa6b68a776c5b3cc8167fc042b7d305234ebcff9), [`097a8e4e9`](https://github.com/withastro/astro/commit/097a8e4e916c7df18eafdaa6c8d6ce2991c17ab6), [`1f6497c33`](https://github.com/withastro/astro/commit/1f6497c3341231ee76fc4538cfe7624cf4721d56), [`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 9c5891cd95c8..bfd6f2e3e1f8 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 8319527e3383..8a9c69eea66e 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 15bc70591a90..ccaa11fecdc6 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