summaryrefslogtreecommitdiff
path: root/.changeset/honest-houses-deny.md
diff options
context:
space:
mode:
Diffstat (limited to '.changeset/honest-houses-deny.md')
-rw-r--r--.changeset/honest-houses-deny.md25
1 files changed, 0 insertions, 25 deletions
diff --git a/.changeset/honest-houses-deny.md b/.changeset/honest-houses-deny.md
deleted file mode 100644
index 962e04423..000000000
--- a/.changeset/honest-houses-deny.md
+++ /dev/null
@@ -1,25 +0,0 @@
----
-'@astrojs/rss': major
----
-
-Update the `rss()` default export to return a `Response` instead of a simple object, which is deprecated in Astro 3.0. If you were directly returning the `rss()` result from an endpoint before, this breaking change should not affect you.
-
-You can also import `getRssString()` to get the RSS string directly and use it to return your own Response:
-
-```ts
-// src/pages/rss.xml.js
-import { getRssString } from '@astrojs/rss';
-
-export async function get(context) {
- const rssString = await getRssString({
- title: 'Buzz’s Blog',
- ...
- });
-
- return new Response(rssString, {
- headers: {
- 'Content-Type': 'application/xml',
- },
- });
-}
-```