PrestaShop Core Weekly - Week 40 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 4th to Sunday 10th of October 2021.
General messages
Dear developers,
In case you did not see it, PrestaShop 1.7.8.0 was released last week!
Of course, we always recommended using the latest available version of the 1-Click Upgrade module when upgrading. However, if you are upgrading your shop to 1.7.8 from a version prior to 1.7.6, make sure the module is updated to version 4.12.0 or later.
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
If you notice issues with PrestaShop 1.7.8.0, you can report it on GitHub and go even further by submitting a pull request to help fix it!
Now that 1.7.8.0 is out, we look forward to the future! Do you want to know more about it? Check what @eternoendless presented during the 9th PrestaShop Public Demo!
Releases
A quick update about PrestaShop’s GitHub issues and pull requests:
- 65 new issues have been created in the project repositories;
- 94 issues have been closed, including 14 fixed issues on the core;
- 99 pull requests have been opened in the project repositories;
- 106 pull requests have been closed, including 77 merged pull requests.
Code changes in the ‘develop’ branch
Core
- #26057: Update 1.8 into 8.0 version. Thank you @PrestaEdit
- #25916: PHPStan (Level 1) on classes/, by @Progi1984
- #25245: Remove Theme & Modules Catalog and PrestaTrust calls, by @PierreRambaud
Back office
- #26118: Change material-icons library causing a too long install, by @NeOMakinG
- #26086: Create CommandAccessor component which will be used by the command builders services, by @jolelievre
- #26081: Switch new-theme to esbuild-loader from babel-loader and add webpack-dev-server, by @NeOMakinG
- #26055: Add placeholders in product settings page. Thank you @okom3pom
- #26042: Allow # ° … for credit slip prefix. Thank you @okom3pom
- #25775: Fixed import of macros for infotip use in multistore mode, by @Progi1984
- #25686: Use editable customer and avoid loading unnecessary data. Thank you @Hlavtox
- #25291: Show error delete product on order page admin. Thank you @ytilotti
- #25066: Removed links in employee menu & Added hook for adding links, by @Progi1984
Front office
- #25857: Fetch and set logo image size inside template. Thank you @Oksydan
- #25834: Fix the StoreController and add missing data, by @kpodemski
- #25395: Fix revisiting order confirmation and guest to customer conversion in FO. Thank you @Hlavtox
Installer
- #26126: Do not use md5 password for fixtures, by @PierreRambaud
Tests
- #26148: Delete module catalog page, and add test checking its access, by @boubkerbribri
- #26138: Properly copy property content instead of the whole directory when copying it into gcloud, by @PierreRambaud
- #26122: Revert changes on the smtp server to fix nightly tests, by @boubkerbribri
- #26120: Fix selectors for Sql manager page, by @boubkerbribri
- #26116: Functional tests - Refacto Shop Parameters > Order Settings tests. Thank you @nesrineabdmouleh
- #26112: Functional tests - Refacto shop parameters general. Thank you @nesrineabdmouleh
- #26110: Fix selectors for db backup page, by @boubkerbribri
- #26079: Fixing titles, steps and comments on FO tests, by @boubkerbribri
Code changes in the ‘1.7.8.x’ branch
Core
Front office
- #25903: Fixed preview of product in frontoffice, by @Progi1984
Code changes in modules, themes & tools
New 8.0.0 Front-office theme
- #65: Update readme in order to precise which branch to use, by @NeOMakinG
- #64: Kick unused variables, moove some forms styles and use badge instead of custom flags style, by @NeOMakinG
- #63: Adjust custom style so its easier to comment it, by @NeOMakinG
- #62: Change colors, font sizes because of new mockups, by @NeOMakinG
- #59: Change theme name in config, by @NeOMakinG
QA nightly results
- #63: Release new version for the download links, by @PierreRambaud
- #62: Fix downloads links, by @PierreRambaud
Customer reassurance block module
- #287: Bump webpack from 5.57.1 to 5.58.0. Built by @dependabot[bot]
- #286: Bump mini-css-extract-plugin from 2.4.1 to 2.4.2. Built by @dependabot[bot]
- #285: Bump webpack-cli from 4.8.0 to 4.9.0. Built by @dependabot[bot]
- #284: Bump @babel/core from 7.15.5 to 7.15.8. Built by @dependabot[bot]
- #283: Bump webpack from 5.56.1 to 5.57.1. Built by @dependabot[bot]
- #282: Bump mini-css-extract-plugin from 2.3.0 to 2.4.1. Built by @dependabot[bot]
- #281: Bump webpack from 5.56.0 to 5.56.1. Built by @dependabot[bot]
- #279: Bump webpack from 5.55.1 to 5.56.0. Built by @dependabot[bot]
Faceted search module
- #524: Bump webpack from 5.57.1 to 5.58.0. Built by @dependabot[bot]
- #523: Bump @babel/core from 7.15.5 to 7.15.8. Built by @dependabot[bot]
- #522: Bump @babel/node from 7.15.4 to 7.15.8. Built by @dependabot[bot]
- #521: Bump @babel/preset-env from 7.15.6 to 7.15.8. Built by @dependabot[bot]
- #520: Bump webpack from 5.56.1 to 5.57.1. Built by @dependabot[bot]
- #519: Bump webpack from 5.56.0 to 5.56.1. Built by @dependabot[bot]
- #518: Bump webpack from 5.55.1 to 5.56.0. Built by @dependabot[bot]
Changes in developer documentation sources
- #1174: Backport PR 1153 to 1.7.x, by @matks
- #1173: Backport PR 1160 to 8.x, by @matks
- #1172: Backport PR 1155 to 8.x, by @matks
- #1171: Update “themes” section for PS 8, by @eternoendless
- #1170: Update “FAQ”, “scale”, “testing” and “webservice” sections for PS 8, by @eternoendless
- #1169: Update “development” section for PS 8, by @eternoendless
- #1168: Update “contribute” section for PS 8, by @eternoendless
- #1167: Update “basics” section for PS 8, by @eternoendless
- #1166: Update 1.7.x nginx template. Thank you @juangiordana
- #1155: Fix Classic translation system documentation. Thank you @zou-simon
- #1118: Explain Form Theme and project progress, by @matks
PrestaShop Specifications
Docker images
- #278: Update base images and nightly images, by @PierreRambaud
- #276: Add 1.7.8.0. Thank you @okom3pom
User documentation landing page
- #138: fix(deps): bump core-js from 3.18.1 to 3.18.2. Built by @dependabot[bot]
stylelint configuration
- #23: Bump ansi-regex from 5.0.0 to 5.0.1. Built by @dependabot[bot]
- #22: Bump stylelint-config-twbs-bootstrap from 2.2.3 to 2.2.4. Built by @dependabot[bot]
Catalog statistics module
- #19: Updated composer dependencies, by @Progi1984
Core Weekly Generator tool
Issues Bot
Auto Upgrade module
- #417: Remove useless message. Thank you @okom3pom
- #416: Don’t hide expert mode when major chanel selected. Thank you @okom3pom
- #402: Add suppliers sql upgrade, by @atomiix
Search Bar module
- #38: Add upgrade script to clean a file from classic core theme, by @jolelievre
Prestashop Shop Creator
- #7: Fix excessive number of images per product. Thank you @davidglezz
GDPR module
Thank you to the contributors whose pull requests were merged since the last Core Weekly Report: @NeOMakinG, @PierreRambaud, @dependabot[bot], @matks, @eternoendless, @boubkerbribri, @marionf, @okom3pom, @nesrineabdmouleh, @sowbiba, @juangiordana, @jolelievre, @Progi1984, @PrestaEdit, @zou-simon, @Oksydan, @kpodemski, @atomiix, @Hlavtox, @ytilotti, @davidglezz, @Julievrz!
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!