From 8a6e68893901422dc4a2cb928c437bcc5aff2b66 Mon Sep 17 00:00:00 2001 From: mohitalgolia <101385480+mohitalgolia@users.noreply.github.com> Date: Tue, 30 Jan 2024 20:21:17 +0530 Subject: [PATCH 1/2] PHP8.2 compatibility Issue --- ViewModel/Recommend/Cart.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ViewModel/Recommend/Cart.php b/ViewModel/Recommend/Cart.php index da24d7537..cc39785af 100644 --- a/ViewModel/Recommend/Cart.php +++ b/ViewModel/Recommend/Cart.php @@ -12,6 +12,11 @@ class Cart implements ArgumentInterface { + /** + * @var StoreManagerInterface + */ + protected $storeManager; + /** * @var Session */ From 180138c48176be8be6580c136dfa646d6ed694bf Mon Sep 17 00:00:00 2001 From: mohitalgolia <101385480+mohitalgolia@users.noreply.github.com> Date: Thu, 1 Feb 2024 22:04:54 +0530 Subject: [PATCH 2/2] Updated release version --- CHANGELOG.md | 5 +++++ README.md | 2 +- composer.json | 2 +- etc/module.xml | 2 +- 4 files changed, 8 insertions(+), 3 deletions(-) mode change 100644 => 100755 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md old mode 100644 new mode 100755 index 91804fbd1..a5761b7df --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # CHANGE LOG +## 3.13.1 + +### Bug Fixes +- Fixed the issue with PHP8.2 compatibility for recommendations on the cart page + ## 3.13.0 ### Updates diff --git a/README.md b/README.md index 092433811..cab3060bd 100755 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ Algolia Search & Discovery extension for Magento 2 ================================================== -![Latest version](https://img.shields.io/badge/latest-3.13.0-green) +![Latest version](https://img.shields.io/badge/latest-3.13.1-green) ![Magento 2](https://img.shields.io/badge/Magento-2.4.x-orange) ![PHP](https://img.shields.io/badge/PHP-8.2%2C8.1%2C7.4-blue) diff --git a/composer.json b/composer.json index 36e8989b3..e422188c3 100755 --- a/composer.json +++ b/composer.json @@ -3,7 +3,7 @@ "description": "Algolia Search & Discovery extension for Magento 2", "type": "magento2-module", "license": ["MIT"], - "version": "3.13.0", + "version": "3.13.1", "require": { "magento/framework": "~102.0|~103.0", "algolia/algoliasearch-client-php": "3.3.2", diff --git a/etc/module.xml b/etc/module.xml index e60d53a27..2da64af9f 100755 --- a/etc/module.xml +++ b/etc/module.xml @@ -1,6 +1,6 @@ - +