This edition of the Core Weekly report highlights changes in PrestaShop’s core codebase from Monday 19th to Sunday 25th of July 2021.
General messages
Dear developers,
In case you missed it, we moved the next Public OSS Demo session date to Wednesday, August 4, 2021 at 4pm CEST. We noticed that 2pm CEST was a little early in the morning for people watching us live from the Americas, so we decided that future sessions will start two hours later — at 4pm. We hope this will encourage more of our community to watch the demo live and discuss with us :smile:
Also we are really proud to announce that PrestaShop Core is compatible with PHP 8.0 in the develop
branch thanks to @atomiix. The full project is not entirely compliant with PHP 8 yet (some modules need dependencies updates) but this is a major milestone for PrestaShop, just in time to greet the first beta of PHP 8.1 that was released on July 22!
Releases
A quick update about PrestaShop’s GitHub issues and pull requests:
- 37 new issues have been created in the project repositories;
- 43 issues have been closed, including 9 fixed issues on the core;
- 47 pull requests have been opened in the project repositories;
- 78 pull requests have been closed, including 65 merged pull requests.
Code changes in the ‘develop’ branch
Core
- #25410: Make sure order variable exists and also return the order_list variable in actionValidateOrderAfter hook, by @PierreRambaud
- #25391: Fixed PHPDoc, by @Progi1984
- #25296: Make PrestaShop compatible with PHP 8.0, by @atomiix
- #25212: Fixed typo
Country.php
. Thank you @Arnaud104 - #23798: Replace ProductInterface occurences by RedirectType. Thank you @Sinepel
Back office
- #25295: Allow enable/disable selection for customers in Customer Groups, by @Progi1984
- #25169: Cart rule category selection : display categories in a hierarchical way. Thank you @jf-viguier
Front office
Tests
- #25411: Use only one file for sanity, remove sanity-80.yml, by @PierreRambaud
- #25403: Fixed Unit Tests, by @Progi1984
- #25325: Allow GitHub UI tests to run on branch push, by @matks
Code changes in the ‘1.7.8.x’ branch
Back office
- #25364: Fix inputs prefilling bug when a combination is added to an order, by @jolelievre
- #25038: Fix TinyMCE max length computing in BO, by @jolelievre
- #24620: No email check in BO > Advanced Parameters > Logs page. Thank you @okom3pom
Front office
- #25316: Fix blocking add to cart button. Thank you @kpodemski
Tests
- #25365: Re-enable Behat test about product duplicate translation, by @matks
- #25341: Functional tests - Refacto modules and design tests. Thank you @nesrineabdmouleh
- #25320: Fix languages test install, by @jolelievre
- #25259: Functional tests - Refacto attributes and features tests. Thank you @nesrineabdmouleh
- #25250: Functional tests - Refacto monitoring tests. Thank you @nesrineabdmouleh
- #25249: Create more order statuses to allow pagination, by @boubkerbribri
- #25233: Functional tests - Refacto categories tests. Thank you @nesrineabdmouleh
- #25219: Functional tests - Refacto products tests. Thank you @nesrineabdmouleh
- #25201: Functional tests - (Refacto) Delete ‘uppercaseFirstCharacter()’ method. Thank you @nesrineabdmouleh
- #25171: Functional tests - Refacto login tests. Thank you @nesrineabdmouleh
- #25167: Functional tests - CRUD cart rule with/without code. Thank you @nesrineabdmouleh
- #25150: Fix pagination condition on shopping cart test, by @boubkerbribri
Code changes in the ‘1.7.7.x’ branch
Back office
- #25378: Order Product Search: Limit only if the search phrase length is greater than 2 characters and HTTP Code Error become a 400, by @Progi1984
- #25375: In Order view, set the lang of the order for order messages, by @Progi1984
- #25326: Create empty Customer when the customer or the guest has been deleted, by @PierreRambaud
Installer
Code changes in modules, themes & tools
Changes in developer documentation
- #1092: Moved some overrides to the theme , by @Progi1984
- #1091: Extract theme to a specific repository, by @Progi1984
- #1087: Fix broken hooks list, by @eternoendless
- #1086: Update module configuration page tutorial, by @eternoendless
- #1082: Expand HelperForm documentation, by @eternoendless
Customer reassurance block module
- #243: Bump webpack from 5.45.1 to 5.46.0. Built by @dependabot[bot]
- #242: Bump @babel/core from 7.14.6 to 7.14.8. Built by @dependabot[bot]
- #241: Bump style-loader from 3.1.0 to 3.2.1. Built by @dependabot[bot]
- #240: Bump css-loader from 6.1.0 to 6.2.0. Built by @dependabot[bot]
- #239: Bump css-loader from 6.0.0 to 6.1.0. Built by @dependabot[bot]
- #238: Bump webpack from 5.44.0 to 5.45.1. Built by @dependabot[bot]
Faceted search module
- #476: Bump webpack from 5.45.1 to 5.46.0. Built by @dependabot[bot]
- #475: Bump @babel/cli from 7.14.5 to 7.14.8. Built by @dependabot[bot]
- #474: Bump @babel/core from 7.14.6 to 7.14.8. Built by @dependabot[bot]
- #473: Bump @babel/preset-env from 7.14.7 to 7.14.8. Built by @dependabot[bot]
- #472: Bump css-loader from 6.1.0 to 6.2.0. Built by @dependabot[bot]
- #471: Bump css-loader from 6.0.0 to 6.1.0. Built by @dependabot[bot]
- #470: Bump webpack from 5.44.0 to 5.45.1. Built by @dependabot[bot]
Contextual Help Api
- #3: Update license headers and install extension http, by @sowbiba
- #1: Initial commit - Functional App, by @sowbiba
Core Weekly Generator tool
User documentation landing page
- #94: fix(deps): bump actions/setup-node from 2.2.0 to 2.3.0. Built by @dependabot[bot]
- #93: chore(deps-dev): bump eslint from 7.30.0 to 7.31.0. Built by @dependabot[bot]
stylelint configuration
- #19: Bump stylelint-config-twbs-bootstrap from 2.2.2 to 2.2.3. Built by @dependabot[bot]
- #18: Bump stylelint-config-twbs-bootstrap from 2.2.1 to 2.2.2. Built by @dependabot[bot]
Links list module
TranslationTools Bundle
Contact Form module
- #56: Added WebP as authorized extension in Attachment, by @Progi1984
Social Follow module
Customer “Sign in” link module
Wishlist block module
- #114: Facilitate customizations of the module, by @NeOMakinG
- #109: Javascript bundles optimization. Thank you @Oksydan
Auto Upgrade module
- #369: Avoid drop of some tables like guests, by @Quetzacoalt91
Thank you to the contributors whose pull requests were merged since the last Core Weekly Report: @Progi1984, @PierreRambaud, @dependabot[bot], @sowbiba, @matks, @atomiix, @eternoendless, @jolelievre, @nesrineabdmouleh, @kpodemski, @Seb33300, @boubkerbribri, @Arnaud104, @okom3pom, @lmeyer1, @jf-viguier, @Hlavtox, @NeOMakinG, @Oksydan, @Sinepel, @Quetzacoalt91!
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!