Skip to content

Releases: 11ty/plugin-rss

Feeds (RSS, Atom, JSON) v3.1.0

Choose a tag to compare

@zachleat zachleat released this 01 Oct 22:14
Immutable release. Only release title and notes can be modified.
71036e8
  • Add collection.sort option to the Virtual Template: "auto" (default, previous behavior), "descending" (newest first by date, regardless of collection order), or "ascending". Use "descending" if your collection is sorted newest-first and your feed was showing your oldest posts. #63
  • Add getFeedTemplate(options) export, which returns { content, data } for use with eleventyConfig.addTemplate so you can choose the virtual template path yourself (useful for multiple feeds of the same type).
     import { rssPlugin, getFeedTemplate } from "@11ty/eleventy-plugin-rss";
    
     export default function($config) {
     	$config.addPlugin(rssPlugin);
    
     	let { content, data } = getFeedTemplate({ type: "atom", outputPath: "/posts.xml", collection: { name: "posts" } });
     	$config.addTemplate("feeds/posts.njk", content, data);
     };
  • Feed entries without a URL (e.g. permalink: false) are now skipped by the Virtual Template instead of failing the build. #66 (thank you @robb-j for the assist in #59)
  • Plugin helpers (feedPlugin, dateToRfc3339, dateToRfc822, getNewestCollectionItemDate, absoluteUrl, convertHtmlToAbsoluteUrls) are available on the default export again (matching CommonJS behavior in v2). Named exports are still the preferred method #91
  • JSON Virtual Template now falls back to metadata.subtitle for the feed description (matching Atom and RSS) when metadata.description isn't set.
  • Fix Atom Virtual Template using <icon> instead of <logo> for metadata.logo by @philipmw in #90
  • Swap debug dependency for obug. DEBUG=Eleventy* works the same. #100

Milestone: https://github.com/11ty/plugin-rss/milestone/10?closed=1
Full Changelog: v3.0.0...v3.1.0

Feeds (RSS, Atom, JSON) v3.0.0

Choose a tag to compare

@zachleat zachleat released this 20 Mar 21:41
Immutable release. Only release title and notes can be modified.
  • Breaking this plugin is now ESM #72 It now requires Eleventy v3 or newer. Read more about how to use ESM plugins in your ESM or CommonJS configuration file. TL;DR:
    • ESM: import rssPlugin from "@11ty/eleventy-plugin-rss";
    • CommonJS and Node 20.19+: const { rssPlugin } = require("@11ty/eleventy-plugin-rss");
    • CommonJS and older versions of Node: const { rssPlugin } = await import("@11ty/eleventy-plugin-rss"); in an async configuration callback.
  • Add script parameter to Virtual template so you can pass a URL for the XSLT polyfill by @tomayac in #85
  • Fix a couple of RFC822 formatting issues by @sentience in #70
  • Add icon and logo optional metadata to Virtual Template by @philipmw in #68
  • Add Atom/RSS post summary/description to Virtual Template via post.data.summary by @RyKilleen in #65

Thank you to new contributions from @tomayac, @sentience, @philipmw, and @RyKilleen!

Milestone: https://github.com/11ty/eleventy-plugin-rss/milestone/9?closed=1
Full Changelog: v2.0.4...v3.0.0

Eleventy RSS v3.0.0-alpha.3

Pre-release

Choose a tag to compare

@zachleat zachleat released this 02 Dec 19:10
  • Using OIDC Trusted Publishers npm publish workflow (no plugin code changes)

Full Changelog: v3.0.0-alpha.2...v3.0.0-alpha.3

Eleventy RSS v3.0.0-alpha.2

Pre-release

Choose a tag to compare

@zachleat zachleat released this 01 Jul 19:29
  • Upgrades plugin to use ESM #72

Issue Milestone: https://github.com/11ty/eleventy-plugin-rss/milestone/9?closed=1
Full Changelog: v2.0.4...v3.0.0-alpha.2

Eleventy RSS v3.0.0-alpha.1

Pre-release

Choose a tag to compare

@zachleat zachleat released this 01 Jul 19:26
  • Upgrades plugin to use ESM #72

Issue Milestone: https://github.com/11ty/eleventy-plugin-rss/milestone/9?closed=1
Full Changelog: v2.0.4...v3.0.0-alpha.1

Eleventy RSS v2.0.4

Choose a tag to compare

@zachleat zachleat released this 08 May 20:59
  • Adds Node v24 to CI
  • Removes unnecessary url import.

Full Changelog: v2.0.3...v2.0.4

Eleventy RSS v2.0.3

Choose a tag to compare

@zachleat zachleat released this 16 Jan 15:04

Eleventy RSS Plugin v2.0.2

Choose a tag to compare

@zachleat zachleat released this 12 Jul 20:44
  • Compatibility with Eleventy core 3.0.0-alpha.15 or newer
  • Fixes virtual feed plugin issue with collections.all #54
  • Fixes issue with virtual feed plugin used inside of a plugin #52

Full Changelog: v2.0.1...v2.0.2
Full Milestone: https://github.com/11ty/eleventy-plugin-rss/milestone/8?closed=1

Eleventy RSS Plugin v2.0.1

Choose a tag to compare

@zachleat zachleat released this 17 Jun 19:39

Milestone: https://github.com/11ty/eleventy-plugin-rss/milestone/7?closed=1
Full Changelog: v2.0.0...v2.0.1

We need your help!

11ty is now operating independently, with full time development and maintenance funded by our Open Collective supporters. We need your help to keep going! We have a goal of $6000 USD recurring monthly budget. Read more about this fundraising push or head directly to our Open Collective to start your recurring contribution!

Eleventy RSS Plugin v2.0.0

Choose a tag to compare

@zachleat zachleat released this 12 Jun 18:07
  • Compatible with Eleventy v3.0.0-alpha.13 or newer.
  • Adds new Virtual Template method for easy Atom/RSS/JSON feed creation #47.
  • Build performance benefit reusing new HTML <base> plugin filters #38
  • Refactor dateToRfc822 to use local timezone by @fliptopbox in #45
  • Removes incorrectly named rssLastUpdatedDate and rssDate filters. Use getNewestCollectionItemDate | dateToRfc3339 and dateToRfc3339 instead (respectively). #21
  • JSON Feed authors fix by @uncenter in #41
  • 🥳 New contributors: @uncenter and @fliptopbox!

Milestone: https://github.com/11ty/eleventy-plugin-rss/milestone/3?closed=1
Full Changelog: v1.2.0...v2.0.0

We need your help!

11ty is now operating independently, with full time development and maintenance funded by our Open Collective supporters. We need your help to keep going! We have a goal of $6000 USD recurring monthly budget. Read more about this fundraising push or head directly to our Open Collective to start your recurring contribution!