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

Fix: make RSS canonicalUrl required #3301

Merged
merged 4 commits into from
May 5, 2022

Conversation

bholmesdev
Copy link
Contributor

@bholmesdev bholmesdev commented May 5, 2022

We discovered that canonicalUrl did not work as expected in the @astrojs/rss package. So, we're asking users to apply this value manually as a required prop.

Changes

  • Rename canonicalUrl to site per @fredkshott's suggestion
  • Make site a required argument to @astrojs/rss
  • Remove any logic pulling in site from the environment

Testing

Remove test for site validation

Docs

@changeset-bot
Copy link

changeset-bot bot commented May 5, 2022

🦋 Changeset detected

Latest commit: fb3bf9f

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

This PR includes changesets to release 1 package
Name Type
@astrojs/rss Minor

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

@github-actions github-actions bot added the test label May 5, 2022
@bholmesdev bholmesdev merged commit 0efaf11 into main May 5, 2022
@bholmesdev bholmesdev deleted the fix/rss-canonical-url-required-prop branch May 5, 2022 22:03
@github-actions github-actions bot mentioned this pull request May 5, 2022
nonphoto pushed a commit to nonphoto/astro that referenced this pull request May 6, 2022
* chore: make canonicalUrl required

* docs: explain env variable on required canonicalUrl

* refactor: rename "canonicalUrl" to "site"

* chore: changeset
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