From 640de3c26fdc1a4d0272bc908ce822139d0cf73f Mon Sep 17 00:00:00 2001 From: "Fred K. Bot" <108291165+fredkbot@users.noreply.github.com> Date: Tue, 27 Dec 2022 08:52:24 -0800 Subject: [PATCH] [ci] release (#5645) Co-authored-by: github-actions[bot] --- .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 | 2 +- examples/deno/package.json | 2 +- 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 | 2 +- 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 | 2 +- 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/mdx/CHANGELOG.md | 37 +++++++++++ packages/integrations/mdx/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 | 70 ++++++++++----------- 49 files changed, 157 insertions(+), 156 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 42cd710b2..000000000 --- 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 800f0c842..000000000 --- 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 f4a92050a..000000000 --- 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 e359d903f..000000000 --- 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 20ff5f251..000000000 --- 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 b42001b6e..000000000 --- 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 e36f95d01..000000000 --- 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 5a9a00a63..000000000 --- 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 cf330ee50..000000000 --- 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 e8eaccbb4..000000000 --- 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 8b111f6c7..000000000 --- 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 c93989d10..7d2592edd 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 3cffdb6b7..c1e8393ad 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 319e3bf62..4e2d706b9 100644 --- a/examples/component/package.json +++ b/examples/component/package.json @@ -15,7 +15,7 @@ ], "scripts": {}, "devDependencies": { - "astro": "^1.7.2" + "astro": "^1.8.0" }, "peerDependencies": { "astro": "^1.7.2" diff --git a/examples/deno/package.json b/examples/deno/package.json index b8df5d5a6..a8f641333 100644 --- a/examples/deno/package.json +++ b/examples/deno/package.json @@ -10,7 +10,7 @@ "astro": "astro" }, "dependencies": { - "astro": "^1.7.2" + "astro": "^1.8.0" }, "devDependencies": { "@astrojs/deno": "^3.0.0" diff --git a/examples/docs/package.json b/examples/docs/package.json index 74d0a9df0..da2bf808e 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 e4e668b2e..b2fcaebe2 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 5c6c6a406..8b7100286 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 f4d15b808..f069ed750 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 97ae96bd9..fec717fb2 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 59c14f338..116ebf378 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 03a9b7acc..782a34f8d 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 080fa170f..9401fc119 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 45561c7b0..d5edc7cdf 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 0d9fb9d51..568ca9a6b 100644 --- a/examples/hackernews/package.json +++ b/examples/hackernews/package.json @@ -13,6 +13,6 @@ }, "dependencies": { "@astrojs/node": "^4.0.0", - "astro": "^1.7.2" + "astro": "^1.8.0" } } diff --git a/examples/integration/package.json b/examples/integration/package.json index 29442e7f0..35b81fe81 100644 --- a/examples/integration/package.json +++ b/examples/integration/package.json @@ -15,7 +15,7 @@ ], "scripts": {}, "devDependencies": { - "astro": "^1.7.2" + "astro": "^1.8.0" }, "peerDependencies": { "astro": "^1.7.2" diff --git a/examples/minimal/package.json b/examples/minimal/package.json index fafd284f4..3747f2b27 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 f1baa6862..1edf36958 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 cd0c9ac23..a3698d8c7 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 c56b33e37..8e89ae0df 100644 --- a/examples/ssr/package.json +++ b/examples/ssr/package.json @@ -12,7 +12,7 @@ "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", diff --git a/examples/with-content/package.json b/examples/with-content/package.json index 2ea4ec31f..cb41f9524 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 85031405b..479624b11 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 79a87fd53..ea1ddd4fd 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 1605ce670..6bb3cca75 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 818eb5351..e6c1bb9c8 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 4d32f5d2e..5dfdac321 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 c513b9b25..8b844b3c0 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 02f4ea29c..2024205f0 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 3f82fe07d..1a761a93c 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 e51d1f52b..348d7680d 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 17ee0eab1..71ae2a732 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 070ef94dd..f3beb7fa8 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/mdx/CHANGELOG.md b/packages/integrations/mdx/CHANGELOG.md index c66194594..ddfdc787e 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 e2ae2521f..351d1ddb4 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/vercel/CHANGELOG.md b/packages/integrations/vercel/CHANGELOG.md index 61e359761..fceefa28f 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 4dca68981..f499ec3fe 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 f8eb49a13..5ff8946a0 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 d64af8519..6549848df 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 8fd5d9273..b8c4c37d1 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 + 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 @@ -238,32 +238,32 @@ importers: examples/hackernews: specifiers: '@astrojs/node': ^4.0.0 - astro: ^1.7.2 + 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 @@ -271,7 +271,7 @@ importers: specifiers: '@astrojs/node': ^4.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