diff --git a/.changeset/cold-toys-greet.md b/.changeset/cold-toys-greet.md
new file mode 100644
index 000000000000..7923c5567aea
--- /dev/null
+++ b/.changeset/cold-toys-greet.md
@@ -0,0 +1,5 @@
+---
+'astro': patch
+---
+
+Fix missing `is:inline` type for the `` element
diff --git a/.changeset/modern-mice-shout.md b/.changeset/modern-mice-shout.md
new file mode 100644
index 000000000000..cc483b1937f6
--- /dev/null
+++ b/.changeset/modern-mice-shout.md
@@ -0,0 +1,5 @@
+---
+'astro': patch
+---
+
+dev: fix issue where 404 and 500 responses were logged as 200
diff --git a/.changeset/strange-parrots-promise.md b/.changeset/strange-parrots-promise.md
new file mode 100644
index 000000000000..584d911eea0b
--- /dev/null
+++ b/.changeset/strange-parrots-promise.md
@@ -0,0 +1,5 @@
+---
+'astro': patch
+---
+
+Fixed the log message to correctly display 'enabled' and 'disabled' when toggling 'Disable notifications' in the Toolbar.
diff --git a/.changeset/thirty-hairs-pump.md b/.changeset/thirty-hairs-pump.md
new file mode 100644
index 000000000000..acb4d1da23ee
--- /dev/null
+++ b/.changeset/thirty-hairs-pump.md
@@ -0,0 +1,5 @@
+---
+'@astrojs/rss': patch
+---
+
+Improves the `@astrojs/rss` error message thrown when the object passed to the `items` property is missing any of the three required keys or if one of those keys is mistyped.
diff --git a/examples/basics/package.json b/examples/basics/package.json
index e4ed24314fe7..462235462498 100644
--- a/examples/basics/package.json
+++ b/examples/basics/package.json
@@ -11,6 +11,6 @@
"astro": "astro"
},
"dependencies": {
- "astro": "^4.0.1"
+ "astro": "^4.0.2"
}
}
diff --git a/examples/blog/package.json b/examples/blog/package.json
index 8e4c5ac223bf..3ece054ce403 100644
--- a/examples/blog/package.json
+++ b/examples/blog/package.json
@@ -14,6 +14,6 @@
"@astrojs/mdx": "^2.0.0",
"@astrojs/rss": "^4.0.0",
"@astrojs/sitemap": "^3.0.3",
- "astro": "^4.0.1"
+ "astro": "^4.0.2"
}
}
diff --git a/examples/component/package.json b/examples/component/package.json
index 0d916d3b713c..9cac9645df69 100644
--- a/examples/component/package.json
+++ b/examples/component/package.json
@@ -15,7 +15,7 @@
],
"scripts": {},
"devDependencies": {
- "astro": "^4.0.1"
+ "astro": "^4.0.2"
},
"peerDependencies": {
"astro": "^3.0.0"
diff --git a/examples/framework-alpine/package.json b/examples/framework-alpine/package.json
index 28debb4f53fd..f9fc290954ba 100644
--- a/examples/framework-alpine/package.json
+++ b/examples/framework-alpine/package.json
@@ -14,6 +14,6 @@
"@astrojs/alpinejs": "^0.3.1",
"@types/alpinejs": "^3.13.5",
"alpinejs": "^3.13.3",
- "astro": "^4.0.1"
+ "astro": "^4.0.2"
}
}
diff --git a/examples/framework-lit/package.json b/examples/framework-lit/package.json
index 3a4fec7fc22d..72a5bd0c45aa 100644
--- a/examples/framework-lit/package.json
+++ b/examples/framework-lit/package.json
@@ -13,7 +13,7 @@
"dependencies": {
"@astrojs/lit": "^3.0.3",
"@webcomponents/template-shadowroot": "^0.2.1",
- "astro": "^4.0.1",
+ "astro": "^4.0.2",
"lit": "^2.8.0"
}
}
diff --git a/examples/framework-multiple/package.json b/examples/framework-multiple/package.json
index cc2d1fc1e4ac..d83833e59bec 100644
--- a/examples/framework-multiple/package.json
+++ b/examples/framework-multiple/package.json
@@ -15,8 +15,8 @@
"@astrojs/react": "^3.0.7",
"@astrojs/solid-js": "^3.0.2",
"@astrojs/svelte": "^5.0.0",
- "@astrojs/vue": "^4.0.1",
- "astro": "^4.0.1",
+ "@astrojs/vue": "^4.0.2",
+ "astro": "^4.0.2",
"preact": "^10.19.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
diff --git a/examples/framework-preact/package.json b/examples/framework-preact/package.json
index 56adb34e6ca3..08c3d7d875e1 100644
--- a/examples/framework-preact/package.json
+++ b/examples/framework-preact/package.json
@@ -13,7 +13,7 @@
"dependencies": {
"@astrojs/preact": "^3.0.1",
"@preact/signals": "^1.2.1",
- "astro": "^4.0.1",
+ "astro": "^4.0.2",
"preact": "^10.19.2"
}
}
diff --git a/examples/framework-react/package.json b/examples/framework-react/package.json
index 1e0eeed2893c..6256dcb6b779 100644
--- a/examples/framework-react/package.json
+++ b/examples/framework-react/package.json
@@ -14,7 +14,7 @@
"@astrojs/react": "^3.0.7",
"@types/react": "^18.2.37",
"@types/react-dom": "^18.2.15",
- "astro": "^4.0.1",
+ "astro": "^4.0.2",
"react": "^18.2.0",
"react-dom": "^18.2.0"
}
diff --git a/examples/framework-solid/package.json b/examples/framework-solid/package.json
index e9872b4efaa2..34d8bc50f6ba 100644
--- a/examples/framework-solid/package.json
+++ b/examples/framework-solid/package.json
@@ -12,7 +12,7 @@
},
"dependencies": {
"@astrojs/solid-js": "^3.0.2",
- "astro": "^4.0.1",
+ "astro": "^4.0.2",
"solid-js": "^1.8.5"
}
}
diff --git a/examples/framework-svelte/package.json b/examples/framework-svelte/package.json
index e7e370518810..a9406838c3cf 100644
--- a/examples/framework-svelte/package.json
+++ b/examples/framework-svelte/package.json
@@ -12,7 +12,7 @@
},
"dependencies": {
"@astrojs/svelte": "^5.0.0",
- "astro": "^4.0.1",
+ "astro": "^4.0.2",
"svelte": "^4.2.5"
}
}
diff --git a/examples/framework-vue/package.json b/examples/framework-vue/package.json
index 81a02293828e..f7a42cd42bf5 100644
--- a/examples/framework-vue/package.json
+++ b/examples/framework-vue/package.json
@@ -11,8 +11,8 @@
"astro": "astro"
},
"dependencies": {
- "@astrojs/vue": "^4.0.1",
- "astro": "^4.0.1",
+ "@astrojs/vue": "^4.0.2",
+ "astro": "^4.0.2",
"vue": "^3.3.8"
}
}
diff --git a/examples/hackernews/package.json b/examples/hackernews/package.json
index 0a354dacf866..ca4ab4ef6030 100644
--- a/examples/hackernews/package.json
+++ b/examples/hackernews/package.json
@@ -12,6 +12,6 @@
},
"dependencies": {
"@astrojs/node": "^7.0.0",
- "astro": "^4.0.1"
+ "astro": "^4.0.2"
}
}
diff --git a/examples/integration/package.json b/examples/integration/package.json
index 3fe356bea0c8..3708dfac7306 100644
--- a/examples/integration/package.json
+++ b/examples/integration/package.json
@@ -15,7 +15,7 @@
],
"scripts": {},
"devDependencies": {
- "astro": "^4.0.1"
+ "astro": "^4.0.2"
},
"peerDependencies": {
"astro": "^3.0.0"
diff --git a/examples/middleware/package.json b/examples/middleware/package.json
index 432bb09544b1..9f6393538781 100644
--- a/examples/middleware/package.json
+++ b/examples/middleware/package.json
@@ -13,7 +13,7 @@
},
"dependencies": {
"@astrojs/node": "^7.0.0",
- "astro": "^4.0.1",
+ "astro": "^4.0.2",
"html-minifier": "^4.0.0"
}
}
diff --git a/examples/minimal/package.json b/examples/minimal/package.json
index 62f864b52ace..7f37079799a5 100644
--- a/examples/minimal/package.json
+++ b/examples/minimal/package.json
@@ -11,6 +11,6 @@
"astro": "astro"
},
"dependencies": {
- "astro": "^4.0.1"
+ "astro": "^4.0.2"
}
}
diff --git a/examples/non-html-pages/package.json b/examples/non-html-pages/package.json
index 6695eda42e63..e7c51ad9cdbf 100644
--- a/examples/non-html-pages/package.json
+++ b/examples/non-html-pages/package.json
@@ -11,6 +11,6 @@
"astro": "astro"
},
"dependencies": {
- "astro": "^4.0.1"
+ "astro": "^4.0.2"
}
}
diff --git a/examples/portfolio/package.json b/examples/portfolio/package.json
index ad232172e8f4..c8b9e51946f3 100644
--- a/examples/portfolio/package.json
+++ b/examples/portfolio/package.json
@@ -11,6 +11,6 @@
"astro": "astro"
},
"dependencies": {
- "astro": "^4.0.1"
+ "astro": "^4.0.2"
}
}
diff --git a/examples/ssr/package.json b/examples/ssr/package.json
index 7665692b15ac..f7af576ce892 100644
--- a/examples/ssr/package.json
+++ b/examples/ssr/package.json
@@ -14,7 +14,7 @@
"dependencies": {
"@astrojs/node": "^7.0.0",
"@astrojs/svelte": "^5.0.0",
- "astro": "^4.0.1",
+ "astro": "^4.0.2",
"svelte": "^4.2.5"
}
}
diff --git a/examples/view-transitions/package.json b/examples/view-transitions/package.json
index 81e1799d1d17..4e2839596e52 100644
--- a/examples/view-transitions/package.json
+++ b/examples/view-transitions/package.json
@@ -12,6 +12,6 @@
"devDependencies": {
"@astrojs/tailwind": "^5.0.3",
"@astrojs/node": "^7.0.0",
- "astro": "^4.0.1"
+ "astro": "^4.0.2"
}
}
diff --git a/examples/with-markdoc/package.json b/examples/with-markdoc/package.json
index 6ffcb62c947c..58f640c801e6 100644
--- a/examples/with-markdoc/package.json
+++ b/examples/with-markdoc/package.json
@@ -12,6 +12,6 @@
},
"dependencies": {
"@astrojs/markdoc": "^0.8.0",
- "astro": "^4.0.1"
+ "astro": "^4.0.2"
}
}
diff --git a/examples/with-markdown-plugins/package.json b/examples/with-markdown-plugins/package.json
index 99273393dc55..1dbbd8eda8bc 100644
--- a/examples/with-markdown-plugins/package.json
+++ b/examples/with-markdown-plugins/package.json
@@ -12,7 +12,7 @@
},
"dependencies": {
"@astrojs/markdown-remark": "^4.0.0",
- "astro": "^4.0.1",
+ "astro": "^4.0.2",
"hast-util-select": "^6.0.2",
"rehype-autolink-headings": "^7.1.0",
"rehype-slug": "^6.0.0",
diff --git a/examples/with-markdown-shiki/package.json b/examples/with-markdown-shiki/package.json
index cba6affce62a..b7c646508f27 100644
--- a/examples/with-markdown-shiki/package.json
+++ b/examples/with-markdown-shiki/package.json
@@ -11,6 +11,6 @@
"astro": "astro"
},
"dependencies": {
- "astro": "^4.0.1"
+ "astro": "^4.0.2"
}
}
diff --git a/examples/with-mdx/package.json b/examples/with-mdx/package.json
index 64444a5f4028..67b1428e4e12 100644
--- a/examples/with-mdx/package.json
+++ b/examples/with-mdx/package.json
@@ -13,7 +13,7 @@
"dependencies": {
"@astrojs/mdx": "^2.0.0",
"@astrojs/preact": "^3.0.1",
- "astro": "^4.0.1",
+ "astro": "^4.0.2",
"preact": "^10.19.2"
}
}
diff --git a/examples/with-nanostores/package.json b/examples/with-nanostores/package.json
index 9938024775d3..586b36bd8b6a 100644
--- a/examples/with-nanostores/package.json
+++ b/examples/with-nanostores/package.json
@@ -13,7 +13,7 @@
"dependencies": {
"@astrojs/preact": "^3.0.1",
"@nanostores/preact": "^0.5.0",
- "astro": "^4.0.1",
+ "astro": "^4.0.2",
"nanostores": "^0.9.5",
"preact": "^10.19.2"
}
diff --git a/examples/with-tailwindcss/package.json b/examples/with-tailwindcss/package.json
index b549791fcb86..f76fccaacb19 100644
--- a/examples/with-tailwindcss/package.json
+++ b/examples/with-tailwindcss/package.json
@@ -14,7 +14,7 @@
"@astrojs/mdx": "^2.0.0",
"@astrojs/tailwind": "^5.0.3",
"@types/canvas-confetti": "^1.6.3",
- "astro": "^4.0.1",
+ "astro": "^4.0.2",
"autoprefixer": "^10.4.15",
"canvas-confetti": "^1.9.1",
"postcss": "^8.4.28",
diff --git a/examples/with-vitest/package.json b/examples/with-vitest/package.json
index c2532051195e..838d13d2e65a 100644
--- a/examples/with-vitest/package.json
+++ b/examples/with-vitest/package.json
@@ -12,7 +12,7 @@
"test": "vitest"
},
"dependencies": {
- "astro": "^4.0.1",
+ "astro": "^4.0.2",
"vitest": "^0.34.2"
}
}
diff --git a/packages/astro-rss/src/index.ts b/packages/astro-rss/src/index.ts
index 48c5defe855c..c8cf19d6022e 100644
--- a/packages/astro-rss/src/index.ts
+++ b/packages/astro-rss/src/index.ts
@@ -109,9 +109,21 @@ async function validateRssOptions(rssOptions: RSSOptions) {
const formattedError = new Error(
[
`[RSS] Invalid or missing options:`,
- ...parsedResult.error.errors.map(
- (zodError) => `${zodError.message} (${zodError.path.join('.')})`
- ),
+ ...parsedResult.error.errors.map((zodError) => {
+ const path = zodError.path.join('.');
+ const message = `${zodError.message} (${path})`;
+ const code = zodError.code;
+
+ if (path === 'items' && code === 'invalid_union') {
+ return [
+ message,
+ `The \`items\` property requires properly typed \`title\`, \`pubDate\`, and \`link\` keys.`,
+ `Check your collection's schema, and visit https://docs.astro.build/en/guides/rss/#generating-items for more info.`,
+ ].join('\n');
+ }
+
+ return message;
+ }),
].join('\n')
);
throw formattedError;
diff --git a/packages/astro/CHANGELOG.md b/packages/astro/CHANGELOG.md
index 3925e15e40ab..5076fc126336 100644
--- a/packages/astro/CHANGELOG.md
+++ b/packages/astro/CHANGELOG.md
@@ -1,5 +1,13 @@
# astro
+## 4.0.2
+
+### Patch Changes
+
+- [#9331](https://github.com/withastro/astro/pull/9331) [`cfb20550d`](https://github.com/withastro/astro/commit/cfb20550d346a33e76e23453d5dcd084e5065c4d) Thanks [@natemoo-re](https://github.com/natemoo-re)! - Updates an internal dependency ([`vitefu`](https://github.com/svitejs/vitefu)) to avoid a common `peerDependency` warning
+
+- [#9327](https://github.com/withastro/astro/pull/9327) [`3878a91be`](https://github.com/withastro/astro/commit/3878a91be4879988c7235f433e50a6dc82e32288) Thanks [@doseofted](https://github.com/doseofted)! - Fixes an edge case for `