From 422b31b7534cde07e5573a7def8e34d0f29c941f Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 22 May 2023 17:52:47 +0000 Subject: [PATCH] [ci] release --- .changeset/polite-knives-greet.md | 7 ------- .changeset/tough-pots-visit.md | 5 ----- packages/astro/CHANGELOG.md | 8 ++++++++ packages/astro/package.json | 2 +- packages/astro/src/content/consts.ts | 7 ++++++- packages/astro/src/core/render/dev/vite.ts | 4 +++- packages/integrations/cloudflare/package.json | 2 +- packages/integrations/deno/package.json | 2 +- packages/integrations/image/package.json | 2 +- packages/integrations/markdoc/CHANGELOG.md | 9 +++++++++ packages/integrations/markdoc/components/TreeNode.ts | 12 ++++++++---- packages/integrations/markdoc/package.json | 4 ++-- packages/integrations/mdx/CHANGELOG.md | 6 ++++++ packages/integrations/mdx/package.json | 2 +- packages/integrations/netlify/package.json | 2 +- packages/integrations/node/package.json | 2 +- packages/integrations/svelte/package.json | 2 +- packages/integrations/tailwind/package.json | 2 +- packages/integrations/vercel/package.json | 2 +- packages/integrations/vue/package.json | 2 +- 20 files changed, 53 insertions(+), 31 deletions(-) delete mode 100644 .changeset/polite-knives-greet.md delete mode 100644 .changeset/tough-pots-visit.md diff --git a/.changeset/polite-knives-greet.md b/.changeset/polite-knives-greet.md deleted file mode 100644 index 1fee5098508b8..0000000000000 --- a/.changeset/polite-knives-greet.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'astro': patch -'@astrojs/markdoc': patch -'@astrojs/mdx': patch ---- - -Improve style and script handling across content collection files. This addresses style bleed present in `@astrojs/markdoc` v0.1.0 diff --git a/.changeset/tough-pots-visit.md b/.changeset/tough-pots-visit.md deleted file mode 100644 index 0018af567d5b1..0000000000000 --- a/.changeset/tough-pots-visit.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Render 404 page content when a `Response` with status 404 is returned from a page diff --git a/packages/astro/CHANGELOG.md b/packages/astro/CHANGELOG.md index 7c16de997f958..ced9a16df6d13 100644 --- a/packages/astro/CHANGELOG.md +++ b/packages/astro/CHANGELOG.md @@ -1,5 +1,13 @@ # astro +## 2.5.3 + +### Patch Changes + +- [#6758](https://github.com/withastro/astro/pull/6758) [`f558a9e20`](https://github.com/withastro/astro/commit/f558a9e2056fc8f2e2d5814e74f199e398159fc4) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Improve style and script handling across content collection files. This addresses style bleed present in `@astrojs/markdoc` v0.1.0 + +- [#7143](https://github.com/withastro/astro/pull/7143) [`b41963b77`](https://github.com/withastro/astro/commit/b41963b775149b802eea9e12c5fe266bb9a02944) Thanks [@johannesspohr](https://github.com/johannesspohr)! - Render 404 page content when a `Response` with status 404 is returned from a page + ## 2.5.2 ### Patch Changes diff --git a/packages/astro/package.json b/packages/astro/package.json index a29ee4eb8f48d..5094ec543876a 100644 --- a/packages/astro/package.json +++ b/packages/astro/package.json @@ -1,6 +1,6 @@ { "name": "astro", - "version": "2.5.2", + "version": "2.5.3", "description": "Astro is a modern site builder with web best practices, performance, and DX front-of-mind.", "type": "module", "author": "withastro", diff --git a/packages/astro/src/content/consts.ts b/packages/astro/src/content/consts.ts index d74e60abdf2fa..9bfb2e86512a8 100644 --- a/packages/astro/src/content/consts.ts +++ b/packages/astro/src/content/consts.ts @@ -8,6 +8,11 @@ export const LINKS_PLACEHOLDER = '@@ASTRO-LINKS@@'; export const STYLES_PLACEHOLDER = '@@ASTRO-STYLES@@'; export const SCRIPTS_PLACEHOLDER = '@@ASTRO-SCRIPTS@@'; -export const CONTENT_FLAGS = [CONTENT_FLAG, CONTENT_RENDER_FLAG, DATA_FLAG, PROPAGATED_ASSET_FLAG] as const; +export const CONTENT_FLAGS = [ + CONTENT_FLAG, + CONTENT_RENDER_FLAG, + DATA_FLAG, + PROPAGATED_ASSET_FLAG, +] as const; export const CONTENT_TYPES_FILE = 'types.d.ts'; diff --git a/packages/astro/src/core/render/dev/vite.ts b/packages/astro/src/core/render/dev/vite.ts index b9a88e2ac00cb..bb8209ce87b7b 100644 --- a/packages/astro/src/core/render/dev/vite.ts +++ b/packages/astro/src/core/render/dev/vite.ts @@ -60,7 +60,9 @@ export async function* crawlGraph( if (entryIsStyle && !isCSSRequest(importedModulePathname)) { continue; } - const isFileTypeNeedingSSR = fileExtensionsToSSR.has(npath.extname(importedModulePathname)); + const isFileTypeNeedingSSR = fileExtensionsToSSR.has( + npath.extname(importedModulePathname) + ); if ( isFileTypeNeedingSSR && // Should not SSR a module with ?astroPropagatedAssets diff --git a/packages/integrations/cloudflare/package.json b/packages/integrations/cloudflare/package.json index 29b58521b31b9..f37dd13d01998 100644 --- a/packages/integrations/cloudflare/package.json +++ b/packages/integrations/cloudflare/package.json @@ -42,7 +42,7 @@ "tiny-glob": "^0.2.9" }, "peerDependencies": { - "astro": "workspace:^2.5.2" + "astro": "workspace:^2.5.3" }, "devDependencies": { "astro": "workspace:*", diff --git a/packages/integrations/deno/package.json b/packages/integrations/deno/package.json index 6d4aafd495cdb..6b6fbffbb337e 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.5.2" + "astro": "workspace:^2.5.3" }, "devDependencies": { "astro": "workspace:*", diff --git a/packages/integrations/image/package.json b/packages/integrations/image/package.json index 4768f65919ea8..b7dff730f09b9 100644 --- a/packages/integrations/image/package.json +++ b/packages/integrations/image/package.json @@ -62,7 +62,7 @@ "vite": "^4.3.1" }, "peerDependencies": { - "astro": "workspace:^2.5.2", + "astro": "workspace:^2.5.3", "sharp": ">=0.31.0" }, "peerDependenciesMeta": { diff --git a/packages/integrations/markdoc/CHANGELOG.md b/packages/integrations/markdoc/CHANGELOG.md index f39c514c468d3..ad8b7fb57e4e3 100644 --- a/packages/integrations/markdoc/CHANGELOG.md +++ b/packages/integrations/markdoc/CHANGELOG.md @@ -1,5 +1,14 @@ # @astrojs/markdoc +## 0.2.2 + +### Patch Changes + +- [#6758](https://github.com/withastro/astro/pull/6758) [`f558a9e20`](https://github.com/withastro/astro/commit/f558a9e2056fc8f2e2d5814e74f199e398159fc4) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Improve style and script handling across content collection files. This addresses style bleed present in `@astrojs/markdoc` v0.1.0 + +- Updated dependencies [[`f558a9e20`](https://github.com/withastro/astro/commit/f558a9e2056fc8f2e2d5814e74f199e398159fc4), [`b41963b77`](https://github.com/withastro/astro/commit/b41963b775149b802eea9e12c5fe266bb9a02944)]: + - astro@2.5.3 + ## 0.2.1 ### Patch Changes diff --git a/packages/integrations/markdoc/components/TreeNode.ts b/packages/integrations/markdoc/components/TreeNode.ts index 3f9740af1633c..e491d1dc98fa3 100644 --- a/packages/integrations/markdoc/components/TreeNode.ts +++ b/packages/integrations/markdoc/components/TreeNode.ts @@ -48,10 +48,14 @@ export const ComponentNode = createComponent({ links = '', scripts = ''; if (Array.isArray(treeNode.collectedStyles)) { - styles = treeNode.collectedStyles.map((style: any) => renderUniqueStylesheet({ - type: 'inline', - content: style, - })).join(''); + styles = treeNode.collectedStyles + .map((style: any) => + renderUniqueStylesheet({ + type: 'inline', + content: style, + }) + ) + .join(''); } if (Array.isArray(treeNode.collectedLinks)) { links = treeNode.collectedLinks diff --git a/packages/integrations/markdoc/package.json b/packages/integrations/markdoc/package.json index 4bdc84deb9bfc..dfe41caca2c95 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.2.1", + "version": "0.2.2", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", @@ -47,7 +47,7 @@ "zod": "^3.17.3" }, "peerDependencies": { - "astro": "workspace:^2.5.2" + "astro": "workspace:^2.5.3" }, "devDependencies": { "@astrojs/markdown-remark": "^2.2.1", diff --git a/packages/integrations/mdx/CHANGELOG.md b/packages/integrations/mdx/CHANGELOG.md index 8f23d98ba912f..7f7ff251b0bb3 100644 --- a/packages/integrations/mdx/CHANGELOG.md +++ b/packages/integrations/mdx/CHANGELOG.md @@ -1,5 +1,11 @@ # @astrojs/mdx +## 0.19.3 + +### Patch Changes + +- [#6758](https://github.com/withastro/astro/pull/6758) [`f558a9e20`](https://github.com/withastro/astro/commit/f558a9e2056fc8f2e2d5814e74f199e398159fc4) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Improve style and script handling across content collection files. This addresses style bleed present in `@astrojs/markdoc` v0.1.0 + ## 0.19.2 ### Patch Changes diff --git a/packages/integrations/mdx/package.json b/packages/integrations/mdx/package.json index 52627a5ca7b2c..a3308dc552786 100644 --- a/packages/integrations/mdx/package.json +++ b/packages/integrations/mdx/package.json @@ -1,7 +1,7 @@ { "name": "@astrojs/mdx", "description": "Add support for MDX pages in your Astro site", - "version": "0.19.2", + "version": "0.19.3", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", diff --git a/packages/integrations/netlify/package.json b/packages/integrations/netlify/package.json index 1c2fe497c1db8..6c3cfbac243ef 100644 --- a/packages/integrations/netlify/package.json +++ b/packages/integrations/netlify/package.json @@ -42,7 +42,7 @@ "esbuild": "^0.15.18" }, "peerDependencies": { - "astro": "workspace:^2.5.2" + "astro": "workspace:^2.5.3" }, "devDependencies": { "@netlify/edge-functions": "^2.0.0", diff --git a/packages/integrations/node/package.json b/packages/integrations/node/package.json index b045a3601a9ed..b49d0b1a65438 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.5.2" + "astro": "workspace:^2.5.3" }, "devDependencies": { "@types/send": "^0.17.1", diff --git a/packages/integrations/svelte/package.json b/packages/integrations/svelte/package.json index 1d012a4acee14..4926e6afe3a44 100644 --- a/packages/integrations/svelte/package.json +++ b/packages/integrations/svelte/package.json @@ -48,7 +48,7 @@ "vite": "^4.3.1" }, "peerDependencies": { - "astro": "workspace:^2.5.2", + "astro": "workspace:^2.5.3", "svelte": "^3.54.0" }, "engines": { diff --git a/packages/integrations/tailwind/package.json b/packages/integrations/tailwind/package.json index 86e690a025e69..8fba3cf39caf7 100644 --- a/packages/integrations/tailwind/package.json +++ b/packages/integrations/tailwind/package.json @@ -44,7 +44,7 @@ "vite": "^4.3.1" }, "peerDependencies": { - "astro": "workspace:^2.5.2", + "astro": "workspace:^2.5.3", "tailwindcss": "^3.0.24" }, "pnpm": { diff --git a/packages/integrations/vercel/package.json b/packages/integrations/vercel/package.json index 4e04c67a8195d..72bb5758f9be6 100644 --- a/packages/integrations/vercel/package.json +++ b/packages/integrations/vercel/package.json @@ -59,7 +59,7 @@ "web-vitals": "^3.1.1" }, "peerDependencies": { - "astro": "workspace:^2.5.2" + "astro": "workspace:^2.5.3" }, "devDependencies": { "@types/set-cookie-parser": "^2.4.2", diff --git a/packages/integrations/vue/package.json b/packages/integrations/vue/package.json index e422ff82aed56..9855ccf4caebb 100644 --- a/packages/integrations/vue/package.json +++ b/packages/integrations/vue/package.json @@ -56,7 +56,7 @@ "vue": "^3.2.37" }, "peerDependencies": { - "astro": "workspace:^2.5.2", + "astro": "workspace:^2.5.3", "vue": "^3.2.30" }, "engines": {