This edition of the Core Weekly report highlights changes in PrestaShop’s core codebase from Monday 28th of March to Sunday 3rd of April 2022.
General messages
Dear developers,
Two major works were merged last week: the new header design for the product page by @jolelievre and a new extensible module manager by @atomiix. The next session of the public PrestaShop demo from the maintainers team will also happen this week on Wednesday at 4pm CET.
Releases
A quick update about PrestaShop’s GitHub issues and pull requests:
- 51 new issues have been created in the project repositories;
- 40 issues have been closed, including 12 fixed issues on the core;
- 71 pull requests have been opened in the project repositories;
- 74 pull requests have been closed, including 68 merged pull requests.
Code changes in the ‘develop’ branch
Core
- #28060: Removed phpstan-ignore with use of
dynamicConstantNames
, by @Progi1984 - #28021: Remove HookExtension::hookCount method, by @PierreRambaud
- #27983: Fix PHPDoc on Address class. Thank you @comxd
- #27723: Bump PHPStan from 0.12.88 to 1.5, by @Progi1984
- #27662: Allow X at the end of ISBN. Thank you @okom3pom
- #26743: Provide modules information about old order status. Thank you @Hlavtox
Back office
- #28023: Fixed the wording translation for Enable/Disable Mobile in Modules page, by @Progi1984
- #27969: Add the possibility to load PHP / XML files for modules services. Thank you @intraordinaire
- #27853: BO Migration Contact > Stores - Add command, command handler and behat tests for bulk status toggle. Thank you @LouisAUTHIE
- #27632: New extensible module manager API, by @atomiix
- #27404: Simplify multistore service call in controllers. Thank you @PululuK
- #27233: Integrate new header design for product page, by @jolelievre
- #26938: SpecificPrice priority form. Thank you @zuk3975
- #26774: Fix missing canonicals. Thank you @Prestaworks
Front office
- #27941: displayOverrideTemplate hook not executing on checkout page due to naming issue.. Thank you @Amit-Kumar-Tiwari-Webkul
Tests
- #28095: Fix phpstan test with different php versions, by @atomiix
- #27454: Functional tests - Add new test “Select previous carts from BO > Add new order page”, by @khouloudbelguith
Code changes in the ‘1.7.8.x’ branch
Core
Back office
- #28076: Remove unwanted char, by @PierreRambaud
- #28031: Handle empty outstanding_allow_amount field, by @atomiix
Front office
- #27922: Avoid Notice: Trying to access array offset on value of type bool. Thank you @danidomen
Web services
- #27555: Fix update attachment webservice. Thank you @rsoulard-prolaser
Tests
- #27935: Fix nightly - Add iteration to search newsletter module from module catalog page. Thank you @nesrineabdmouleh
Code changes in modules, themes & tools
Issues Bot
- #74: Fix count authors for top watcher label applyance, by @matthieu-rolland
- #73: Fix crash when applying top watcher label, by @matthieu-rolland
presthubot
- #48: SlackNotifier : Added test duration in Nightly Report, by @Progi1984
- #46: Bump guzzlehttp/psr7 from 1.7.0 to 1.8.5. Built by @dependabot[bot]
PrestaShop Project Metrics
- #35: Enable developer week view, by @matks
- #32: Improve documentation, by @matks
- #31: Add command to delete review comment data webhook older than 3 days, by @matks
Hummingbird theme
- #224: Update ps_mainmenu.tpl. Thank you @rodriciru
- #220: Add useQuantityInput. Thank you @mparvazi
Changes in developer documentation sources
- #1339: Add actionOrderStatusPostUpdate hooks new params. Thank you @PululuK
- #1338: Fix minor typos. Thank you @itsvahid
- #1337: Doc possibility to load PHP / XML files for modules services. Thank you @PululuK
- #1336: Add Taking care of prestashop page (about database cleaning), by @matks
- #1335: Add child section to Scale, by @matks
- #1334: Document removed endpoints, by @eternoendless
- #1330: Update mobile actions. Thank you @PrestaEdit
- #1279: Fix usage of underscores in new translation system page. Thank you @jonpontet
Banner module
- #44: Bump minimist from 1.2.5 to 1.2.6 in /tests/E2E. Built by @dependabot[bot]
Contextual Help API
- #5: Bump guzzlehttp/psr7 from 2.0.0 to 2.2.1. Built by @dependabot[bot]
PrestonBot
- #128: Bump guzzlehttp/psr7 from 1.5.2 to 1.8.5. Built by @dependabot[bot]
Wishlist block module
- #168: Fix multiple modal open on wishlist list page, by @NeOMakinG
- #167: Bump minimist from 1.2.5 to 1.2.6. Built by @dependabot[bot]
- #166: Fixed wishlists list from frontoffice, by @Progi1984
Classic theme
- #19: Bump minimist from 1.2.5 to 1.2.6 in /_dev. Built by @dependabot[bot]
- #10: Add licences on build and update gitignore, by @NeOMakinG
Order Notifications on the Favicon module
PrestaShop contributors website
- #73: Bump elliptic from 6.5.3 to 6.5.4. Built by @dependabot[bot]
- #72: Bump node-notifier from 8.0.0 to 8.0.2. Built by @dependabot[bot]
- #71: Bump ua-parser-js from 0.7.22 to 0.7.31. Built by @dependabot[bot]
- #70: Bump ssri from 6.0.1 to 6.0.2. Built by @dependabot[bot]
- #69: Bump browserslist from 4.14.7 to 4.20.2. Built by @dependabot[bot]
- #67: Bump color-string from 1.5.4 to 1.9.0. Built by @dependabot[bot]
- #64: Bump nanoid from 3.1.18 to 3.3.1. Built by @dependabot[bot]
Customer reassurance block module
- #380: Bump minimist from 1.2.5 to 1.2.6. Built by @dependabot[bot]
- #379: Bump eslint from 8.11.0 to 8.12.0. Built by @dependabot[bot]
Faceted search module
- #638: Bump minimist from 1.2.5 to 1.2.6. Built by @dependabot[bot]
- #637: Bump eslint from 8.11.0 to 8.12.0. Built by @dependabot[bot]
stylelint configuration
- #30: Bump stylelint from 14.6.0 to 14.6.1. Built by @dependabot[bot]
Auto Upgrade module
- #472: Handle PrestaShop versions before 1.7.5.1 + CI fix, by @atomiix
- #450: Disabled upgrades of modules if the installed version is higher than this proposed by Addons, by @Progi1984
PrestaShop Specifications
- #318: Fix title about customers sessions. Thank you @PrestaEdit
Data mining for statistics module
- #20: Fix statistics error. Thank you @soulardromain
Thank you to the contributors whose pull requests were merged since the last Core Weekly Report: @matthieu-rolland, @Progi1984, @matks, @rodriciru, @PululuK, @atomiix, @itsvahid, @dependabot[bot], @PierreRambaud, @NeOMakinG, @eternoendless, @PrestaEdit, @mparvazi, @comxd, @intraordinaire, @Amit-Kumar-Tiwari-Webkul, @nesrineabdmouleh, @danidomen, @LouisAUTHIE, @okom3pom, @rsoulard-prolaser, @jonpontet, @khouloudbelguith, @jolelievre, @soulardromain, @zuk3975, @Prestaworks, @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!