This repository was archived by the owner on Jan 30, 2020. It is now read-only.
- Notifications
You must be signed in to change notification settings - Fork40
Tags: zendframework/zend-feed
Tags
release-2.12.0
zend-feed 2.12.0Added------ [#96](#96) adds the methods `Zend\Feed\Reader\Extension\Podcast\Entry::getTitle() : string` and `Zend\Feed\Writer\Extension\ITunes\Entry::setTitle(string $value)`; these provide the ability to read and manipulate `<itunes:title>` tags in feeds.Changed-------- Nothing.Deprecated----------- [#101](#101) deprecates the method `Zend\Feed\Writer\Writer::lcfirst()`; use the PHP built-in function instead.- [#97](#97) deprecates the classes `Zend\Feed\Reader\AbstractEntry` (use `Zend\Feed\Reader\Entry\AbstractEntry` instead), `Zend\Feed\Reader\AbstractFeed` (use `Zend\Feed\Reader\Feed\AbstractFeed` instead), and `Zend\Feed\Reader\Collection` (use Zend\Feed\Reader\Collection\Author`, `Zend\Feed\Reader\Collection\Category`, or `Zend\Feed\Reader\Collection\Collection` instead, based on context).Removed-------- Nothing.Fixed------ Nothing.
release-2.11.1
zend-feed 2.11.1Added------ Nothing.Changed-------- Nothing.Deprecated----------- Nothing.Removed-------- Nothing.Fixed------ [#99](#99) provides a fix to `Zend\Feed\Writer\Renderer\Entry\Rss` to ensure that relative URIs provided for the feed disable the `isPermalink` flag.- [#100](#100) fixes parameter and return value annotations for a number of classes to specify the correct types.
release-2.11.0
zend-feed 2.11.0Added------ [#94](#94) adds support for PHP 7.3.- [#91](#91) adds explicit requirements for both ext-dom and ext-libxml to the package.Changed-------- [#93](#93) `Writer\Feed`, `Writer\Entry` and `Writer\Deleted` all now accept `DateTimeImmutable` instances as an arguments to methods that previously only accepted `DateTime` or Unix Timestamps, such as `Writer\Feed::setDateModified()`.Deprecated----------- Nothing.Removed-------- [#94](#94) removes support for zend-stdlib v2 releases.Fixed------ Nothing.
release-2.10.3
zend-feed 2.10.3Added------ 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.release-2.10.2
zend-feed 2.10.2Added------ Nothing.Changed-------- Nothing.Deprecated----------- Nothing.Removed-------- Nothing.Fixed------ [#81](#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.
release-2.10.1
release-2.10.0
zend-feed 2.10.0Added------ [#78](#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](#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](#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](#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](#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](#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](#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](#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](#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](#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](#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](#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](#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](#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](#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](#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.
release-2.9.1
zend-feed 2.9.1Added------ Nothing.Changed-------- [#16](#16) updates the `Zend\Feed\Pubsubhubbub\AbstractCallback` to no longer use the `$GLOBALS['HTTP_RAW_POST_DATA']` value as a fallback when `php://input` is empty. The fallback existed because, prior to PHP 5.6, `php://input` could only be read once. As we now require PHP 5.6, the fallback is unnecessary, and best removed as the globals value is deprecated.Deprecated----------- Nothing.Removed-------- Nothing.Fixed------ [#68](#68) fixes the behavior of `Zend\Feed\Writer\AbstractFeed::setTitle()` and `Zend\Feed\Writer\Entry::setTitle()` to accept the string `"0"`.- [#68](#68) updates both `Zend\Feed\Writer\AbstractFeed` and `Zend\Feed\Writer\Entry` to no longer throw an exception for entry titles which have a string value of `0`.
release-2.9.0
zend-feed 2.9.0Added------ [#52](#52) adds support for PHP 7.2- [#53](#53) adds a number of additional aliases to the `Writer\ExtensionPluginManager` to ensure plugins will be pulled as expected.- [#63](#63) adds the feed title to the attributes incorporated in the `FeedSet` instance, per what was already documented.- [#55](#55) makes two API additions to the `StandaloneExtensionManager` implementations of both the reader and writer subcomponents: - `$manager->add($name, $class)` will add an extension class using the provided name. - `$manager->remove($name)` will remove an existing extension by the provided name.Changed-------- Nothing.Deprecated----------- Nothing.Removed-------- [#52](#52) removes support for HHVM.Fixed------ [#50](#50) fixes a few issues in the PubSubHubbub `Subscription` model where counting was being performed on uncountable data; this ensures the subcomponent will work correctly under PHP 7.2.
PreviousNext