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

Bump @astrojs/rss from 2.4.3 to 3.0.0 #21

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 1, 2023

⚠️ Dependabot is rebasing this PR ⚠️

Rebasing might not happen immediately, so don't worry if this takes some time.

Note: if you make any changes to this PR yourself, they will take precedence over the rebase.


Bumps @astrojs/rss from 2.4.3 to 3.0.0.

Release notes

Sourced from @​astrojs/rss's releases.

@​astrojs/rss@​3.0.0

Major Changes

  • #8188 d0679a666 Thanks @​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 6011d52d3 Thanks @​matthewp! - Astro 3.0 Release Candidate

  • #8198 cb95aa5f8 Thanks @​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:

    // 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

@​astrojs/rss@​3.0.0-rc.2

Major Changes

  • #8198 cb95aa5f8 Thanks @​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:

    // src/pages/rss.xml.js
    import { getRssString } from '@astrojs/rss';
    export async function get(context) {
    const rssString = await getRssString({
    title: 'Buzz’s Blog',
    ...

... (truncated)

Changelog

Sourced from @​astrojs/rss's changelog.

3.0.0

Major Changes

  • #8188 d0679a666 Thanks @​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 6011d52d3 Thanks @​matthewp! - Astro 3.0 Release Candidate

  • #8198 cb95aa5f8 Thanks @​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:

    // 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

3.0.0-rc.2

Major Changes

  • #8198 cb95aa5f8 Thanks @​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:

    // src/pages/rss.xml.js
    import { getRssString } from '@astrojs/rss';
    export async function get(context) {
    const rssString = await getRssString({

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Sep 1, 2023
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/astrojs/rss-3.0.0 branch from 023891e to 0b3d6af Compare September 2, 2023 10:16
Bumps [@astrojs/rss](https:/withastro/astro/tree/HEAD/packages/astro-rss) from 2.4.3 to 3.0.0.
- [Release notes](https:/withastro/astro/releases)
- [Changelog](https:/withastro/astro/blob/main/packages/astro-rss/CHANGELOG.md)
- [Commits](https:/withastro/astro/commits/@astrojs/[email protected]/packages/astro-rss)

---
updated-dependencies:
- dependency-name: "@astrojs/rss"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/astrojs/rss-3.0.0 branch from 0b3d6af to b362e3d Compare September 2, 2023 11:19
@import-pandas-as-numpy import-pandas-as-numpy merged commit 5401189 into main Sep 2, 2023
3 checks passed
@import-pandas-as-numpy import-pandas-as-numpy deleted the dependabot/npm_and_yarn/astrojs/rss-3.0.0 branch September 2, 2023 11:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants