diff options
Diffstat (limited to 'packages/astro-rss')
-rw-r--r-- | packages/astro-rss/CHANGELOG.md | 17 | ||||
-rw-r--r-- | packages/astro-rss/package.json | 2 |
2 files changed, 18 insertions, 1 deletions
diff --git a/packages/astro-rss/CHANGELOG.md b/packages/astro-rss/CHANGELOG.md index 4edff3029..2f5c0d023 100644 --- a/packages/astro-rss/CHANGELOG.md +++ b/packages/astro-rss/CHANGELOG.md @@ -1,5 +1,22 @@ # @astrojs/rss +## 2.3.0 + +### Minor Changes + +- [#6453](https://github.com/withastro/astro/pull/6453) [`2e362042c`](https://github.com/withastro/astro/commit/2e362042c222298fd6cd80a64c1d7b7f3f608a79) Thanks [@ematipico](https://github.com/ematipico)! - Added `trailingSlash` option to control whether or not the emitted URLs should have trailing slashes. + + ```js + import rss from '@astrojs/rss'; + + export const get = () => + rss({ + trailingSlash: false, + }); + ``` + + By passing `false`, the emitted links won't have trailing slashes. + ## 2.2.0 ### Minor Changes diff --git a/packages/astro-rss/package.json b/packages/astro-rss/package.json index 68872645a..5537b3fe6 100644 --- a/packages/astro-rss/package.json +++ b/packages/astro-rss/package.json @@ -1,7 +1,7 @@ { "name": "@astrojs/rss", "description": "Add RSS feeds to your Astro projects", - "version": "2.2.0", + "version": "2.3.0", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", |