0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-01-06 22:10:10 -05:00
astro/.changeset/shy-spoons-sort.md
Florian Lefebvre 24663c9695
fix(rss): make title optional if description is provided (#9610)
* fix(rss): make title optional if description is provided

* feat(rss): simplify schema

* fix(rss): update tests to match new behavior

* Update packages/astro-rss/test/pagesGlobToRssItems.test.js

Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>

* Update packages/astro-rss/test/pagesGlobToRssItems.test.js

Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>

* feat: make link and pubDate optional

* feat: improve item normalization

* Update shy-spoons-sort.md

* Fix test fail

* Update .changeset/shy-spoons-sort.md

Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>

---------

Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-01-06 07:47:29 +00:00

205 B

@astrojs/rss
patch

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.