We've recently updated zendframework/zend-feed to 2.7.0, which offers some better features around the HTTP client interface — including a concrete ResponseInterface implementation, and a PSR-7 response decorator for use with PSR-7 HTTP clients. You can view the full changelog here:

We recommend updating to this new version.

(I wasn't sure which component zend-feed is being used in specifically, so chose "other"; please feel free to update accordingly.)

CommentFileSizeAuthor
#9 interdiff.txt6.45 KBslasher13
#9 2622272-9.patch10.38 KBslasher13
#7 2622272-7.patch4.28 KBslasher13

Comments

mwop created an issue. See original summary.

Crell’s picture

Component: other » base system

Refiling, thanks! (I'm not sure when we start accepting 8.1 patches...)

cilefen’s picture

Category: Feature request » Task

I am marking this a "Task" because it is more of something we ought to do than a feature.

@Crell Some limited things are being committed to 8.1.x and cherry-picked to 8.0.x.

Version: 8.1.x-dev » 8.2.x-dev

Drupal 8.1.0-beta1 was released on March 2, 2016, which means new developments and disruptive changes should now be targeted against the 8.2.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.2.x-dev » 8.3.x-dev

Drupal 8.2.0-beta1 was released on August 3, 2016, which means new developments and disruptive changes should now be targeted against the 8.3.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

dawehner’s picture

Issue tags: +Novice

This should be a novice task

slasher13’s picture

Title: Update to zend-feed 2.6.0 » Update to zend-feed 2.7.0
Issue summary: View changes
StatusFileSize
new4.28 KB
slasher13’s picture

Status: Active » Needs review
slasher13’s picture

StatusFileSize
new10.38 KB
new6.45 KB

composer update zendframework/zend-feed --with-dependencies
Updating dependencies (including require-dev)
- Removing zendframework/zend-hydrator (1.0.0)
- Removing zendframework/zend-escaper (2.5.1)
- Installing zendframework/zend-escaper (2.5.2)
Loading from cache

> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
- Removing zendframework/zend-stdlib (2.7.5)
- Installing zendframework/zend-stdlib (3.0.1)
Loading from cache
composer update NOTHING

See changes of updated zendframework/zend-stdlib version:
https://github.com/zendframework/zend-stdlib/releases/tag/release-3.0.0

shawn dearmond’s picture

zend-feed 2.7.0 requires zend-stlib "^2.7 || ^3.0". However, zend-stlib 3.1.0, released today, requires php 5.6.

Now, when I run composer install using php 5.5.9, which is the minimum requirements for Drupal 8, I get this error:

Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Installation request for zendframework/zend-stdlib 3.1.0 -> satisfiable by zendframework/zend-stdlib[3.1.0].
    - zendframework/zend-stdlib 3.1.0 requires php ^5.6 || ^7.0 -> your PHP version (5.5.9) does not satisfy that requirement.
  Problem 2
    - zendframework/zend-stdlib 3.1.0 requires php ^5.6 || ^7.0 -> your PHP version (5.5.9) does not satisfy that requirement.
    - zendframework/zend-feed 2.7.0 requires zendframework/zend-stdlib ^2.7 || ^3.0 -> satisfiable by zendframework/zend-stdlib[3.1.0].
    - Installation request for zendframework/zend-feed 2.7.0 -> satisfiable by zendframework/zend-feed[2.7.0].
Crell’s picture

If we explicitly require zend-stdlib 3.0 < 3.1 in composer.json, that should cause composer to resolve to the 3.0.x version of stdlib, shouldn't it? As that would satisfy both that requirement and the transitive requirement through zend-feed.

slasher13’s picture

In patch #9 zend-stdlib was updated to 3.01 only and that version requires php >= 5.5 like Drupal (5.5.9).
If you use composer install the version defined in composer.lock will be installed and you don't have any trouble. By using composer update with specified package only (composer update zendframework/zend-feed / patch #7) dependencies of this package won't updated. Without explicitly require zend-stdlib 3.0 < 3.1 the requirements are satisfied.

shawn dearmond’s picture

The difference is that I'm building a Drupal distro, so my composer.json file "requires" the install profile. Since composer.lock files aren't inherited, Drupal's composer.lock file isn't considered and it tries to pull in v3.1.0 of zend-stdlib.

Version: 8.3.x-dev » 8.4.x-dev

Drupal 8.3.0-alpha1 will be released the week of January 30, 2017, which means new developments and disruptive changes should now be targeted against the 8.4.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.4.x-dev » 8.5.x-dev

Drupal 8.4.0-alpha1 will be released the week of July 31, 2017, which means new developments and disruptive changes should now be targeted against the 8.5.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

eric_a’s picture

Version: 8.5.x-dev » 8.3.x-dev
Status: Needs review » Closed (outdated)
Related issues: +#2862254: Update non-Symfony dependencies before 8.3.0
eric_a’s picture

Status: Closed (outdated) » Closed (duplicate)