This edition of the Core Weekly report highlights changes in PrestaShop’s core codebase from Monday 23th to Sunday 29th of November 2020.
General messages
Dear developers,
The past week has seen many major releases for the PHP ecosystem: PHP 8.0, Xdebug 3, Flysystem 2 and multiple versions of Symfony including the last Symfony 3 release: v3.4.47. Symfony 3 now enters Security Support stage where only critical security issues are fixed.
We are immensely proud to announce that PrestaShop 1.7.7.0 was released this week, one more item on this list!
Last week, thanks to the huge work of QA Team, multiples issues had been identified in the Release Candidate and had been fixed. At the start of the week, multiple issues in the upgrade process from previous 1.7 versions to 1.7.7.0 were also identified.
As the ability to upgrade is a major keystone for security and stability, we fixed these upgrade issues in PrestaShop 1.7.7.0 and released a patched version of the Autoupgrade module. If you plan on upgrading your shop to 1.7.7 and your current version is below 1.7.6 you need this version (v4.11.0) of the autoupgrade module.
As usual, it is recommended to be careful before starting to update your website to the latest version:
- Backup your database and your files
- Test the update on a testing or pre production server
- If everything is fine, then update on the production environment
A quick update about PrestaShop’s GitHub issues and pull requests:
- 68 new issues have been created in the project repositories;
- 65 issues have been closed, including 9 fixed issues on the core;
- 102 pull requests have been opened in the project repositories;
- 87 pull requests have been closed, including 69 merged pull requests.
Code changes in the ‘develop’ branch
Core
- #22087: Do not generate the data variable if it’s not needed in PaymentModule, by @PierreRambaud
- #21582: Mark parameter deprecated for a future version. Thank you @okom3pom
Back office
- #22090: Remove redundant customization field commands. Thank you @zuk3975
- #22061: Add select2 to the import localization select, by @NeOMakinG
- #21345: Refactor UpdateProductSeoHandler to use ProductRepository. Thank you @zuk3975
-
#21336: Refactor UpdateProductPricesHandler to use ProductRepository . Thank you @zuk3975
Feilsøking og reperasjon av nettsider og nettbutikker
- #21103: Introduce UpdateProductStockCommand, by @jolelievre
- #20518: Add GenerateProductCombinationsCommand. Thank you @zuk3975
Front office
- #22027: Remove duplicate id on product-list-bottom, by @NeOMakinG
Tests
- #22054: Add test ‘Erase all’ emails. Thank you @nesrineabdmouleh
- #22019: Add test ‘Search bulk actions’. Thank you @nesrineabdmouleh
- #21993: Adjust behats localized fields assertion and add LocalizedArrayTransformContext . Thank you @zuk3975
Code changes in the ‘1.7.7.x’ branch
Core
- #22130: Fix dependency which is targeting the v1.3.0 instead of the 1.3 branch, by @PierreRambaud
Back office
- #22013: Handle parallel updates from CartRules when updating a product in Order, by @jolelievre
Tests
- #22055: Delete spaces in the end of title name in faker for UI tests, by @boubkerbribri
Code changes in modules, themes & tools
Theme customization module
- #36: Update short description and logo. Thank you @Julievrz
- #34: Bump prestashop/php-dev-tools from 3.10 to 3.11. Thank you @dependabot
- #33: Improve Project, by @Progi1984
Customer reassurance block module
- #83: Bump babel-loader from 8.2.1 to 8.2.2. Thank you @dependabot
- #81: Bump @babel/core from 7.12.7 to 7.12.9. Thank you @dependabot
- #80: Bump @babel/core from 7.12.3 to 7.12.7. Thank you @dependabot
Faceted search module
- #268: Bump babel-loader from 8.2.1 to 8.2.2. Thank you @dependabot
- #267: Bump webpack from 5.6.0 to 5.8.0. Thank you @dependabot
- #266: Bump @babel/core from 7.12.7 to 7.12.9. Thank you @dependabot
- #265: Bump @babel/cli from 7.12.7 to 7.12.8. Thank you @dependabot
- #264: Bump prestashop/php-dev-tools from 3.10 to 3.11. Thank you @dependabot
- #263: Bump @babel/core from 7.12.3 to 7.12.7. Thank you @dependabot
- #262: Bump @babel/cli from 7.12.1 to 7.12.7. Thank you @dependabot
- #261: Bump @babel/preset-env from 7.12.1 to 7.12.7. Thank you @dependabot
- #254: Bump css-loader from 4.3.0 to 5.0.1. Thank you @dependabot
Auto Upgrade module
- #362: Remove useless E2E tests, by @matks
- #361: Test upgrades for PS1.7 with php7.1, by @matks
- #360: Move PHPUnit Tests to GA, by @matks
- #357: Fix probably bad directory name, by @matks
- #356: Install the Database for tests, by @PierreRambaud
- #353: Remove useless and outdated changelog file, by @matks
Core Weekly Generator tool
- #66: Bump dot-prop from 4.2.0 to 4.2.1. Thank you @dependabot
- #65: Bump highlight.js from 9.15.10 to 9.18.5. Thank you @dependabot
Changes in developer documentation
- #818: Wrong path on overrading templates. Thank you @OliverCG
- #817: Remove GoogleDoc link, replace it with new page links, by @matks
- #815: Introduce web version of autoupgrade module, by @matks
- #814: Some formatting improvements and links for Keeping Up To Date section, by @matks
- #813: Split Upgrade details in 2 pages ; one for module upgrade ; one for manual upgrade, by @matks
- #812: Better title UIKit section, by @matks
- #811: Rename file to fix typo in Doctrine multilang url, by @jolelievre
- #810: Add documentation about Doctrine multi lang entities, by @jolelievre
- #809: Add “Insert multiple rows” example to db.md. Thank you @mikevoid101
Custom text module
- #49: Bump prestashop/php-dev-tools from 3.10 to 3.11. Thank you @dependabot
OnBoarding module
- #90: Bump prestashop/php-dev-tools from 3.10 to 3.11. Thank you @dependabot
Dashboard Trends module
- #39: Bump prestashop/php-dev-tools from 3.10 to 3.11. Thank you @dependabot
Customer “Sign in” link module
- #28: Bump prestashop/php-dev-tools from 3.10 to 3.11. Thank you @dependabot
Check payment module
- #43: Bump prestashop/php-dev-tools from 3.10 to 3.11. Thank you @dependabot
Product Comments module
- #82: Bump prestashop/php-dev-tools from 3.10 to 3.11. Thank you @dependabot
- #79: Improve project, by @Progi1984
Order Notifications on the Favicon module
- #24: Bump prestashop/php-dev-tools from 3.10 to 3.11. Thank you @dependabot
Docker images
- #247: Properly use cache parameter, by @PierreRambaud
- #246: Add nightly support and PHP 7.4, by @PierreRambaud
- #245: Do not generate images we don’t use, by @PierreRambaud
- #244: Update base images, by @PierreRambaud
- #243: Replace outdated Travis badge by GA badges, by @matks
- #242: Small improvement for the README, by @matks
- #241: Fix typo, by @matks
PHP Developer Tools
Customer data privacy block module
- #23: Improve project, by @Progi1984
Catalog statistics module
- #15: Improve project, by @Progi1984
PrestaShop Specifications
- #176: Specify module upload failed, by @LouiseBonnard
Google Analytics module
- #77: Fix backoffice JS code, fix doubled and tripled pageviews, fix echo in hook, fix default BO tracking – for versions up to 1.7.6. Thank you @Hlavtox
Thank you to the contributors whose pull requests were merged since the last Core Weekly Report: @Julievrz, @dependabot, @PierreRambaud, @matks, @OliverCG, @zuk3975, @jolelievre, @NeOMakinG, @boubkerbribri, @nesrineabdmouleh, @SebSept, @Progi1984, @mikevoid101, @LouiseBonnard, @okom3pom, @Hlavtox!
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!
This post is also available in: English