PrestaShop Core Weekly - Week 7 of 2022
An inside look at the PrestaShop codebase
This edition of the Core Weekly report highlights changes in PrestaShop’s core codebase from Monday 14th to Sunday 20th of February 2022.
General messages
Dear developers,
Last week, the maintainer team presented the new Front-office theme we are working on. At the same time we submitted a poll to choose the name of this new theme.
Don’t hesitate to tell us your feedback on this project, to do so join the discussion on slack. The community is being regularly consulted there to make sure the new theme will meet the expectations and needs of everyone.
Also did you notice three security releases of PHP were published last week? PHP 8.1.3, PHP 8.0.16 and PHP 7.4.28 fix a vulnerability in input validation code. We encourage everybody to upgrade to these versions.
Releases
- Blockreassurance module: v5.1.0
A quick update about PrestaShop’s GitHub issues and pull requests:
- 55 new issues have been created in the project repositories;
- 65 issues have been closed, including 22 fixed issues on the core;
- 115 pull requests have been opened in the project repositories;
- 110 pull requests have been closed, including 105 merged pull requests.
Code changes in the ‘develop’ branch
Core
- #27546: Use CSSO Webpack plugin everywhere, by @NeOMakinG
- #27276: Remove useless legacyContextLoader, by @atomiix
- #26913: PHPStan (Level 5) on classes/, by @Progi1984
Back office
- #27700: Refactor gelocation configuration form before it can be migrated as multistore compatible, by @matthieu-rolland
- #27698: Fixed Help Link in Merchandise Returns page, by @Progi1984
- #27648: Removed double escape for Tree Node template, by @Progi1984
- #27584: Multishop product basic, by @jolelievre
- #27444: Remove code relative to the (removed) news block on dashboard, by @Progi1984
- #27443: Minor cleanup and styling. Thank you @Hlavtox
- #27381: Removed double escape for Tree Node template, by @Progi1984
- #27228: Fix FormSubmitButton selector, by @atomiix
- #27175: Avoid exception and display appropriate message in database backup. Thank you @Amoifr
Front office
- #27467: Support 410 gone http code. Thank you @jf-viguier
Tests
- #27729: Fix nightly 18-02-2022 . Thank you @nesrineabdmouleh
- #27687: Functional tests - Add some refacto to ‘Search customer’ test from new order page. Thank you @nesrineabdmouleh
- #27682: Functional tests - Add some refacto to ‘Create customer’ test from new order page. Thank you @nesrineabdmouleh
- #27668: Functional tests - Fix quick access link test and unskip fixed tests. Thank you @nesrineabdmouleh
- #27664: Fix nightly 14-02-2022. Thank you @nesrineabdmouleh
- #27649: Added survival test for Outstanding page, by @Progi1984
Code changes in the ‘1.7.8.x’ branch
Core
- #27647: Bump productcomments to 5.0.1, by @Progi1984
- #27614: Updated modern email theme, by @Progi1984
Back office
- #27430: Align checkboxes of multistore widget, by @NeOMakinG
Front office
- #27406: Don’t check if an invalid address exists over and over again, by @eternoendless
Web services
- #27622: Fix Symfony Kernel in WebService dispatcher in 1.7.8.x. Thank you @jf-viguier
Tests
- #27679: Fix preview email themes test. Thank you @nesrineabdmouleh
Code changes in modules, themes & tools
Changes in developer documentation sources
- #1302: Backport PR 1290 to 8.x. Thank you @clotairer
- #1301: Backport PR 1248 to 1.7.x, by @matks
- #1300: Backport PR 1284 to 8.x, by @matks
- #1299: Backport PR 1260 to 8.x, by @matks
- #1298: Backport PR 1255 on 8.x, by @matks
- #1297: Backport PR 1262 to 8.x, by @matks
- #1296: Backport “Import commit guidelines” to 1.7.x, by @matks
- #1295: Backport PR 1294 to 1.7.x, by @matks
- #1294: Delete deprecated reference to automated tests on themes forlder, by @boubkerbribri
- #1293: Remove mentions to Addons in use-autoupgrade-module, by @matks
- #1292: Remove mention to Addons in theme section, by @matks
- #1291: Improve distribution page, by @matks
- #1290: Fix link 404 on ressource test page. Thank you @clotairer
- #1289: Switch AND to OR. Thank you @PrestaEdit
- #1288: Switch AND to OR. Thank you @PrestaEdit
Example modules
- #89: Bump url-parse from 1.5.3 to 1.5.7 in /example_module_mailtheme. Built by @dependabot[bot]
Core Weekly Generator tool
- #115: Bump url-parse from 1.5.3 to 1.5.7. Built by @dependabot[bot]
- #114: Bump ini from 1.3.5 to 1.3.8. Built by @dependabot[bot]
- #113: Bump follow-redirects from 1.14.7 to 1.14.8. Built by @dependabot[bot]
Customer reassurance block module
- #367: Bump @babel/core from 7.17.4 to 7.17.5. Built by @dependabot[bot]
- #366: Bump webpack from 5.69.0 to 5.69.1. Built by @dependabot[bot]
- #364: In configure form, edit the block in all languages (active & inactive), by @Progi1984
- #363: Bump @babel/core from 7.17.2 to 7.17.4. Built by @dependabot[bot]
- #362: Bump sass-loader from 12.5.0 to 12.6.0. Built by @dependabot[bot]
- #361: Bump webpack from 5.68.0 to 5.69.0. Built by @dependabot[bot]
- #360: Bump sass-loader from 12.4.0 to 12.5.0. Built by @dependabot[bot]
- #357: Bump eslint from 8.8.0 to 8.9.0. Built by @dependabot[bot]
- #356: Release 5.1.0, by @Progi1984
Faceted search module
- #623: Bump webpack from 5.69.0 to 5.69.1. Built by @dependabot[bot]
- #622: Bump @babel/core from 7.17.4 to 7.17.5. Built by @dependabot[bot]
- #621: Bump sass-loader from 12.5.0 to 12.6.0. Built by @dependabot[bot]
- #620: Bump @babel/core from 7.17.2 to 7.17.4. Built by @dependabot[bot]
- #619: Bump @babel/cli from 7.17.0 to 7.17.3. Built by @dependabot[bot]
- #618: Bump webpack from 5.68.0 to 5.69.0. Built by @dependabot[bot]
- #617: Bump sass-loader from 12.4.0 to 12.5.0. Built by @dependabot[bot]
- #616: Bump eslint from 8.8.0 to 8.9.0. Built by @dependabot[bot]
Buy button lite module
- #60: Bump url-parse from 1.5.3 to 1.5.7 in /app. Built by @dependabot[bot]
- #59: Bump follow-redirects from 1.14.7 to 1.14.8 in /app. Built by @dependabot[bot]
Product Comments module
User documentation landing page
- #188: fix(deps): bump core-js from 3.21.0 to 3.21.1. Built by @dependabot[bot]
New Front-office theme
- #183: Rework the cart-summary panel, by @NeOMakinG
- #182: Introduce Jest, by @NeOMakinG
- #178: Styling of confirmation page and default module messages. Thank you @Hlavtox
- #144: Add support for line breaks. Thank you @Hlavtox
GDPR module
- #161: Removed hooks registerGDPRConsent & actionDeleteGDPRCustomer as hook listeners are not defined, by @Progi1984
Prestashop UI Kit
- #185: Bump follow-redirects from 1.14.7 to 1.14.8. Built by @dependabot[bot]
OnBoarding module
- #139: Bump node-sass from 7.0.0 to 7.0.1 and fix CI, by @NeOMakinG
Google Sitemap module
- #151: Improved Github Action (Support PHP 5.6 => 8.1), by @Progi1984
Email subscription module
- #88: Improved Github Action (Support PHP 5.6 => 8.1), by @Progi1984
Products in the same category module
- #31: Added Github Action for PHP (and support PHP 5.6 => 8.1), by @Progi1984
Cross-selling module
- #33: Improved Github Action (Support PHP 5.6 => 8.1), by @Progi1984
Issues Bot
- #46: Bump hosted-git-info from 2.8.5 to 2.8.9. Built by @dependabot[bot]
- #45: Bump y18n from 4.0.0 to 4.0.3. Built by @dependabot[bot]
- #44: Bump lodash from 4.17.20 to 4.17.21. Built by @dependabot[bot]
- #43: Bump glob-parent from 5.1.0 to 5.1.2. Built by @dependabot[bot]
- #42: Bump url-parse from 1.4.7 to 1.5.6. Built by @dependabot[bot]
- #41: Bump normalize-url from 4.5.0 to 4.5.1. Built by @dependabot[bot]
- #40: Bump path-parse from 1.0.6 to 1.0.7. Built by @dependabot[bot]
- #39: Bump ws from 5.2.2 to 5.2.3. Built by @dependabot[bot]
- #38: Bump tmpl from 1.0.4 to 1.0.5. Built by @dependabot[bot]
- #37: Bump node-fetch from 2.6.1 to 2.6.7. Built by @dependabot[bot]
- #36: Bump ajv from 6.11.0 to 6.12.6. Built by @dependabot[bot]
Wire payment module
- #69: Improved Github Action (Support PHP 5.6 => 8.1), by @Progi1984
Social Follow module
- #33: Added Github Action for PHP (and support PHP 5.6 => 8.1), by @Progi1984
Auto Upgrade module
- #461: Bump follow-redirects from 1.14.7 to 1.14.8 in /tests/e2e. Built by @dependabot[bot]
- #456: Add 410 http code to redirect_type column. Thank you @jf-viguier
- #451: Check last version module. Thank you @okom3pom
- #434: Use GenerateThemeMailTemplatesCommand during upgrade, by @jolelievre
Stylelint browser compatibility plugin
- #15: Bump ajv from 6.10.2 to 6.12.6. Built by @dependabot[bot]
Traces
- #23: Update CONTRIBUTORS.md. Thank you @PrestaEdit
- #22: Exclude more bots. Thank you @PrestaEdit
Share Buttons module
- #53: Added Github Action for PHP (and support PHP 5.6 => 8.1), by @Progi1984
Viewed products block module
- #24: Added Github Action for PHP (and support PHP 5.6 => 8.1), by @Progi1984
Suppliers list module
- #12: Added Github Action for PHP (and support PHP 5.6 => 8.1), by @Progi1984
Special offers module
- #7: Added Github Action for PHP (and support PHP 5.6 => 8.1), by @Progi1984
New Products module
- #13: Added Github Action for PHP (and support PHP 5.6 => 8.1), by @Progi1984
Brands list module
- #13: Added Github Action for PHP (and support PHP 5.6 => 8.1), by @Progi1984
Theme customization module
- #51: Improved Github Action (Support PHP 5.6 => 8.1), by @Progi1984
Shopping cart module
- #84: Improved Github Action (Support PHP 5.6 => 8.1), by @Progi1984
- #83: Fix php notices while loading subtotals. Thank you @SharakPL
Thank you to the contributors whose pull requests were merged since the last Core Weekly Report: @clotairer, @dependabot[bot], @matks, @boubkerbribri, @nesrineabdmouleh, @nenes25, @matthieu-rolland, @Progi1984, @NeOMakinG, @PrestaEdit, @Hlavtox, @jf-viguier, @jolelievre, @eternoendless, @okom3pom, @SharakPL, @atomiix, @Amoifr!
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!