Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update rss package to return a response #8198

Merged
merged 3 commits into from
Aug 23, 2023
Merged

Update rss package to return a response #8198

merged 3 commits into from
Aug 23, 2023

Conversation

bluwy
Copy link
Member

@bluwy bluwy commented Aug 23, 2023

Changes

Breaking change for RC!

Thanks @fflaten for spotting this at withastro/docs#4296 (comment), the rss integration is currently returning a simple object for the endpoint which is deprecated.

This PR changes it to a Response, and export a new getRssString utility to get the string directly if needed.

Testing

Tested blog example app manually.

Docs

Updated the README. It looks like we don't document what rss() returned before, so for most users, this change should be transparent. The main docs change is for the new getRssString utility.
/cc @withastro/maintainers-docs for feedback!

@bluwy bluwy requested a review from a team as a code owner August 23, 2023 10:00
@changeset-bot
Copy link

changeset-bot bot commented Aug 23, 2023

🦋 Changeset detected

Latest commit: 94cf9f6

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Member

@sarah11918 sarah11918 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, @bluwy , thanks for this quick update! And much appreciation to @fflaten for spotting this! Go Team! 🙌

@bluwy bluwy merged commit cb95aa5 into next Aug 23, 2023
13 checks passed
@bluwy bluwy deleted the sitemap-xml-response branch August 23, 2023 13:09
This was referenced Aug 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants