Issue #212: Compatibility with psr/http-message 2.0#214
Issue #212: Compatibility with psr/http-message 2.0#214omarlopesino wants to merge 3 commits intoSparkPost:masterfrom
Conversation
|
Looks like this library has not been updated for 3 years and is now incompatible with some modern dependencies. I would say it has been abandoned by SparkPost. I have seen this before in vendor supported libraries. I had to do a completely new Constant Contact V3 API as Constant Contact stopped supporting API libraries for all languages. Also SparkPost was recently acquired by MessageBird, so I suspect this library (and SparkPost in general) will not be receiving the attention needed to keep it current. I would be willing to fork and maintain this repo if you want to move your PR to the new fork. |
|
@omarlopesino what http client are you using to pass into SparkPost? |
|
Thanks for the merge request, Looks like abandon ware. |
|
I haven't seen the notifications on this issue, sorry. I'll reply in the case there is a chance to update the main library yet.
IIRC I was using guzzle 7 along with guzzle 6 adapter. It was in a Drupal project using sparkpost contrib module: https://git.drupalcode.org/project/sparkpost/-/blob/8.x-2.x/src/ClientService.php?ref_type=heads#L49 |
|
There is a fork that have integrated this PR xtremepush#2 and released it, so it looks like the fixes are being applied in other projects too. |
|
Looks like Xtremepush has not published this package to Composer. I will add a request to do that, as they have done it for another package. If no response, I will clone and publish. |
This adapts the SparkpostResponse class to be compatible with psr http-message 2.0