This edition of the Core Weekly report highlights changes in PrestaShop’s core codebase from Monday 30th of November to Sunday 6th of December 2020.
General messages
Dear developers,
In case you did not see it, PrestaShop 1.7.7.0 was released last week!
Note that if you plan on upgrading your shop to 1.7.7 and your current version is below 1.7.6 you need the latest 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
Following the early adoption of PrestaShop 1.7.7, some bug reports have been submitted about upgrade issues. The maintainer and QA team are all hands on deck exploring and fixing these issues.
If you notice issues with PrestaShop 1.7.7.0, you can report it on GitHub and go even further by submitting a pull request to help fix it!
Releases
- PrestaShop: PrestaShop 1.7.7.0
- productcomments module: v4.2.1
- autoupgrade module: v4.11.0
- welcome module: v6.0.4
A quick update about PrestaShop’s GitHub issues and pull requests:
- 74 new issues have been created in the project repositories;
- 76 issues have been closed, including 39 fixed issues on the core;
- 96 pull requests have been opened in the project repositories;
- 109 pull requests have been closed, including 97 merged pull requests.
Code changes in the ‘develop’ branch
Core
- #22212: Fix missing comma in 1.7.8.0 update script, by @eternoendless
- #22183: Fix phpDoc in Db. Thank you @ksaandev
- #21075: Improve admin logs . Thank you @PululuK
Back office
- #22167: Add UpdateCombinationPrices command. Thank you @zuk3975
- #22132: Add UpdateCombinationOptionsCommand [product page migration]. Thank you @zuk3975
- #22102: Fix payment layout broken on small screens, by @NeOMakinG
- #22079: Use the same condition as it is in ShopUrlType, by @PierreRambaud
- #22073: Adjust container of positions page and alert size, by @NeOMakinG
- #21972: Change wrongs growls used into success one, by @NeOMakinG
- #21939: Fix number increase and validate button position on stock page, by @NeOMakinG
- #21468: Add event and object assign to symfony routes JS side, by @NeOMakinG
- #21309: Restore See More & See less for the Module Manager, by @PierreRambaud
- #21234: Simplified customer preferences. Thank you @JevgenijVisockij
- #20125: Multistore: assign a color to a shop group, by @matthieu-rolland
Front office
- #22076: Add new column template for displayLeft/Right hook, by @NeOMakinG
- #21996: Update logo name without shop name. Thank you @jeckyl
Installer
- #22234: Remove .docker folder on Release. Thank you @okom3pom
- #22207: Put invoice customization products on one line, by @NeOMakinG
Tests
- #22225: Bump PHP version for GitHub Actions to php7.4, by @matks
- #22194: Delete unused function on the linkchecker, by @boubkerbribri
- #22184: Fix step sorting by date in test “Sort and pagination cart rules”, by @boubkerbribri
Code changes in the ‘1.7.7.x’ branch
Core
- #22182: Update pear/archive_tar to 1.4.11, by @PierreRambaud
- #22178: Set numeric_iso_code & precision in currency from CLDR when upgrading, by @atomiix
- #22174: Use displayHeader hook instead of Header, by @atomiix
- #22164: Fix upgrade script from < 1.7.6.0 to 1.7.7.0, by @atomiix
- #22146: Remove –classmap-authoritative when building release, by @atomiix
- #21988: Fix order detail total amount update when rounding is per item, by @matthieu-rolland
Back office
- #22191: Validate currency localized names, by @jolelievre
- #22189: Trigger input when a predefined message is applied, by @Progi1984
- #22101: Fix product selections when creating/updating tags, by @atomiix
- #22099: Fix employee filter for the Logs page, by @atomiix
- #22077: Create Order - Fix remove cart rule when amount is not reached, by @sowbiba
- #22059: Add Payments block refresher - Refresh when product is added or removed from Order, by @sowbiba
- #22028: Update out of stock mail wording, by @jolelievre
- #21992: Make customer note TYPE_STRING instead of TYPE_HTML, by @atomiix
- #21980: Fixed the error message for a combination with a min quantity for sale, by @Progi1984
- #21568: Fixed in Create Order the update of cart rules when changing adress , by @Progi1984
Front office
- #22103: Display combination image in product pack list, by @jolelievre
Tests
- #22209: Backport fix on UI sort tests, by @boubkerbribri
- #22198: Add static cache resets, by @matthieu-rolland
- #22172: Backport UI tests, by @boubkerbribri
- #22012: Fix random fails in travis CI, by @boubkerbribri
Code changes in modules, themes & tools
Changes in developer documentation
- #821: Fix typo front controller page, by @matks
- #820: Add informations about the mail() method not being used anymore, by @atomiix
- #819: Fix refund code example for Prestashop 1.7.6. Thank you @yannicka
- #816: Document Autoupgrade module CLI and channels, by @matks
- #772: More informations about migrating from 1.6. Thank you @kpodemski
Faceted search module
- #274: Fixed invalid composer.json, by @Progi1984
- #273: Fix PHPStan configuration, by @PierreRambaud
- #270: Bump webpack from 5.8.0 to 5.9.0. Thank you @dependabot[bot]
PrestaShop contributors website
- #32: Merge develop into master, by @NeOMakinG
- #31: Add copy link button on contributors, by @NeOMakinG
- #30: Merge develop into master, by @NeOMakinG
- #29: Hide email domain and hide roles if no roles are provided, by @NeOMakinG
- #28: Rebase develop, by @NeOMakinG
- #27: Merge develop into master, by @NeOMakinG
- #26: Modify CI and fix eslint, by @NeOMakinG
- #25: Merge develop into master, by @NeOMakinG
- #24: Prepare improvements and add contributor modal, by @NeOMakinG
OnBoarding module
- #96: Use master instead of current branch for release drafter, by @PierreRambaud
- #95: Release 6.0.4, by @Progi1984
- #94: Bump version to 6.0.4, by @Progi1984
- #93: Do not override the link smarty variable, by @atomiix
- #92: Bump expose-loader from 0.7.5 to 1.0.3. Thank you @dependabot[bot]
- #72: Bump file-loader from 0.8.5 to 0.11.2. Thank you @dependabot[bot]
Quality Assurance module
Auto Upgrade module
- #372: Improve README, by @matks
- #371: Add LICENSE file, by @matks
- #370: Add some badges in README, by @matks
- #368: Fix license headers, by @matks
- #367: Removed config_fr.xml & Fixed licenses, by @Progi1984
- #366: Release 4.11.0, by @Progi1984
- #365: Bump version to 4.11.0, by @Progi1984
- #364: Check for version instead of if file exists, by @atomiix
- #363: Revert “Test upgrades for PS1.7 with php7.1”, by @matks
Product Comments module
- #86: Release 4.2.1, by @PierreRambaud
- #85: Fix phpstan configuration, by @PierreRambaud
- #84: Bump symfony/css-selector from 3.4.46 to 3.4.47. Thank you @dependabot[bot]
- #83: Bump version to 4.2.1, by @Progi1984
- #78: Redirect after noabuseComment submit to prevent resubmit on page reload. Thank you @Oksydan
- #77: Fix: Product grade update after product page being updated. Thank you @Oksydan
Theme customization module
- #38: Fix phpstan configuration, by @PierreRambaud
- #35: Bump version to 1.2.1, by @Progi1984
Customer account links module
- #33: Fix phpstan configuration, by @PierreRambaud
Cross-selling module
- #20: Fix phpstan configuration, by @PierreRambaud
Shopping cart module
- #72: Fix phpstan configuration, by @PierreRambaud
Docker images
- #250: Add finale release for 1.7.7.0, by @PierreRambaud
Customer reassurance block module
- #85: Bump symfony/css-selector from 3.4.37 to 3.4.47. Thank you @dependabot[bot]
Customer data privacy block module
- #24: Bump version to 2.0.1, by @Progi1984
Catalog statistics module
- #16: Bump version to 2.0.2, by @Progi1984
Links list module
- #104: Add another template for displayLeft/Right column hook, by @NeOMakinG
Google Analytics module
Performance project
Where to start contributing?
What about adding tracking number informations on Order Page? This is an idea suggested in May, and it is one of our good first issues.
Good first issues are a list of all beginner-friendly improvements and bugs to fix in the project. You can read more about this label on our article about it.
Thank you to the contributors whose pull requests were merged since the last Core Weekly Report: @matks, @atomiix, @Progi1984, @okom3pom, @NeOMakinG, @boubkerbribri, @PierreRambaud, @eternoendless, @matthieu-rolland, @jolelievre, @ksaandev, @zuk3975, @dependabot[bot], @yannicka, @sowbiba, @jeckyl, @Oksydan, @kpodemski, @JevgenijVisockij, @PululuK, @Hlavtox, @djodjo3!
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!