Open navigation

HTTP Client Change Zend to Laminas

Issue

Laminas replaced Zend in Magento 2.3.5. The Laminas Zend Framework Bridge was added so the Zend namespace would continue to work. This bridge package has now been removed from all packages used by Magento. Both branches of our module (2.x & 3.x) support Magento versions on either side of the Magento 2.3.5 release.

3.x

Our module's 3.x branch supports Magento 2.3 and 2.4.

Magento 2.3.5+

We have added a new module that, via di.xml, replaces the usage of Zend\Http\Client with Laminas\Http\Client.  When you upgrade to Klevu 3.5.0 or above this new package will be installed. There are no additional composer commands required, a requirement has been added to the klevu/module-productsearch module.

Magento 2.3.0 - 2.3.4

If you are running Klevu 3.x on Magento 2.3.0 - 2.3.4 you will need to remove this new package. 

Add the following to your composer.json

"replace": {
"klevu/module-api-request": "*"
},

2.x

Our module's 2.x branch supports Magento versions from Magento 2.1. We will not be adding Laminas support to the 2.x branch.

If you wish to continue using the 2.x branch you can re-install the Laminas Zend Framework Bridge package (Note: this package is no longer supported and is outside the control of Klevu).

composer require "laminas/laminas-zendframework-bridge:^1.0"

https://github.com/laminas/laminas-zendframework-bridge

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.