X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=vendor%2Fzendframework%2Fzend-feed%2FCHANGELOG.md;h=09667c886b690d38a7deb9063290983b87d2b07c;hp=709c29b6eda7c47af2121072c90e2319509ce4ff;hb=0bf8d09d2542548982e81a441b1f16e75873a04f;hpb=74df008bdbb3a11eeea356744f39b802369bda3c diff --git a/vendor/zendframework/zend-feed/CHANGELOG.md b/vendor/zendframework/zend-feed/CHANGELOG.md index 709c29b6e..09667c886 100644 --- a/vendor/zendframework/zend-feed/CHANGELOG.md +++ b/vendor/zendframework/zend-feed/CHANGELOG.md @@ -2,6 +2,202 @@ All notable changes to this project will be documented in this file, in reverse chronological order by release. +## 2.10.3 - 2018-08-01 + +### Added + +- Nothing. + +### Changed + +- This release modifies how `Zend\Feed\Pubsubhubbub\AbstractCallback::_detectCallbackUrl()` + marshals the request URI. In prior releases, we would attempt to inspect the + `X-Rewrite-Url` and `X-Original-Url` headers, using their values, if present. + These headers are issued by the ISAPI_Rewrite module for IIS (developed by + HeliconTech). However, we have no way of guaranteeing that the module is what + issued the headers, making it an unreliable source for discovering the URI. As + such, we have removed this feature in this release. + + The method is not called internally. If you are calling the method from your + own extension and need support for ISAPI_Rewrite, you will need to override + the method as follows: + + ```php + protected function _detectCallbackUrl() + { + $callbackUrl = null; + if (isset($_SERVER['HTTP_X_REWRITE_URL'])) { + $callbackUrl = $_SERVER['HTTP_X_REWRITE_URL']; + } + if (isset($_SERVER['HTTP_X_ORIGINAL_URL'])) { + $callbackUrl = $_SERVER['HTTP_X_ORIGINAL_URL']; + } + + return $callbackUrl ?: parent::__detectCallbackUrl(); + } + ``` + + If you use an approach such as the above, make sure you also instruct your web + server to strip any incoming headers of the same name so that you can + guarantee they are issued by the ISAPI_Rewrite module. + +### Deprecated + +- Nothing. + +### Removed + +- Nothing. + +### Fixed + +- Nothing. + +## 2.10.2 - 2018-06-18 + +### Added + +- Nothing. + +### Changed + +- Nothing. + +### Deprecated + +- Nothing. + +### Removed + +- Nothing. + +### Fixed + +- [#81](https://github.com/zendframework/zend-feed/pull/81) updates the `Zend\Feed\Reader\Reader` and `Zend\Feed\Writer\Writer` classes to + conditionally register their respective "GooglePlayPodcast" extensions only if + their extension managers are aware of it. This is done due to the fact that + existing `ExtensionManagerInterface` implementations may not register it by + default as the extension did not exist in releases prior to 2.10.0. By having + the registration conditional, we prevent an exception from being raised; users + are not impacted by its absence, as the extension features were not exposed + previously. + + Both `Reader` and `Writer` emit an `E_USER_NOTICE` when the extension is not + found in the extension manager, indicating that the + `ExtensionManagerInterface` implementation should be updated to add entries + for the "GooglePlayPodcast" entry, feed, and/or renderer classes. + +## 2.10.1 - 2018-06-05 + +### Added + +- Nothing. + +### Changed + +- Nothing. + +### Deprecated + +- Nothing. + +### Removed + +- Nothing. + +### Fixed + +- [#79](https://github.com/zendframework/zend-feed/pull/79) fixes an issue in the `setType()` method of the iTunes feed renderer whereby it was setting + the DOM content with an uninitialized variable. + +## 2.10.0 - 2018-05-24 + +### Added + +- [#78](https://github.com/zendframework/zend-feed/pull/78) adds support for the Google Play Podcasts 1.0 DTD in both the Reader and + Writer subcomponents. The following new classes provide the support: + + - `Zend\Feed\Reader\Extension\GooglePlayPodcast\Entry` + - `Zend\Feed\Reader\Extension\GooglePlayPodcast\Feed` + - `Zend\Feed\Writer\Extension\GooglePlayPodcast\Entry` + - `Zend\Feed\Writer\Extension\GooglePlayPodcast\Feed` + - `Zend\Feed\Writer\Extension\GooglePlayPodcast\Renderer\Entry` + - `Zend\Feed\Writer\Extension\GooglePlayPodcast\Renderer\Feed` + + The extensions are registered by default with both `Zend\Feed\Reader\Reader` + and `Zend\Feed\Writer\Writer`. + +- [#77](https://github.com/zendframework/zend-feed/pull/77) adds support for `itunes:image` for each of: + - `Zend\Feed\Reader\Extension\Podcast\Entry`, via `getItunesImage()`; previously only the `Feed` supported it. + - `Zend\Feed\Writer\Extension\ITunes\Entry`, via `setItunesImage()`; previously only the `Feed` supported it. + - `Zend\Feed\Writer\Extension\ITunes\Renderer\Entry`; previously on the `Feed` supported it. + +- [#75](https://github.com/zendframework/zend-feed/pull/75) adds `Zend\Feed\Writer\Extension\ITunes\Entry::setItunesSeason()`, corresponding to the + `itunes:season` tag, and allowing setting the season number of the episode the + entry represents. + +- [#75](https://github.com/zendframework/zend-feed/pull/75) adds `Zend\Feed\Writer\Extension\ITunes\Entry::setItunesIsClosedCaptioned()`, corresponding to the + `itunes:isClosedCaptioned` tag, and allowing setting the status of closed + captioning support in the episode the entry represents. + +- [#75](https://github.com/zendframework/zend-feed/pull/75) adds `Zend\Feed\Writer\Extension\ITunes\Entry::setItunesEpisodeType()`, corresponding to the + `itunes:episodeType` tag, and allowing setting the type of episode the entry represents + (one of "full", "trailer", or "bonus", and defaulting to "full"). + +- [#75](https://github.com/zendframework/zend-feed/pull/75) adds `Zend\Feed\Writer\Extension\ITunes\Entry::setEpisode()`, corresponding to the + `itunes:episode` tag, and allowing setting the number of the episode the entry represents. + +- [#75](https://github.com/zendframework/zend-feed/pull/75) adds `Zend\Feed\Writer\Extension\ITunes\Feed::setItunesComplete()`, corresponding to the + `itunes:complete` tag. It allows setting a boolean flag, indicating whether or not the + podcast is complete (will not air new episodes). + +- [#75](https://github.com/zendframework/zend-feed/pull/75) adds `Zend\Feed\Writer\Extension\ITunes\Feed::setItunesType()`, corresponding to the + `itunes:type` tag, and allowing setting the podcast type (one of "serial" or "episodic"). + +- [#75](https://github.com/zendframework/zend-feed/pull/75) adds `Zend\Feed\Reader\Extension\Podcast\Entry::getEpisodeType()`, corresponding to the + `itunes:episodeType` tag, and returning the type of episode the entry represents + (one of "full", "trailer", or "bonus", and defaulting to "full"). + +- [#75](https://github.com/zendframework/zend-feed/pull/75) adds `Zend\Feed\Reader\Extension\Podcast\Entry::getSeason()`, corresponding to the + `itunes:season` tag, and returning the season number of the episode the entry represents. + +- [#75](https://github.com/zendframework/zend-feed/pull/75) adds `Zend\Feed\Reader\Extension\Podcast\Entry::isClsoedCaptioned()`, corresponding to the + `itunes:isClosedCaptioned` tag, and returning the status of closed captioning + in the episode the entry represents. + +- [#75](https://github.com/zendframework/zend-feed/pull/75) adds `Zend\Feed\Reader\Extension\Podcast\Entry::getEpisode()`, corresponding to the + `itunes:episode` tag, and returning the number of the episode the entry represents. + +- [#75](https://github.com/zendframework/zend-feed/pull/75) adds `Zend\Feed\Reader\Extension\Podcast\Feed::isComplete()`, corresponding to the + `itunes:complete` tag. It returns a boolean, indicating whether or not the podcast is + complete (will not air new episodes). + +- [#75](https://github.com/zendframework/zend-feed/pull/75) adds `Zend\Feed\Reader\Extension\Podcast\Feed::getPodcastType()`, corresponding to the + `itunes:type` tag, and providing the podcast type (one of "serial" or "episodic", defaulting + to the latter). + +### Changed + +- [#77](https://github.com/zendframework/zend-feed/pull/77) updates URI validation for `Zend\Feed\Writer\Extension\ITunes\Feed::setItunesImage()` to + first check that we have received a string value before proceeding. + +### Deprecated + +- [#75](https://github.com/zendframework/zend-feed/pull/75) deprecates each of: + - `Zend\Feed\Reader\Extension\Podcast\Entry::getKeywords()` + - `Zend\Feed\Reader\Extension\Podcast\Feed::getKeywords()` + - `Zend\Feed\Writer\Extension\ITunes\Entry::setKeywords()` + - `Zend\Feed\Writer\Extension\ITunes\Feed::setKeywords()` + as the iTunes Podcast RSS specification no longer supports keywords. + +### Removed + +- Nothing. + +### Fixed + +- Nothing. + ## 2.9.1 - 2018-05-14 ### Added