guzzle / guzzle

Guzzle, an extensible PHP HTTP client

Home Page:https://docs.guzzlephp.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BC break in version ^7

camohub opened this issue · comments

commented

Guzzle version(s) affected: 7.7
PHP version: 7.4

Description
It seems you made a BC break in some of the latest 7.x versions. I have a Cloudinary library which uses Guzzle version ^7.
This means any minor version of package under the major version 7. But minor versions should not include BC breaks. Can you fix it?

The error message says:
Call to undefined function GuzzleHttp\Promise\promise_for()

Thanks for getting in touch, but this is not a BC break. This is a bug in the Cloudinary library because it is using the guzzlehttp/promises library without actually requiring it.

You also already opened this issue already. I don't appreciate the double issue.

commented

Cloudinry use promisses without actually requiring it? Dont understand. It called the method which did exists till now and now it is not. It seems like a BC break on your side.

This is not a BC break. Had they correctly required the promises library v1, they would not have experienced this issue.