---
title: "@astrojs/rss 4.0.19 Breaking Changes on npm | Since.dev"
description: "What each @astrojs/rss release removed, renamed or changed: 8 breaking changes in 3 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/@astrojs/rss
last_updated: 2026-12-04
---

# @astrojs/rss breaking changes

@astrojs/rss 4.0.19 (June 30, 2026) is its newest release with breaking changes, 2 of them. The first: Behavior changed enclosure. Every breaking API change we have recorded in @astrojs/rss on npm: 8 breaking changes in 3 versions. Below, its 3 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `4.0.20`, released December 1, 2026. [Source repository](https://github.com/withastro/astro)

Packages on npm run on Node.js. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [3.0.0](#v-3-0-0) to [4.0.19](#v-4-0-19): 7 breaking changes in 2 versions.

## @astrojs/rss 4.0.19 breaking changes

@astrojs/rss 4.0.19, released June 30, 2026: 2 breaking changes.

- **Behavior changed** `enclosure`  

The source and enclosure item fields are now serialized as escaped XML values, so special characters such as in source.title and enclosure.type are treated as text. Feeds that relied on those values being emitted as raw markup will now... [github.com](https://github.com/withastro/astro/releases/tag/%40astrojs/rss%404.0.19)
- **Behavior changed** `source`  

The source and enclosure item fields are now serialized as escaped XML values, so special characters such as in source.title and enclosure.type are treated as text. Feeds that relied on those values being emitted as raw markup will now... [github.com](https://github.com/withastro/astro/releases/tag/%40astrojs/rss%404.0.19)

## @astrojs/rss 4.0.0 breaking changes

@astrojs/rss 4.0.0, released December 5, 2023: 5 breaking changes.

- **Removed** `RSSFeedItem.draft`  

RSSFeedItem.draft was removed in @astrojs/rss 4.0.0 [npmjs.com](https://www.npmjs.com/package/@astrojs/rss/v/4.0.0)
- **Removed** `RSSOptions.drafts`  

RSSOptions.drafts was removed in @astrojs/rss 4.0.0 [npmjs.com](https://www.npmjs.com/package/@astrojs/rss/v/4.0.0)
- **Signature changed** `RSSFeedItem`  

Was type RSSFeedItem = {link: string; content?: string | undefined; title: z.infer\<typeof rssSchema>\['title'\]; pubDate: z.infer\<typeof rssSchema>\['pubDate'\]; description?: z.infer\<typeof rssSchema>\['description'\]; customData?... [npmjs.com](https://www.npmjs.com/package/@astrojs/rss/v/4.0.0)
- **Signature changed** `RSSOptions`  

Was type RSSOptions = {title: z.infer\<typeof rssOptionsValidator>\['title'\]; description: z.infer\<typeof rssOptionsValidator>\['description'\]; site: z.infer\<typeof rssOptionsValidator>\['site'\] | URL; items: RSSFeedItem\[\] | GlobResult... [npmjs.com](https://www.npmjs.com/package/@astrojs/rss/v/4.0.0)
- **Signature changed** `rssSchema`  

Was const rssSchema: z.ZodObject<{title: z.ZodString; pubDate: z.ZodEffects\<z.ZodEffects\<z.ZodUnion<\[z.ZodString, z.ZodNumber, z.ZodDate\]>, Date, string | number | Date>, Date, string | number | Date>; description... [npmjs.com](https://www.npmjs.com/package/@astrojs/rss/v/4.0.0)

## @astrojs/rss 3.0.0 breaking changes

@astrojs/rss 3.0.0, released August 30, 2023: 1 breaking change.

- **Signature changed** `default`  

Was function getRSS(rssOptions: RSSOptions): Promise<{body: string;}>; now function getRssResponse(rssOptions: RSSOptions): Promise\<Response>. [npmjs.com](https://www.npmjs.com/package/@astrojs/rss/v/3.0.0)

## Related packages

- [astro](https://since.dev/packages/npm/astro.md)
- [@astrojs/solid-js](https://since.dev/packages/npm/@astrojs/solid-js.md)
- [@astrojs/sitemap](https://since.dev/packages/npm/@astrojs/sitemap.md)
- [@astrojs/markdown-satteri](https://since.dev/packages/npm/@astrojs/markdown-satteri.md)
- [@astrojs/react](https://since.dev/packages/npm/@astrojs/react.md)
- [@astrojs/mdx](https://since.dev/packages/npm/@astrojs/mdx.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
