Notable changes in PrestaShop 1.7.8

PHP support

PrestaShop 1.7.8 adds supports for PHP 7.4.

Updated dependencies

The following dependencies have been updated in order to provide support for PHP 7.4:

Production dependencies

Package name From To Compare
beberlei/doctrineextensions v1.2.6 v1.2.7
composer/ca-bundle 1.2.6 1.2.8
doctrine/annotations v1.8.0 1.10.4
doctrine/cache 1.10.0 1.10.2
doctrine/collections 1.6.4 1.6.7
doctrine/common 2.12.0 2.13.3
doctrine/doctrine-bundle 1.12.6 1.12.10
doctrine/event-manager 1.1.0 1.1.1
doctrine/instantiator 1.3.0 1.3.1
doctrine/orm v2.7.0 2.7.4
doctrine/persistence 1.3.5 1.3.8
doctrine/reflection v1.1.0 1.2.1
egulias/email-validator 2.1.15 2.1.19
ezyang/htmlpurifier v4.12.0 v4.13.0
fig/link-util 1.1.0 1.1.1
friendsofsymfony/jsrouting-bundle 2.5.3 2.6.0
incenteev/composer-parameter-handler v2.1.3 v2.1.4
markbaker/complex 1.4.7 1.4.8
matthiasmullie/minify 1.3.62 1.3.63
matthiasmullie/path-converter 1.1.2 1.1.3
maxmind/web-service-common v0.6.0 v0.7.0
monolog/monolog 1.25.3 1.25.5
nikic/php-parser v4.3.0 v4.9.0
phpoffice/phpspreadsheet 1.10.1 1.12.0
prestashop/decimal 1.3.0 1.4.0
prestashop/ps_facetedsearch v3.7.0 v3.7.1
prestashop/ps_linklist v3.2.0 v4.0.0
psr/log 1.1.2 1.1.3
react/promise v2.7.1 v2.8.0
smarty/smarty v3.1.34 v3.1.39
symfony/http-client v4.4.2 v4.4.11
symfony/http-client-contracts v1.1.8 v1.1.9
symfony/mime v4.4.2 v4.4.11
symfony/polyfill-apcu v1.13.1 v1.18.1
symfony/polyfill-ctype v1.13.1 v1.18.1
symfony/polyfill-iconv v1.13.1 v1.18.1
symfony/polyfill-intl-icu v1.13.1 v1.18.1
symfony/polyfill-intl-idn v1.13.1 v1.18.1
symfony/polyfill-mbstring v1.13.1 v1.18.1
symfony/polyfill-php56 v1.13.1 v1.18.1
symfony/polyfill-php70 v1.13.1 v1.18.1
symfony/polyfill-php72 v1.13.1 v1.18.1
symfony/polyfill-php73 v1.13.1 v1.18.1
symfony/polyfill-util v1.13.1 v1.18.1
symfony/service-contracts v1.1.8 v1.1.9
symfony/symfony v3.4.37 v3.4.43
tecnickcom/tcpdf 6.3.2 6.3.5
tijsverkoyen/css-to-inline-styles 2.2.2 2.2.3
twig/twig v1.42.4 v1.43.1

Development dependencies

Dev Changes From To Compare
composer/xdebug-handler 1.4.0 1.4.3
friendsofphp/php-cs-fixer v2.16.4 v2.17.2
johnkary/phpunit-speedtrap v3.1.0 v3.2.0
myclabs/deep-copy 1.9.4 1.10.1
phake/phake v3.1.7 v3.1.8
phpdocumentor/reflection-common 2.0.0 2.1.0
phpspec/prophecy 1.10.1 v1.10.3
symfony/phpunit-bridge v3.4.36 v3.4.43
webmozart/assert 1.6.0 1.9.1

Packages added

Package name Type To
composer/package-versions-deprecated Prod 1.11.99
prestashop/blockwishlist Prod v2.0.0
symfony/polyfill-intl-normalizer Prod v1.18.1
phpstan/phpstan Dev 0.12.80
prestashop/phpstan-prestashop Dev 1.1.1

Packages removed

Package name From To
prestashop/sekeywords v2.0.0 REMOVED
prestashop/statsequipment v2.0.0 REMOVED
prestashop/statslive v2.1.0 REMOVED
prestashop/statsorigin v2.0.2 REMOVED
prestashop/statsvisits v2.0.3 REMOVED

Deprecated classes

