Version 1.1.0-dev
- lastBuildDate and pubDate now accept DateTimeInterface instead of just DateTime
- added RSS extension W3C Basic Geo
Version 1.0.1
- allowed symfony/options-resolver 8
- allowed nexendrie/utils 2
Version 1.0.0
- BC break: changed names of cases in UpdatePeriod to only start with capital letter
- added validation for dc:date and sy:updateBase
Version 0.16.0
- BC break: lastBuildDate and pubDate for channel now have to be Closure (that returns a DateTime object)
- BaseExtension::registerElements() can now use special (including user defined) types
- possible BC break: Source no longer extends stdClass
- added validation for e-mail address for channel's managingEditor and webMaster and item's author
- added validation for url
- BC break: item can now have only 1 enclosure now
- BC break: trackback:about now has to be an array of urls
- made item's link optional
Version 0.15.1
- fixed isPermaLink attribute name for element guid
Version 0.15.0
- added RSS extensions Comment API and blogChannel
- BaseExtension::registerElements() can now set elements' types, normalize enum values and mark elements as required
- only first letter is now changed to lower case in BaseExtension::getName()
- made prefix for elements' constants for BaseExtension::registerElements() customizable
Version 0.14.0
- added RSS extension CreativeCommons
- BC break: pubDate in items now has to be a DateTime
- added support for isPermaLink for item's guid
- BC break: parameter $parent of method XmlConvertible::appendToXml is no longer taken by reference
- BC break: language now has to be an enum Nexendrie\Rss\Extensions\RssCore\Iso639Language or Nexendrie\Rss\Extensions\RssCore\RssLanguage
Version 0.13.0
- raised minimal version of PHP to 8.3
- added RSS extensions Trackback and DublinCore
Version 0.12.0
- BC break: renamed IXmlConvertible to XmlConvertible and IRssExtension to RssExtension
- BC break: replaced Nette events with PSR-14 event dispatcher
- BC break: Generator::$dataSource now only accepts Closure or null
- BC break: $protocol in Cloud now accepts enum Nexendrie\Rss\CloudProtocol
Version 0.11.0
- 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
- raised minimal version of PHP to 7.4
- used typed properties (possible BC break)
Version 0.9.0
- 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
- dropped support for Nette 2.4
Version 0.7.1
- RssResponse now sets encoding
- fixed values for
Version 0.7.0
- 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
Version 0.6.0
- 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
- changed default time format to r
- changed default value for docs
Version 0.5.0
- marked some classes as final
- added events onBeforeGenerate, onAddItem and onAfterGenerate to Generator
- allowed customization of RSS channel's template
- BC break: Generator::generate() now returns string, RssResponse::__construct() now takes string as parameter
- raised minimal version of PHP to 7.2
- BC break: RssChannelItem::$pubDate has to be integer (timestamp) now
- added support for language, copyright, managingEditor, webMaster, pubDate and ttl in channel
- Generator now adds generator and docs to channel by default
- added support for author, comments and guid in items
- changed default time format to D, d M Y H:i:s
Version 0.4.0
- raised minimal version of PHP to 7.1
- allowed setting lastBuildDate for channel
- title, link and description for Generator and all properties of RssChannelItem now has to be strings
- callback for Generator::$dataSource now has to return Nexendrie\Rss\Collection
- added dependency on nexendrie/utils
Version 0.3.0
- allowed setting dateTimeFormat via Nette DI extension
- changed thrown exceptions in Generator
Version 0.2.0
- added method Generator::response()
- added extension for Nette DI container
Version 0.1.0
- initial version