marcjulian
released this
26 Nov 14:38
·
24 commits
to master
since this release
Breaking Changes
RSS Plugin has changed to routeDiscoveryDone
and only needs to be required in your scully config file.
scully.app-name.config.js
require('@notiz/scully-plugin-rss');
exports.config = {
projectRoot: './src',
- defaultPostRenderers: ['rss'],
routes: {},
};
or scully.app-name.config.ts
import { ScullyConfig } from '@scullyio/scully';
import '@notiz/scully-plugin-rss';
export const config: ScullyConfig = {
projectRoot: './src',
- defaultPostRenderers: ['rss'],
routes: {},
};
Added
- Add
newestPostsFirst
sorting option (#15)
Changed
- Change plugin type from
render
torouteDiscoveryDone
benefit of only generating the RSS Feed once per run instead of after each page render (#15)
Credits
Huge thanks to @pjlamb12 for refactoring the rss plugin to the new routeDiscoveryDone
plugin type.