PrestaShop Core Weekly - Week 21 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 24th to Sunday 30th of May 2021.
General messages
Dear Developers,
In case you missed it, 1.7.8 beta has been released yesterday! Please read the Release Note then help us testing it. We are looking for all kind of feedback, especially from module developers to find out if their modules behavior is correct with this new version. Docker images are also available for this beta version.
Another PrestaShop release is also making its way to the stage: PrestaShop 1.7.7.5 patch version has been delivered to QA team who is running the standard patch release test campaign to validate it.
In the meantime, in the PHP ecosystem, Symfony released Symfony 5.3.0. What a great week for releases!
Releases
A quick update about PrestaShop’s GitHub issues and pull requests:
- 40 new issues have been created in the project repositories;
- 48 issues have been closed, including 28 fixed issues on the core;
- 88 pull requests have been opened in the project repositories;
- 92 pull requests have been closed, including 87 merged pull requests.
Code changes in the ‘develop’ branch
Core
- #24625: Fix PHP 7.4 - Cannot use “parent” when current class scope has no parent. Thank you @mvorisek
- #24382:
GridColumn
add alignmentoption
. Thank you @PululuK - #23692: A lot of HTML errors are breaking DOM parsing, by @PierreRambaud
Back office
- #24649: Remove irrelevant “todo” reminder. Thank you @zuk3975
- #24628: Add router to defined javascript components. Thank you @zuk3975
- #24555: Fix for product combination quantity change in RTL panel . Thank you @samberrry
Front office
Installer
- #24588: Fix fixtures when addons modules are not installed, by @PierreRambaud
Tests
- #24629: Test adapter
Validate::isUnsignedInt
. Thank you @PululuK - #24618: Improve
Tools
protocol check. Thank you @PululuK
Code changes in the ‘1.7.8.x’ branch
Core
- #24659: Improved profiler. Thank you @kpodemski
- #24611: Make sure array keys exist before using it for PHP7.4 compatibility, by @PierreRambaud
- #24242: Fix upgrade from 1.6.1.24 to 1.7.8.x, by @atomiix
Back office
- #24697: Fix product stats alignment on order view page, by @NeOMakinG
- #24677: Update vue-style-loader to fix scoped css bug, by @jolelievre
- #24653: Remove abstract product handler. Thank you @zuk3975
- #24632: Wrong get and set data for employee options configuration, by @PierreRambaud
- #24614: Fixed error message for avoiding duplicate order message name, by @Progi1984
- #24596: Fix primary buttons not being inline on Theme & Logo > Pages configurations, by @NeOMakinG
- #24580: Fix the alignment columns Features and Attributes. Thank you @okom3pom
- #24577: Customer Service page - A title section is not well displayed. Thank you @okom3pom
- #24573: Fix title layout on order view page, by @NeOMakinG
- #24572: Fix npm vulnerabilities and update webpack everywhere except classic, by @NeOMakinG
- #24541: Remove inline-style from form_row of the UIKit and adapt js, by @NeOMakinG
- #24539: Added style for maintenance page, by @Progi1984
- #24485: Fixed an error displayed in the console when changing the order status - Orders list page . Thank you @arouiadib
- #24447: Fix order view layout of right column, by @NeOMakinG
- #24355: Fix Multistore dropdown in current group context, by @matthieu-rolland
- #24283: Add info block background to order page, by @NeOMakinG
- #24253: Backport #23902 with new modal content, by @atomiix
- #23900: Construct category tree using JS on product page v2, by @NeOMakinG
Front office
- #24610: Fixed check on array in template Smarty, by @Progi1984
Installer
- #24690: Update Symfony to latest patch, by @jolelievre
- #24681: Update prestashop modules in composer.lock, by @jolelievre
Tests
- #24652: Functional tests - Add test merchandise return options. Thank you @nesrineabdmouleh
- #24648: Fix nightly tests on 1.7.8.x for 25/05/2021. Thank you @nesrineabdmouleh
- #24627: Functional tests - Add test ‘Contact options’. Thank you @nesrineabdmouleh
- #24603: Add js-doc to faker data classes: search, searchEngine, seoPage, shop, shopGroup, sqlQuery, state, store, supplier, by @boubkerbribri
Code changes in the ‘1.7.7.x’ branch
Back office
- #24576: BO - New Order - Empty gift message is not a null value, by @Progi1984
- #24565: Order View - Discount Modal - Disable submit until name is filled, by @Progi1984
Code changes in modules, themes & tools
Main menu module
- #50: Migrate Travis CI to Github Actions, by @Progi1984
Core Weekly Generator tool
- #86: Bump dns-packet from 1.3.1 to 1.3.4. Built by @dependabot[bot]
- #85: Bump browserslist from 4.7.1 to 4.16.6. Built by @dependabot[bot]
Customer reassurance block module
- #205: Bump webpack from 5.37.1 to 5.38.1. Built by @dependabot[bot]
- #204: Bump browserslist from 4.16.3 to 4.16.6. Built by @dependabot[bot]
- #203: Bump css-loader from 5.2.5 to 5.2.6. Built by @dependabot[bot]
- #202: Bump eslint-plugin-import from 2.23.2 to 2.23.3. Built by @dependabot[bot]
Faceted search module
- #438: Bump webpack from 5.37.1 to 5.38.1. Built by @dependabot[bot]
- #437: Bump browserslist from 4.14.5 to 4.16.6. Built by @dependabot[bot]
- #436: Bump css-loader from 5.2.5 to 5.2.6. Built by @dependabot[bot]
- #435: Bump eslint-plugin-import from 2.23.2 to 2.23.3. Built by @dependabot[bot]
- #433: Fix Column on Attribute and Feature Controller by hook. Thank you @okom3pom
User documentation landing page
- #72: fix(deps): bump actions/cache from 2.1.5 to 2.1.6. Built by @dependabot[bot]
- #71: chore(deps-dev): bump @nuxtjs/eslint-config from 6.0.0 to 6.0.1. Built by @dependabot[bot]
- #70: fix(deps): bump core-js from 3.12.1 to 3.13.0. Built by @dependabot[bot]
- #69: chore(deps-dev): bump babel-jest from 26.6.3 to 27.0.1. Built by @dependabot[bot]
- #67: chore(deps-dev): bump eslint from 7.26.0 to 7.27.0. Built by @dependabot[bot]
- #66: chore(deps-dev): bump sass from 1.32.13 to 1.34.0. Built by @dependabot[bot]
Changes in developer documentation
- #1025: Correctly highlight smarty+html syntax. Thank you @kpodemski
- #1015: Update migration.md. Thank you @GabrieleMartini
- #1014: Update backup.md. Thank you @GabrieleMartini
- #1013: Update httpd.md. Thank you @GabrieleMartini
- #1012: Fix localhost page typo. Thank you @GabrieleMartini
- #1010: Add link to example module for console command creation. Thank you @zuk3975
- #1009: Mention example module in overrides section. Thank you @zuk3975
- #1007: Fixed path to component. Thank you @JevgenijVisockij
- #1006: Added list of components. Thank you @JevgenijVisockij
- #1000: Explain validation flow in migration guide. Thank you @zuk3975
- #980: Add basic multistore in modules doc, by @eternoendless
- #843: Introduce multistore technical documentation for configuration forms and settings, by @matthieu-rolland
Buy button lite module
- #51: Bump dns-packet from 1.3.1 to 1.3.4 in /app. Built by @dependabot[bot]
QA nightly results
- #56: Integrate phpstan and php cs fixer, by @PierreRambaud
Wishlist block module
- #118: Update delete modal wordings, by @NeOMakinG
- #117: Release version 2.0.1, by @jolelievre
Stylelint browser compatibility plugin
- #9: Bump browserslist from 4.8.3 to 4.16.6. Built by @dependabot[bot]
stylelint configuration
- #14: Bump browserslist from 4.16.4 to 4.16.6. Built by @dependabot[bot]
- #13: Bump stylelint-no-unsupported-browser-features from 4.1.4 to 5.0.1. Built by @dependabot[bot]
OnBoarding module
- #109: Bump eslint-plugin-import from 2.23.2 to 2.23.3. Built by @dependabot[bot]
Example modules
- #61: Add remaining text types for module demosymfonyform. Thank you @JevgenijVisockij
- #46: Bump elliptic from 6.5.3 to 6.5.4 in /example_module_mailtheme. Built by @dependabot[bot]
- #45: Bump elliptic from 6.5.3 to 6.5.4 in /demodoctrine/js. Built by @dependabot[bot]
DocToolsBundle
- #1: Cqrs doc commands, by @jolelievre
Product Comments module
Thank you to the contributors whose pull requests were merged since the last Core Weekly Report: @NeOMakinG, @jolelievre, @Progi1984, @dependabot[bot], @kpodemski, @PierreRambaud, @GabrieleMartini, @zuk3975, @nesrineabdmouleh, @PululuK, @mvorisek, @boubkerbribri, @JevgenijVisockij, @okom3pom, @samberrry, @SD1982, @arouiadib, @eternoendless, @matthieu-rolland, @atomiix, @levyn!
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!