Major Changes
-
#8188
d0679a666
Thanks @ematipico! - Remove support for Node 16. The lowest supported version by Astro and all integrations is now v18.14.1. As a reminder, Node 16 will be deprecated on the 11th September 2023. -
#8179
6011d52d3
Thanks @matthewp! - Astro 3.0 Release Candidate -
#8198
cb95aa5f8
Thanks @bluwy! - Update therss()
default export to return aResponse
instead of a simple object, which is deprecated in Astro 3.0. If you were directly returning therss()
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:// 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', }, }); }
Patch Changes
-
#8099
732111cdc
Thanks @bluwy! - Deprecate themarkdown.drafts
configuration option.If you'd like to create draft pages that are visible in dev but not in production, you can migrate to content collections and manually filter out pages with the
draft: true
frontmatter property instead.