PrestaShop Core Weekly - Week 49 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 6th to Sunday 12th of December 2021.
General messages
Dear developers,
PrestaShop 1.7.8.2 was released on the 7th of December 2021. This security release fixes a security issue and a regression.
Releases
A quick update about PrestaShop’s GitHub issues and pull requests:
- 54 new issues have been created in the project repositories;
- 57 issues have been closed, including 24 fixed issues on the core;
- 65 pull requests have been opened in the project repositories;
- 76 pull requests have been closed, including 64 merged pull requests.
Code changes in the ‘develop’ branch
Core
- #26934: Use getSemVersion instead of getVersion to have the correct version, by @sowbiba
- #26923: Remove shudrum/array-finder from composer deps, by @matks
- #26867: Repair nightly build, by @PierreRambaud
- #26746: Improvements to profiling: display order of query execution,. Thank you @lmeyer1
- #26731: Fix display bugs in profiling. Thank you @lmeyer1
- #26727: PHPStan (Level 4) on classes/, by @Progi1984
- #26664: Removed PrestaShop API Call (check_module & module_download), by @Progi1984
- #26294: Remove deprecated admin/ajax-tab.php, by @eternoendless
- #25937: Replace Shudrum ArrayFinder by Symfony ArrayFinder in Theme, by @matks
Back office
- #26917: Remove the card “Visit the theme catalog” from Theme config page. Thank you @intraordinaire
- #26910: Remove hard coded ads. Thank you @okom3pom
- #26909: Remove calls to addons API when searching in BO. Thank you @intraordinaire
- #26665: Stack min-max inputs to get more space. Thank you @Hlavtox
- #26546: Fix display for invalid characters in tax name. Thank you @okom3pom
- #26488: Disable ‘Apply new Quantity’ Button before request is sent. Thank you @beattie282
- #25917: Update new-theme bootstrap and remove unused dependencies, by @NeOMakinG
- #25207: Remove id_tax_rules_group in carrier table. Thank you @jf-viguier
- #24120: Fix wrong multishop detection in AdminInvoiceController. Thank you @gennaris
Front office
- #26931: Remove empty methods in FrontController, by @matks
- #26890: Automatic update of rewrite url only on creation. Thank you @jf-viguier
- #25883: Fix update qty of cart when qty is set to 0 on front-office, by @NeOMakinG
- #25668: Global smarty $urls variable changes when child theme is being used. Thank you @Oksydan
- #23959: Support shop logo in svg. Thank you @jf-viguier
Installer
- #26893: Fix post install error when fixture installation is disabled. Thank you @unlocomqx
Tests
- #26851: POC optimize behat tests DB restoring, by @jolelievre
- #26822: Fix orders payment and status tests, by @boubkerbribri
- #26815: Functional tests - Separate create date from test to Utils. Thank you @nesrineabdmouleh
Code changes in the ‘1.7.8.x’ branch
Back office
- #26929: Bad display of label in Email theme page. Thank you @okom3pom
- #26714: Fix dropdown align on email theme page, by @NeOMakinG
- #26613: Remove header calculation and set toolbar to sticky, by @NeOMakinG
Front office
- #25855: Allowing to set different image ratio on product miniature, minor code refacto. Thank you @Oksydan
Tests
- #26894: Functional tests - Add new test ‘Add discount’ from view order page. Thank you @nesrineabdmouleh
- #26776: Use new commands on package.json and mochawesome-merge to push on nightly, by @boubkerbribri
Code changes in modules, themes & tools
Featured products module
- #42: Release 2.1.1, by @PierreRambaud
Changes in developer documentation sources
- #1243: Removing ‘Selling your modules’ from docs, by @Progi1984
- #1242: Adds an example to override a front/admin controller inside a module. Thank you @WebHelpersPau
- #1241: Fix missing curly brackets in relref. Thank you @abramofranchetti
- #1240: fix some typos. Thank you @xhuljanoduli
- #1239: Fix command-line to launch the test suite with docker. Thank you @jak78
- #1197: Add actionPresent Hooks. Thank you @alexandrebrubeyonds
- #1097: How to generate URI with Symfony CSRF token. Thank you @mistrjirka
User documentation landing page
- #165: chore(deps-dev): bump eslint-config-prestashop from 0.1.0 to 0.2.1. Built by @dependabot[bot]
- #164: fix(deps): bump core-js from 3.19.2 to 3.19.3. Built by @dependabot[bot]
- #163: chore(deps-dev): bump prettier from 2.5.0 to 2.5.1. Built by @dependabot[bot]
PrestaShop Specifications
eslint configuration
- #10: Kick peerdep of eslint and update to 0.2.1, by @NeOMakinG
- #9: Update dependencies to latest versions, by @PierreRambaud
Customer reassurance block module
- #325: Bump sass-loader from 12.3.0 to 12.4.0. Built by @dependabot[bot]
- #324: Bump webpack from 5.64.4 to 5.65.0. Built by @dependabot[bot]
- #323: Bump node-sass from 6.0.1 to 7.0.0. Built by @dependabot[bot]
- #322: Bump eslint from 5.16.0 to 8.4.1. Built by @dependabot[bot]
- #318: Bump eslint-config-airbnb-base from 14.2.1 to 15.0.0. Built by @dependabot[bot]
Faceted search module
- #568: Bump sass-loader from 12.3.0 to 12.4.0. Built by @dependabot[bot]
- #567: Bump node-sass from 6.0.1 to 7.0.0. Built by @dependabot[bot]
- #566: Bump webpack from 5.64.4 to 5.65.0. Built by @dependabot[bot]
- #565: Bump eslint from 5.16.0 to 8.4.1. Built by @dependabot[bot]
Prestashop UI Kit
- #174: Add nowrap to button as a dropdown-item, by @NeOMakinG
Docker images
PrestonBot
Auto Upgrade module
MJML Theme Converter
GDPR module
- #152: Avoid warning open_basedir restriction. Thank you @danidomen
Thank you to the contributors whose pull requests were merged since the last Core Weekly Report: @PierreRambaud, @sowbiba, @Progi1984, @matks, @okom3pom, @dependabot[bot], @marionf, @NeOMakinG, @WebHelpersPau, @intraordinaire, @atomiix, @nesrineabdmouleh, @unlocomqx, @abramofranchetti, @jf-viguier, @xhuljanoduli, @jak78, @jolelievre, @boubkerbribri, @lmeyer1, @danidomen, @Hlavtox, @beattie282, @alexandrebrubeyonds, @eternoendless, @Oksydan, @mistrjirka, @gennaris!
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!