withastro/astro (@astrojs/rss)
### [`v4.0.5`](https://togithub.com/withastro/astro/blob/HEAD/packages/astro-rss/CHANGELOG.md#405)
[Compare Source](https://togithub.com/withastro/astro/compare/@astrojs/rss@4.0.4...@astrojs/rss@4.0.5)
##### Patch Changes
- [#9967](https://togithub.com/withastro/astro/pull/9967) [`8b8f26fdf2af2a769f4846bdaaf4cf6b30f9e37c`](https://togithub.com/withastro/astro/commit/8b8f26fdf2af2a769f4846bdaaf4cf6b30f9e37c) Thanks [@madcampos](https://togithub.com/madcampos)! - Allows \`enclosure' to have a length of 0
### [`v4.0.4`](https://togithub.com/withastro/astro/blob/HEAD/packages/astro-rss/CHANGELOG.md#404)
[Compare Source](https://togithub.com/withastro/astro/compare/@astrojs/rss@4.0.3...@astrojs/rss@4.0.4)
##### Patch Changes
- [#9797](https://togithub.com/withastro/astro/pull/9797) [`457e8b6422704ba23347c766a8bb9c101c2aba0b`](https://togithub.com/withastro/astro/commit/457e8b6422704ba23347c766a8bb9c101c2aba0b) Thanks [@wkillerud](https://togithub.com/wkillerud)! - Restores `rssSchema` to a zod object
### [`v4.0.3`](https://togithub.com/withastro/astro/blob/HEAD/packages/astro-rss/CHANGELOG.md#403)
[Compare Source](https://togithub.com/withastro/astro/compare/@astrojs/rss@4.0.2...@astrojs/rss@4.0.3)
##### Patch Changes
- [#9746](https://togithub.com/withastro/astro/pull/9746) [`7356336d18c916804001bdf64bff5445d82baceb`](https://togithub.com/withastro/astro/commit/7356336d18c916804001bdf64bff5445d82baceb) Thanks [@florian-lefebvre](https://togithub.com/florian-lefebvre)! - Fixes `rssSchema` definition to allow calling standard zod object methods (like `extend`)
### [`v4.0.2`](https://togithub.com/withastro/astro/blob/HEAD/packages/astro-rss/CHANGELOG.md#402)
[Compare Source](https://togithub.com/withastro/astro/compare/@astrojs/rss@4.0.1...@astrojs/rss@4.0.2)
##### Patch Changes
- [#9610](https://togithub.com/withastro/astro/pull/9610) [`24663c9695385fed9ece57bf4aecdca3a8581e70`](https://togithub.com/withastro/astro/commit/24663c9695385fed9ece57bf4aecdca3a8581e70) Thanks [@florian-lefebvre](https://togithub.com/florian-lefebvre)! - Fixes the RSS schema to make the `title` optional if the description is already provided. It also makes `pubDate` and `link` optional, as specified in the RSS specification.
### [`v4.0.1`](https://togithub.com/withastro/astro/blob/HEAD/packages/astro-rss/CHANGELOG.md#401)
[Compare Source](https://togithub.com/withastro/astro/compare/@astrojs/rss@4.0.0...@astrojs/rss@4.0.1)
##### Patch Changes
- [#9299](https://togithub.com/withastro/astro/pull/9299) [`edfae50e6`](https://togithub.com/withastro/astro/commit/edfae50e6ea494f49c6d4fbf4bd4481870f994b1) Thanks [@cdvillard](https://togithub.com/cdvillard)! - 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.
### [`v4.0.0`](https://togithub.com/withastro/astro/blob/HEAD/packages/astro-rss/CHANGELOG.md#400)
[Compare Source](https://togithub.com/withastro/astro/compare/@astrojs/rss@3.0.0...@astrojs/rss@4.0.0)
##### Major Changes
- [#9168](https://togithub.com/withastro/astro/pull/9168) [`153a5abb9`](https://togithub.com/withastro/astro/commit/153a5abb905042ac68b712514dc9ec387d3e6b17) Thanks [@bluwy](https://togithub.com/bluwy)! - Removes the deprecated (in v3.0) `drafts` option as the feature is deprecated in Astro 3.0
### [`v3.0.0`](https://togithub.com/withastro/astro/blob/HEAD/packages/astro-rss/CHANGELOG.md#300)
[Compare Source](https://togithub.com/withastro/astro/compare/@astrojs/rss@2.4.4...@astrojs/rss@3.0.0)
##### Major Changes
- [#8188](https://togithub.com/withastro/astro/pull/8188) [`d0679a666`](https://togithub.com/withastro/astro/commit/d0679a666f37da0fca396d42b9b32bbb25d29312) Thanks [@ematipico](https://togithub.com/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](https://togithub.com/withastro/astro/pull/8179) [`6011d52d3`](https://togithub.com/withastro/astro/commit/6011d52d38e43c3e3d52bc3bc41a60e36061b7b7) Thanks [@matthewp](https://togithub.com/matthewp)! - Astro 3.0 Release Candidate
- [#8198](https://togithub.com/withastro/astro/pull/8198) [`cb95aa5f8`](https://togithub.com/withastro/astro/commit/cb95aa5f8e0b04eba1a56e3e4a7901d40f1c854b) Thanks [@bluwy](https://togithub.com/bluwy)! - 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',
},
});
}
```
##### Patch Changes
- [#8099](https://togithub.com/withastro/astro/pull/8099) [`732111cdc`](https://togithub.com/withastro/astro/commit/732111cdce441639db31f40f621df48442d00969) Thanks [@bluwy](https://togithub.com/bluwy)! - Deprecate the `markdown.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](https://docs.astro.build/en/guides/content-collections/#migrating-from-file-based-routing) and [manually filter out pages](https://docs.astro.build/en/guides/content-collections/#filtering-collection-queries) with the `draft: true` frontmatter property instead.
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
^2.0.0
->^4.0.0
Release Notes
withastro/astro (@astrojs/rss)
### [`v4.0.5`](https://togithub.com/withastro/astro/blob/HEAD/packages/astro-rss/CHANGELOG.md#405) [Compare Source](https://togithub.com/withastro/astro/compare/@astrojs/rss@4.0.4...@astrojs/rss@4.0.5) ##### Patch Changes - [#9967](https://togithub.com/withastro/astro/pull/9967) [`8b8f26fdf2af2a769f4846bdaaf4cf6b30f9e37c`](https://togithub.com/withastro/astro/commit/8b8f26fdf2af2a769f4846bdaaf4cf6b30f9e37c) Thanks [@madcampos](https://togithub.com/madcampos)! - Allows \`enclosure' to have a length of 0 ### [`v4.0.4`](https://togithub.com/withastro/astro/blob/HEAD/packages/astro-rss/CHANGELOG.md#404) [Compare Source](https://togithub.com/withastro/astro/compare/@astrojs/rss@4.0.3...@astrojs/rss@4.0.4) ##### Patch Changes - [#9797](https://togithub.com/withastro/astro/pull/9797) [`457e8b6422704ba23347c766a8bb9c101c2aba0b`](https://togithub.com/withastro/astro/commit/457e8b6422704ba23347c766a8bb9c101c2aba0b) Thanks [@wkillerud](https://togithub.com/wkillerud)! - Restores `rssSchema` to a zod object ### [`v4.0.3`](https://togithub.com/withastro/astro/blob/HEAD/packages/astro-rss/CHANGELOG.md#403) [Compare Source](https://togithub.com/withastro/astro/compare/@astrojs/rss@4.0.2...@astrojs/rss@4.0.3) ##### Patch Changes - [#9746](https://togithub.com/withastro/astro/pull/9746) [`7356336d18c916804001bdf64bff5445d82baceb`](https://togithub.com/withastro/astro/commit/7356336d18c916804001bdf64bff5445d82baceb) Thanks [@florian-lefebvre](https://togithub.com/florian-lefebvre)! - Fixes `rssSchema` definition to allow calling standard zod object methods (like `extend`) ### [`v4.0.2`](https://togithub.com/withastro/astro/blob/HEAD/packages/astro-rss/CHANGELOG.md#402) [Compare Source](https://togithub.com/withastro/astro/compare/@astrojs/rss@4.0.1...@astrojs/rss@4.0.2) ##### Patch Changes - [#9610](https://togithub.com/withastro/astro/pull/9610) [`24663c9695385fed9ece57bf4aecdca3a8581e70`](https://togithub.com/withastro/astro/commit/24663c9695385fed9ece57bf4aecdca3a8581e70) Thanks [@florian-lefebvre](https://togithub.com/florian-lefebvre)! - Fixes the RSS schema to make the `title` optional if the description is already provided. It also makes `pubDate` and `link` optional, as specified in the RSS specification. ### [`v4.0.1`](https://togithub.com/withastro/astro/blob/HEAD/packages/astro-rss/CHANGELOG.md#401) [Compare Source](https://togithub.com/withastro/astro/compare/@astrojs/rss@4.0.0...@astrojs/rss@4.0.1) ##### Patch Changes - [#9299](https://togithub.com/withastro/astro/pull/9299) [`edfae50e6`](https://togithub.com/withastro/astro/commit/edfae50e6ea494f49c6d4fbf4bd4481870f994b1) Thanks [@cdvillard](https://togithub.com/cdvillard)! - 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. ### [`v4.0.0`](https://togithub.com/withastro/astro/blob/HEAD/packages/astro-rss/CHANGELOG.md#400) [Compare Source](https://togithub.com/withastro/astro/compare/@astrojs/rss@3.0.0...@astrojs/rss@4.0.0) ##### Major Changes - [#9168](https://togithub.com/withastro/astro/pull/9168) [`153a5abb9`](https://togithub.com/withastro/astro/commit/153a5abb905042ac68b712514dc9ec387d3e6b17) Thanks [@bluwy](https://togithub.com/bluwy)! - Removes the deprecated (in v3.0) `drafts` option as the feature is deprecated in Astro 3.0 ### [`v3.0.0`](https://togithub.com/withastro/astro/blob/HEAD/packages/astro-rss/CHANGELOG.md#300) [Compare Source](https://togithub.com/withastro/astro/compare/@astrojs/rss@2.4.4...@astrojs/rss@3.0.0) ##### Major Changes - [#8188](https://togithub.com/withastro/astro/pull/8188) [`d0679a666`](https://togithub.com/withastro/astro/commit/d0679a666f37da0fca396d42b9b32bbb25d29312) Thanks [@ematipico](https://togithub.com/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](https://togithub.com/withastro/astro/pull/8179) [`6011d52d3`](https://togithub.com/withastro/astro/commit/6011d52d38e43c3e3d52bc3bc41a60e36061b7b7) Thanks [@matthewp](https://togithub.com/matthewp)! - Astro 3.0 Release Candidate - [#8198](https://togithub.com/withastro/astro/pull/8198) [`cb95aa5f8`](https://togithub.com/withastro/astro/commit/cb95aa5f8e0b04eba1a56e3e4a7901d40f1c854b) Thanks [@bluwy](https://togithub.com/bluwy)! - 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', }, }); } ``` ##### Patch Changes - [#8099](https://togithub.com/withastro/astro/pull/8099) [`732111cdc`](https://togithub.com/withastro/astro/commit/732111cdce441639db31f40f621df48442d00969) Thanks [@bluwy](https://togithub.com/bluwy)! - Deprecate the `markdown.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](https://docs.astro.build/en/guides/content-collections/#migrating-from-file-based-routing) and [manually filter out pages](https://docs.astro.build/en/guides/content-collections/#filtering-collection-queries) with the `draft: true` frontmatter property instead.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.