This edition of the Core Weekly report highlights changes in PrestaShop’s core codebase from Monday 13th to Sunday 19th of December 2021.
General messages
Dear Developers,
Pablo Borowicz published what we expect for the future. It’s very interesting to read, and we would be very happy to read your feedback in the comments, or on Slack.
As you can guess, activity on prestashop is going to slow down in this holiday season and can be expected to resume back to normal in January.
Releases
- Pagesnotfound module: v2.0.1
- Ps_featuredproducts module: v2.1.2
- Ps_shoppingcart module: v2.0.5
A quick update about PrestaShop’s GitHub issues and pull requests:
- 46 new issues have been created in the project repositories;
- 56 issues have been closed, including 8 fixed issues on the core;
- 87 pull requests have been opened in the project repositories;
- 115 pull requests have been closed, including 63 merged pull requests.
Code changes in the ‘develop’ branch
Core
- #26981: Remove deprecated constant
_PS_HOST_MODE_
, by @Progi1984 - #26952: Remove duplicate call hook actionAdminProductsListingFieldsModifier. Thank you @Amit-Kumar-Tiwari-Webkul
- #26914: Remove deprecated methods into Helper models . Thank you @PrestaEdit
- #26864: PHPStan (Level 2) on controllers/, by @Progi1984
- #26183: Console command for config. Thank you @tswfi
Back office
- #27015: Remove dead code about Dashboard Push, by @Progi1984
- #27014: Remove addons call, by @NeOMakinG
- #26958: Remove dead code. JS is trigger, but DOM elements are already deleted.. Thank you @intraordinaire
- #26689: Optimize cart list in customer detail (a bit). Thank you @Hlavtox
- #26669: Refactor and simplify rendering of KPI row. Thank you @Hlavtox
- #25956: Refactor on AbstractMultistoreConfiguration class + unit tests + integration tests, by @matthieu-rolland
- #25595: Refacto some sensible selectors and add some missing selectors to classic selector map, by @NeOMakinG
- #25236: Migrate translations page to TypeScript, by @NeOMakinG
- #24403: When creating category, select all groups by default. Thank you @jf-viguier
- #24077: Adding html column. Thank you @JevgenijVisockij
Front office
Tests
- #26959: Upgrade nodemailer tests/UI folder, by @boubkerbribri
Code changes in the ‘1.7.8.x’ branch
Core
Back office
- #26590: Fixed error message when the order language is different of the employee language, by @Progi1984
Front office
- #26887: Fixed the Newsletter block overlap on Customer Reassurance block. Thank you @hibatallahAouadni
- #26703: Allow vertical scroll on product images, by @NeOMakinG
Tests
- #26942: Fix tests ‘Open help bar’ on stocks page, by @boubkerbribri
Code changes in modules, themes & tools
PrestaShop contributors website
- #61: Use flex grow to handle the height of the details in card. Thank you @intraordinaire
Changes in developer documentation sources
- #1253: Refer to versions table of nodejs inside getting started, by @NeOMakinG
- #1250: Remove actionValidateOrderAfter from hooks listing. Thank you @PrestaEdit
- #1249: Improve actionValidateOrderAfter doc, adding missing var and since info. Thank you @PrestaEdit
- #1248: Fix “chmod” syntax in installation DevDocs. Thank you @rmilecki
- #1246: Backport PR 1097 and remove some 1.7.x mentions, by @matks
- #1244: Migrate tests-legacy directory to tests directory, by @Progi1984
- #1189: Add deprecated tag + add actionGetProductPropertiesAfterUnitPrice hook. Thank you @PrestaEdit
New Front-office theme
- #140: Fix some title size and wording of stores, by @NeOMakinG
- #139: Add accordion to store hours, by @NeOMakinG
- #138: Adjust sitemap page, by @NeOMakinG
- #137: Adjust block newsletter and refacto to BEM, by @NeOMakinG
- #136: Contact page and remove floats from the project, by @NeOMakinG
- #135: Refacto product template classes, by @NeOMakinG
PrestaShop Specifications
- #282: Add files via upload. Thank you @Saimis777
- #278: Add instructions to run locally inside README, by @matks
- #265: SimonasB88 – Images for specs. Thank you @SimonasB88
- #263: Create specs for stores pages. Thank you @Saimis777
User documentation landing page
- #169: fix(deps): bump core-js from 3.19.3 to 3.20.0. Built by @dependabot
- #168: chore(deps-dev): bump babel-jest from 27.4.4 to 27.4.5. Built by @dependabot
- #167: chore(deps-dev): bump sass from 1.44.0 to 1.45.0. Built by @dependabot
- #166: chore(deps-dev): bump babel-jest from 27.4.2 to 27.4.4. Built by @dependabot
Shopping cart module
- #82: Release 2.0.5, by @PierreRambaud
- #81: Bump to 2.0.5, by @PierreRambaud
Pages not found
- #17: Release 2.0.1, by @PierreRambaud
Featured products module
- #44: Release 2.1.2, by @PierreRambaud
- #43: Remove deprecated hooks and update to 2.1.2, by @PierreRambaud
Customer reassurance block module
- #327: Bump @babel/core from 7.16.0 to 7.16.5. Built by @dependabot
- #326: Bump @babel/eslint-parser from 7.16.3 to 7.16.5. Built by @dependabot
- #301: Remove addons links from the module. Thank you @okom3pom
Faceted search module
- #574: Bump @babel/core from 7.16.0 to 7.16.5. Built by @dependabot
- #573: Bump @babel/eslint-parser from 7.16.3 to 7.16.5. Built by @dependabot
- #572: Bump @babel/node from 7.16.0 to 7.16.5. Built by @dependabot
- #571: Bump @babel/preset-env from 7.16.4 to 7.16.5. Built by @dependabot
- #570: Bump @babel/register from 7.16.0 to 7.16.5. Built by @dependabot
Issues Bot
- #32: Update workflow, by @matthieu-rolland
Product Comments module
Theme customization module
- #46: Bump prestashop/php-dev-tools from 3.16.0 to 3.16.1. Built by @dependabot
Auto Upgrade module
- #435: Update short description length config if needed, by @kpodemski
Thank you to the contributors whose pull requests were merged since the last Core Weekly Report: @Progi1984, @intraordinaire, @NeOMakinG, @Saimis777, @dependabot, @PierreRambaud, @atomiix, @matks, @PrestaEdit, @boubkerbribri, @rmilecki, @Amit-Kumar-Tiwari-Webkul, @matthieu-rolland, @hibatallahAouadni, @okom3pom, @Hlavtox, @SimonasB88, @kpodemski, @tswfi, @kusflo, @jf-viguier, @JevgenijVisockij!
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!
This post is also available in: English