Releases: nexendrie/rss
Version 0.13.0
A new version of Rss is out. It is for PHP 8.3 or later.
It adds RSS extensions Trackback and DublinCore.
For complete list of changes since previous version, see CHANGELOG.md.
Version 0.12.0
A new version of Rss is out. It focuses on code clean up at cost of BC breaks.
Interfaces IXmlConvertible and IRssExtension were renamed: we dropped the I prefix.
Property Generator::$dataSource now only accepts Closure or null and $protocol in Cloud now accepts new enum Nexendrie\Rss\CloudProtocol.
Nette style events were replaced with PSR-14 event dispatcher.
For complete list of changes since previous version, see CHANGELOG.md.
Version 0.11.0
Changelog:
- made Generator::$dataSource readable
- made RssResponse::$source writable
- BC break: moved RssResponse to namespace Nexendrie\Rss\Bridges\NetteApplication
- raised minimal version of PHP to 8.1
- BC break: callbacks for lastBuildDate and pubDate now have to return DateTime
- BC break: removed Syndication::UPDATE_PERIOD_* constants, updatePeriod in Syndication now accepts enum Nexendrie\Rss\Extensions\Syndication\UpdatePeriod
- BC break: skipDays now has to be an array enum Nexendrie\Rss\Extensions\RssCore\SkipDay
Version 0.10.0
Changelog:
- raised minimal version of PHP to 7.4
- used typed properties (possible BC break)
Version 0.9.0
Changelog:
- BC break: RssChannelItem's constructor now accepts an array with all data
- BC break: RssChannelItem cannot be changed once constructed now
- added support for RSS extensions
- marked RssChannelItem as final
- raised minimal version of PHP to 7.3
Version 0.8.0
Changelog:
- dropped support for Nette 2.4
Version 0.7.1
Changelog:
- RssResponse now sets encoding
- fixed values for
<skipHours><hour>
Version 0.7.0
Changelog:
- fixed content type in RssResponse
- added support for skipDays, skipHours, image, cloud and textInput in channel
- raised minimal required version of nexendrie/utils to 1.4
- RSSChannelItem now renders itself
- added support for enclosures and source in items
Now everything from specifications is supported. Future versions may include support for extensions and stricter validations.
Version 0.6.0
Changelog:
- BC break: info about channel is now passed via parameter to Generator::generate/response()
- added support for rating in channel
- added support for categories in channel and items
- raised minimal required version of nexendrie/utils to 1.3
- events onBeforeGenerate and onAfterGenerate of Generator now get channel info as second parameter
- prettified output of Generator::generate()
Version 0.5.1
Changelog:
- changed default time format to r
- changed default value for docs