PrestaShop 8.1 has the same PHP requirement as Prestashop 8.0.
PrestaShop 8.0 added support for PHP 8.0 and PHP 8.1 and required at least PHP 7.2.5.
The new Product page in Back Office has been introduced. Discover how to extend it with modules in this chapter.
_raw parameter on translations to avoid html escaping in translator. PR#30415config/defines.inc.php PR#29172NavigationTabType to create custom tabs in BO product page PR#28752CmsController, OrderConfirmationController, ProductController, CategoryController, ManufacturerController, SupplierController PR#30408Currency::getDefaultCurrencyId() method to avoid retrieving PS_CURRENCY_DEFAULT from configuration in various classes PR#30398actionAjaxDie<Controller><Method>Before now receives its value parameter via reference PR#30347Validate::isAnything() since it was always returning true PR#30163actionModifyFrontendSitemap hook PR#29797actionGenerateDocumentReference hook to allow overriding order reference PR#29781displayContactRightColumn, displayContactContent, displayContactLeftColumn in classic and hummingbird themes, and removed related widget hooks PR#29516Tools::getCurrentUrl() to retrieve the current URL in a hook PR#28541Shop::getBaseURL() use secure mode by default PR#28469PrestaShop\PrestaShop\Core\Security\PasswordGenerator class to generate random passwords with multiples types/lengths PR#31004PrestaShop\PrestaShop\Core\Security\Hashing class to hash a password from a plain text and a salt with md5 PR#31004actionProductPriceCalculation hook PR#27927theme_dir in front controllers PR#30383core.js loading on custom themes PR#29995. More informations{url} helper PR#30242 and PR#30314actionLoggerLogMessage hook PR#28999. Hook details pageSortable Javascript library to the core PR#30225Shop::getBaseURL() use secure mode by default PR#28469PrestaShop\PrestaShop\Core\Domain\TaxRulesGroup\QueryResult, constructor parameters are now TaxRulesGroupId $taxRulesGroupId, string $name, bool $active, array $shopAssociationIds PR#28812PS_LIMIT_UPLOAD_IMAGE_VALUE) PR#29135PrestaShop\PrestaShop\Core\String\CharacterCleaner → Its use is not requiredCustomer::validateController() → The password check has been moved in controllers and this method is not called anywhere since 1.7.0Prestashop\PrestaShop\Core\Grid\Column\Type\BooleanColumn → moved to PrestaShop\PrestaShop\Core\Grid\Column\Type\Common\BooleanColumnPrestashop\PrestaShop\Core\Grid\Column\Type\ColorColumn → moved to PrestaShop\PrestaShop\Core\Grid\Column\Type\Common\ColorColumnPrestashop\PrestaShop\Core\Grid\Column\Type\Common\IdentifierColumn → moved to PrestaShop\PrestaShop\Core\Grid\Column\Type\Common\IdentifierColumnPrestashop\PrestaShop\Core\Grid\Column\Type\DataColumn → moved to PrestaShop\PrestaShop\Core\Grid\Column\Type\Common\DataColumnPrestashop\PrestaShop\Core\Grid\Column\Type\DisableableLinkColumn → moved to PrestaShop\PrestaShop\Core\Grid\Column\Type\Common\DisableableLinkColumnPrestashop\PrestaShop\Core\Grid\Column\Type\LinkGroupColumn → moved to PrestaShop\PrestaShop\Core\Grid\Column\Type\Common\LinkGroupColumnPrestashop\PrestaShop\Core\Grid\Column\Type\OrderPriceColumn → moved to PrestaShop\PrestaShop\Core\Grid\Column\Type\Order\OrderPriceColumnPrestashop\PrestaShop\Core\Grid\Column\Type\PreviewColumn → moved to PrestaShop\PrestaShop\Core\Grid\Column\Type\Common\PreviewColumnPrestashop\PrestaShop\Core\Grid\Column\Type\PrivateColumn → moved to PrestaShop\PrestaShop\Core\Grid\Column\Type\Common\PrivateColumnCmsController::$cms → use $cmsControllerInstance->getCms() insteadCmsController::$cms_category → use $cmsControllerInstance->getCmsCategory() insteadValidate::isAnything() → will be removed in 9.0 since returns always true| Library name | Old version | New version |
|---|---|---|
| api-platform/core | ~ Not present ~ | ^2.7 |
| lcobucci/jwt | ~ Not present ~ | ^3.4.6 |
| league/oauth2-server | ~ Not present ~ | ^8.3 |
| nyholm/psr7 | ~ Not present ~ | ^1.5 |
| symfony/psr-http-message-bridge | ~ Not present ~ | ^2.1 |
| Library name | Old version | New version |
|---|---|---|
| vue | 2.6.x | 3.2.x |
| Sortable | ~ Not present ~ | 1.15.0 |
Vue 2.x will reach EOL on December 31st, 2023, Vue dependency was bumped to 3.2.
Every linked dependencies were also bumped to higher version to keep 3.2 compatibility.
Please refer to: PR#28463 for an exhaustive list.