From cedb9a2105cc673c574668f586879bf94fac0d52 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 12 May 2022 14:48:58 -0600 Subject: [PATCH] [ci] release (#3334) Co-authored-by: github-actions[bot] --- .changeset/curly-bees-collect.md | 5 - .changeset/dry-glasses-guess.md | 5 - .changeset/eighty-keys-explode.md | 5 - .changeset/funny-poets-walk.md | 5 - .changeset/happy-wasps-check.md | 5 - .changeset/healthy-oranges-approve.md | 5 - .changeset/heavy-adults-obey.md | 5 - .changeset/new-carrots-cough.md | 5 - .changeset/olive-grapes-relate.md | 5 - .changeset/proud-cups-brush.md | 5 - .changeset/quick-gorillas-kick.md | 5 - .changeset/small-maps-cough.md | 6 -- .changeset/strong-students-tie.md | 5 - .changeset/tiny-apes-shave.md | 20 ---- .changeset/violet-bees-camp.md | 6 -- examples/basics/package.json | 2 +- examples/blog-multiple-authors/package.json | 2 +- examples/blog/package.json | 2 +- examples/component/demo/package.json | 2 +- examples/component/package.json | 2 +- examples/docs/package.json | 4 +- examples/env-vars/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 | 2 +- examples/framework-svelte/package.json | 4 +- examples/framework-vue/package.json | 4 +- examples/integrations-playground/package.json | 4 +- examples/minimal/package.json | 2 +- examples/non-html-pages/package.json | 2 +- examples/portfolio/package.json | 2 +- examples/ssr/package.json | 4 +- examples/starter/package.json | 2 +- examples/subpath/package.json | 4 +- examples/with-markdown-plugins/package.json | 2 +- examples/with-markdown-shiki/package.json | 2 +- examples/with-markdown/package.json | 8 +- examples/with-nanostores/package.json | 8 +- examples/with-tailwindcss/package.json | 2 +- examples/with-vite-plugin-pwa/package.json | 2 +- packages/astro/CHANGELOG.md | 26 +++++ packages/astro/package.json | 2 +- packages/create-astro/CHANGELOG.md | 6 ++ packages/create-astro/package.json | 2 +- packages/integrations/netlify/CHANGELOG.md | 6 ++ packages/integrations/netlify/package.json | 2 +- packages/integrations/react/CHANGELOG.md | 6 ++ packages/integrations/react/package.json | 2 +- packages/integrations/svelte/CHANGELOG.md | 6 ++ packages/integrations/svelte/package.json | 2 +- packages/integrations/vercel/CHANGELOG.md | 20 ++++ packages/integrations/vercel/package.json | 2 +- packages/integrations/vue/CHANGELOG.md | 6 ++ packages/integrations/vue/package.json | 2 +- pnpm-lock.yaml | 97 +++++++++---------- 58 files changed, 171 insertions(+), 196 deletions(-) delete mode 100644 .changeset/curly-bees-collect.md delete mode 100644 .changeset/dry-glasses-guess.md delete mode 100644 .changeset/eighty-keys-explode.md delete mode 100644 .changeset/funny-poets-walk.md delete mode 100644 .changeset/happy-wasps-check.md delete mode 100644 .changeset/healthy-oranges-approve.md delete mode 100644 .changeset/heavy-adults-obey.md delete mode 100644 .changeset/new-carrots-cough.md delete mode 100644 .changeset/olive-grapes-relate.md delete mode 100644 .changeset/proud-cups-brush.md delete mode 100644 .changeset/quick-gorillas-kick.md delete mode 100644 .changeset/small-maps-cough.md delete mode 100644 .changeset/strong-students-tie.md delete mode 100644 .changeset/tiny-apes-shave.md delete mode 100644 .changeset/violet-bees-camp.md diff --git a/.changeset/curly-bees-collect.md b/.changeset/curly-bees-collect.md deleted file mode 100644 index 982fa253d..000000000 --- a/.changeset/curly-bees-collect.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Fix for APIRoute type diff --git a/.changeset/dry-glasses-guess.md b/.changeset/dry-glasses-guess.md deleted file mode 100644 index 81b4ac2e6..000000000 --- a/.changeset/dry-glasses-guess.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Improve error hints for packages that should be added to `vite.ssr.noExternal` diff --git a/.changeset/eighty-keys-explode.md b/.changeset/eighty-keys-explode.md deleted file mode 100644 index abd3707f6..000000000 --- a/.changeset/eighty-keys-explode.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@astrojs/netlify': patch ---- - -create redirects file for netlify edge adapter diff --git a/.changeset/funny-poets-walk.md b/.changeset/funny-poets-walk.md deleted file mode 100644 index 249aa23cc..000000000 --- a/.changeset/funny-poets-walk.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Update default `vite.optimizeDeps.exclude` to keep `node-fetch` from being optimized diff --git a/.changeset/happy-wasps-check.md b/.changeset/happy-wasps-check.md deleted file mode 100644 index 6fb90627b..000000000 --- a/.changeset/happy-wasps-check.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Fixes HMR of hoisted script tags diff --git a/.changeset/healthy-oranges-approve.md b/.changeset/healthy-oranges-approve.md deleted file mode 100644 index 69dc4a450..000000000 --- a/.changeset/healthy-oranges-approve.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Fixes an issue preventing custom 404 pages in dev diff --git a/.changeset/heavy-adults-obey.md b/.changeset/heavy-adults-obey.md deleted file mode 100644 index af35b5825..000000000 --- a/.changeset/heavy-adults-obey.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -fixes injectscript in ssr mode diff --git a/.changeset/new-carrots-cough.md b/.changeset/new-carrots-cough.md deleted file mode 100644 index 3855009e9..000000000 --- a/.changeset/new-carrots-cough.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"astro": patch ---- - -Fix an `import from '../core/build/types';` error diff --git a/.changeset/olive-grapes-relate.md b/.changeset/olive-grapes-relate.md deleted file mode 100644 index 8524f87ef..000000000 --- a/.changeset/olive-grapes-relate.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Fix for swallowed SolidJS errors diff --git a/.changeset/proud-cups-brush.md b/.changeset/proud-cups-brush.md deleted file mode 100644 index 0927ec921..000000000 --- a/.changeset/proud-cups-brush.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Resolve .astro components by module ID to support the use of Astro + framework components in an NPM package diff --git a/.changeset/quick-gorillas-kick.md b/.changeset/quick-gorillas-kick.md deleted file mode 100644 index 7d080ec79..000000000 --- a/.changeset/quick-gorillas-kick.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Export `ViteUserConfig` type diff --git a/.changeset/small-maps-cough.md b/.changeset/small-maps-cough.md deleted file mode 100644 index aadc443d2..000000000 --- a/.changeset/small-maps-cough.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'astro': patch -'@astrojs/react': patch ---- - -Fix: remove hydration failures on React v18 by exposing the "client" directive from Astro core. diff --git a/.changeset/strong-students-tie.md b/.changeset/strong-students-tie.md deleted file mode 100644 index 9ac0be8f7..000000000 --- a/.changeset/strong-students-tie.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'create-astro': patch ---- - -Update "next steps" with more informative text on each CLI command. Oh, and gradients. A lot more gradients. diff --git a/.changeset/tiny-apes-shave.md b/.changeset/tiny-apes-shave.md deleted file mode 100644 index 979650a6b..000000000 --- a/.changeset/tiny-apes-shave.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -'@astrojs/vercel': minor ---- - - -**[BREAKING]** Now with Build Output API (v3)! [See the README to get started](https://github.com/withastro/astro/tree/main/packages/integrations/vercel#readme). - -- `trailingSlash` redirects works without a `vercel.json` file: just configure them inside your `astro.config.mjs` -- Multiple deploy targets: `edge`, `serverless` and `static`! -- When building to `serverless`, your code isn't transpiled to CJS anymore. - -**Migrate from v0.1** - -1. Change the import inside `astro.config.mjs`: - ```diff - - import vercel from '@astrojs/vercel'; - + import vercel from '@astrojs/vercel/serverless'; - ``` -2. Rename the `ENABLE_FILE_SYSTEM_API` environment variable to `ENABLE_VC_BUILD`, as Vercel changed it. -3. The output folder changed from `.output` to `.vercel/output` — you may need to update your `.gitignore`. diff --git a/.changeset/violet-bees-camp.md b/.changeset/violet-bees-camp.md deleted file mode 100644 index 07a08f19a..000000000 --- a/.changeset/violet-bees-camp.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@astrojs/svelte': patch -'@astrojs/vue': patch ---- - -Fix a vite peer dependency bug diff --git a/examples/basics/package.json b/examples/basics/package.json index 24c3d5a02..c83506bea 100644 --- a/examples/basics/package.json +++ b/examples/basics/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^1.0.0-beta.27" + "astro": "^1.0.0-beta.28" } } diff --git a/examples/blog-multiple-authors/package.json b/examples/blog-multiple-authors/package.json index e27e15f63..065943fd0 100644 --- a/examples/blog-multiple-authors/package.json +++ b/examples/blog-multiple-authors/package.json @@ -10,7 +10,7 @@ }, "devDependencies": { "@astrojs/preact": "^0.1.2", - "astro": "^1.0.0-beta.27", + "astro": "^1.0.0-beta.28", "sass": "^1.51.0" }, "dependencies": { diff --git a/examples/blog/package.json b/examples/blog/package.json index df3070d0e..59d2e9b34 100644 --- a/examples/blog/package.json +++ b/examples/blog/package.json @@ -10,7 +10,7 @@ }, "devDependencies": { "@astrojs/preact": "^0.1.2", - "astro": "^1.0.0-beta.27" + "astro": "^1.0.0-beta.28" }, "dependencies": { "preact": "^10.7.2" diff --git a/examples/component/demo/package.json b/examples/component/demo/package.json index 58b5a99b9..b3bb68f4f 100644 --- a/examples/component/demo/package.json +++ b/examples/component/demo/package.json @@ -10,6 +10,6 @@ }, "devDependencies": { "@example/my-component": "workspace:*", - "astro": "^1.0.0-beta.27" + "astro": "^1.0.0-beta.28" } } diff --git a/examples/component/package.json b/examples/component/package.json index 7b82728d0..82a7bb0ab 100644 --- a/examples/component/package.json +++ b/examples/component/package.json @@ -8,6 +8,6 @@ "serve": "astro --root demo preview" }, "devDependencies": { - "astro": "^1.0.0-beta.27" + "astro": "^1.0.0-beta.28" } } diff --git a/examples/docs/package.json b/examples/docs/package.json index 02256f34e..804ee6d51 100644 --- a/examples/docs/package.json +++ b/examples/docs/package.json @@ -19,7 +19,7 @@ }, "devDependencies": { "@astrojs/preact": "^0.1.2", - "@astrojs/react": "^0.1.1", - "astro": "^1.0.0-beta.27" + "@astrojs/react": "^0.1.2", + "astro": "^1.0.0-beta.28" } } diff --git a/examples/env-vars/package.json b/examples/env-vars/package.json index ba120823c..cb8ddb21e 100644 --- a/examples/env-vars/package.json +++ b/examples/env-vars/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^1.0.0-beta.27" + "astro": "^1.0.0-beta.28" } } diff --git a/examples/framework-alpine/package.json b/examples/framework-alpine/package.json index e7935ce65..a122dc501 100644 --- a/examples/framework-alpine/package.json +++ b/examples/framework-alpine/package.json @@ -9,7 +9,7 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^1.0.0-beta.27" + "astro": "^1.0.0-beta.28" }, "dependencies": { "alpinejs": "^3.10.2" diff --git a/examples/framework-lit/package.json b/examples/framework-lit/package.json index 1cf4d7d4c..3d7c22f16 100644 --- a/examples/framework-lit/package.json +++ b/examples/framework-lit/package.json @@ -10,7 +10,7 @@ }, "devDependencies": { "@astrojs/lit": "^0.1.2", - "astro": "^1.0.0-beta.27" + "astro": "^1.0.0-beta.28" }, "dependencies": { "@webcomponents/template-shadowroot": "^0.1.0", diff --git a/examples/framework-multiple/package.json b/examples/framework-multiple/package.json index e19e359e5..91789676a 100644 --- a/examples/framework-multiple/package.json +++ b/examples/framework-multiple/package.json @@ -11,11 +11,11 @@ "devDependencies": { "@astrojs/lit": "^0.1.2", "@astrojs/preact": "^0.1.2", - "@astrojs/react": "^0.1.1", + "@astrojs/react": "^0.1.2", "@astrojs/solid-js": "^0.1.2", - "@astrojs/svelte": "^0.1.2", - "@astrojs/vue": "^0.1.3", - "astro": "^1.0.0-beta.27" + "@astrojs/svelte": "^0.1.3", + "@astrojs/vue": "^0.1.4", + "astro": "^1.0.0-beta.28" }, "dependencies": { "@webcomponents/template-shadowroot": "^0.1.0", diff --git a/examples/framework-preact/package.json b/examples/framework-preact/package.json index e5cdb2856..be63b508b 100644 --- a/examples/framework-preact/package.json +++ b/examples/framework-preact/package.json @@ -10,7 +10,7 @@ }, "devDependencies": { "@astrojs/preact": "^0.1.2", - "astro": "^1.0.0-beta.27" + "astro": "^1.0.0-beta.28" }, "dependencies": { "preact": "^10.7.2" diff --git a/examples/framework-react/package.json b/examples/framework-react/package.json index c5db10e78..8fc372c8a 100644 --- a/examples/framework-react/package.json +++ b/examples/framework-react/package.json @@ -9,8 +9,8 @@ "preview": "astro preview" }, "devDependencies": { - "@astrojs/react": "^0.1.1", - "astro": "^1.0.0-beta.27" + "@astrojs/react": "^0.1.2", + "astro": "^1.0.0-beta.28" }, "dependencies": { "@types/react": "^18.0.9", diff --git a/examples/framework-solid/package.json b/examples/framework-solid/package.json index 0c9a1663a..b03151221 100644 --- a/examples/framework-solid/package.json +++ b/examples/framework-solid/package.json @@ -10,7 +10,7 @@ }, "devDependencies": { "@astrojs/solid-js": "^0.1.2", - "astro": "^1.0.0-beta.27" + "astro": "^1.0.0-beta.28" }, "dependencies": { "solid-js": "^1.3.17" diff --git a/examples/framework-svelte/package.json b/examples/framework-svelte/package.json index a9690b4c9..bfcc54ab0 100644 --- a/examples/framework-svelte/package.json +++ b/examples/framework-svelte/package.json @@ -9,8 +9,8 @@ "preview": "astro preview" }, "devDependencies": { - "@astrojs/svelte": "^0.1.2", - "astro": "^1.0.0-beta.27" + "@astrojs/svelte": "^0.1.3", + "astro": "^1.0.0-beta.28" }, "dependencies": { "svelte": "^3.48.0" diff --git a/examples/framework-vue/package.json b/examples/framework-vue/package.json index 60e853e77..29606c4f7 100644 --- a/examples/framework-vue/package.json +++ b/examples/framework-vue/package.json @@ -9,8 +9,8 @@ "preview": "astro preview" }, "devDependencies": { - "@astrojs/vue": "^0.1.3", - "astro": "^1.0.0-beta.27" + "@astrojs/vue": "^0.1.4", + "astro": "^1.0.0-beta.28" }, "dependencies": { "vue": "^3.2.33" diff --git a/examples/integrations-playground/package.json b/examples/integrations-playground/package.json index 6a51daa29..168982404 100644 --- a/examples/integrations-playground/package.json +++ b/examples/integrations-playground/package.json @@ -11,12 +11,12 @@ "devDependencies": { "@astrojs/lit": "^0.1.2", "@astrojs/partytown": "^0.1.2", - "@astrojs/react": "^0.1.1", + "@astrojs/react": "^0.1.2", "@astrojs/sitemap": "^0.1.0", "@astrojs/solid-js": "0.1.2", "@astrojs/tailwind": "^0.2.1", "@astrojs/turbolinks": "^0.1.2", - "astro": "^1.0.0-beta.27", + "astro": "^1.0.0-beta.28", "solid-js": "^1.3.17" }, "dependencies": { diff --git a/examples/minimal/package.json b/examples/minimal/package.json index be02a21b7..aed0d28ef 100644 --- a/examples/minimal/package.json +++ b/examples/minimal/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^1.0.0-beta.27" + "astro": "^1.0.0-beta.28" } } diff --git a/examples/non-html-pages/package.json b/examples/non-html-pages/package.json index cbf0450c8..fc18be9d3 100644 --- a/examples/non-html-pages/package.json +++ b/examples/non-html-pages/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^1.0.0-beta.27" + "astro": "^1.0.0-beta.28" } } diff --git a/examples/portfolio/package.json b/examples/portfolio/package.json index 3c1ad66f1..ac35cbeb5 100644 --- a/examples/portfolio/package.json +++ b/examples/portfolio/package.json @@ -10,7 +10,7 @@ }, "devDependencies": { "@astrojs/preact": "^0.1.2", - "astro": "^1.0.0-beta.27", + "astro": "^1.0.0-beta.28", "sass": "^1.51.0" }, "dependencies": { diff --git a/examples/ssr/package.json b/examples/ssr/package.json index daff20be4..e420c1135 100644 --- a/examples/ssr/package.json +++ b/examples/ssr/package.json @@ -10,8 +10,8 @@ }, "devDependencies": { "@astrojs/node": "^0.1.1", - "@astrojs/svelte": "^0.1.2", - "astro": "^1.0.0-beta.27", + "@astrojs/svelte": "^0.1.3", + "astro": "^1.0.0-beta.28", "concurrently": "^7.1.0", "lightcookie": "^1.0.25", "unocss": "^0.15.6", diff --git a/examples/starter/package.json b/examples/starter/package.json index cbcb3e220..54b08c73e 100644 --- a/examples/starter/package.json +++ b/examples/starter/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^1.0.0-beta.27" + "astro": "^1.0.0-beta.28" } } diff --git a/examples/subpath/package.json b/examples/subpath/package.json index bd7d3a955..813f752cf 100644 --- a/examples/subpath/package.json +++ b/examples/subpath/package.json @@ -9,8 +9,8 @@ "preview": "astro preview" }, "devDependencies": { - "@astrojs/react": "^0.1.1", - "astro": "^1.0.0-beta.27", + "@astrojs/react": "^0.1.2", + "astro": "^1.0.0-beta.28", "sass": "^1.51.0" }, "dependencies": { diff --git a/examples/with-markdown-plugins/package.json b/examples/with-markdown-plugins/package.json index 1cd372282..f097c092d 100644 --- a/examples/with-markdown-plugins/package.json +++ b/examples/with-markdown-plugins/package.json @@ -10,7 +10,7 @@ }, "devDependencies": { "@astrojs/markdown-remark": "^0.9.4", - "astro": "^1.0.0-beta.27", + "astro": "^1.0.0-beta.28", "hast-util-select": "5.0.1", "rehype-autolink-headings": "^6.1.1", "rehype-slug": "^5.0.1", diff --git a/examples/with-markdown-shiki/package.json b/examples/with-markdown-shiki/package.json index 287500b95..20e2fb32a 100644 --- a/examples/with-markdown-shiki/package.json +++ b/examples/with-markdown-shiki/package.json @@ -10,6 +10,6 @@ }, "devDependencies": { "@astrojs/markdown-remark": "^0.9.4", - "astro": "^1.0.0-beta.27" + "astro": "^1.0.0-beta.28" } } diff --git a/examples/with-markdown/package.json b/examples/with-markdown/package.json index fde7e444e..aaafc221a 100644 --- a/examples/with-markdown/package.json +++ b/examples/with-markdown/package.json @@ -11,10 +11,10 @@ "devDependencies": { "@astrojs/markdown-remark": "^0.9.4", "@astrojs/preact": "^0.1.2", - "@astrojs/react": "^0.1.1", - "@astrojs/svelte": "^0.1.2", - "@astrojs/vue": "^0.1.3", - "astro": "^1.0.0-beta.27" + "@astrojs/react": "^0.1.2", + "@astrojs/svelte": "^0.1.3", + "@astrojs/vue": "^0.1.4", + "astro": "^1.0.0-beta.28" }, "dependencies": { "preact": "^10.7.2", diff --git a/examples/with-nanostores/package.json b/examples/with-nanostores/package.json index 036c95b6e..c19c6d4c3 100644 --- a/examples/with-nanostores/package.json +++ b/examples/with-nanostores/package.json @@ -21,10 +21,10 @@ }, "devDependencies": { "@astrojs/preact": "^0.1.2", - "@astrojs/react": "^0.1.1", + "@astrojs/react": "^0.1.2", "@astrojs/solid-js": "^0.1.2", - "@astrojs/svelte": "^0.1.2", - "@astrojs/vue": "^0.1.3", - "astro": "^1.0.0-beta.27" + "@astrojs/svelte": "^0.1.3", + "@astrojs/vue": "^0.1.4", + "astro": "^1.0.0-beta.28" } } diff --git a/examples/with-tailwindcss/package.json b/examples/with-tailwindcss/package.json index 91553eb3b..802026c04 100644 --- a/examples/with-tailwindcss/package.json +++ b/examples/with-tailwindcss/package.json @@ -10,7 +10,7 @@ }, "devDependencies": { "@astrojs/tailwind": "^0.2.1", - "astro": "^1.0.0-beta.27", + "astro": "^1.0.0-beta.28", "autoprefixer": "^10.4.7", "canvas-confetti": "^1.5.1", "postcss": "^8.4.13", diff --git a/examples/with-vite-plugin-pwa/package.json b/examples/with-vite-plugin-pwa/package.json index 010113a10..86325d5b2 100644 --- a/examples/with-vite-plugin-pwa/package.json +++ b/examples/with-vite-plugin-pwa/package.json @@ -9,7 +9,7 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^1.0.0-beta.27", + "astro": "^1.0.0-beta.28", "vite-plugin-pwa": "0.11.11", "workbox-window": "^6.5.3" } diff --git a/packages/astro/CHANGELOG.md b/packages/astro/CHANGELOG.md index 6c4b37c35..dbbc151b7 100644 --- a/packages/astro/CHANGELOG.md +++ b/packages/astro/CHANGELOG.md @@ -1,5 +1,31 @@ # astro +## 1.0.0-beta.28 + +### Patch Changes + +- [#3344](https://github.com/withastro/astro/pull/3344) [`46cd8b9e`](https://github.com/withastro/astro/commit/46cd8b9eb4c5e9b526a6cba288070630b8dcbbf5) Thanks [@matthewp](https://github.com/matthewp)! - Fix for APIRoute type + +* [#3350](https://github.com/withastro/astro/pull/3350) [`e48aa2fd`](https://github.com/withastro/astro/commit/e48aa2fd1ee4a3637647990182e1f3aa9384e259) Thanks [@FredKSchott](https://github.com/FredKSchott)! - Improve error hints for packages that should be added to `vite.ssr.noExternal` + +- [#3348](https://github.com/withastro/astro/pull/3348) [`43e411ee`](https://github.com/withastro/astro/commit/43e411eed8308015d517de9a0d1e036dc06d34a0) Thanks [@natemoo-re](https://github.com/natemoo-re)! - Update default `vite.optimizeDeps.exclude` to keep `node-fetch` from being optimized + +* [#3336](https://github.com/withastro/astro/pull/3336) [`ccea6a0a`](https://github.com/withastro/astro/commit/ccea6a0a1ae55ab057d94f60014e2183013b5f60) Thanks [@matthewp](https://github.com/matthewp)! - Fixes HMR of hoisted script tags + +- [#3331](https://github.com/withastro/astro/pull/3331) [`e22f7364`](https://github.com/withastro/astro/commit/e22f7364ceb3e4b057d89bbb32111bcffb7ae967) Thanks [@tony-sull](https://github.com/tony-sull)! - Fixes an issue preventing custom 404 pages in dev + +* [#3339](https://github.com/withastro/astro/pull/3339) [`3dc68e14`](https://github.com/withastro/astro/commit/3dc68e148e05a36694cb5759f44cc5349bd66294) Thanks [@thepassle](https://github.com/thepassle)! - fixes injectscript in ssr mode + +- [#3332](https://github.com/withastro/astro/pull/3332) [`d04928e8`](https://github.com/withastro/astro/commit/d04928e8f20435cf69d1c171523aa152601cfe21) Thanks [@FredKSchott](https://github.com/FredKSchott)! - Fix an `import from '../core/build/types';` error + +* [`f40705d9`](https://github.com/withastro/astro/commit/f40705d906951a2ac16a89290bcadd597fe4cbeb) Thanks [@matthewp](https://github.com/matthewp)! - Fix for swallowed SolidJS errors + +- [#3300](https://github.com/withastro/astro/pull/3300) [`b463ddb3`](https://github.com/withastro/astro/commit/b463ddb3ce43641536dee4413ac5bb8ebcbdf608) Thanks [@tony-sull](https://github.com/tony-sull)! - Resolve .astro components by module ID to support the use of Astro + framework components in an NPM package + +* [#3352](https://github.com/withastro/astro/pull/3352) [`86855061`](https://github.com/withastro/astro/commit/8685506174962329fb7a76367ea3cf32ea0aa48c) Thanks [@JuanM04](https://github.com/JuanM04)! - Export `ViteUserConfig` type + +- [#3337](https://github.com/withastro/astro/pull/3337) [`678c2b75`](https://github.com/withastro/astro/commit/678c2b7523c7f10cfdf2eb5a73aa2bbb7e5cbc07) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Fix: remove hydration failures on React v18 by exposing the "client" directive from Astro core. + ## 1.0.0-beta.27 ### Patch Changes diff --git a/packages/astro/package.json b/packages/astro/package.json index ee63c2d51..86939565e 100644 --- a/packages/astro/package.json +++ b/packages/astro/package.json @@ -1,6 +1,6 @@ { "name": "astro", - "version": "1.0.0-beta.27", + "version": "1.0.0-beta.28", "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 784c5853b..b9726c364 100644 --- a/packages/create-astro/CHANGELOG.md +++ b/packages/create-astro/CHANGELOG.md @@ -1,5 +1,11 @@ # create-astro +## 0.12.1 + +### Patch Changes + +- [#3313](https://github.com/withastro/astro/pull/3313) [`1a5335ed`](https://github.com/withastro/astro/commit/1a5335ed9abaef397ee9543a3b4ad7a3fddcf024) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Update "next steps" with more informative text on each CLI command. Oh, and gradients. A lot more gradients. + ## 0.12.0 ### Minor Changes diff --git a/packages/create-astro/package.json b/packages/create-astro/package.json index de3c1a35b..cc5c13998 100644 --- a/packages/create-astro/package.json +++ b/packages/create-astro/package.json @@ -1,6 +1,6 @@ { "name": "create-astro", - "version": "0.12.0", + "version": "0.12.1", "type": "module", "author": "withastro", "license": "MIT", diff --git a/packages/integrations/netlify/CHANGELOG.md b/packages/integrations/netlify/CHANGELOG.md index 49bc0de1b..77b6fe875 100644 --- a/packages/integrations/netlify/CHANGELOG.md +++ b/packages/integrations/netlify/CHANGELOG.md @@ -1,5 +1,11 @@ # @astrojs/netlify +## 0.3.4 + +### Patch Changes + +- [#3342](https://github.com/withastro/astro/pull/3342) [`352fc316`](https://github.com/withastro/astro/commit/352fc3166fe3b3d3da3feff621394b20eacb9cc3) Thanks [@thepassle](https://github.com/thepassle)! - create redirects file for netlify edge adapter + ## 0.3.3 ### Patch Changes diff --git a/packages/integrations/netlify/package.json b/packages/integrations/netlify/package.json index 7a824ec54..8b1587f41 100644 --- a/packages/integrations/netlify/package.json +++ b/packages/integrations/netlify/package.json @@ -1,7 +1,7 @@ { "name": "@astrojs/netlify", "description": "Deploy your site to Netlify", - "version": "0.3.3", + "version": "0.3.4", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", diff --git a/packages/integrations/react/CHANGELOG.md b/packages/integrations/react/CHANGELOG.md index dc693ffed..63c11c307 100644 --- a/packages/integrations/react/CHANGELOG.md +++ b/packages/integrations/react/CHANGELOG.md @@ -1,5 +1,11 @@ # @astrojs/react +## 0.1.2 + +### Patch Changes + +- [#3337](https://github.com/withastro/astro/pull/3337) [`678c2b75`](https://github.com/withastro/astro/commit/678c2b7523c7f10cfdf2eb5a73aa2bbb7e5cbc07) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Fix: remove hydration failures on React v18 by exposing the "client" directive from Astro core. + ## 0.1.1 ### Patch Changes diff --git a/packages/integrations/react/package.json b/packages/integrations/react/package.json index e11c4e6a9..be9968467 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": "0.1.1", + "version": "0.1.2", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", diff --git a/packages/integrations/svelte/CHANGELOG.md b/packages/integrations/svelte/CHANGELOG.md index e470a16cb..c060e5c1d 100644 --- a/packages/integrations/svelte/CHANGELOG.md +++ b/packages/integrations/svelte/CHANGELOG.md @@ -1,5 +1,11 @@ # @astrojs/svelte +## 0.1.3 + +### Patch Changes + +- [#3333](https://github.com/withastro/astro/pull/3333) [`ce6d7982`](https://github.com/withastro/astro/commit/ce6d79828250e9a3631778a37d43068cae04bb4f) Thanks [@FredKSchott](https://github.com/FredKSchott)! - Fix a vite peer dependency bug + ## 0.1.2 ### Patch Changes diff --git a/packages/integrations/svelte/package.json b/packages/integrations/svelte/package.json index 83fede28a..77122989b 100644 --- a/packages/integrations/svelte/package.json +++ b/packages/integrations/svelte/package.json @@ -1,6 +1,6 @@ { "name": "@astrojs/svelte", - "version": "0.1.2", + "version": "0.1.3", "description": "Use Svelte components within Astro", "type": "module", "types": "./dist/index.d.ts", diff --git a/packages/integrations/vercel/CHANGELOG.md b/packages/integrations/vercel/CHANGELOG.md index 4fb3a7577..f3570fdcd 100644 --- a/packages/integrations/vercel/CHANGELOG.md +++ b/packages/integrations/vercel/CHANGELOG.md @@ -1,5 +1,25 @@ # @astrojs/vercel +## 0.2.0 + +### Minor Changes + +- [#3216](https://github.com/withastro/astro/pull/3216) [`114bf63e`](https://github.com/withastro/astro/commit/114bf63e11f28299b13178ef1a412eed37ab7909) Thanks [@JuanM04](https://github.com/JuanM04)! - **[BREAKING]** Now with Build Output API (v3)! [See the README to get started](https://github.com/withastro/astro/tree/main/packages/integrations/vercel#readme). + + - `trailingSlash` redirects works without a `vercel.json` file: just configure them inside your `astro.config.mjs` + - Multiple deploy targets: `edge`, `serverless` and `static`! + - When building to `serverless`, your code isn't transpiled to CJS anymore. + + **Migrate from v0.1** + + 1. Change the import inside `astro.config.mjs`: + ```diff + - import vercel from '@astrojs/vercel'; + + import vercel from '@astrojs/vercel/serverless'; + ``` + 2. Rename the `ENABLE_FILE_SYSTEM_API` environment variable to `ENABLE_VC_BUILD`, as Vercel changed it. + 3. The output folder changed from `.output` to `.vercel/output` — you may need to update your `.gitignore`. + ## 0.1.4 ### Patch Changes diff --git a/packages/integrations/vercel/package.json b/packages/integrations/vercel/package.json index e7f98b77e..a7ca9361b 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": "0.1.4", + "version": "0.2.0", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", diff --git a/packages/integrations/vue/CHANGELOG.md b/packages/integrations/vue/CHANGELOG.md index 3e2f0612f..379b72042 100644 --- a/packages/integrations/vue/CHANGELOG.md +++ b/packages/integrations/vue/CHANGELOG.md @@ -1,5 +1,11 @@ # @astrojs/vue +## 0.1.4 + +### Patch Changes + +- [#3333](https://github.com/withastro/astro/pull/3333) [`ce6d7982`](https://github.com/withastro/astro/commit/ce6d79828250e9a3631778a37d43068cae04bb4f) Thanks [@FredKSchott](https://github.com/FredKSchott)! - Fix a vite peer dependency bug + ## 0.1.3 ### Patch Changes diff --git a/packages/integrations/vue/package.json b/packages/integrations/vue/package.json index 6d55f72eb..65db54dbc 100644 --- a/packages/integrations/vue/package.json +++ b/packages/integrations/vue/package.json @@ -1,6 +1,6 @@ { "name": "@astrojs/vue", - "version": "0.1.3", + "version": "0.1.4", "description": "Use Vue components within Astro", "type": "module", "types": "./dist/index.d.ts", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 65972138e..1f81977c7 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -45,14 +45,14 @@ importers: examples/basics: specifiers: - astro: ^1.0.0-beta.27 + astro: ^1.0.0-beta.28 devDependencies: astro: link:../../packages/astro examples/blog: specifiers: '@astrojs/preact': ^0.1.2 - astro: ^1.0.0-beta.27 + astro: ^1.0.0-beta.28 preact: ^10.7.2 dependencies: preact: 10.7.2 @@ -63,7 +63,7 @@ importers: examples/blog-multiple-authors: specifiers: '@astrojs/preact': ^0.1.2 - astro: ^1.0.0-beta.27 + astro: ^1.0.0-beta.28 preact: ^10.7.2 sass: ^1.51.0 dependencies: @@ -75,14 +75,14 @@ importers: examples/component: specifiers: - astro: ^1.0.0-beta.27 + astro: ^1.0.0-beta.28 devDependencies: astro: link:../../packages/astro examples/component/demo: specifiers: '@example/my-component': workspace:* - astro: ^1.0.0-beta.27 + astro: ^1.0.0-beta.28 devDependencies: '@example/my-component': link:../packages/my-component astro: link:../../../packages/astro @@ -94,11 +94,11 @@ importers: specifiers: '@algolia/client-search': ^4.13.0 '@astrojs/preact': ^0.1.2 - '@astrojs/react': ^0.1.1 + '@astrojs/react': ^0.1.2 '@docsearch/css': ^3.0.0 '@docsearch/react': ^3.0.0 '@types/react': ^17.0.45 - astro: ^1.0.0-beta.27 + astro: ^1.0.0-beta.28 preact: ^10.7.2 react: ^17.0.2 react-dom: ^17.0.2 @@ -117,14 +117,14 @@ importers: examples/env-vars: specifiers: - astro: ^1.0.0-beta.27 + astro: ^1.0.0-beta.28 devDependencies: astro: link:../../packages/astro examples/framework-alpine: specifiers: alpinejs: ^3.10.2 - astro: ^1.0.0-beta.27 + astro: ^1.0.0-beta.28 dependencies: alpinejs: 3.10.2 devDependencies: @@ -134,7 +134,7 @@ importers: specifiers: '@astrojs/lit': ^0.1.2 '@webcomponents/template-shadowroot': ^0.1.0 - astro: ^1.0.0-beta.27 + astro: ^1.0.0-beta.28 lit: ^2.2.3 dependencies: '@webcomponents/template-shadowroot': 0.1.0 @@ -147,12 +147,12 @@ importers: specifiers: '@astrojs/lit': ^0.1.2 '@astrojs/preact': ^0.1.2 - '@astrojs/react': ^0.1.1 + '@astrojs/react': ^0.1.2 '@astrojs/solid-js': ^0.1.2 - '@astrojs/svelte': ^0.1.2 - '@astrojs/vue': ^0.1.3 + '@astrojs/svelte': ^0.1.3 + '@astrojs/vue': ^0.1.4 '@webcomponents/template-shadowroot': ^0.1.0 - astro: ^1.0.0-beta.27 + astro: ^1.0.0-beta.28 lit: ^2.2.3 preact: ^10.7.2 react: ^18.1.0 @@ -181,7 +181,7 @@ importers: examples/framework-preact: specifiers: '@astrojs/preact': ^0.1.2 - astro: ^1.0.0-beta.27 + astro: ^1.0.0-beta.28 preact: ^10.7.2 dependencies: preact: 10.7.2 @@ -191,10 +191,10 @@ importers: examples/framework-react: specifiers: - '@astrojs/react': ^0.1.1 + '@astrojs/react': ^0.1.2 '@types/react': ^18.0.9 '@types/react-dom': ^18.0.3 - astro: ^1.0.0-beta.27 + astro: ^1.0.0-beta.28 react: ^18.1.0 react-dom: ^18.1.0 dependencies: @@ -209,7 +209,7 @@ importers: examples/framework-solid: specifiers: '@astrojs/solid-js': ^0.1.2 - astro: ^1.0.0-beta.27 + astro: ^1.0.0-beta.28 solid-js: ^1.3.17 dependencies: solid-js: 1.3.17 @@ -219,8 +219,8 @@ importers: examples/framework-svelte: specifiers: - '@astrojs/svelte': ^0.1.2 - astro: ^1.0.0-beta.27 + '@astrojs/svelte': ^0.1.3 + astro: ^1.0.0-beta.28 svelte: ^3.48.0 dependencies: svelte: 3.48.0 @@ -230,8 +230,8 @@ importers: examples/framework-vue: specifiers: - '@astrojs/vue': ^0.1.3 - astro: ^1.0.0-beta.27 + '@astrojs/vue': ^0.1.4 + astro: ^1.0.0-beta.28 vue: ^3.2.33 dependencies: vue: 3.2.33 @@ -243,13 +243,13 @@ importers: specifiers: '@astrojs/lit': ^0.1.2 '@astrojs/partytown': ^0.1.2 - '@astrojs/react': ^0.1.1 + '@astrojs/react': ^0.1.2 '@astrojs/sitemap': ^0.1.0 '@astrojs/solid-js': 0.1.2 '@astrojs/tailwind': ^0.2.1 '@astrojs/turbolinks': ^0.1.2 '@webcomponents/template-shadowroot': ^0.1.0 - astro: ^1.0.0-beta.27 + astro: ^1.0.0-beta.28 lit: ^2.2.3 preact: ^10.7.2 react: ^18.1.0 @@ -278,20 +278,20 @@ importers: examples/minimal: specifiers: - astro: ^1.0.0-beta.27 + astro: ^1.0.0-beta.28 devDependencies: astro: link:../../packages/astro examples/non-html-pages: specifiers: - astro: ^1.0.0-beta.27 + astro: ^1.0.0-beta.28 devDependencies: astro: link:../../packages/astro examples/portfolio: specifiers: '@astrojs/preact': ^0.1.2 - astro: ^1.0.0-beta.27 + astro: ^1.0.0-beta.28 preact: ^10.7.2 sass: ^1.51.0 dependencies: @@ -304,8 +304,8 @@ importers: examples/ssr: specifiers: '@astrojs/node': ^0.1.1 - '@astrojs/svelte': ^0.1.2 - astro: ^1.0.0-beta.27 + '@astrojs/svelte': ^0.1.3 + astro: ^1.0.0-beta.28 concurrently: ^7.1.0 lightcookie: ^1.0.25 svelte: ^3.48.0 @@ -324,14 +324,14 @@ importers: examples/starter: specifiers: - astro: ^1.0.0-beta.27 + astro: ^1.0.0-beta.28 devDependencies: astro: link:../../packages/astro examples/subpath: specifiers: - '@astrojs/react': ^0.1.1 - astro: ^1.0.0-beta.27 + '@astrojs/react': ^0.1.2 + astro: ^1.0.0-beta.28 react: ^18.1.0 react-dom: ^18.1.0 sass: ^1.51.0 @@ -347,10 +347,10 @@ importers: specifiers: '@astrojs/markdown-remark': ^0.9.4 '@astrojs/preact': ^0.1.2 - '@astrojs/react': ^0.1.1 - '@astrojs/svelte': ^0.1.2 - '@astrojs/vue': ^0.1.3 - astro: ^1.0.0-beta.27 + '@astrojs/react': ^0.1.2 + '@astrojs/svelte': ^0.1.3 + '@astrojs/vue': ^0.1.4 + astro: ^1.0.0-beta.28 preact: ^10.7.2 react: ^18.1.0 react-dom: ^18.1.0 @@ -373,7 +373,7 @@ importers: examples/with-markdown-plugins: specifiers: '@astrojs/markdown-remark': ^0.9.4 - astro: ^1.0.0-beta.27 + astro: ^1.0.0-beta.28 hast-util-select: 5.0.1 rehype-autolink-headings: ^6.1.1 rehype-slug: ^5.0.1 @@ -391,7 +391,7 @@ importers: examples/with-markdown-shiki: specifiers: '@astrojs/markdown-remark': ^0.9.4 - astro: ^1.0.0-beta.27 + astro: ^1.0.0-beta.28 devDependencies: '@astrojs/markdown-remark': link:../../packages/markdown/remark astro: link:../../packages/astro @@ -399,14 +399,14 @@ importers: examples/with-nanostores: specifiers: '@astrojs/preact': ^0.1.2 - '@astrojs/react': ^0.1.1 + '@astrojs/react': ^0.1.2 '@astrojs/solid-js': ^0.1.2 - '@astrojs/svelte': ^0.1.2 - '@astrojs/vue': ^0.1.3 + '@astrojs/svelte': ^0.1.3 + '@astrojs/vue': ^0.1.4 '@nanostores/preact': ^0.1.3 '@nanostores/react': ^0.1.5 '@nanostores/vue': ^0.4.1 - astro: ^1.0.0-beta.27 + astro: ^1.0.0-beta.28 nanostores: ^0.5.12 preact: ^10.7.2 react: ^18.1.0 @@ -434,7 +434,7 @@ importers: examples/with-tailwindcss: specifiers: '@astrojs/tailwind': ^0.2.1 - astro: ^1.0.0-beta.27 + astro: ^1.0.0-beta.28 autoprefixer: ^10.4.7 canvas-confetti: ^1.5.1 postcss: ^8.4.13 @@ -449,7 +449,7 @@ importers: examples/with-vite-plugin-pwa: specifiers: - astro: ^1.0.0-beta.27 + astro: ^1.0.0-beta.28 vite-plugin-pwa: 0.11.11 workbox-window: ^6.5.3 devDependencies: @@ -5487,11 +5487,6 @@ packages: /debug/3.2.7: resolution: {integrity: sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==} - peerDependencies: - supports-color: '*' - peerDependenciesMeta: - supports-color: - optional: true dependencies: ms: 2.1.3 dev: false @@ -8285,8 +8280,6 @@ packages: debug: 3.2.7 iconv-lite: 0.4.24 sax: 1.2.4 - transitivePeerDependencies: - - supports-color dev: false /netmask/2.0.2: @@ -8369,8 +8362,6 @@ packages: rimraf: 2.7.1 semver: 5.7.1 tar: 4.4.19 - transitivePeerDependencies: - - supports-color dev: false /node-releases/2.0.4: