summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Fred K. Bot <108291165+fredkbot@users.noreply.github.com> 2022-12-27 08:52:24 -0800
committerGravatar GitHub <noreply@github.com> 2022-12-27 11:52:24 -0500
commit640de3c26fdc1a4d0272bc908ce822139d0cf73f (patch)
treecb7937e1082160a6d374c6ae42326b471b223886
parent87a0d8bf100429900988acdf1bd6dc00f2fb8cba (diff)
downloadastro-640de3c26fdc1a4d0272bc908ce822139d0cf73f.tar.gz
astro-640de3c26fdc1a4d0272bc908ce822139d0cf73f.tar.zst
astro-640de3c26fdc1a4d0272bc908ce822139d0cf73f.zip
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
-rw-r--r--.changeset/fast-baboons-prove.md27
-rw-r--r--.changeset/five-apes-heal.md5
-rw-r--r--.changeset/five-cups-battle.md5
-rw-r--r--.changeset/fluffy-cougars-care.md5
-rw-r--r--.changeset/good-suns-mate.md5
-rw-r--r--.changeset/khaki-crabs-develop.md7
-rw-r--r--.changeset/lazy-tomatoes-call.md5
-rw-r--r--.changeset/modern-dodos-invent.md5
-rw-r--r--.changeset/purple-hounds-decide.md5
-rw-r--r--.changeset/slow-nails-retire.md5
-rw-r--r--.changeset/violet-mice-push.md7
-rw-r--r--examples/basics/package.json2
-rw-r--r--examples/blog/package.json6
-rw-r--r--examples/component/package.json2
-rw-r--r--examples/deno/package.json2
-rw-r--r--examples/docs/package.json2
-rw-r--r--examples/framework-alpine/package.json2
-rw-r--r--examples/framework-lit/package.json2
-rw-r--r--examples/framework-multiple/package.json2
-rw-r--r--examples/framework-preact/package.json2
-rw-r--r--examples/framework-react/package.json2
-rw-r--r--examples/framework-solid/package.json2
-rw-r--r--examples/framework-svelte/package.json2
-rw-r--r--examples/framework-vue/package.json2
-rw-r--r--examples/hackernews/package.json2
-rw-r--r--examples/integration/package.json2
-rw-r--r--examples/minimal/package.json2
-rw-r--r--examples/non-html-pages/package.json2
-rw-r--r--examples/portfolio/package.json2
-rw-r--r--examples/ssr/package.json2
-rw-r--r--examples/with-content/package.json4
-rw-r--r--examples/with-markdown-plugins/package.json4
-rw-r--r--examples/with-markdown-shiki/package.json2
-rw-r--r--examples/with-mdx/package.json4
-rw-r--r--examples/with-nanostores/package.json2
-rw-r--r--examples/with-tailwindcss/package.json4
-rw-r--r--examples/with-vite-plugin-pwa/package.json2
-rw-r--r--examples/with-vitest/package.json2
-rw-r--r--packages/astro-rss/CHANGELOG.md6
-rw-r--r--packages/astro-rss/package.json2
-rw-r--r--packages/astro/CHANGELOG.md21
-rw-r--r--packages/astro/package.json4
-rw-r--r--packages/integrations/mdx/CHANGELOG.md37
-rw-r--r--packages/integrations/mdx/package.json4
-rw-r--r--packages/integrations/vercel/CHANGELOG.md6
-rw-r--r--packages/integrations/vercel/package.json2
-rw-r--r--packages/markdown/remark/CHANGELOG.md12
-rw-r--r--packages/markdown/remark/package.json2
-rw-r--r--pnpm-lock.yaml70
49 files changed, 157 insertions, 156 deletions
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