PrestaShop Core Weekly - Week 47 of 2021
An inside look at the PrestaShop codebase
This edition of the Core Weekly report highlights changes in PrestaShop’s core codebase from Monday 22th to Sunday 28th of November 2021.
General messages
Dear developers,
Two very interesting events last week:
First, PHP 8.1 was released on the 25th of November 2021. This release marks the latest minor release of the PHP language. Take a look at the PHP 8.1 announcement on php.net for more information.
Second, multiple companies, including the PrestaShop company, joined forces to form a PHP Foundation! The PHP Foundation will be a non-profit organization whose mission is to ensure the long life and prosperity of the PHP language.
Small reminder, the next session of public demonstration from the maintainers team will happen will be streamed live on Wednesday, December 1, 2021, at 4 pm CEST. See you then!
Releases
- Statsbestcustomers module: v2.0.3
- Productcomments module: v5.0.0
- Ps_supplierlist module: v1.0.4
- phpstan-prestashop: 2.0.0
A quick update about PrestaShop’s GitHub issues and pull requests:
- 58 new issues have been created in the project repositories;
- 37 issues have been closed, including 10 fixed issues on the core;
- 64 pull requests have been opened in the project repositories;
- 60 pull requests have been closed, including 51 merged pull requests.
Code changes in the ‘develop’ branch
Core
- #26650: Remove code linked to
gapi
Module, by @Progi1984 - #26518: PHPStan (Level 0) on controllers/, by @Progi1984
- #26478: PHPStan (Level 3) on classes/, by @Progi1984
- #26075: Do not use virtual cart for saving quantity in stock. Thank you @Hlavtox
Back office
- #26616: In BackOffice, removes unused RTL files and its calls. Thank you @mparvazi
- #26601: Do not use hook alias - follow-up. Thank you @SharakPL
- #26522: Fixed display of errors in Carrier Wizard, by @Progi1984
- #25920: Handle related products in new product page, by @jolelievre
Front office
- #26673: Fix button alignment inside input-group. Thank you @SharakPL
- #26658: Remove lazy load for logo. Thank you @iqit-commerce
- #25064: Link improvements, mainly for customers not logged in. Thank you @Hlavtox
Tests
- #26765: Freeze php-cs-fixer version, by @matks
- #26757: Fix nightly 25/11 - Fix footer links test. Thank you @nesrineabdmouleh
- #26697: Upgrade pcre2 in Github Actions, by @atomiix
- #26688: Improve some selectors on FO and view suppliers page, by @boubkerbribri
Code changes in the ‘1.7.8.x’ branch
Core
- #26630: Bump version to 1.7.8.3, by @Progi1984
Back office
- #26691: In BackOffice, fixed the header search box oversized height. Thank you @mparvazi
- #26607: Fix unnecessary scrollbar. Thank you @Hlavtox
- #26481: Fixed Recalculate Shipping when the carrier of an order is changed, by @Progi1984
Front office
Code changes in modules, themes & tools
Changes in developer documentation sources
- #1237: Add “Override a module”. Thank you @marsaldev
- #1230: Fix hookActionFrontControllerSetVariables smarty exemple, by @PierreRambaud
- #1229: Fix assign custom slip vars, by @PierreRambaud
- #1228: Improve JS toggle doc, by @PierreRambaud
- #1226: Replaced deprecated method, by @PierreRambaud
- #1208: Fixed links to ModuleFrontController.php. Thank you @SebSept
- #1203: Add “Override a module”. Thank you @marsaldev
Customer account links module
- #35: Update php compatiblity to >=PHP5.6, by @PierreRambaud
- #34: Link improvements, mainly for customers not logged in. Thank you @Hlavtox
Customer reassurance block module
- #316: Bump webpack from 5.64.2 to 5.64.3. Built by @dependabot[bot]
- #315: Bump webpack from 5.64.1 to 5.64.2. Built by @dependabot[bot]
Faceted search module
- #561: Bump webpack from 5.64.2 to 5.64.3. Built by @dependabot[bot]
- #560: Bump webpack from 5.64.1 to 5.64.2. Built by @dependabot[bot]
Supplier list module
- #10: Release 1.0.4. Thank you @okom3pom
- #9: Bump version to 1.0.4. Thank you @PrestaEdit
User documentation landing page
- #154: fix(deps): bump actions/cache from 2.1.6 to 2.1.7. Built by @dependabot[bot]
New Front-office theme
- #123: Add .editorconfig. Thank you @rodriciru
- #122: Update some modules to mach styles. Thank you @rodriciru
PrestaShop PHPStan extension
PrestaShop PHP Informations Tool
- #23: Change recommended php version to 7.4. Thank you @jf-viguier
Featured products module
GDPR module
- #150: No optin for [email protected] email. Thank you @okom3pom
PrestaShop Specifications
- #257: Specs for contact. Thank you @Saimis777
Wishlist block module
- #130: Fix upgrade from previous versions, by @Matt75
- #128: Fix modal problem on bootstrap 4+ and eslint problem, by @NeOMakinG
Cross-selling module
Best customers statistics module
- #20: Release 2.0.3, by @Progi1984
Thank you to the contributors whose pull requests were merged since the last Core Weekly Report: @marsaldev, @matks, @PierreRambaud, @nesrineabdmouleh, @dependabot[bot], @okom3pom, @rodriciru, @Progi1984, @atomiix, @PrestaEdit, @jf-viguier, @mparvazi, @boubkerbribri, @SharakPL, @iqit-commerce, @le-melon, @Hlavtox, @SebSept, @Saimis777, @jolelievre, @Matt75, @NeOMakinG, @Rolige!
Thank you to the contributors whose PRs haven’t been merged yet! And of course, a big thank you to all those who contribute with issues and comments on GitHub!
If you want to contribute to PrestaShop with code, please read these pages first:
…and if you do not know how to fix an issue but wish to report it, please read this: How to use GitHub to report an issue. Thank you!
Happy contributin’ everyone!