Class name Alternative
PrestaShop\PrestaShop\Core\Form\FormHandler PrestaShop\PrestaShop\Core\Form\Handler
Windows N/A
PrestaShop\PrestaShop\Core\Domain\SpecificPrice\Command\AddSpecificPriceCommand PrestaShop\PrestaShop\Core\Domain\SpecificPrice\UpdateProductPriceInCartCommand or PrestaShop\PrestaShop\Core\Domain\SpecificPrice\AddProductSpecificPriceCommand
PrestaShop\PrestaShop\Core\Email\SmtpDataConfigurator N/A
PrestaShop\PrestaShop\Core\Product\Search\URLFragmentSerializer N/A
PrestaShopBundle\Controller\Admin\Configure\AdvancedParameters::searchAction PrestaShopBundle\Controller\Admin\CommonController:searchGridAction
PrestaShopBundle\Controller\Admin\Configure\AdvancedParameters\WebserviceController::searchAction PrestaShopBundle\Controller\Admin\CommonController:searchGridAction
PrestaShopBundle\Controller\Admin\Configure\ShopParameters\MetaController::searchAction PrestaShopBundle\Controller\Admin\CommonController:searchGridAction
PrestaShopBundle\Controller\Admin\Improve\Design\CmsPageController PrestaShopBundle\Controller\Admin\CommonController:searchGridAction
PrestaShopBundle\Controller\Admin\Improve\International\CurrencyController PrestaShopBundle\Controller\Admin\CommonController:searchGridAction
PrestaShopBundle\Controller\Admin\Improve\International\LanguageController PrestaShopBundle\Controller\Admin\CommonController:searchGridAction
PrestaShopBundle\Controller\Admin\Improve\International\TaxController PrestaShopBundle\Controller\Admin\CommonController:searchGridAction
PrestaShopBundle\Controller\Admin\Sell\Catalog\CategoryController PrestaShopBundle\Controller\Admin\CommonController:searchGridAction
PrestaShopBundle\Controller\Admin\Sell\Customer\CustomerController PrestaShopBundle\Controller\Admin\CommonController:searchGridAction
PrestaShopBundle\Controller\Admin\Sell\Order\CreditSlipController PrestaShopBundle\Controller\Admin\CommonController:searchGridAction
PrestaShopBundle\Entity\Repository\LogRepository::getSearchQueryBuilder PrestaShop\PrestaShop\Core\Grid\Query\LogQueryBuilder::getSearchQueryBuilder
PrestaShopBundle\Entity\Repository\LogRepository::getCountQueryBuilder PrestaShop\PrestaShop\Core\Grid\Query\LogQueryBuilder::getCountQueryBuilder
PrestaShopBundle\Entity\Repository\LogRepository::buildGridQuery PrestaShop\PrestaShop\Core\Grid\Query\LogQueryBuilder::buildGridQuery
PrestaShopBundle\Entity\Repository\RequestSqlRepository::getSearchQueryBuilder PrestaShop\PrestaShop\Core\Grid\Query\RequestSqlQueryBuilder::getSearchQueryBuilder
PrestaShopBundle\Entity\Repository\RequestSqlRepository::buildQueryBySearchCriteria PrestaShop\PrestaShop\Core\Grid\Query\RequestSqlQueryBuilder::buildQueryBySearchCriteria
PrestaShopBundle\Form\Admin\Configure\ShopParameters\OrderPreferences\OrderPreferencesFormDataProvider N/A
PrestaShopBundle\Form\Admin\Configure\ShopParameters\ProductPreferences\ProductPreferencesFormDataProvider N/A
PrestaShopBundle\Form\Admin\Configure\ShopParameters\TrafficSeo\Meta\MetaSettingsFormDataProvider N/A
PrestaShopBundle\Form\Admin\Improve\International\Geolocation\GeolocationFormDataProvider N/A
PrestaShopBundle\Form\Admin\Improve\Shipping\Preferences\PreferencesFormDataProvider N/A
PrestaShopBundle\Kernel\ModuleRepository PrestaShop\PrestaShop\Adapter\Module\Repository\ModuleRepository
PrestaShopBundle\Kernel\ModuleRepositoryFactory N/A

Deprecated properties

Class name Alternative
Combination::$location StockAvailable::$location
Combination::$quantity StockAvailable::$location
Product::$quantity StockAvailable::$quantity
Product::$location StockAvailable::$location
Product::$out_of_stock StockAvailable::$out_of_stock
Product::$advanced_stock_management Feature not maintained anymore
Product::$depends_on_stock Feature not maintained anymore
StockAvailable::$depends_on_stock Feature not maintained anymore