FOSS-Community / FOSSCU-Blog

Blog-Site for FOSSCU
https://fosscu-blog.vercel.app
MIT License
1 stars 1 forks source link

Bump @astrojs/rss from 2.0.0 to 2.1.1 #10

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps @astrojs/rss from 2.0.0 to 2.1.1.

Release notes

Sourced from @​astrojs/rss's releases.

@​astrojs/rss@​2.1.1

Patch Changes

@​astrojs/rss@​2.1.0

Minor Changes

  • #5851 81dce94f2 Thanks @​bholmesdev! - Update RSS config for readability and consistency with Astro 2.0.

    • Migration - import.meta.glob() handling

      We have deprecated items: import.meta.glob(...) handling in favor of a separate pagesGlobToRssItems() helper. This simplifies our items configuration option to accept a single type, without losing existing functionality.

      If you rely on our import.meta.glob() handling, we suggest adding the pagesGlobToRssItems() wrapper to your RSS config:

      // src/pages/rss.xml.js
      import rss, {
      +  pagesGlobToRssItems
      } from '@astrojs/rss';
      

      export function get(context) { return rss({

      • items: pagesGlobToRssItems( import.meta.glob('./blog/*.{md,mdx}'),
      • ), }); }
  • New rssSchema for content collections

    @astrojs/rss now exposes an rssSchema for use with content collections. This ensures all RSS feed properties are present in your frontmatter:

    import { defineCollection } from 'astro:content';
    import { rssSchema } from '@astrojs/rss';
    

    const blog = defineCollection({ schema: rssSchema, });

    export const collections = { blog };

@​astrojs/rss@​2.1.0-beta.0

Minor Changes

... (truncated)

Changelog

Sourced from @​astrojs/rss's changelog.

2.1.1

Patch Changes

2.1.0

Minor Changes

  • #5851 81dce94f2 Thanks @​bholmesdev! - Update RSS config for readability and consistency with Astro 2.0.

    • Migration - import.meta.glob() handling

      We have deprecated items: import.meta.glob(...) handling in favor of a separate pagesGlobToRssItems() helper. This simplifies our items configuration option to accept a single type, without losing existing functionality.

      If you rely on our import.meta.glob() handling, we suggest adding the pagesGlobToRssItems() wrapper to your RSS config:

      // src/pages/rss.xml.js
      import rss, {
      +  pagesGlobToRssItems
      } from '@astrojs/rss';
      

      export function get(context) { return rss({

      • items: pagesGlobToRssItems( import.meta.glob('./blog/*.{md,mdx}'),
      • ), }); }
  • New rssSchema for content collections

    @astrojs/rss now exposes an rssSchema for use with content collections. This ensures all RSS feed properties are present in your frontmatter:

    import { defineCollection } from 'astro:content';
    import { rssSchema } from '@astrojs/rss';
    

    const blog = defineCollection({ schema: rssSchema, });

    export const collections = { blog };

2.1.0-beta.0

... (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 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)
vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
fosscu-blog ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Feb 20, 2023 at 8:08AM (UTC)
dependabot[bot] commented 1 year ago

Superseded by #16.