From addb6ec4a343b00b85bd40b3afe0ab02e8022b52 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 5 Apr 2023 16:09:28 +0000 Subject: [PATCH] [ci] release --- .changeset/angry-hounds-train.md | 5 -- .changeset/chatty-parrots-compare.md | 5 -- .changeset/cyan-fireants-care.md | 5 -- .changeset/cyan-sheep-smile.md | 5 -- .changeset/empty-moose-grin.md | 5 -- .changeset/green-turtles-jump.md | 6 -- .changeset/many-dancers-fold.md | 22 ------ .changeset/mean-guests-joke.md | 5 -- .changeset/metal-lizards-arrive.md | 5 -- .changeset/red-parents-knock.md | 10 --- .changeset/serious-ladybugs-eat.md | 5 -- .changeset/spotty-keys-change.md | 5 -- .changeset/two-beans-dress.md | 8 -- .changeset/unlucky-emus-learn.md | 5 -- .changeset/unlucky-wolves-share.md | 5 -- examples/basics/package.json | 2 +- examples/blog/package.json | 4 +- examples/component/package.json | 2 +- examples/deno/package.json | 2 +- examples/docs/package.json | 2 +- examples/framework-alpine/package.json | 2 +- examples/framework-lit/package.json | 4 +- examples/framework-multiple/package.json | 4 +- examples/framework-preact/package.json | 2 +- examples/framework-react/package.json | 2 +- examples/framework-solid/package.json | 2 +- examples/framework-svelte/package.json | 2 +- examples/framework-vue/package.json | 4 +- examples/hackernews/package.json | 4 +- examples/integration/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 | 4 +- examples/with-markdown-plugins/package.json | 4 +- 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 | 51 +++++++++++++ packages/astro/package.json | 4 +- packages/integrations/cloudflare/package.json | 2 +- packages/integrations/deno/package.json | 2 +- packages/integrations/image/CHANGELOG.md | 11 +++ packages/integrations/image/package.json | 4 +- packages/integrations/lit/CHANGELOG.md | 6 ++ packages/integrations/lit/package.json | 2 +- packages/integrations/markdoc/CHANGELOG.md | 9 +++ packages/integrations/markdoc/package.json | 4 +- packages/integrations/mdx/package.json | 2 +- packages/integrations/netlify/package.json | 2 +- packages/integrations/node/CHANGELOG.md | 9 +++ packages/integrations/node/package.json | 4 +- packages/integrations/sitemap/CHANGELOG.md | 6 ++ packages/integrations/sitemap/package.json | 2 +- packages/integrations/svelte/package.json | 2 +- packages/integrations/tailwind/package.json | 2 +- packages/integrations/vercel/CHANGELOG.md | 9 +++ packages/integrations/vercel/package.json | 4 +- packages/integrations/vue/CHANGELOG.md | 9 +++ packages/integrations/vue/package.json | 4 +- packages/markdown/remark/CHANGELOG.md | 9 +++ packages/markdown/remark/package.json | 4 +- pnpm-lock.yaml | 74 +++++++++---------- 67 files changed, 213 insertions(+), 195 deletions(-) delete mode 100644 .changeset/angry-hounds-train.md delete mode 100644 .changeset/chatty-parrots-compare.md delete mode 100644 .changeset/cyan-fireants-care.md delete mode 100644 .changeset/cyan-sheep-smile.md delete mode 100644 .changeset/empty-moose-grin.md delete mode 100644 .changeset/green-turtles-jump.md delete mode 100644 .changeset/many-dancers-fold.md delete mode 100644 .changeset/mean-guests-joke.md delete mode 100644 .changeset/metal-lizards-arrive.md delete mode 100644 .changeset/red-parents-knock.md delete mode 100644 .changeset/serious-ladybugs-eat.md delete mode 100644 .changeset/spotty-keys-change.md delete mode 100644 .changeset/two-beans-dress.md delete mode 100644 .changeset/unlucky-emus-learn.md delete mode 100644 .changeset/unlucky-wolves-share.md diff --git a/.changeset/angry-hounds-train.md b/.changeset/angry-hounds-train.md deleted file mode 100644 index b42b8935141d..000000000000 --- a/.changeset/angry-hounds-train.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@astrojs/lit': patch ---- - -Provide `renderInfo` when rendering Lit components. Fixes issue with rendering nested components. diff --git a/.changeset/chatty-parrots-compare.md b/.changeset/chatty-parrots-compare.md deleted file mode 100644 index f273c4ed1817..000000000000 --- a/.changeset/chatty-parrots-compare.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@astrojs/sitemap': patch ---- - -Fix sitemap generation with a base path diff --git a/.changeset/cyan-fireants-care.md b/.changeset/cyan-fireants-care.md deleted file mode 100644 index 58316e3b718e..000000000000 --- a/.changeset/cyan-fireants-care.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@astrojs/vercel': patch ---- - -Fix vercel analytics id not being set diff --git a/.changeset/cyan-sheep-smile.md b/.changeset/cyan-sheep-smile.md deleted file mode 100644 index 3a9c271b2cc0..000000000000 --- a/.changeset/cyan-sheep-smile.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@astrojs/node': patch ---- - -Fix malformed URLs crashing the server in certain cases diff --git a/.changeset/empty-moose-grin.md b/.changeset/empty-moose-grin.md deleted file mode 100644 index b2b69f2ecdfe..000000000000 --- a/.changeset/empty-moose-grin.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Fix `getViteConfig` return type diff --git a/.changeset/green-turtles-jump.md b/.changeset/green-turtles-jump.md deleted file mode 100644 index 22c670c17602..000000000000 --- a/.changeset/green-turtles-jump.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'astro': patch -'@astrojs/markdown-remark': patch ---- - -Fix remote images in Markdown throwing errors when using `experimental.assets` diff --git a/.changeset/many-dancers-fold.md b/.changeset/many-dancers-fold.md deleted file mode 100644 index d2278950a6f1..000000000000 --- a/.changeset/many-dancers-fold.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -'astro': minor ---- - -Move `image()` to come from `schema` instead to fix it not working with refine and inside complex types - -**Migration**: - -Remove the `image` import from `astro:content`, and instead use a function to generate your schema, like such: - -```ts -import { defineCollection, z } from "astro:content"; - -defineCollection({ - schema: ({ image }) => - z.object({ - image: image().refine((img) => img.width >= 200, { - message: "image too small", - }), - }), -}); -``` diff --git a/.changeset/mean-guests-joke.md b/.changeset/mean-guests-joke.md deleted file mode 100644 index c55693e500bf..000000000000 --- a/.changeset/mean-guests-joke.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@astrojs/markdoc': patch ---- - -Fix: when using `render: null` in your config, content is now rendered without a wrapper element. diff --git a/.changeset/metal-lizards-arrive.md b/.changeset/metal-lizards-arrive.md deleted file mode 100644 index aa3f6c10f6e2..000000000000 --- a/.changeset/metal-lizards-arrive.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Improved error message when an error was encountered while generating types diff --git a/.changeset/red-parents-knock.md b/.changeset/red-parents-knock.md deleted file mode 100644 index b169a31931af..000000000000 --- a/.changeset/red-parents-knock.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -'astro': patch ---- - -Better errors for when response is already sent - -This adds clearer error messaging when a Response has already been sent to the browser and the developer attempts to use: - -- Astro.cookies.set -- Astro.redirect diff --git a/.changeset/serious-ladybugs-eat.md b/.changeset/serious-ladybugs-eat.md deleted file mode 100644 index fe996b3e4755..000000000000 --- a/.changeset/serious-ladybugs-eat.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Fix content-type header being wrong in dev on images from `astro:assets` diff --git a/.changeset/spotty-keys-change.md b/.changeset/spotty-keys-change.md deleted file mode 100644 index 3518721f3267..000000000000 --- a/.changeset/spotty-keys-change.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@astrojs/vue': patch ---- - -Supporting the top of the await syntax sugar for Vue in the template's setup diff --git a/.changeset/two-beans-dress.md b/.changeset/two-beans-dress.md deleted file mode 100644 index 7865e80e8a75..000000000000 --- a/.changeset/two-beans-dress.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -'astro': minor -'@astrojs/image': patch ---- - -Add `build.assetsPrefix` option for CDN support. If set, all Astro-generated asset links will be prefixed with it. For example, setting it to `https://cdn.example.com` would generate `https://cdn.example.com/_astro/penguin.123456.png` links. - -Also adds `import.meta.env.ASSETS_PREFIX` environment variable that can be used to manually create asset links not handled by Astro. diff --git a/.changeset/unlucky-emus-learn.md b/.changeset/unlucky-emus-learn.md deleted file mode 100644 index 2fdac383a3f8..000000000000 --- a/.changeset/unlucky-emus-learn.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Added more types and utilities exports related to `astro:assets` to help building custom image components and image services diff --git a/.changeset/unlucky-wolves-share.md b/.changeset/unlucky-wolves-share.md deleted file mode 100644 index 8af5c5fa65e7..000000000000 --- a/.changeset/unlucky-wolves-share.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Upgrade to Vite 4.2 diff --git a/examples/basics/package.json b/examples/basics/package.json index d37f33455f02..59aa142969f6 100644 --- a/examples/basics/package.json +++ b/examples/basics/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^2.1.9" + "astro": "^2.2.0" } } diff --git a/examples/blog/package.json b/examples/blog/package.json index 2061d1dae060..d87ecfa635f2 100644 --- a/examples/blog/package.json +++ b/examples/blog/package.json @@ -11,9 +11,9 @@ "astro": "astro" }, "dependencies": { - "astro": "^2.1.9", + "astro": "^2.2.0", "@astrojs/mdx": "^0.18.2", "@astrojs/rss": "^2.3.2", - "@astrojs/sitemap": "^1.2.1" + "@astrojs/sitemap": "^1.2.2" } } diff --git a/examples/component/package.json b/examples/component/package.json index b519cdd8c1cd..0f6ffd2c70b0 100644 --- a/examples/component/package.json +++ b/examples/component/package.json @@ -15,7 +15,7 @@ ], "scripts": {}, "devDependencies": { - "astro": "^2.1.9" + "astro": "^2.2.0" }, "peerDependencies": { "astro": "^2.0.0-beta.0" diff --git a/examples/deno/package.json b/examples/deno/package.json index 75ac97e2ecaf..1ef75718eb99 100644 --- a/examples/deno/package.json +++ b/examples/deno/package.json @@ -10,7 +10,7 @@ "astro": "astro" }, "dependencies": { - "astro": "^2.1.9" + "astro": "^2.2.0" }, "devDependencies": { "@astrojs/deno": "^4.1.0" diff --git a/examples/docs/package.json b/examples/docs/package.json index c6f9f88c03f9..0ca6a90e3a8b 100644 --- a/examples/docs/package.json +++ b/examples/docs/package.json @@ -11,7 +11,7 @@ "astro": "astro" }, "dependencies": { - "astro": "^2.1.9", + "astro": "^2.2.0", "preact": "^10.7.3", "react": "^18.1.0", "react-dom": "^18.1.0", diff --git a/examples/framework-alpine/package.json b/examples/framework-alpine/package.json index 2cf0a3d5d727..4c8a350f54ca 100644 --- a/examples/framework-alpine/package.json +++ b/examples/framework-alpine/package.json @@ -11,7 +11,7 @@ "astro": "astro" }, "dependencies": { - "astro": "^2.1.9", + "astro": "^2.2.0", "alpinejs": "^3.10.2", "@astrojs/alpinejs": "^0.2.1", "@types/alpinejs": "^3.7.0" diff --git a/examples/framework-lit/package.json b/examples/framework-lit/package.json index bba2e38ecc22..ae801106d977 100644 --- a/examples/framework-lit/package.json +++ b/examples/framework-lit/package.json @@ -11,9 +11,9 @@ "astro": "astro" }, "dependencies": { - "astro": "^2.1.9", + "astro": "^2.2.0", "lit": "^2.7.0", - "@astrojs/lit": "^2.0.0", + "@astrojs/lit": "^2.0.1", "@webcomponents/template-shadowroot": "^0.2.1" } } diff --git a/examples/framework-multiple/package.json b/examples/framework-multiple/package.json index d108ac2962dc..9a9b99f10ff4 100644 --- a/examples/framework-multiple/package.json +++ b/examples/framework-multiple/package.json @@ -11,7 +11,7 @@ "astro": "astro" }, "dependencies": { - "astro": "^2.1.9", + "astro": "^2.2.0", "preact": "^10.7.3", "react": "^18.1.0", "react-dom": "^18.1.0", @@ -22,6 +22,6 @@ "@astrojs/react": "^2.1.1", "@astrojs/solid-js": "^2.1.0", "@astrojs/svelte": "^2.1.0", - "@astrojs/vue": "^2.1.0" + "@astrojs/vue": "^2.1.1" } } diff --git a/examples/framework-preact/package.json b/examples/framework-preact/package.json index b2cf8c22dce2..f8d322803867 100644 --- a/examples/framework-preact/package.json +++ b/examples/framework-preact/package.json @@ -11,7 +11,7 @@ "astro": "astro" }, "dependencies": { - "astro": "^2.1.9", + "astro": "^2.2.0", "preact": "^10.7.3", "@astrojs/preact": "^2.1.0", "@preact/signals": "^1.1.0" diff --git a/examples/framework-react/package.json b/examples/framework-react/package.json index 9c01859c1a90..1782e1086c65 100644 --- a/examples/framework-react/package.json +++ b/examples/framework-react/package.json @@ -11,7 +11,7 @@ "astro": "astro" }, "dependencies": { - "astro": "^2.1.9", + "astro": "^2.2.0", "react": "^18.1.0", "react-dom": "^18.1.0", "@astrojs/react": "^2.1.1", diff --git a/examples/framework-solid/package.json b/examples/framework-solid/package.json index 01ed5bc282b9..c6520e5f6fc7 100644 --- a/examples/framework-solid/package.json +++ b/examples/framework-solid/package.json @@ -11,7 +11,7 @@ "astro": "astro" }, "dependencies": { - "astro": "^2.1.9", + "astro": "^2.2.0", "solid-js": "^1.4.3", "@astrojs/solid-js": "^2.1.0" } diff --git a/examples/framework-svelte/package.json b/examples/framework-svelte/package.json index f284fdb2d764..43a794670954 100644 --- a/examples/framework-svelte/package.json +++ b/examples/framework-svelte/package.json @@ -13,6 +13,6 @@ "dependencies": { "svelte": "^3.48.0", "@astrojs/svelte": "^2.1.0", - "astro": "^2.1.9" + "astro": "^2.2.0" } } diff --git a/examples/framework-vue/package.json b/examples/framework-vue/package.json index 9bb8a94f26fd..d22553fd6859 100644 --- a/examples/framework-vue/package.json +++ b/examples/framework-vue/package.json @@ -11,8 +11,8 @@ "astro": "astro" }, "dependencies": { - "astro": "^2.1.9", + "astro": "^2.2.0", "vue": "^3.2.37", - "@astrojs/vue": "^2.1.0" + "@astrojs/vue": "^2.1.1" } } diff --git a/examples/hackernews/package.json b/examples/hackernews/package.json index 31047b12401d..aff9ccf87402 100644 --- a/examples/hackernews/package.json +++ b/examples/hackernews/package.json @@ -11,7 +11,7 @@ "astro": "astro" }, "dependencies": { - "@astrojs/node": "^5.1.0", - "astro": "^2.1.9" + "@astrojs/node": "^5.1.1", + "astro": "^2.2.0" } } diff --git a/examples/integration/package.json b/examples/integration/package.json index 633cdd888b5c..9b8c332dee63 100644 --- a/examples/integration/package.json +++ b/examples/integration/package.json @@ -15,7 +15,7 @@ ], "scripts": {}, "devDependencies": { - "astro": "^2.1.9" + "astro": "^2.2.0" }, "peerDependencies": { "astro": "^2.0.0-beta.0" diff --git a/examples/minimal/package.json b/examples/minimal/package.json index 8a1b74d74589..018e5376a7ca 100644 --- a/examples/minimal/package.json +++ b/examples/minimal/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^2.1.9" + "astro": "^2.2.0" } } diff --git a/examples/non-html-pages/package.json b/examples/non-html-pages/package.json index 7e4f5a81f84a..15d2a8de623b 100644 --- a/examples/non-html-pages/package.json +++ b/examples/non-html-pages/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^2.1.9" + "astro": "^2.2.0" } } diff --git a/examples/portfolio/package.json b/examples/portfolio/package.json index 5c43603e7944..40fd29123624 100644 --- a/examples/portfolio/package.json +++ b/examples/portfolio/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^2.1.9" + "astro": "^2.2.0" } } diff --git a/examples/ssr/package.json b/examples/ssr/package.json index b5dc8f41e12c..2d46ace1d57a 100644 --- a/examples/ssr/package.json +++ b/examples/ssr/package.json @@ -12,10 +12,10 @@ "server": "node dist/server/entry.mjs" }, "dependencies": { - "astro": "^2.1.9", + "astro": "^2.2.0", "svelte": "^3.48.0", "@astrojs/svelte": "^2.1.0", - "@astrojs/node": "^5.1.0", + "@astrojs/node": "^5.1.1", "concurrently": "^7.2.1", "unocss": "^0.15.6", "vite-imagetools": "^4.0.4" diff --git a/examples/with-markdoc/package.json b/examples/with-markdoc/package.json index 8e91691aaed0..e9d613a9e151 100644 --- a/examples/with-markdoc/package.json +++ b/examples/with-markdoc/package.json @@ -11,8 +11,8 @@ "astro": "astro" }, "dependencies": { - "@astrojs/markdoc": "^0.1.0", - "astro": "^2.1.9", + "@astrojs/markdoc": "^0.1.1", + "astro": "^2.2.0", "kleur": "^4.1.5" } } diff --git a/examples/with-markdown-plugins/package.json b/examples/with-markdown-plugins/package.json index 1c8d931ef891..10d4eb0a570d 100644 --- a/examples/with-markdown-plugins/package.json +++ b/examples/with-markdown-plugins/package.json @@ -11,8 +11,8 @@ "astro": "astro" }, "dependencies": { - "astro": "^2.1.9", - "@astrojs/markdown-remark": "^2.1.2", + "astro": "^2.2.0", + "@astrojs/markdown-remark": "^2.1.3", "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 3f3ae45816f9..be6a5e1dbec5 100644 --- a/examples/with-markdown-shiki/package.json +++ b/examples/with-markdown-shiki/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^2.1.9" + "astro": "^2.2.0" } } diff --git a/examples/with-mdx/package.json b/examples/with-mdx/package.json index 45cb1dda09ed..e5252ef3d7e2 100644 --- a/examples/with-mdx/package.json +++ b/examples/with-mdx/package.json @@ -11,7 +11,7 @@ "astro": "astro" }, "dependencies": { - "astro": "^2.1.9", + "astro": "^2.2.0", "preact": "^10.6.5", "@astrojs/preact": "^2.1.0", "@astrojs/mdx": "^0.18.2" diff --git a/examples/with-nanostores/package.json b/examples/with-nanostores/package.json index f383cfc15efd..9602933071d6 100644 --- a/examples/with-nanostores/package.json +++ b/examples/with-nanostores/package.json @@ -11,7 +11,7 @@ "astro": "astro" }, "dependencies": { - "astro": "^2.1.9", + "astro": "^2.2.0", "preact": "^10.7.3", "@astrojs/preact": "^2.1.0", "nanostores": "^0.5.12", diff --git a/examples/with-tailwindcss/package.json b/examples/with-tailwindcss/package.json index 93dfa96694ba..e4ab6a23baa8 100644 --- a/examples/with-tailwindcss/package.json +++ b/examples/with-tailwindcss/package.json @@ -14,7 +14,7 @@ "@astrojs/mdx": "^0.18.2", "@astrojs/tailwind": "^3.1.1", "@types/canvas-confetti": "^1.4.3", - "astro": "^2.1.9", + "astro": "^2.2.0", "autoprefixer": "^10.4.7", "canvas-confetti": "^1.5.1", "postcss": "^8.4.14", diff --git a/examples/with-vite-plugin-pwa/package.json b/examples/with-vite-plugin-pwa/package.json index 9ffdc7e5f30e..2fa80dffa526 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.1.9", + "astro": "^2.2.0", "vite-plugin-pwa": "0.11.11", "workbox-window": "^6.5.3" } diff --git a/examples/with-vitest/package.json b/examples/with-vitest/package.json index 3cd805add39d..01afdebaf0df 100644 --- a/examples/with-vitest/package.json +++ b/examples/with-vitest/package.json @@ -12,7 +12,7 @@ "test": "vitest" }, "dependencies": { - "astro": "^2.1.9", + "astro": "^2.2.0", "vitest": "^0.20.3" } } diff --git a/packages/astro/CHANGELOG.md b/packages/astro/CHANGELOG.md index 8b2178e06574..5296016c06f8 100644 --- a/packages/astro/CHANGELOG.md +++ b/packages/astro/CHANGELOG.md @@ -1,5 +1,56 @@ # astro +## 2.2.0 + +### Minor Changes + +- [#6703](https://github.com/withastro/astro/pull/6703) [`a1108e037`](https://github.com/withastro/astro/commit/a1108e037115cdb67d03505286c7d3a4fc2a1ff5) Thanks [@Princesseuh](https://github.com/Princesseuh)! - Move `image()` to come from `schema` instead to fix it not working with refine and inside complex types + + **Migration**: + + Remove the `image` import from `astro:content`, and instead use a function to generate your schema, like such: + + ```ts + import { defineCollection, z } from 'astro:content'; + + defineCollection({ + schema: ({ image }) => + z.object({ + image: image().refine((img) => img.width >= 200, { + message: 'image too small', + }), + }), + }); + ``` + +- [#6714](https://github.com/withastro/astro/pull/6714) [`ff0430786`](https://github.com/withastro/astro/commit/ff043078630e678348ae4f4757b3015b3b862c16) Thanks [@bluwy](https://github.com/bluwy)! - Add `build.assetsPrefix` option for CDN support. If set, all Astro-generated asset links will be prefixed with it. For example, setting it to `https://cdn.example.com` would generate `https://cdn.example.com/_astro/penguin.123456.png` links. + + Also adds `import.meta.env.ASSETS_PREFIX` environment variable that can be used to manually create asset links not handled by Astro. + +### Patch Changes + +- [#6753](https://github.com/withastro/astro/pull/6753) [`489dd8d69`](https://github.com/withastro/astro/commit/489dd8d69cdd9d7c243cf8bec96051a914984b9c) Thanks [@bluwy](https://github.com/bluwy)! - Fix `getViteConfig` return type + +- [#6744](https://github.com/withastro/astro/pull/6744) [`a1a4f45b5`](https://github.com/withastro/astro/commit/a1a4f45b51a80215fa7598da83bd0d9c5acd20d2) Thanks [@Princesseuh](https://github.com/Princesseuh)! - Fix remote images in Markdown throwing errors when using `experimental.assets` + +- [#6762](https://github.com/withastro/astro/pull/6762) [`8b88e4cf1`](https://github.com/withastro/astro/commit/8b88e4cf15c8bea7942b3985380164e0edf7250b) Thanks [@Princesseuh](https://github.com/Princesseuh)! - Improved error message when an error was encountered while generating types + +- [#6719](https://github.com/withastro/astro/pull/6719) [`d54cbe413`](https://github.com/withastro/astro/commit/d54cbe41349e55f8544212ad9320705f07325920) Thanks [@matthewp](https://github.com/matthewp)! - Better errors for when response is already sent + + This adds clearer error messaging when a Response has already been sent to the browser and the developer attempts to use: + + - Astro.cookies.set + - Astro.redirect + +- [#6741](https://github.com/withastro/astro/pull/6741) [`4c347ab51`](https://github.com/withastro/astro/commit/4c347ab51e46f2319d614f8577fe502e3dc816e2) Thanks [@Princesseuh](https://github.com/Princesseuh)! - Fix content-type header being wrong in dev on images from `astro:assets` + +- [#6739](https://github.com/withastro/astro/pull/6739) [`2f2e572e9`](https://github.com/withastro/astro/commit/2f2e572e937fd25451bbc78a05d55b7caa1ca3ec) Thanks [@Princesseuh](https://github.com/Princesseuh)! - Added more types and utilities exports related to `astro:assets` to help building custom image components and image services + +- [#6759](https://github.com/withastro/astro/pull/6759) [`7116c021a`](https://github.com/withastro/astro/commit/7116c021a39eac15a6e1264dfbd11bef0f5d618a) Thanks [@bluwy](https://github.com/bluwy)! - Upgrade to Vite 4.2 + +- Updated dependencies [[`a1a4f45b5`](https://github.com/withastro/astro/commit/a1a4f45b51a80215fa7598da83bd0d9c5acd20d2)]: + - @astrojs/markdown-remark@2.1.3 + ## 2.1.9 ### Patch Changes diff --git a/packages/astro/package.json b/packages/astro/package.json index cc7801924db4..81d5ca0a0ff1 100644 --- a/packages/astro/package.json +++ b/packages/astro/package.json @@ -1,6 +1,6 @@ { "name": "astro", - "version": "2.1.9", + "version": "2.2.0", "description": "Astro is a modern site builder with web best practices, performance, and DX front-of-mind.", "type": "module", "author": "withastro", @@ -108,7 +108,7 @@ "dependencies": { "@astrojs/compiler": "^1.3.0", "@astrojs/language-server": "^0.28.3", - "@astrojs/markdown-remark": "^2.1.2", + "@astrojs/markdown-remark": "^2.1.3", "@astrojs/telemetry": "^2.1.0", "@astrojs/webapi": "^2.1.0", "@babel/core": "^7.18.2", diff --git a/packages/integrations/cloudflare/package.json b/packages/integrations/cloudflare/package.json index 4bd0b1c16ab9..d6a7e8c57ede 100644 --- a/packages/integrations/cloudflare/package.json +++ b/packages/integrations/cloudflare/package.json @@ -38,7 +38,7 @@ "tiny-glob": "^0.2.9" }, "peerDependencies": { - "astro": "workspace:^2.1.9" + "astro": "workspace:^2.2.0" }, "devDependencies": { "astro": "workspace:*", diff --git a/packages/integrations/deno/package.json b/packages/integrations/deno/package.json index 675edde61645..486763f41282 100644 --- a/packages/integrations/deno/package.json +++ b/packages/integrations/deno/package.json @@ -33,7 +33,7 @@ "esbuild": "^0.15.18" }, "peerDependencies": { - "astro": "workspace:^2.1.9" + "astro": "workspace:^2.2.0" }, "devDependencies": { "astro": "workspace:*", diff --git a/packages/integrations/image/CHANGELOG.md b/packages/integrations/image/CHANGELOG.md index fb9ab0c61264..3e28bea2f3be 100644 --- a/packages/integrations/image/CHANGELOG.md +++ b/packages/integrations/image/CHANGELOG.md @@ -1,5 +1,16 @@ # @astrojs/image +## 0.16.5 + +### Patch Changes + +- [#6714](https://github.com/withastro/astro/pull/6714) [`ff0430786`](https://github.com/withastro/astro/commit/ff043078630e678348ae4f4757b3015b3b862c16) Thanks [@bluwy](https://github.com/bluwy)! - Add `build.assetsPrefix` option for CDN support. If set, all Astro-generated asset links will be prefixed with it. For example, setting it to `https://cdn.example.com` would generate `https://cdn.example.com/_astro/penguin.123456.png` links. + + Also adds `import.meta.env.ASSETS_PREFIX` environment variable that can be used to manually create asset links not handled by Astro. + +- Updated dependencies [[`489dd8d69`](https://github.com/withastro/astro/commit/489dd8d69cdd9d7c243cf8bec96051a914984b9c), [`a1a4f45b5`](https://github.com/withastro/astro/commit/a1a4f45b51a80215fa7598da83bd0d9c5acd20d2), [`a1108e037`](https://github.com/withastro/astro/commit/a1108e037115cdb67d03505286c7d3a4fc2a1ff5), [`8b88e4cf1`](https://github.com/withastro/astro/commit/8b88e4cf15c8bea7942b3985380164e0edf7250b), [`d54cbe413`](https://github.com/withastro/astro/commit/d54cbe41349e55f8544212ad9320705f07325920), [`4c347ab51`](https://github.com/withastro/astro/commit/4c347ab51e46f2319d614f8577fe502e3dc816e2), [`ff0430786`](https://github.com/withastro/astro/commit/ff043078630e678348ae4f4757b3015b3b862c16), [`2f2e572e9`](https://github.com/withastro/astro/commit/2f2e572e937fd25451bbc78a05d55b7caa1ca3ec), [`7116c021a`](https://github.com/withastro/astro/commit/7116c021a39eac15a6e1264dfbd11bef0f5d618a)]: + - astro@2.2.0 + ## 0.16.4 ### Patch Changes diff --git a/packages/integrations/image/package.json b/packages/integrations/image/package.json index dee932a0b22c..9fd998545105 100644 --- a/packages/integrations/image/package.json +++ b/packages/integrations/image/package.json @@ -1,7 +1,7 @@ { "name": "@astrojs/image", "description": "Load and transform images in your Astro site", - "version": "0.16.4", + "version": "0.16.5", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", @@ -63,7 +63,7 @@ "vite": "^4.2.1" }, "peerDependencies": { - "astro": "workspace:^2.1.9", + "astro": "workspace:^2.2.0", "sharp": ">=0.31.0" }, "peerDependenciesMeta": { diff --git a/packages/integrations/lit/CHANGELOG.md b/packages/integrations/lit/CHANGELOG.md index c8c0200470b4..31c9416c1741 100644 --- a/packages/integrations/lit/CHANGELOG.md +++ b/packages/integrations/lit/CHANGELOG.md @@ -1,5 +1,11 @@ # @astrojs/lit +## 2.0.1 + +### Patch Changes + +- [#6752](https://github.com/withastro/astro/pull/6752) [`c7eb0d431`](https://github.com/withastro/astro/commit/c7eb0d431032edc5d4af72726d84e1c52ef36575) Thanks [@augustjk](https://github.com/augustjk)! - Provide `renderInfo` when rendering Lit components. Fixes issue with rendering nested components. + ## 2.0.0 ### Major Changes diff --git a/packages/integrations/lit/package.json b/packages/integrations/lit/package.json index 18e870087cdb..596b6de5b996 100644 --- a/packages/integrations/lit/package.json +++ b/packages/integrations/lit/package.json @@ -1,6 +1,6 @@ { "name": "@astrojs/lit", - "version": "2.0.0", + "version": "2.0.1", "description": "Use Lit components within Astro", "type": "module", "types": "./dist/index.d.ts", diff --git a/packages/integrations/markdoc/CHANGELOG.md b/packages/integrations/markdoc/CHANGELOG.md index 74d4a3f3300a..180ba6cf6e56 100644 --- a/packages/integrations/markdoc/CHANGELOG.md +++ b/packages/integrations/markdoc/CHANGELOG.md @@ -1,5 +1,14 @@ # @astrojs/markdoc +## 0.1.1 + +### Patch Changes + +- [#6723](https://github.com/withastro/astro/pull/6723) [`73fcc7627`](https://github.com/withastro/astro/commit/73fcc7627e27a001d3ed2f4d046999d91f1aef85) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Fix: when using `render: null` in your config, content is now rendered without a wrapper element. + +- Updated dependencies [[`489dd8d69`](https://github.com/withastro/astro/commit/489dd8d69cdd9d7c243cf8bec96051a914984b9c), [`a1a4f45b5`](https://github.com/withastro/astro/commit/a1a4f45b51a80215fa7598da83bd0d9c5acd20d2), [`a1108e037`](https://github.com/withastro/astro/commit/a1108e037115cdb67d03505286c7d3a4fc2a1ff5), [`8b88e4cf1`](https://github.com/withastro/astro/commit/8b88e4cf15c8bea7942b3985380164e0edf7250b), [`d54cbe413`](https://github.com/withastro/astro/commit/d54cbe41349e55f8544212ad9320705f07325920), [`4c347ab51`](https://github.com/withastro/astro/commit/4c347ab51e46f2319d614f8577fe502e3dc816e2), [`ff0430786`](https://github.com/withastro/astro/commit/ff043078630e678348ae4f4757b3015b3b862c16), [`2f2e572e9`](https://github.com/withastro/astro/commit/2f2e572e937fd25451bbc78a05d55b7caa1ca3ec), [`7116c021a`](https://github.com/withastro/astro/commit/7116c021a39eac15a6e1264dfbd11bef0f5d618a)]: + - astro@2.2.0 + ## 0.1.0 ### Minor Changes diff --git a/packages/integrations/markdoc/package.json b/packages/integrations/markdoc/package.json index e209970f3872..b6360919d818 100644 --- a/packages/integrations/markdoc/package.json +++ b/packages/integrations/markdoc/package.json @@ -1,7 +1,7 @@ { "name": "@astrojs/markdoc", "description": "Add support for Markdoc pages in your Astro site", - "version": "0.1.0", + "version": "0.1.1", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", @@ -41,7 +41,7 @@ "zod": "^3.17.3" }, "peerDependencies": { - "astro": "workspace:^2.1.9" + "astro": "workspace:^2.2.0" }, "devDependencies": { "@types/chai": "^4.3.1", diff --git a/packages/integrations/mdx/package.json b/packages/integrations/mdx/package.json index 4264b35a09a8..4e52933b4d6f 100644 --- a/packages/integrations/mdx/package.json +++ b/packages/integrations/mdx/package.json @@ -30,7 +30,7 @@ "test:match": "mocha --timeout 20000 -g" }, "dependencies": { - "@astrojs/markdown-remark": "^2.1.2", + "@astrojs/markdown-remark": "^2.1.3", "@astrojs/prism": "^2.1.1", "@mdx-js/mdx": "^2.3.0", "@mdx-js/rollup": "^2.3.0", diff --git a/packages/integrations/netlify/package.json b/packages/integrations/netlify/package.json index 5a44e58824e6..33fe2e73e2f0 100644 --- a/packages/integrations/netlify/package.json +++ b/packages/integrations/netlify/package.json @@ -39,7 +39,7 @@ "esbuild": "^0.15.18" }, "peerDependencies": { - "astro": "workspace:^2.1.9" + "astro": "workspace:^2.2.0" }, "devDependencies": { "@netlify/edge-handler-types": "^0.34.1", diff --git a/packages/integrations/node/CHANGELOG.md b/packages/integrations/node/CHANGELOG.md index e2bac6402065..d5c97c9cce7a 100644 --- a/packages/integrations/node/CHANGELOG.md +++ b/packages/integrations/node/CHANGELOG.md @@ -1,5 +1,14 @@ # @astrojs/node +## 5.1.1 + +### Patch Changes + +- [#6746](https://github.com/withastro/astro/pull/6746) [`4cc1bf61b`](https://github.com/withastro/astro/commit/4cc1bf61b832dba9aab1916b56f5260ceac2d97d) Thanks [@Princesseuh](https://github.com/Princesseuh)! - Fix malformed URLs crashing the server in certain cases + +- Updated dependencies [[`489dd8d69`](https://github.com/withastro/astro/commit/489dd8d69cdd9d7c243cf8bec96051a914984b9c), [`a1a4f45b5`](https://github.com/withastro/astro/commit/a1a4f45b51a80215fa7598da83bd0d9c5acd20d2), [`a1108e037`](https://github.com/withastro/astro/commit/a1108e037115cdb67d03505286c7d3a4fc2a1ff5), [`8b88e4cf1`](https://github.com/withastro/astro/commit/8b88e4cf15c8bea7942b3985380164e0edf7250b), [`d54cbe413`](https://github.com/withastro/astro/commit/d54cbe41349e55f8544212ad9320705f07325920), [`4c347ab51`](https://github.com/withastro/astro/commit/4c347ab51e46f2319d614f8577fe502e3dc816e2), [`ff0430786`](https://github.com/withastro/astro/commit/ff043078630e678348ae4f4757b3015b3b862c16), [`2f2e572e9`](https://github.com/withastro/astro/commit/2f2e572e937fd25451bbc78a05d55b7caa1ca3ec), [`7116c021a`](https://github.com/withastro/astro/commit/7116c021a39eac15a6e1264dfbd11bef0f5d618a)]: + - astro@2.2.0 + ## 5.1.0 ### Minor Changes diff --git a/packages/integrations/node/package.json b/packages/integrations/node/package.json index 95d05ecb2323..850d1ca959b7 100644 --- a/packages/integrations/node/package.json +++ b/packages/integrations/node/package.json @@ -1,7 +1,7 @@ { "name": "@astrojs/node", "description": "Deploy your site to a Node.js server", - "version": "5.1.0", + "version": "5.1.1", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", @@ -35,7 +35,7 @@ "server-destroy": "^1.0.1" }, "peerDependencies": { - "astro": "workspace:^2.1.9" + "astro": "workspace:^2.2.0" }, "devDependencies": { "@types/send": "^0.17.1", diff --git a/packages/integrations/sitemap/CHANGELOG.md b/packages/integrations/sitemap/CHANGELOG.md index 202bea83f7af..a71b373ff7d1 100644 --- a/packages/integrations/sitemap/CHANGELOG.md +++ b/packages/integrations/sitemap/CHANGELOG.md @@ -1,5 +1,11 @@ # @astrojs/sitemap +## 1.2.2 + +### Patch Changes + +- [#6658](https://github.com/withastro/astro/pull/6658) [`1ec1df126`](https://github.com/withastro/astro/commit/1ec1df12641290ec8b3a417a6284fd8d752c02bf) Thanks [@andremralves](https://github.com/andremralves)! - Fix sitemap generation with a base path + ## 1.2.1 ### Patch Changes diff --git a/packages/integrations/sitemap/package.json b/packages/integrations/sitemap/package.json index 0e8d40dffef3..ec49bb631c63 100644 --- a/packages/integrations/sitemap/package.json +++ b/packages/integrations/sitemap/package.json @@ -1,7 +1,7 @@ { "name": "@astrojs/sitemap", "description": "Generate a sitemap for your Astro site", - "version": "1.2.1", + "version": "1.2.2", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", diff --git a/packages/integrations/svelte/package.json b/packages/integrations/svelte/package.json index 784b4f9b6646..adb9b0943539 100644 --- a/packages/integrations/svelte/package.json +++ b/packages/integrations/svelte/package.json @@ -43,7 +43,7 @@ "vite": "^4.2.1" }, "peerDependencies": { - "astro": "workspace:^2.1.9", + "astro": "workspace:^2.2.0", "svelte": "^3.54.0" }, "engines": { diff --git a/packages/integrations/tailwind/package.json b/packages/integrations/tailwind/package.json index 851f455ea421..5b6a42c33d27 100644 --- a/packages/integrations/tailwind/package.json +++ b/packages/integrations/tailwind/package.json @@ -40,7 +40,7 @@ "vite": "^4.1.2" }, "peerDependencies": { - "astro": "workspace:^2.1.9", + "astro": "workspace:^2.2.0", "tailwindcss": "^3.0.24" }, "pnpm": { diff --git a/packages/integrations/vercel/CHANGELOG.md b/packages/integrations/vercel/CHANGELOG.md index 3cbffe98adcd..9878a9b2a0db 100644 --- a/packages/integrations/vercel/CHANGELOG.md +++ b/packages/integrations/vercel/CHANGELOG.md @@ -1,5 +1,14 @@ # @astrojs/vercel +## 3.2.2 + +### Patch Changes + +- [#6751](https://github.com/withastro/astro/pull/6751) [`26daba8d9`](https://github.com/withastro/astro/commit/26daba8d9fd2e7cac8e506a2a36cd6f40ab25f16) Thanks [@nblackburn](https://github.com/nblackburn)! - Fix vercel analytics id not being set + +- Updated dependencies [[`489dd8d69`](https://github.com/withastro/astro/commit/489dd8d69cdd9d7c243cf8bec96051a914984b9c), [`a1a4f45b5`](https://github.com/withastro/astro/commit/a1a4f45b51a80215fa7598da83bd0d9c5acd20d2), [`a1108e037`](https://github.com/withastro/astro/commit/a1108e037115cdb67d03505286c7d3a4fc2a1ff5), [`8b88e4cf1`](https://github.com/withastro/astro/commit/8b88e4cf15c8bea7942b3985380164e0edf7250b), [`d54cbe413`](https://github.com/withastro/astro/commit/d54cbe41349e55f8544212ad9320705f07325920), [`4c347ab51`](https://github.com/withastro/astro/commit/4c347ab51e46f2319d614f8577fe502e3dc816e2), [`ff0430786`](https://github.com/withastro/astro/commit/ff043078630e678348ae4f4757b3015b3b862c16), [`2f2e572e9`](https://github.com/withastro/astro/commit/2f2e572e937fd25451bbc78a05d55b7caa1ca3ec), [`7116c021a`](https://github.com/withastro/astro/commit/7116c021a39eac15a6e1264dfbd11bef0f5d618a)]: + - astro@2.2.0 + ## 3.2.1 ### Patch Changes diff --git a/packages/integrations/vercel/package.json b/packages/integrations/vercel/package.json index a9fe8abac750..329a4a7fce29 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.2.1", + "version": "3.2.2", "type": "module", "author": "withastro", "license": "MIT", @@ -53,7 +53,7 @@ "web-vitals": "^3.1.1" }, "peerDependencies": { - "astro": "workspace:^2.1.9" + "astro": "workspace:^2.2.0" }, "devDependencies": { "@types/set-cookie-parser": "^2.4.2", diff --git a/packages/integrations/vue/CHANGELOG.md b/packages/integrations/vue/CHANGELOG.md index a63491376c52..cf020aa99c64 100644 --- a/packages/integrations/vue/CHANGELOG.md +++ b/packages/integrations/vue/CHANGELOG.md @@ -1,5 +1,14 @@ # @astrojs/vue +## 2.1.1 + +### Patch Changes + +- [#6671](https://github.com/withastro/astro/pull/6671) [`d59e511d1`](https://github.com/withastro/astro/commit/d59e511d16482cfc7067555dd0a456098ec69e30) Thanks [@wulinsheng123](https://github.com/wulinsheng123)! - Supporting the top of the await syntax sugar for Vue in the template's setup + +- Updated dependencies [[`489dd8d69`](https://github.com/withastro/astro/commit/489dd8d69cdd9d7c243cf8bec96051a914984b9c), [`a1a4f45b5`](https://github.com/withastro/astro/commit/a1a4f45b51a80215fa7598da83bd0d9c5acd20d2), [`a1108e037`](https://github.com/withastro/astro/commit/a1108e037115cdb67d03505286c7d3a4fc2a1ff5), [`8b88e4cf1`](https://github.com/withastro/astro/commit/8b88e4cf15c8bea7942b3985380164e0edf7250b), [`d54cbe413`](https://github.com/withastro/astro/commit/d54cbe41349e55f8544212ad9320705f07325920), [`4c347ab51`](https://github.com/withastro/astro/commit/4c347ab51e46f2319d614f8577fe502e3dc816e2), [`ff0430786`](https://github.com/withastro/astro/commit/ff043078630e678348ae4f4757b3015b3b862c16), [`2f2e572e9`](https://github.com/withastro/astro/commit/2f2e572e937fd25451bbc78a05d55b7caa1ca3ec), [`7116c021a`](https://github.com/withastro/astro/commit/7116c021a39eac15a6e1264dfbd11bef0f5d618a)]: + - astro@2.2.0 + ## 2.1.0 ### Minor Changes diff --git a/packages/integrations/vue/package.json b/packages/integrations/vue/package.json index 66c8b8edcfb3..57f3d6d400a7 100644 --- a/packages/integrations/vue/package.json +++ b/packages/integrations/vue/package.json @@ -1,6 +1,6 @@ { "name": "@astrojs/vue", - "version": "2.1.0", + "version": "2.1.1", "description": "Use Vue components within Astro", "type": "module", "types": "./dist/index.d.ts", @@ -50,7 +50,7 @@ "vue": "^3.2.37" }, "peerDependencies": { - "astro": "workspace:^2.1.9", + "astro": "workspace:^2.2.0", "vue": "^3.2.30" }, "engines": { diff --git a/packages/markdown/remark/CHANGELOG.md b/packages/markdown/remark/CHANGELOG.md index 5a7a474d92a8..c0db9355e9a8 100644 --- a/packages/markdown/remark/CHANGELOG.md +++ b/packages/markdown/remark/CHANGELOG.md @@ -1,5 +1,14 @@ # @astrojs/markdown-remark +## 2.1.3 + +### Patch Changes + +- [#6744](https://github.com/withastro/astro/pull/6744) [`a1a4f45b5`](https://github.com/withastro/astro/commit/a1a4f45b51a80215fa7598da83bd0d9c5acd20d2) Thanks [@Princesseuh](https://github.com/Princesseuh)! - Fix remote images in Markdown throwing errors when using `experimental.assets` + +- Updated dependencies [[`489dd8d69`](https://github.com/withastro/astro/commit/489dd8d69cdd9d7c243cf8bec96051a914984b9c), [`a1a4f45b5`](https://github.com/withastro/astro/commit/a1a4f45b51a80215fa7598da83bd0d9c5acd20d2), [`a1108e037`](https://github.com/withastro/astro/commit/a1108e037115cdb67d03505286c7d3a4fc2a1ff5), [`8b88e4cf1`](https://github.com/withastro/astro/commit/8b88e4cf15c8bea7942b3985380164e0edf7250b), [`d54cbe413`](https://github.com/withastro/astro/commit/d54cbe41349e55f8544212ad9320705f07325920), [`4c347ab51`](https://github.com/withastro/astro/commit/4c347ab51e46f2319d614f8577fe502e3dc816e2), [`ff0430786`](https://github.com/withastro/astro/commit/ff043078630e678348ae4f4757b3015b3b862c16), [`2f2e572e9`](https://github.com/withastro/astro/commit/2f2e572e937fd25451bbc78a05d55b7caa1ca3ec), [`7116c021a`](https://github.com/withastro/astro/commit/7116c021a39eac15a6e1264dfbd11bef0f5d618a)]: + - astro@2.2.0 + ## 2.1.2 ### Patch Changes diff --git a/packages/markdown/remark/package.json b/packages/markdown/remark/package.json index a29996eb9e6d..4554b9c46d42 100644 --- a/packages/markdown/remark/package.json +++ b/packages/markdown/remark/package.json @@ -1,6 +1,6 @@ { "name": "@astrojs/markdown-remark", - "version": "2.1.2", + "version": "2.1.3", "type": "module", "author": "withastro", "license": "MIT", @@ -25,7 +25,7 @@ "test": "mocha --exit --timeout 20000" }, "peerDependencies": { - "astro": "workspace:^2.1.5" + "astro": "workspace:^2.2.0" }, "dependencies": { "@astrojs/prism": "^2.1.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 2424f7d30b57..faf46d5a3916 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -104,7 +104,7 @@ importers: examples/basics: specifiers: - astro: ^2.1.9 + astro: ^2.2.0 dependencies: astro: link:../../packages/astro @@ -112,8 +112,8 @@ importers: specifiers: '@astrojs/mdx': ^0.18.2 '@astrojs/rss': ^2.3.2 - '@astrojs/sitemap': ^1.2.1 - astro: ^2.1.9 + '@astrojs/sitemap': ^1.2.2 + astro: ^2.2.0 dependencies: '@astrojs/mdx': link:../../packages/integrations/mdx '@astrojs/rss': link:../../packages/astro-rss @@ -122,14 +122,14 @@ importers: examples/component: specifiers: - astro: ^2.1.9 + astro: ^2.2.0 devDependencies: astro: link:../../packages/astro examples/deno: specifiers: '@astrojs/deno': ^4.1.0 - astro: ^2.1.9 + astro: ^2.2.0 dependencies: astro: link:../../packages/astro devDependencies: @@ -145,7 +145,7 @@ importers: '@types/node': ^18.0.0 '@types/react': ^17.0.45 '@types/react-dom': ^18.0.0 - astro: ^2.1.9 + astro: ^2.2.0 html-escaper: ^3.0.3 preact: ^10.7.3 react: ^18.1.0 @@ -171,7 +171,7 @@ importers: '@astrojs/alpinejs': ^0.2.1 '@types/alpinejs': ^3.7.0 alpinejs: ^3.10.2 - astro: ^2.1.9 + astro: ^2.2.0 dependencies: '@astrojs/alpinejs': link:../../packages/integrations/alpinejs '@types/alpinejs': 3.7.1 @@ -180,9 +180,9 @@ importers: examples/framework-lit: specifiers: - '@astrojs/lit': ^2.0.0 + '@astrojs/lit': ^2.0.1 '@webcomponents/template-shadowroot': ^0.2.1 - astro: ^2.1.9 + astro: ^2.2.0 lit: ^2.7.0 dependencies: '@astrojs/lit': link:../../packages/integrations/lit @@ -196,8 +196,8 @@ importers: '@astrojs/react': ^2.1.1 '@astrojs/solid-js': ^2.1.0 '@astrojs/svelte': ^2.1.0 - '@astrojs/vue': ^2.1.0 - astro: ^2.1.9 + '@astrojs/vue': ^2.1.1 + astro: ^2.2.0 preact: ^10.7.3 react: ^18.1.0 react-dom: ^18.1.0 @@ -222,7 +222,7 @@ importers: specifiers: '@astrojs/preact': ^2.1.0 '@preact/signals': ^1.1.0 - astro: ^2.1.9 + astro: ^2.2.0 preact: ^10.7.3 dependencies: '@astrojs/preact': link:../../packages/integrations/preact @@ -235,7 +235,7 @@ importers: '@astrojs/react': ^2.1.1 '@types/react': ^18.0.10 '@types/react-dom': ^18.0.5 - astro: ^2.1.9 + astro: ^2.2.0 react: ^18.1.0 react-dom: ^18.1.0 dependencies: @@ -249,7 +249,7 @@ importers: examples/framework-solid: specifiers: '@astrojs/solid-js': ^2.1.0 - astro: ^2.1.9 + astro: ^2.2.0 solid-js: ^1.4.3 dependencies: '@astrojs/solid-js': link:../../packages/integrations/solid @@ -259,7 +259,7 @@ importers: examples/framework-svelte: specifiers: '@astrojs/svelte': ^2.1.0 - astro: ^2.1.9 + astro: ^2.2.0 svelte: ^3.48.0 dependencies: '@astrojs/svelte': link:../../packages/integrations/svelte @@ -268,8 +268,8 @@ importers: examples/framework-vue: specifiers: - '@astrojs/vue': ^2.1.0 - astro: ^2.1.9 + '@astrojs/vue': ^2.1.1 + astro: ^2.2.0 vue: ^3.2.37 dependencies: '@astrojs/vue': link:../../packages/integrations/vue @@ -278,41 +278,41 @@ importers: examples/hackernews: specifiers: - '@astrojs/node': ^5.1.0 - astro: ^2.1.9 + '@astrojs/node': ^5.1.1 + astro: ^2.2.0 dependencies: '@astrojs/node': link:../../packages/integrations/node astro: link:../../packages/astro examples/integration: specifiers: - astro: ^2.1.9 + astro: ^2.2.0 devDependencies: astro: link:../../packages/astro examples/minimal: specifiers: - astro: ^2.1.9 + astro: ^2.2.0 dependencies: astro: link:../../packages/astro examples/non-html-pages: specifiers: - astro: ^2.1.9 + astro: ^2.2.0 dependencies: astro: link:../../packages/astro examples/portfolio: specifiers: - astro: ^2.1.9 + astro: ^2.2.0 dependencies: astro: link:../../packages/astro examples/ssr: specifiers: - '@astrojs/node': ^5.1.0 + '@astrojs/node': ^5.1.1 '@astrojs/svelte': ^2.1.0 - astro: ^2.1.9 + astro: ^2.2.0 concurrently: ^7.2.1 svelte: ^3.48.0 unocss: ^0.15.6 @@ -328,8 +328,8 @@ importers: examples/with-markdoc: specifiers: - '@astrojs/markdoc': ^0.1.0 - astro: ^2.1.9 + '@astrojs/markdoc': ^0.1.1 + astro: ^2.2.0 kleur: ^4.1.5 dependencies: '@astrojs/markdoc': link:../../packages/integrations/markdoc @@ -338,8 +338,8 @@ importers: examples/with-markdown-plugins: specifiers: - '@astrojs/markdown-remark': ^2.1.2 - astro: ^2.1.9 + '@astrojs/markdown-remark': ^2.1.3 + astro: ^2.2.0 hast-util-select: 5.0.1 rehype-autolink-headings: ^6.1.1 rehype-slug: ^5.0.1 @@ -356,7 +356,7 @@ importers: examples/with-markdown-shiki: specifiers: - astro: ^2.1.9 + astro: ^2.2.0 dependencies: astro: link:../../packages/astro @@ -364,7 +364,7 @@ importers: specifiers: '@astrojs/mdx': ^0.18.2 '@astrojs/preact': ^2.1.0 - astro: ^2.1.9 + astro: ^2.2.0 preact: ^10.6.5 dependencies: '@astrojs/mdx': link:../../packages/integrations/mdx @@ -376,7 +376,7 @@ importers: specifiers: '@astrojs/preact': ^2.1.0 '@nanostores/preact': ^0.1.3 - astro: ^2.1.9 + astro: ^2.2.0 nanostores: ^0.5.12 preact: ^10.7.3 dependencies: @@ -391,7 +391,7 @@ importers: '@astrojs/mdx': ^0.18.2 '@astrojs/tailwind': ^3.1.1 '@types/canvas-confetti': ^1.4.3 - astro: ^2.1.9 + astro: ^2.2.0 autoprefixer: ^10.4.7 canvas-confetti: ^1.5.1 postcss: ^8.4.14 @@ -408,7 +408,7 @@ importers: examples/with-vite-plugin-pwa: specifiers: - astro: ^2.1.9 + astro: ^2.2.0 vite-plugin-pwa: 0.11.11 workbox-window: ^6.5.3 dependencies: @@ -418,7 +418,7 @@ importers: examples/with-vitest: specifiers: - astro: ^2.1.9 + astro: ^2.2.0 vitest: ^0.20.3 dependencies: astro: link:../../packages/astro @@ -428,7 +428,7 @@ importers: specifiers: '@astrojs/compiler': ^1.3.0 '@astrojs/language-server': ^0.28.3 - '@astrojs/markdown-remark': ^2.1.2 + '@astrojs/markdown-remark': ^2.1.3 '@astrojs/telemetry': ^2.1.0 '@astrojs/webapi': ^2.1.0 '@babel/core': ^7.18.2 @@ -3207,7 +3207,7 @@ importers: packages/integrations/mdx: specifiers: - '@astrojs/markdown-remark': ^2.1.2 + '@astrojs/markdown-remark': ^2.1.3 '@astrojs/prism': ^2.1.1 '@mdx-js/mdx': ^2.3.0 '@mdx-js/rollup': ^2.3.0