PrestaShop Core Weekly - Week 19 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 10th to Sunday 16th of May 2021.
Releases
A quick update about PrestaShop’s GitHub issues and pull requests:
- 68 new issues have been created in the project repositories;
- 53 issues have been closed, including 14 fixed issues on the core;
- 122 pull requests have been opened in the project repositories;
- 133 pull requests have been closed, including 107 merged pull requests.
Code changes in the ‘develop’ branch
Front office
Tests
- #23954: Reduce number of GH jobs, run one PHPUnit job per PHP version. Thank you @mvorisek
- #22547: PHPStan (Level 5), by @Progi1984
Code changes in the ‘1.7.8.x’ branch
Core
Back office
- #24479: Fix php7.4 incompability warning, by @matthieu-rolland
- #24461: Fix missing _this replacement with that, by @atomiix
- #24434: Remove order_view asset on 1.7.8.x, by @NeOMakinG
- #24356: Fix javascript error in console in multistore
create shop
page, by @matthieu-rolland - #24076: Adjust product v2 page design and add unavailable feature component, by @NeOMakinG
Front office
- #24457: Fix final summary exception, by @atomiix
- #24430: Improve CartPresenter performance, and allow Order to retrieve default_image, by @PierreRambaud
- #24379: Fix smarty product lazy load exception, by @atomiix
- #24239: Typo in head-jsonld.tpl, shop logo link: correction for #23151. Thank you @fdonnet
Tests
- #24500: Fix change customer message status, by @boubkerbribri
- #24462: Update js doc for customer service pages, by @boubkerbribri
- #24454: Functional tests - Fix and add tests for Features and Values. Thank you @nesrineabdmouleh
- #24445: Fix click on a hidden checkbox on localization and translation page, by @boubkerbribri
- #24435: Fix click on toggle for seo and url page, by @boubkerbribri
- #24429: Do not remove modules pushed by API for UI tests, by @matks
- #24364: Add 2 new test “reorder from order history list” and “reorder from order detail”. Thank you @SD1982
Code changes in the ‘1.7.7.x’ branch
Core
Back office
- #24243: Fix escape in
ps_1771_update_customer_note()
. Thank you @dali-rajab - #24217: Restore check when using the SQL manager part, by @PierreRambaud
- #23138: Fix gift added/removed when editing order (product quantity/shipping address), by @atomiix
Tests
- #24459: Wait For price to be updated on view order page, by @boubkerbribri
- #24455: Remove forgotten function description. Thank you @SD1982
Code changes in modules, themes & tools
Customer reassurance block module
- #197: Bump sass-loader from 11.0.1 to 11.1.1. Built by @dependabot[bot]
- #196: Bump @simonwep/pickr from 1.8.0 to 1.8.1. Built by @dependabot[bot]
- #195: Bump @babel/core from 7.14.0 to 7.14.2. Built by @dependabot[bot]
- #194: Bump prestashop/php-dev-tools from 3.15 to 3.15.1. Built by @dependabot[bot]
- #190: Bump webpack from 5.36.2 to 5.37.0. Built by @dependabot[bot]
- #189: Bump node-sass from 5.0.0 to 6.0.0. Built by @dependabot[bot]
- #188: Bump webpack-cli from 4.6.0 to 4.7.0. Built by @dependabot[bot]
Faceted search module
- #428: Bump sass-loader from 11.1.0 to 11.1.1. Built by @dependabot[bot]
- #427: Bump prestashop/php-dev-tools from 3.15 to 3.15.1. Built by @dependabot[bot]
- #426: Bump @babel/node from 7.13.13 to 7.14.2. Built by @dependabot[bot]
- #425: Bump @babel/core from 7.14.0 to 7.14.2. Built by @dependabot[bot]
- #424: Bump @babel/preset-env from 7.14.1 to 7.14.2. Built by @dependabot[bot]
- #423: Bump webpack from 5.36.2 to 5.37.0. Built by @dependabot[bot]
- #422: Bump sass-loader from 11.0.1 to 11.1.0. Built by @dependabot[bot]
- #421: Bump hosted-git-info from 2.8.8 to 2.8.9. Built by @dependabot[bot]
- #420: Use the same version as it is defined in the composer.lock, by @PierreRambaud
- #419: Bump mocha from 8.3.2 to 8.4.0. Built by @dependabot[bot]
- #418: Bump node-sass from 5.0.0 to 6.0.0. Built by @dependabot[bot]
- #417: Bump lodash from 4.17.15 to 4.17.21. Built by @dependabot[bot]
Changes in developer documentation
- #992: Attachments Webservice endpoint was delivered in 1.7.8, by @matks
- #991: Correct location of generatable-input.js. Thank you @JevgenijVisockij
- #985: Introduce Architecture -> Modern and reorganize docs about controllers. Thank you @zuk3975
- #984: Order view page reference. Thank you @zuk3975
- #983: Add information about id_reference when a carrier is edited. Thank you @okom3pom
- #981: Order create page reference. Thank you @zuk3975
- #975: Fix inverted lifecycle posts, by @matks
Gamification module
- #83: Bump prestashop/php-dev-tools from 3.15 to 3.15.1. Built by @dependabot[bot]
- #82: Bump symfony/phpunit-bridge from 5.2.7 to 5.2.8. Built by @dependabot[bot]
Email subscription module
- #79: Bump prestashop/php-dev-tools from 3.15 to 3.15.1. Built by @dependabot[bot]
- #78: Migrate Travis to Github Actions, by @Progi1984
Language selector module
- #24: Bump prestashop/php-dev-tools from 3.15 to 3.15.1. Built by @dependabot[bot]
GDPR module
- #142: Bump prestashop/php-dev-tools from 3.15 to 3.15.1. Built by @dependabot[bot]
Customer data privacy block module
- #29: Bump prestashop/php-dev-tools from 3.15 to 3.15.1. Built by @dependabot[bot]
Search Bar module
- #35: Bump prestashop/php-dev-tools from 3.15 to 3.15.1. Built by @dependabot[bot]
Links list module
- #119: Bump prestashop/php-dev-tools from 3.15 to 3.15.1. Built by @dependabot[bot]
Shopping cart module
- #77: Bump prestashop/php-dev-tools from 3.15 to 3.15.1. Built by @dependabot[bot]
Category tree links module
- #52: Bump prestashop/php-dev-tools from 3.15 to 3.15.1. Built by @dependabot[bot]
Simple HTML table display module
- #22: Bump prestashop/php-dev-tools from 3.15 to 3.15.1. Built by @dependabot[bot]
Customer “Sign in” link module
- #37: Bump prestashop/php-dev-tools from 3.15 to 3.15.1. Built by @dependabot[bot]
Dashboard Trends module
- #44: Bump prestashop/php-dev-tools from 3.15 to 3.15.1. Built by @dependabot[bot]
Custom text module
- #61: Bump prestashop/php-dev-tools from 3.15 to 3.15.1. Built by @dependabot[bot]
OnBoarding module
- #106: Bump prestashop/php-dev-tools from 3.15 to 3.15.1. Built by @dependabot[bot]
Check payment module
- #49: Bump prestashop/php-dev-tools from 3.15 to 3.15.1. Built by @dependabot[bot]
Product Comments module
- #100: Bump prestashop/php-dev-tools from 3.15 to 3.15.1. Built by @dependabot[bot]
Order Notifications on the Favicon module
- #29: Bump prestashop/php-dev-tools from 3.15 to 3.15.1. Built by @dependabot[bot]
Featured products module
- #38: Bump prestashop/php-dev-tools from 3.15 to 3.15.1. Built by @dependabot[bot]
User documentation landing page
- #65: chore(deps-dev): bump sass from 1.32.12 to 1.32.13. Built by @dependabot[bot]
- #64: fix(deps): bump nuxt from 2.15.5 to 2.15.6. Built by @dependabot[bot]
- #63: fix(deps): bump nuxt from 2.15.4 to 2.15.5. Built by @dependabot[bot]
- #62: chore(deps-dev): bump eslint from 7.25.0 to 7.26.0. Built by @dependabot[bot]
- #61: fix(deps): bump core-js from 3.11.2 to 3.12.1. Built by @dependabot[bot]
- #60: chore(deps-dev): bump prettier from 2.2.1 to 2.3.0. Built by @dependabot[bot]
PHP Developer Tools
- #61: Fix stub, ModuleCore can’t return Module instance, by @PierreRambaud
- #60: Fix stub, ModuleCore can’t return Module instance, by @PierreRambaud
Example modules
- #57: Bump lodash from 4.17.19 to 4.17.21 in /example_module_mailtheme. Built by @dependabot[bot]
- #56: Bump hosted-git-info from 2.8.8 to 2.8.9 in /example_module_mailtheme. Built by @dependabot[bot]
- #55: Bump hosted-git-info from 2.8.8 to 2.8.9 in /demodoctrine/js. Built by @dependabot[bot]
- #54: Bump lodash from 4.17.20 to 4.17.21 in /demodoctrine/js. Built by @dependabot[bot]
- #53: Clean code ; remove unneeded use statement. Thank you @okom3pom
- #52: Bump url-parse from 1.4.7 to 1.5.1 in /example_module_mailtheme. Built by @dependabot[bot]
Wishlist block module
- #113: Bump hosted-git-info from 2.8.8 to 2.8.9. Built by @dependabot[bot]
PrestaShop contributors website
- #54: Bump hosted-git-info from 2.8.8 to 2.8.9. Built by @dependabot[bot]
- #53: Bump lodash from 4.17.20 to 4.17.21. Built by @dependabot[bot]
Prestashop UI Kit
- #156: Add hover state on helpbox and add helpbox to storybook, by @NeOMakinG
Stylelint browser compatibility plugin
- #8: Bump hosted-git-info from 2.8.5 to 2.8.9. Built by @dependabot[bot]
- #7: Bump postcss from 7.0.26 to 8.2.10. Built by @dependabot[bot]
- #6: Bump lodash from 4.17.20 to 4.17.21. Built by @dependabot[bot]
stylelint configuration
- #12: Bump lodash from 4.17.19 to 4.17.21. Built by @dependabot[bot]
Core Weekly Generator tool
- #84: Bump hosted-git-info from 2.8.5 to 2.8.9. Built by @dependabot[bot]
- #83: Bump lodash from 4.17.19 to 4.17.21. Built by @dependabot[bot]
- #82: Bump url-parse from 1.4.7 to 1.5.1. Built by @dependabot[bot]
Buy button lite module
- #50: Bump hosted-git-info from 2.7.1 to 2.8.9 in /app. Built by @dependabot[bot]
- #49: Bump lodash from 4.17.20 to 4.17.21 in /app. Built by @dependabot[bot]
- #48: Bump url-parse from 1.4.3 to 1.5.1 in /app. Built by @dependabot[bot]
Issues Bot
- #20: Bump hosted-git-info from 2.8.5 to 2.8.9. Built by @dependabot[bot]
- #19: Bump lodash from 4.17.20 to 4.17.21. Built by @dependabot[bot]
- #18: Bump url-parse from 1.4.7 to 1.5.1. Built by @dependabot[bot]
Quality Assurance module
Webservices PHP Client
- #48: Allow filter by date_add && date_upd. Thank you @radoslawkoziol
Thank you to the contributors whose pull requests were merged since the last Core Weekly Report: @matks, @boubkerbribri, @dependabot[bot], @JevgenijVisockij, @matthieu-rolland, @PierreRambaud, @atomiix, @okom3pom, @SD1982, @nesrineabdmouleh, @NeOMakinG, @zuk3975, @Progi1984, @dali-rajab, @fdonnet, @mvorisek, @radoslawkoziol!
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!