From 829baab4d9ea98ac2cc5d5a3279aef4081e7148a Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 27 Dec 2022 16:16:25 +0000 Subject: [PATCH] [ci] release --- .changeset/fast-baboons-prove.md | 27 ------- .changeset/five-apes-heal.md | 5 -- .changeset/five-cups-battle.md | 5 -- .changeset/fluffy-cougars-care.md | 5 -- .changeset/good-suns-mate.md | 5 -- .changeset/khaki-crabs-develop.md | 7 -- .changeset/lazy-tomatoes-call.md | 5 -- .changeset/modern-dodos-invent.md | 5 -- .changeset/purple-hounds-decide.md | 5 -- .changeset/slow-nails-retire.md | 5 -- .changeset/violet-mice-push.md | 7 -- examples/basics/package.json | 2 +- examples/blog/package.json | 6 +- examples/component/package.json | 4 +- examples/deno/package.json | 4 +- examples/docs/package.json | 2 +- examples/framework-alpine/package.json | 2 +- examples/framework-lit/package.json | 2 +- examples/framework-multiple/package.json | 2 +- 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 | 2 +- examples/hackernews/package.json | 4 +- examples/integration/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/with-content/package.json | 4 +- examples/with-markdown-plugins/package.json | 4 +- examples/with-markdown-shiki/package.json | 2 +- examples/with-mdx/package.json | 4 +- examples/with-nanostores/package.json | 2 +- examples/with-tailwindcss/package.json | 4 +- examples/with-vite-plugin-pwa/package.json | 2 +- examples/with-vitest/package.json | 2 +- packages/astro-rss/CHANGELOG.md | 6 ++ packages/astro-rss/package.json | 2 +- packages/astro/CHANGELOG.md | 21 +++++ packages/astro/package.json | 4 +- packages/integrations/cloudflare/CHANGELOG.md | 7 ++ packages/integrations/cloudflare/package.json | 4 +- packages/integrations/deno/CHANGELOG.md | 7 ++ packages/integrations/deno/package.json | 4 +- packages/integrations/mdx/CHANGELOG.md | 37 +++++++++ packages/integrations/mdx/package.json | 4 +- packages/integrations/node/CHANGELOG.md | 7 ++ packages/integrations/node/package.json | 4 +- packages/integrations/vercel/CHANGELOG.md | 6 ++ packages/integrations/vercel/package.json | 2 +- packages/markdown/remark/CHANGELOG.md | 12 +++ packages/markdown/remark/package.json | 2 +- pnpm-lock.yaml | 76 +++++++++---------- 55 files changed, 192 insertions(+), 170 deletions(-) delete mode 100644 .changeset/fast-baboons-prove.md delete mode 100644 .changeset/five-apes-heal.md delete mode 100644 .changeset/five-cups-battle.md delete mode 100644 .changeset/fluffy-cougars-care.md delete mode 100644 .changeset/good-suns-mate.md delete mode 100644 .changeset/khaki-crabs-develop.md delete mode 100644 .changeset/lazy-tomatoes-call.md delete mode 100644 .changeset/modern-dodos-invent.md delete mode 100644 .changeset/purple-hounds-decide.md delete mode 100644 .changeset/slow-nails-retire.md delete mode 100644 .changeset/violet-mice-push.md diff --git a/.changeset/fast-baboons-prove.md b/.changeset/fast-baboons-prove.md deleted file mode 100644 index 42cd710b27438..0000000000000 --- a/.changeset/fast-baboons-prove.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -'@astrojs/mdx': minor ---- - -Run heading ID injection after user plugins - -⚠️ BREAKING CHANGE ⚠️ - -If you are using a rehype plugin that depends on heading IDs injected by Astro, the IDs will no longer be available when your plugin runs by default. - -To inject IDs before your plugins run, import and add the `rehypeHeadingIds` plugin to your `rehypePlugins` config: - -```diff -// astro.config.mjs -+ import { rehypeHeadingIds } from '@astrojs/markdown-remark'; -import mdx from '@astrojs/mdx'; - -export default { - integrations: [mdx()], - markdown: { - rehypePlugins: [ -+ rehypeHeadingIds, - otherPluginThatReliesOnHeadingIDs, - ], - }, -} -``` diff --git a/.changeset/five-apes-heal.md b/.changeset/five-apes-heal.md deleted file mode 100644 index 800f0c8422db1..0000000000000 --- a/.changeset/five-apes-heal.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Remove stray `console.log` from content collections error message diff --git a/.changeset/five-cups-battle.md b/.changeset/five-cups-battle.md deleted file mode 100644 index f4a92050a3f4d..0000000000000 --- a/.changeset/five-cups-battle.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Use acorn to postprocess Astro globs diff --git a/.changeset/fluffy-cougars-care.md b/.changeset/fluffy-cougars-care.md deleted file mode 100644 index e359d903fe4be..0000000000000 --- a/.changeset/fluffy-cougars-care.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@astrojs/mdx': patch ---- - -Chore: remove verbose "Now interiting Markdown plugins..." logs diff --git a/.changeset/good-suns-mate.md b/.changeset/good-suns-mate.md deleted file mode 100644 index 20ff5f2519ba3..0000000000000 --- a/.changeset/good-suns-mate.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': minor ---- - -Add `astro sync` CLI command for type generation diff --git a/.changeset/khaki-crabs-develop.md b/.changeset/khaki-crabs-develop.md deleted file mode 100644 index b42001b6edd24..0000000000000 --- a/.changeset/khaki-crabs-develop.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'astro': patch -'@astrojs/mdx': patch -'@astrojs/markdown-remark': patch ---- - -Prevent relative image paths in `src/content/` diff --git a/.changeset/lazy-tomatoes-call.md b/.changeset/lazy-tomatoes-call.md deleted file mode 100644 index e36f95d01de97..0000000000000 --- a/.changeset/lazy-tomatoes-call.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@astrojs/vercel': minor ---- - -Ignore warnings when traced file fails to parse diff --git a/.changeset/modern-dodos-invent.md b/.changeset/modern-dodos-invent.md deleted file mode 100644 index 5a9a00a63df33..0000000000000 --- a/.changeset/modern-dodos-invent.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@astrojs/rss': major ---- - -Filter out draft in RSS generation diff --git a/.changeset/purple-hounds-decide.md b/.changeset/purple-hounds-decide.md deleted file mode 100644 index cf330ee50c702..0000000000000 --- a/.changeset/purple-hounds-decide.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Fix code generation quotes handling diff --git a/.changeset/slow-nails-retire.md b/.changeset/slow-nails-retire.md deleted file mode 100644 index e8eaccbb47e07..0000000000000 --- a/.changeset/slow-nails-retire.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Add `server.headers` typing diff --git a/.changeset/violet-mice-push.md b/.changeset/violet-mice-push.md deleted file mode 100644 index 8b111f6c7d78b..0000000000000 --- a/.changeset/violet-mice-push.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'@astrojs/markdown-remark': minor ---- - -Refactor and export `rehypeHeadingIds` plugin - -The `rehypeHeadingIds` plugin injects IDs for all headings in a Markdown document and can now also handle MDX inputs if needed. You can import and use this plugin if you need heading IDs to be injected _before_ other rehype plugins run. diff --git a/examples/basics/package.json b/examples/basics/package.json index c93989d1035f9..7d2592eddd9af 100644 --- a/examples/basics/package.json +++ b/examples/basics/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^1.7.2" + "astro": "^1.8.0" } } diff --git a/examples/blog/package.json b/examples/blog/package.json index 3cffdb6b73a9d..c1e8393ad6f1e 100644 --- a/examples/blog/package.json +++ b/examples/blog/package.json @@ -11,9 +11,9 @@ "astro": "astro" }, "dependencies": { - "astro": "^1.7.2", - "@astrojs/mdx": "^0.13.0", - "@astrojs/rss": "^1.2.1", + "astro": "^1.8.0", + "@astrojs/mdx": "^0.14.0", + "@astrojs/rss": "^2.0.0", "@astrojs/sitemap": "^1.0.0" } } diff --git a/examples/component/package.json b/examples/component/package.json index 319e3bf62c531..0218690c05124 100644 --- a/examples/component/package.json +++ b/examples/component/package.json @@ -15,9 +15,9 @@ ], "scripts": {}, "devDependencies": { - "astro": "^1.7.2" + "astro": "^1.8.0" }, "peerDependencies": { - "astro": "^1.7.2" + "astro": "^1.8.0" } } diff --git a/examples/deno/package.json b/examples/deno/package.json index b8df5d5a6a7ab..cdeff80f8f5e2 100644 --- a/examples/deno/package.json +++ b/examples/deno/package.json @@ -10,9 +10,9 @@ "astro": "astro" }, "dependencies": { - "astro": "^1.7.2" + "astro": "^1.8.0" }, "devDependencies": { - "@astrojs/deno": "^3.0.0" + "@astrojs/deno": "^4.0.0" } } diff --git a/examples/docs/package.json b/examples/docs/package.json index 74d0a9df047ee..da2bf808e0d81 100644 --- a/examples/docs/package.json +++ b/examples/docs/package.json @@ -12,7 +12,7 @@ "astro": "astro" }, "dependencies": { - "astro": "^1.7.2", + "astro": "^1.8.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 e4e668b2ef770..b2fcaebe2190e 100644 --- a/examples/framework-alpine/package.json +++ b/examples/framework-alpine/package.json @@ -11,7 +11,7 @@ "astro": "astro" }, "dependencies": { - "astro": "^1.7.2", + "astro": "^1.8.0", "alpinejs": "^3.10.2", "@astrojs/alpinejs": "^0.1.2", "@types/alpinejs": "^3.7.0" diff --git a/examples/framework-lit/package.json b/examples/framework-lit/package.json index 5c6c6a406f019..8b71002866f43 100644 --- a/examples/framework-lit/package.json +++ b/examples/framework-lit/package.json @@ -11,7 +11,7 @@ "astro": "astro" }, "dependencies": { - "astro": "^1.7.2", + "astro": "^1.8.0", "lit": "^2.2.5", "@astrojs/lit": "^1.0.0", "@webcomponents/template-shadowroot": "^0.1.0" diff --git a/examples/framework-multiple/package.json b/examples/framework-multiple/package.json index f4d15b80872aa..f069ed7500cd7 100644 --- a/examples/framework-multiple/package.json +++ b/examples/framework-multiple/package.json @@ -11,7 +11,7 @@ "astro": "astro" }, "dependencies": { - "astro": "^1.7.2", + "astro": "^1.8.0", "preact": "^10.7.3", "react": "^18.1.0", "react-dom": "^18.1.0", diff --git a/examples/framework-preact/package.json b/examples/framework-preact/package.json index 97ae96bd99d1c..fec717fb2c736 100644 --- a/examples/framework-preact/package.json +++ b/examples/framework-preact/package.json @@ -11,7 +11,7 @@ "astro": "astro" }, "dependencies": { - "astro": "^1.7.2", + "astro": "^1.8.0", "preact": "^10.7.3", "@astrojs/preact": "^1.2.0", "@preact/signals": "^1.1.0" diff --git a/examples/framework-react/package.json b/examples/framework-react/package.json index 59c14f338f8d3..116ebf3781369 100644 --- a/examples/framework-react/package.json +++ b/examples/framework-react/package.json @@ -11,7 +11,7 @@ "astro": "astro" }, "dependencies": { - "astro": "^1.7.2", + "astro": "^1.8.0", "react": "^18.1.0", "react-dom": "^18.1.0", "@astrojs/react": "^1.2.2", diff --git a/examples/framework-solid/package.json b/examples/framework-solid/package.json index 03a9b7acce576..782a34f8d25aa 100644 --- a/examples/framework-solid/package.json +++ b/examples/framework-solid/package.json @@ -11,7 +11,7 @@ "astro": "astro" }, "dependencies": { - "astro": "^1.7.2", + "astro": "^1.8.0", "solid-js": "^1.4.3", "@astrojs/solid-js": "^1.2.3" } diff --git a/examples/framework-svelte/package.json b/examples/framework-svelte/package.json index 080fa170ffefa..9401fc119184e 100644 --- a/examples/framework-svelte/package.json +++ b/examples/framework-svelte/package.json @@ -13,6 +13,6 @@ "dependencies": { "svelte": "^3.48.0", "@astrojs/svelte": "^1.0.2", - "astro": "^1.7.2" + "astro": "^1.8.0" } } diff --git a/examples/framework-vue/package.json b/examples/framework-vue/package.json index 45561c7b0deea..d5edc7cdff4f3 100644 --- a/examples/framework-vue/package.json +++ b/examples/framework-vue/package.json @@ -11,7 +11,7 @@ "astro": "astro" }, "dependencies": { - "astro": "^1.7.2", + "astro": "^1.8.0", "vue": "^3.2.37", "@astrojs/vue": "^1.2.2" } diff --git a/examples/hackernews/package.json b/examples/hackernews/package.json index 0d9fb9d51b01d..10800e2070433 100644 --- a/examples/hackernews/package.json +++ b/examples/hackernews/package.json @@ -12,7 +12,7 @@ "astro": "astro" }, "dependencies": { - "@astrojs/node": "^4.0.0", - "astro": "^1.7.2" + "@astrojs/node": "^5.0.0", + "astro": "^1.8.0" } } diff --git a/examples/integration/package.json b/examples/integration/package.json index 29442e7f01915..9f52852e4fe2e 100644 --- a/examples/integration/package.json +++ b/examples/integration/package.json @@ -15,9 +15,9 @@ ], "scripts": {}, "devDependencies": { - "astro": "^1.7.2" + "astro": "^1.8.0" }, "peerDependencies": { - "astro": "^1.7.2" + "astro": "^1.8.0" } } diff --git a/examples/minimal/package.json b/examples/minimal/package.json index fafd284f4e22e..3747f2b27e6a6 100644 --- a/examples/minimal/package.json +++ b/examples/minimal/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^1.7.2" + "astro": "^1.8.0" } } diff --git a/examples/non-html-pages/package.json b/examples/non-html-pages/package.json index f1baa68625897..1edf369582251 100644 --- a/examples/non-html-pages/package.json +++ b/examples/non-html-pages/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^1.7.2" + "astro": "^1.8.0" } } diff --git a/examples/portfolio/package.json b/examples/portfolio/package.json index cd0c9ac23c2ee..a3698d8c7ac7f 100644 --- a/examples/portfolio/package.json +++ b/examples/portfolio/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^1.7.2" + "astro": "^1.8.0" } } diff --git a/examples/ssr/package.json b/examples/ssr/package.json index c56b33e37e50e..5c8574dbc42a6 100644 --- a/examples/ssr/package.json +++ b/examples/ssr/package.json @@ -12,10 +12,10 @@ "server": "node dist/server/entry.mjs" }, "dependencies": { - "astro": "^1.7.2", + "astro": "^1.8.0", "svelte": "^3.48.0", "@astrojs/svelte": "^1.0.2", - "@astrojs/node": "^4.0.0", + "@astrojs/node": "^5.0.0", "concurrently": "^7.2.1", "unocss": "^0.15.6", "vite-imagetools": "^4.0.4" diff --git a/examples/with-content/package.json b/examples/with-content/package.json index 2ea4ec31f8136..cb41f9524c188 100644 --- a/examples/with-content/package.json +++ b/examples/with-content/package.json @@ -11,8 +11,8 @@ "astro": "astro" }, "dependencies": { - "astro": "^1.7.2", - "@astrojs/mdx": "^0.13.0", + "astro": "^1.8.0", + "@astrojs/mdx": "^0.14.0", "@astrojs/sitemap": "^1.0.0" } } diff --git a/examples/with-markdown-plugins/package.json b/examples/with-markdown-plugins/package.json index 85031405b8284..479624b111267 100644 --- a/examples/with-markdown-plugins/package.json +++ b/examples/with-markdown-plugins/package.json @@ -11,8 +11,8 @@ "astro": "astro" }, "dependencies": { - "astro": "^1.7.2", - "@astrojs/markdown-remark": "^1.1.3", + "astro": "^1.8.0", + "@astrojs/markdown-remark": "^1.2.0", "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 79a87fd53374e..ea1ddd4fdcc6f 100644 --- a/examples/with-markdown-shiki/package.json +++ b/examples/with-markdown-shiki/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^1.7.2" + "astro": "^1.8.0" } } diff --git a/examples/with-mdx/package.json b/examples/with-mdx/package.json index 1605ce670fa74..6bb3cca758681 100644 --- a/examples/with-mdx/package.json +++ b/examples/with-mdx/package.json @@ -11,9 +11,9 @@ "astro": "astro" }, "dependencies": { - "astro": "^1.7.2", + "astro": "^1.8.0", "preact": "^10.6.5", "@astrojs/preact": "^1.2.0", - "@astrojs/mdx": "^0.13.0" + "@astrojs/mdx": "^0.14.0" } } diff --git a/examples/with-nanostores/package.json b/examples/with-nanostores/package.json index 818eb53512a41..e6c1bb9c85731 100644 --- a/examples/with-nanostores/package.json +++ b/examples/with-nanostores/package.json @@ -11,7 +11,7 @@ "astro": "astro" }, "dependencies": { - "astro": "^1.7.2", + "astro": "^1.8.0", "preact": "^10.7.3", "@astrojs/preact": "^1.2.0", "nanostores": "^0.5.12", diff --git a/examples/with-tailwindcss/package.json b/examples/with-tailwindcss/package.json index 4d32f5d2e9c05..5dfdac3217c96 100644 --- a/examples/with-tailwindcss/package.json +++ b/examples/with-tailwindcss/package.json @@ -11,10 +11,10 @@ "astro": "astro" }, "dependencies": { - "@astrojs/mdx": "^0.13.0", + "@astrojs/mdx": "^0.14.0", "@astrojs/tailwind": "^2.1.3", "@types/canvas-confetti": "^1.4.3", - "astro": "^1.7.2", + "astro": "^1.8.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 c513b9b253b68..8b844b3c085d5 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": "^1.7.2", + "astro": "^1.8.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 02f4ea29cfbb9..2024205f0b4fd 100644 --- a/examples/with-vitest/package.json +++ b/examples/with-vitest/package.json @@ -12,7 +12,7 @@ "test": "vitest" }, "dependencies": { - "astro": "^1.7.2", + "astro": "^1.8.0", "vitest": "^0.20.3" } } diff --git a/packages/astro-rss/CHANGELOG.md b/packages/astro-rss/CHANGELOG.md index 3f82fe07d287b..1a761a93cc533 100644 --- a/packages/astro-rss/CHANGELOG.md +++ b/packages/astro-rss/CHANGELOG.md @@ -1,5 +1,11 @@ # @astrojs/rss +## 2.0.0 + +### Major Changes + +- [#5612](https://github.com/withastro/astro/pull/5612) [`68c20be66`](https://github.com/withastro/astro/commit/68c20be66b197e6c525cd292823a3a728f238547) Thanks [@equt](https://github.com/equt)! - Filter out draft in RSS generation + ## 1.2.1 ### Patch Changes diff --git a/packages/astro-rss/package.json b/packages/astro-rss/package.json index e51d1f52bb821..348d7680d4904 100644 --- a/packages/astro-rss/package.json +++ b/packages/astro-rss/package.json @@ -1,7 +1,7 @@ { "name": "@astrojs/rss", "description": "Add RSS feeds to your Astro projects", - "version": "1.2.1", + "version": "2.0.0", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", diff --git a/packages/astro/CHANGELOG.md b/packages/astro/CHANGELOG.md index 17ee0eab1f715..71ae2a732de99 100644 --- a/packages/astro/CHANGELOG.md +++ b/packages/astro/CHANGELOG.md @@ -1,5 +1,26 @@ # astro +## 1.8.0 + +### Minor Changes + +- [#5647](https://github.com/withastro/astro/pull/5647) [`d72da5290`](https://github.com/withastro/astro/commit/d72da529075ccbcfd342bf2308df0e5ce59b1e3f) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Add `astro sync` CLI command for type generation + +### Patch Changes + +- [#5668](https://github.com/withastro/astro/pull/5668) [`9674cf56c`](https://github.com/withastro/astro/commit/9674cf56c561af8f13def0266b0539507a80000d) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Remove stray `console.log` from content collections error message + +- [#5652](https://github.com/withastro/astro/pull/5652) [`0b5098758`](https://github.com/withastro/astro/commit/0b50987584120e0c0e549f9ff838dc8879dbfa30) Thanks [@bluwy](https://github.com/bluwy)! - Use acorn to postprocess Astro globs + +- [#5648](https://github.com/withastro/astro/pull/5648) [`853081d1c`](https://github.com/withastro/astro/commit/853081d1c857d8ad8a9634c37ed8fd123d32d241) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Prevent relative image paths in `src/content/` + +- [#5678](https://github.com/withastro/astro/pull/5678) [`f8f576829`](https://github.com/withastro/astro/commit/f8f57682948a76cad81eef579235ee059578fe91) Thanks [@bluwy](https://github.com/bluwy)! - Fix code generation quotes handling + +- [#5635](https://github.com/withastro/astro/pull/5635) [`376f67011`](https://github.com/withastro/astro/commit/376f67011d220de3bf05d3f39779a708992fffd7) Thanks [@SegaraRai](https://github.com/SegaraRai)! - Add `server.headers` typing + +- Updated dependencies [[`853081d1c`](https://github.com/withastro/astro/commit/853081d1c857d8ad8a9634c37ed8fd123d32d241), [`2c65b433b`](https://github.com/withastro/astro/commit/2c65b433bf840a1bb93b0a1947df5949e33512ff)]: + - @astrojs/markdown-remark@1.2.0 + ## 1.7.2 ### Patch Changes diff --git a/packages/astro/package.json b/packages/astro/package.json index 070ef94dd75a4..f3beb7fa82b4a 100644 --- a/packages/astro/package.json +++ b/packages/astro/package.json @@ -1,6 +1,6 @@ { "name": "astro", - "version": "1.7.2", + "version": "1.8.0", "description": "Astro is a modern site builder with web best practices, performance, and DX front-of-mind.", "type": "module", "author": "withastro", @@ -110,7 +110,7 @@ "dependencies": { "@astrojs/compiler": "^0.31.0", "@astrojs/language-server": "^0.28.3", - "@astrojs/markdown-remark": "^1.1.3", + "@astrojs/markdown-remark": "^1.2.0", "@astrojs/telemetry": "^1.0.1", "@astrojs/webapi": "^1.1.1", "@babel/core": "^7.18.2", diff --git a/packages/integrations/cloudflare/CHANGELOG.md b/packages/integrations/cloudflare/CHANGELOG.md index 33dae5e65cc8a..41ef98de73a8e 100644 --- a/packages/integrations/cloudflare/CHANGELOG.md +++ b/packages/integrations/cloudflare/CHANGELOG.md @@ -1,5 +1,12 @@ # @astrojs/cloudflare +## 6.0.0 + +### Patch Changes + +- Updated dependencies [[`9674cf56c`](https://github.com/withastro/astro/commit/9674cf56c561af8f13def0266b0539507a80000d), [`0b5098758`](https://github.com/withastro/astro/commit/0b50987584120e0c0e549f9ff838dc8879dbfa30), [`d72da5290`](https://github.com/withastro/astro/commit/d72da529075ccbcfd342bf2308df0e5ce59b1e3f), [`853081d1c`](https://github.com/withastro/astro/commit/853081d1c857d8ad8a9634c37ed8fd123d32d241), [`f8f576829`](https://github.com/withastro/astro/commit/f8f57682948a76cad81eef579235ee059578fe91), [`376f67011`](https://github.com/withastro/astro/commit/376f67011d220de3bf05d3f39779a708992fffd7)]: + - astro@1.8.0 + ## 5.0.0 ### Patch Changes diff --git a/packages/integrations/cloudflare/package.json b/packages/integrations/cloudflare/package.json index e2823a363fcf1..87154cc2d2ebb 100644 --- a/packages/integrations/cloudflare/package.json +++ b/packages/integrations/cloudflare/package.json @@ -1,7 +1,7 @@ { "name": "@astrojs/cloudflare", "description": "Deploy your site to cloudflare workers or cloudflare pages", - "version": "5.0.0", + "version": "6.0.0", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", @@ -38,7 +38,7 @@ "tiny-glob": "^0.2.9" }, "peerDependencies": { - "astro": "^1.7.2" + "astro": "^1.8.0" }, "devDependencies": { "astro": "workspace:*", diff --git a/packages/integrations/deno/CHANGELOG.md b/packages/integrations/deno/CHANGELOG.md index 54e5807be6c86..c5c86bb609e70 100644 --- a/packages/integrations/deno/CHANGELOG.md +++ b/packages/integrations/deno/CHANGELOG.md @@ -1,5 +1,12 @@ # @astrojs/deno +## 4.0.0 + +### Patch Changes + +- Updated dependencies [[`9674cf56c`](https://github.com/withastro/astro/commit/9674cf56c561af8f13def0266b0539507a80000d), [`0b5098758`](https://github.com/withastro/astro/commit/0b50987584120e0c0e549f9ff838dc8879dbfa30), [`d72da5290`](https://github.com/withastro/astro/commit/d72da529075ccbcfd342bf2308df0e5ce59b1e3f), [`853081d1c`](https://github.com/withastro/astro/commit/853081d1c857d8ad8a9634c37ed8fd123d32d241), [`f8f576829`](https://github.com/withastro/astro/commit/f8f57682948a76cad81eef579235ee059578fe91), [`376f67011`](https://github.com/withastro/astro/commit/376f67011d220de3bf05d3f39779a708992fffd7)]: + - astro@1.8.0 + ## 3.0.0 ### Patch Changes diff --git a/packages/integrations/deno/package.json b/packages/integrations/deno/package.json index badde01cc5432..161caf75bae53 100644 --- a/packages/integrations/deno/package.json +++ b/packages/integrations/deno/package.json @@ -1,7 +1,7 @@ { "name": "@astrojs/deno", "description": "Deploy your site to a Deno server", - "version": "3.0.0", + "version": "4.0.0", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", @@ -32,7 +32,7 @@ "esbuild": "^0.15.18" }, "peerDependencies": { - "astro": "^1.7.2" + "astro": "^1.8.0" }, "devDependencies": { "astro": "workspace:*", diff --git a/packages/integrations/mdx/CHANGELOG.md b/packages/integrations/mdx/CHANGELOG.md index c66194594b545..ddfdc787e2e13 100644 --- a/packages/integrations/mdx/CHANGELOG.md +++ b/packages/integrations/mdx/CHANGELOG.md @@ -1,5 +1,42 @@ # @astrojs/mdx +## 0.14.0 + +### Minor Changes + +- [#5654](https://github.com/withastro/astro/pull/5654) [`2c65b433b`](https://github.com/withastro/astro/commit/2c65b433bf840a1bb93b0a1947df5949e33512ff) Thanks [@delucis](https://github.com/delucis)! - Run heading ID injection after user plugins + + ⚠️ BREAKING CHANGE ⚠️ + + If you are using a rehype plugin that depends on heading IDs injected by Astro, the IDs will no longer be available when your plugin runs by default. + + To inject IDs before your plugins run, import and add the `rehypeHeadingIds` plugin to your `rehypePlugins` config: + + ```diff + // astro.config.mjs + + import { rehypeHeadingIds } from '@astrojs/markdown-remark'; + import mdx from '@astrojs/mdx'; + + export default { + integrations: [mdx()], + markdown: { + rehypePlugins: [ + + rehypeHeadingIds, + otherPluginThatReliesOnHeadingIDs, + ], + }, + } + ``` + +### Patch Changes + +- [#5667](https://github.com/withastro/astro/pull/5667) [`a5ba4af79`](https://github.com/withastro/astro/commit/a5ba4af79930145f4edf66d45cd40ddad045cc86) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Chore: remove verbose "Now interiting Markdown plugins..." logs + +- [#5648](https://github.com/withastro/astro/pull/5648) [`853081d1c`](https://github.com/withastro/astro/commit/853081d1c857d8ad8a9634c37ed8fd123d32d241) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Prevent relative image paths in `src/content/` + +- Updated dependencies [[`853081d1c`](https://github.com/withastro/astro/commit/853081d1c857d8ad8a9634c37ed8fd123d32d241), [`2c65b433b`](https://github.com/withastro/astro/commit/2c65b433bf840a1bb93b0a1947df5949e33512ff)]: + - @astrojs/markdown-remark@1.2.0 + ## 0.13.0 ### Minor Changes diff --git a/packages/integrations/mdx/package.json b/packages/integrations/mdx/package.json index e2ae2521f0970..351d1ddb4c0a1 100644 --- a/packages/integrations/mdx/package.json +++ b/packages/integrations/mdx/package.json @@ -1,7 +1,7 @@ { "name": "@astrojs/mdx", "description": "Use MDX within Astro", - "version": "0.13.0", + "version": "0.14.0", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", @@ -30,7 +30,7 @@ "test:match": "mocha --timeout 20000 -g" }, "dependencies": { - "@astrojs/markdown-remark": "^1.1.3", + "@astrojs/markdown-remark": "^1.2.0", "@astrojs/prism": "^1.0.2", "@mdx-js/mdx": "^2.1.2", "@mdx-js/rollup": "^2.1.1", diff --git a/packages/integrations/node/CHANGELOG.md b/packages/integrations/node/CHANGELOG.md index e8670e34975d7..82e650ea4f308 100644 --- a/packages/integrations/node/CHANGELOG.md +++ b/packages/integrations/node/CHANGELOG.md @@ -1,5 +1,12 @@ # @astrojs/node +## 5.0.0 + +### Patch Changes + +- Updated dependencies [[`9674cf56c`](https://github.com/withastro/astro/commit/9674cf56c561af8f13def0266b0539507a80000d), [`0b5098758`](https://github.com/withastro/astro/commit/0b50987584120e0c0e549f9ff838dc8879dbfa30), [`d72da5290`](https://github.com/withastro/astro/commit/d72da529075ccbcfd342bf2308df0e5ce59b1e3f), [`853081d1c`](https://github.com/withastro/astro/commit/853081d1c857d8ad8a9634c37ed8fd123d32d241), [`f8f576829`](https://github.com/withastro/astro/commit/f8f57682948a76cad81eef579235ee059578fe91), [`376f67011`](https://github.com/withastro/astro/commit/376f67011d220de3bf05d3f39779a708992fffd7)]: + - astro@1.8.0 + ## 4.0.0 ### Patch Changes diff --git a/packages/integrations/node/package.json b/packages/integrations/node/package.json index fc2bcf58a7b49..421f42bb58aa6 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": "4.0.0", + "version": "5.0.0", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", @@ -34,7 +34,7 @@ "send": "^0.18.0" }, "peerDependencies": { - "astro": "^1.7.2" + "astro": "^1.8.0" }, "devDependencies": { "@types/node-fetch": "^2.6.2", diff --git a/packages/integrations/vercel/CHANGELOG.md b/packages/integrations/vercel/CHANGELOG.md index 61e359761e17e..fceefa28f77ce 100644 --- a/packages/integrations/vercel/CHANGELOG.md +++ b/packages/integrations/vercel/CHANGELOG.md @@ -1,5 +1,11 @@ # @astrojs/vercel +## 2.4.0 + +### Minor Changes + +- [#5638](https://github.com/withastro/astro/pull/5638) [`a467139e1`](https://github.com/withastro/astro/commit/a467139e169ad2eb7931e03004f1d658f7362e59) Thanks [@andreademasi](https://github.com/andreademasi)! - Ignore warnings when traced file fails to parse + ## 2.3.6 ### Patch Changes diff --git a/packages/integrations/vercel/package.json b/packages/integrations/vercel/package.json index 4dca68981dbff..f499ec3fe08bc 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": "2.3.6", + "version": "2.4.0", "type": "module", "author": "withastro", "license": "MIT", diff --git a/packages/markdown/remark/CHANGELOG.md b/packages/markdown/remark/CHANGELOG.md index f8eb49a1370d6..5ff8946a0c247 100644 --- a/packages/markdown/remark/CHANGELOG.md +++ b/packages/markdown/remark/CHANGELOG.md @@ -1,5 +1,17 @@ # @astrojs/markdown-remark +## 1.2.0 + +### Minor Changes + +- [#5654](https://github.com/withastro/astro/pull/5654) [`2c65b433b`](https://github.com/withastro/astro/commit/2c65b433bf840a1bb93b0a1947df5949e33512ff) Thanks [@delucis](https://github.com/delucis)! - Refactor and export `rehypeHeadingIds` plugin + + The `rehypeHeadingIds` plugin injects IDs for all headings in a Markdown document and can now also handle MDX inputs if needed. You can import and use this plugin if you need heading IDs to be injected _before_ other rehype plugins run. + +### Patch Changes + +- [#5648](https://github.com/withastro/astro/pull/5648) [`853081d1c`](https://github.com/withastro/astro/commit/853081d1c857d8ad8a9634c37ed8fd123d32d241) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Prevent relative image paths in `src/content/` + ## 1.1.3 ### Patch Changes diff --git a/packages/markdown/remark/package.json b/packages/markdown/remark/package.json index d64af85192667..6549848df1578 100644 --- a/packages/markdown/remark/package.json +++ b/packages/markdown/remark/package.json @@ -1,6 +1,6 @@ { "name": "@astrojs/markdown-remark", - "version": "1.1.3", + "version": "1.2.0", "type": "module", "author": "withastro", "license": "MIT", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 8fd5d9273d518..a281a2a07749f 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -63,16 +63,16 @@ importers: examples/basics: specifiers: - astro: ^1.7.2 + astro: ^1.8.0 dependencies: astro: link:../../packages/astro examples/blog: specifiers: - '@astrojs/mdx': ^0.13.0 - '@astrojs/rss': ^1.2.1 + '@astrojs/mdx': ^0.14.0 + '@astrojs/rss': ^2.0.0 '@astrojs/sitemap': ^1.0.0 - astro: ^1.7.2 + astro: ^1.8.0 dependencies: '@astrojs/mdx': link:../../packages/integrations/mdx '@astrojs/rss': link:../../packages/astro-rss @@ -81,14 +81,14 @@ importers: examples/component: specifiers: - astro: ^1.7.2 + astro: ^1.8.0 devDependencies: astro: link:../../packages/astro examples/deno: specifiers: - '@astrojs/deno': ^3.0.0 - astro: ^1.7.2 + '@astrojs/deno': ^4.0.0 + astro: ^1.8.0 dependencies: astro: link:../../packages/astro devDependencies: @@ -104,7 +104,7 @@ importers: '@types/node': ^18.0.0 '@types/react': ^17.0.45 '@types/react-dom': ^18.0.0 - astro: ^1.7.2 + astro: ^1.8.0 html-escaper: ^3.0.3 preact: ^10.7.3 react: ^18.1.0 @@ -130,7 +130,7 @@ importers: '@astrojs/alpinejs': ^0.1.2 '@types/alpinejs': ^3.7.0 alpinejs: ^3.10.2 - astro: ^1.7.2 + astro: ^1.8.0 dependencies: '@astrojs/alpinejs': link:../../packages/integrations/alpinejs '@types/alpinejs': 3.7.1 @@ -141,7 +141,7 @@ importers: specifiers: '@astrojs/lit': ^1.0.0 '@webcomponents/template-shadowroot': ^0.1.0 - astro: ^1.7.2 + astro: ^1.8.0 lit: ^2.2.5 dependencies: '@astrojs/lit': link:../../packages/integrations/lit @@ -156,7 +156,7 @@ importers: '@astrojs/solid-js': ^1.2.3 '@astrojs/svelte': ^1.0.2 '@astrojs/vue': ^1.2.2 - astro: ^1.7.2 + astro: ^1.8.0 preact: ^10.7.3 react: ^18.1.0 react-dom: ^18.1.0 @@ -181,7 +181,7 @@ importers: specifiers: '@astrojs/preact': ^1.2.0 '@preact/signals': ^1.1.0 - astro: ^1.7.2 + astro: ^1.8.0 preact: ^10.7.3 dependencies: '@astrojs/preact': link:../../packages/integrations/preact @@ -194,7 +194,7 @@ importers: '@astrojs/react': ^1.2.2 '@types/react': ^18.0.10 '@types/react-dom': ^18.0.5 - astro: ^1.7.2 + astro: ^1.8.0 react: ^18.1.0 react-dom: ^18.1.0 dependencies: @@ -208,7 +208,7 @@ importers: examples/framework-solid: specifiers: '@astrojs/solid-js': ^1.2.3 - astro: ^1.7.2 + astro: ^1.8.0 solid-js: ^1.4.3 dependencies: '@astrojs/solid-js': link:../../packages/integrations/solid @@ -218,7 +218,7 @@ importers: examples/framework-svelte: specifiers: '@astrojs/svelte': ^1.0.2 - astro: ^1.7.2 + astro: ^1.8.0 svelte: ^3.48.0 dependencies: '@astrojs/svelte': link:../../packages/integrations/svelte @@ -228,7 +228,7 @@ importers: examples/framework-vue: specifiers: '@astrojs/vue': ^1.2.2 - astro: ^1.7.2 + astro: ^1.8.0 vue: ^3.2.37 dependencies: '@astrojs/vue': link:../../packages/integrations/vue @@ -237,41 +237,41 @@ importers: examples/hackernews: specifiers: - '@astrojs/node': ^4.0.0 - astro: ^1.7.2 + '@astrojs/node': ^5.0.0 + astro: ^1.8.0 dependencies: '@astrojs/node': link:../../packages/integrations/node astro: link:../../packages/astro examples/integration: specifiers: - astro: ^1.7.2 + astro: ^1.8.0 devDependencies: astro: link:../../packages/astro examples/minimal: specifiers: - astro: ^1.7.2 + astro: ^1.8.0 dependencies: astro: link:../../packages/astro examples/non-html-pages: specifiers: - astro: ^1.7.2 + astro: ^1.8.0 dependencies: astro: link:../../packages/astro examples/portfolio: specifiers: - astro: ^1.7.2 + astro: ^1.8.0 dependencies: astro: link:../../packages/astro examples/ssr: specifiers: - '@astrojs/node': ^4.0.0 + '@astrojs/node': ^5.0.0 '@astrojs/svelte': ^1.0.2 - astro: ^1.7.2 + astro: ^1.8.0 concurrently: ^7.2.1 svelte: ^3.48.0 unocss: ^0.15.6 @@ -287,9 +287,9 @@ importers: examples/with-content: specifiers: - '@astrojs/mdx': ^0.13.0 + '@astrojs/mdx': ^0.14.0 '@astrojs/sitemap': ^1.0.0 - astro: ^1.7.2 + astro: ^1.8.0 dependencies: '@astrojs/mdx': link:../../packages/integrations/mdx '@astrojs/sitemap': link:../../packages/integrations/sitemap @@ -297,8 +297,8 @@ importers: examples/with-markdown-plugins: specifiers: - '@astrojs/markdown-remark': ^1.1.3 - astro: ^1.7.2 + '@astrojs/markdown-remark': ^1.2.0 + astro: ^1.8.0 hast-util-select: 5.0.1 rehype-autolink-headings: ^6.1.1 rehype-slug: ^5.0.1 @@ -315,15 +315,15 @@ importers: examples/with-markdown-shiki: specifiers: - astro: ^1.7.2 + astro: ^1.8.0 dependencies: astro: link:../../packages/astro examples/with-mdx: specifiers: - '@astrojs/mdx': ^0.13.0 + '@astrojs/mdx': ^0.14.0 '@astrojs/preact': ^1.2.0 - astro: ^1.7.2 + astro: ^1.8.0 preact: ^10.6.5 dependencies: '@astrojs/mdx': link:../../packages/integrations/mdx @@ -335,7 +335,7 @@ importers: specifiers: '@astrojs/preact': ^1.2.0 '@nanostores/preact': ^0.1.3 - astro: ^1.7.2 + astro: ^1.8.0 nanostores: ^0.5.12 preact: ^10.7.3 dependencies: @@ -347,10 +347,10 @@ importers: examples/with-tailwindcss: specifiers: - '@astrojs/mdx': ^0.13.0 + '@astrojs/mdx': ^0.14.0 '@astrojs/tailwind': ^2.1.3 '@types/canvas-confetti': ^1.4.3 - astro: ^1.7.2 + astro: ^1.8.0 autoprefixer: ^10.4.7 canvas-confetti: ^1.5.1 postcss: ^8.4.14 @@ -367,7 +367,7 @@ importers: examples/with-vite-plugin-pwa: specifiers: - astro: ^1.7.2 + astro: ^1.8.0 vite-plugin-pwa: 0.11.11 workbox-window: ^6.5.3 dependencies: @@ -377,7 +377,7 @@ importers: examples/with-vitest: specifiers: - astro: ^1.7.2 + astro: ^1.8.0 vitest: ^0.20.3 dependencies: astro: link:../../packages/astro @@ -387,7 +387,7 @@ importers: specifiers: '@astrojs/compiler': ^0.31.0 '@astrojs/language-server': ^0.28.3 - '@astrojs/markdown-remark': ^1.1.3 + '@astrojs/markdown-remark': ^1.2.0 '@astrojs/telemetry': ^1.0.1 '@astrojs/webapi': ^1.1.1 '@babel/core': ^7.18.2 @@ -2882,7 +2882,7 @@ importers: packages/integrations/mdx: specifiers: - '@astrojs/markdown-remark': ^1.1.3 + '@astrojs/markdown-remark': ^1.2.0 '@astrojs/prism': ^1.0.2 '@mdx-js/mdx': ^2.1.2 '@mdx-js/rollup': ^2.1.1