PrestaShop Core Weekly - Week 52 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 27th of December 2021 to Sunday 1st of January 2022.
General messages
Dear developers,
Wish you get all the success this year. Hope that joy and success follow you in every sector of life. Happy New Year 2022!
Releases
- Statsforecast module: v2.0.3
- Statsnewsletter module: v2.0.2
- Ps_wirepayment module: v2.1.1
- Ps_dataprivacy module: v2.1.0
A quick update about PrestaShop’s GitHub issues and pull requests:
- 40 new issues have been created in the project repositories;
- 48 issues have been closed, including 12 fixed issues on the core;
- 89 pull requests have been opened in the project repositories;
- 76 pull requests have been closed, including 60 merged pull requests.
Code changes in the ‘develop’ branch
Core
- #27126: Bump modules, by @Progi1984
- #27116: Replace a
die()
by PrestaShopException. Thank you @clotairer - #27113: Remove Tools::addonsRequest(‘customer_themes’) calls (Part 2), by @Progi1984
- #27107: PHPStan (Level 2) on tests/, by @Progi1984
- #27070: Improve license headers, by @matks
- #27044: Add new Twig namespace PrestaShopCore, by @atomiix
- #26946: Use github actions for nightly tests, by @boubkerbribri
- #26267: Trigger a deprecated when using a hook alias and correctly handle errors, by @PierreRambaud
Back office
- #27108: Add the required length to create a webservice key into form. Thank you @PrestaEdit
- #27106: Update webservice doc URL to reach 8 version. Thank you @PrestaEdit
- #26609: Fix combination supplier changes not taking effect. Thank you @zuk3975
Front office
- #27079: Fix the checkout button for the longer text, by @kpodemski
- #26954: Customer is able to see order detail page via link even order share is disabled in multishop. Thank you @Amit-Kumar-Tiwari-Webkul
- #26791: Add redirect with notifications. Thank you @Lionel-dev
Tests
- #27152: Fix Nightly - Add test to delete cart rule from create simple order from BO. Thank you @nesrineabdmouleh
- #27151: Increase navigation timeout on multistore tests and fix ecotax test, by @boubkerbribri
- #27138: Support disabling DEV_MODE on Docker, by @boubkerbribri
- #27125: PHPStan (Level 3) on tests/, by @Progi1984
- #27105: Fix nightly workflow by adding branch to push job, by @boubkerbribri
- #27100: Functional test - Fix ‘Add discount’ test. Thank you @nesrineabdmouleh
Code changes in the ‘1.7.8.x’ branch
Back office
- #27114: Fix color picker bug when multiple colorpickers are present, by @Progi1984
Front office
- #26706: Fix menu and searchbar on tablet on classic, by @NeOMakinG
Code changes in modules, themes & tools
Customer reassurance block module
- #331: Bump @babel/core from 7.16.5 to 7.16.7. Built by @dependabot[bot]
- #330: Bump node-sass from 7.0.0 to 7.0.1. Built by @dependabot[bot]
Faceted search module
- #581: Bump @babel/core from 7.16.5 to 7.16.7. Built by @dependabot[bot]
- #580: Bump @babel/register from 7.16.5 to 7.16.7. Built by @dependabot[bot]
- #579: Bump @babel/cli from 7.16.0 to 7.16.7. Built by @dependabot[bot]
- #578: Bump @babel/node from 7.16.5 to 7.16.7. Built by @dependabot[bot]
- #577: Bump @babel/preset-env from 7.16.5 to 7.16.7. Built by @dependabot[bot]
- #576: Bump node-sass from 7.0.0 to 7.0.1. Built by @dependabot[bot]
Changes in developer documentation sources
- #1262: Proper way to include Grid components in js context, by @PierreRambaud
- #1260:
updateProduct
&updatedProduct
events should have different descriptions. Thank you @dali-rajab - #1256: Update twig templates override in modules, by @atomiix
- #1252: Document configuration console command. Thank you @tswfi
Product Comments module
- #127: Missing changes for displayHeader hook, by @PierreRambaud
- #126: Switch from deprecated ‘header’ hook to ‘displayHeader’. Thank you @tswfi
Catalog evaluation statistics module
- #19: Do not use hook AdminStatsModules alias, use displayAdminStatsModules & Bump version to 2.0.2. Thank you @PrestaEdit
Carrier distribution statistics module
- #10: Do not use hook AdminStatsModules alias, use displayAdminStatsModules & Bump version to 2.0.1. Thank you @PrestaEdit
Shop search statistics module
- #13: Do not use hook AdminStatsModules alias, use displayAdminStatsModules & Bump version to 2.0.2. Thank you @PrestaEdit
Registered customer information statistics module
- #16: Do not use hook AdminStatsModules alias, use displayAdminStatsModules & Bump version to 2.0.4, by @PierreRambaud
- #14: Revert “Do not use hook AdminStatsModules alias, use displayAdminStatsModules & Bump version to 2.0.4”, by @PierreRambaud
- #13: Do not use hook AdminStatsModules alias, use displayAdminStatsModules & Bump version to 2.0.4. Thank you @PrestaEdit
Pages not found module
- #18: Do not use hook AdminStatsModules alias, use displayAdminStatsModules & Bump version to 2.0.2. Thank you @PrestaEdit
Best vouchers statistics module
- #12: Do not use hook AdminStatsModules alias, use displayAdminStatsModules & Bump version to 2.0.1. Thank you @PrestaEdit
Best-selling products statistics module
- #12: Do not use hook AdminStatsModules alias, use displayAdminStatsModules & Bump version to 2.0.1. Thank you @PrestaEdit
Best manufacturers statistics module
- #11: Do not use hook AdminStatsModules alias, use displayAdminStatsModules & Bump version to 2.0.1. Thank you @PrestaEdit
Best categories statistics module
- #13: Do not use hook AdminStatsModules alias, use displayAdminStatsModules & Bump version to 2.0.1. Thank you @PrestaEdit
Newsletter statistics module
- #11: Do not use hook AdminStatsModules alias, use displayAdminStatsModules & Bump version to 2.0.3. Thank you @PrestaEdit
Product details statistics module
- #27: Do not use hook AdminStatsModules alias, use displayAdminStatsModules & Bump version to 2.1.1. Thank you @PrestaEdit
Registrations statistics modules
- #11: Do not use hook AdminStatsModules alias, use displayAdminStatsModules & Bump version to 2.0.1. Thank you @PrestaEdit
Sales and orders statistics module
- #26: Do not use hook AdminStatsModules alias, use displayAdminStatsModules. Thank you @PrestaEdit
User documentation landing page
- #172: fix(deps): bump actions/setup-node from 2.5.0 to 2.5.1. Built by @dependabot[bot]
Stats Dashboard module
- #21: Do not use hook AdminStatsModules alias, use displayAdminStatsModules & Bump version to 2.0.4. Thank you @PrestaEdit
Wire payment module
- #66: Release 2.1.1, by @Progi1984
- #65: Do not use hook
paymentReturn
alias, usedisplayPaymentReturn
, by @Progi1984
Wishlist block module
- #142: Bump to 2.1.0, by @PierreRambaud
Customer data privacy block module
- #35: Release 2.1.0, by @PierreRambaud
presthubot
- #41:
slack:notifier
: Exclude prestashop-specs from PR sent to devs, by @Progi1984
Thank you to the contributors whose pull requests were merged since the last Core Weekly Report: @dependabot[bot], @nesrineabdmouleh, @boubkerbribri, @PierreRambaud, @tswfi, @PrestaEdit, @Progi1984, @clotairer, @atomiix, @dali-rajab, @eternoendless, @kpodemski, @matks, @Amit-Kumar-Tiwari-Webkul, @Lionel-dev, @NeOMakinG, @zuk3975!
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!