PrestaShop Core Monthly - August
An inside look at the PrestaShop codebase
A little later than usual, discover the latest happenings in the PrestaShop Project for August 2023. We had a productive month, successfully merging more than 240 pull requests and releasing PrestaShop 8.1.1 and some security patches. Read on to find out more!
PrestaShop 8.1.1, 8.0.5, 1.7.8.10
The first patch for PrestaShop 8.1 and security patches for 8.0.5 and 1.7.8.10 are all available to download. You can read the details about these versions in the release notes:
More information regarding security fixes can be found in the security advisories. If you didn’t know it already, security advisories are a great way to stay up to date with the latest security fixes in PrestaShop – apart from reading our blog, of course! ;-)
Upcoming PrestaShop 8.1.2
Since PrestaShop 8.1.1 is now available, we started working on the next patch version. We are planning to release PrestaShop 8.1.2 in September. You can already check the pull requests that will be integrated into this version. Aside from bug fixes, we are also going to introduce a few new features, such as:
- New variables in the order confirmation email
- Allow modules to provide language link params in correct languages & Allow adding multilanguage routes that should improve how developers work with custom routes in PrestaShop.
For those who work on Windows, it’s worth checking this PR, which checks the validity of your environment configuration. You can read more about issues with OpenSSL in PrestaShop on Windows here.
PrestaShop 9.0
Maintaining older versions of PrestaShop and its modules is one part, but, of course, we are still working on the next major version. A lot of focus continues around the Symfony layout migration, fully Symfony-based layout is part of the project which will be released behind the feature flag in version 9. Apart from that, the work continues on cleaning the codebase of deprecated code, and new back office API is getting more love and a lot of new features.
Since it’s a major version, you can expect major changes. One of the notable ones is the removal of the code related to the Advanced Stock Management feature. Of course, every notable change will be listed as part of the “Notable changes in PrestaShop 9” page, which we will create when version 9 becomes feature-frozen.
What else? We welcomed a great contribution from @tups who improved the way we load jQuery UI in the front office. This change should improve the performance of the front office. And one last thing I would like to mention, Symfony container is now available in front office 🎉. Behind the feature flag, for v9, but still, it is a game-changer for many reasons to be explained in the future :)
Autoupgrade improvements
We are also working on improving the upgrade module. The new versions are regulary released, so make sure to check for updates in your back office. The latest version is 4.16.3. You can read more about the changes in the release notes.
Changes in the developer documentation
In August, there were key updates to our webservices documentation. Community revamped our guide to make it easier to understand. The highlight, however, comes from @thomasnares with the ‘Webservice Product A-Z’ comprehensive guide on how to manage products in PrestaShop using webservices. Big shoutout to all contributors for their efforts! 🎉
Project releases
-
PrestaShop, PrestaShop 8.1.1 released on 2023-08-07.
-
Wishlist block module, v3.0.1 released on 2023-08-11.
-
Gamification module, v3.0.2 released on 2023-08-30.
-
Product Comments module, Release 6.0.2 released on 2023-08-30.
-
Faceted search module, v3.13.1 released on 2023-08-10.
A quick update about PrestaShop’s GitHub issues and pull requests:
- 157 new issues have been created in the project repositories;
- 133 have been closed, including 18 fixed issues on the core;
- 261 pull requests have been opened in the project repositories;
- 279 pull requests have been closed, including 243 merged pull requests.
Code changes in the ‘develop’ branch
Back office
- #33760: Introduce
css component
forTypeaheadProductCollectionType
. Thank you, @PululuK - #33746: Fix nightly which was broken due to legacy route configuration. Thank you, @M0rgan01
- #33682: [Twig component] Makes breadcrumbs management independent. Thank you, @M0rgan01
- #33621: Fix broken trans call. Thank you, @Hlavtox
- #33607: Fix miscellaneous bugs on Symfony layout to get full UI tests green. Thank you, @jolelievre
- #33593: Fix navbar twig component error. Thank you, @lartist
- #33570: Replacing MultistoreHeaderController by a twig component and using it in ToolBar twig component instead. Thank you, @lartist
- #33466: Remove remains of AdminCartsController view. Thank you, @Hlavtox
- #33463: make search_form twig component independant. Thank you, @matthieu-rolland
- #33379: Make navbar component independent. Thank you, @M0rgan01
- #33366: Feat(api): add endpoint with complex custom type. Thank you, @tleon
- #33336: Replace twig component header. Thank you, @boherm
- #33324: Remove non responsive component. Thank you, @Hlavtox
- #33232: Remove purpose (activity) of store during install and in config. Thank you, @Hlavtox
- #33143: Replace shop list smarty template by twig component. Thank you, @lartist
- #33056: Enable migrated Title page and Remove AdminGendersController. Thank you, @Progi1984
- #33024: Add complex query with optional parameters. Thank you, @mflasquin
- #32720: Update TranslationToolsBundle to version 6. Thank you, @jolelievre
Core
- #33633: Fixing Employee Object Creation: Ensuring Correct Data Types for id and id_profile Properties. Thank you, @Kaikina
- #33533: Improve Makefile usage. Thank you, @nicosomb
- #33339: Fix symfony legacy route configuration, PART 2. Thank you, @M0rgan01
- #33158: Remove advanced stock management remains. Thank you, @Hlavtox
- #32992: Symfony 6 - Fix user deprecations. Thank you, @FabienPapet
- #32941: getShopLogo remove hasKey usage. Thank you, @cruftex
- #32873: Upgrade cssjanus to 2.1.1. Thank you, @matks
- #32584: Improved the CQRS listing command to track the progress of the development of the CQRS endpoints. Thank you, @tleon
Front office
- #33608: Fix tax detail in invoice. Thank you, @idnovate
- #33563: Fix load JqueryUI on FrontController : load only requested components. Thank you, @tups
- #33435: Lazyload attribute_price property. Thank you, @Hlavtox
- #33298: Make independent Quick Access twig component. Thank you, @boherm
- #32719: Load symfony container in front. Thank you, @boherm
- #32063: Problems with actionValidateCustomerAddressForm hook. Thank you, @kijamve
Tests
- #33764: Nightly : Fixed URL in @todo. Thank you, @Progi1984
- #33753: Nightly : Fixed
campaigns/modules/ps_facetedsearch/02*/*
. Thank you, @Progi1984 - #33748: Functional Tests : BO - Catalog - Products : Footer. Thank you, @Progi1984
- #33735: Bump @typescript-eslint/eslint-plugin from 6.4.0 to 6.4.1 in /tests/UI. Thank you, @dependabot
- #33734: Bump typescript from 5.1.6 to 5.2.2 in /tests/UI. Thank you, @dependabot
- #33733: Bump @typescript-eslint/parser from 6.4.0 to 6.4.1 in /tests/UI. Thank you, @dependabot
- #33732: Bump chai from 4.3.7 to 4.3.8 in /tests/UI. Thank you, @dependabot
- #33731: Bump eslint from 8.47.0 to 8.48.0 in /tests/UI. Thank you, @dependabot
- #33666: Bump eslint-plugin-import from 2.28.0 to 2.28.1 in /tests/UI. Thank you, @dependabot
- #33665: Bump playwright from 1.37.0 to 1.37.1 in /tests/UI. Thank you, @dependabot
- #33628: Bump @typescript-eslint/eslint-plugin from 6.2.1 to 6.4.0 in /tests/UI. Thank you, @dependabot
- #33627: Bump @typescript-eslint/parser from 6.2.1 to 6.4.0 in /tests/UI. Thank you, @dependabot
- #33620: Bump eslint from 8.46.0 to 8.47.0 in /tests/UI. Thank you, @dependabot
- #33618: Bump playwright from 1.36.2 to 1.37.0 in /tests/UI. Thank you, @dependabot
- #33537: Functional Tests : Hummingbird - FO - Header and Footer : Change language. Thank you, @Progi1984
- #33532: Nightly : Fixed functional/BO/14*/03*/01*. Thank you, @Progi1984
- #33531: Functional Tests : BO - Catalog - Products : CRUD virtual product (Add check for email). Thank you, @Progi1984
- #33528: Functional Tests : Faceted search module - Edit template - Product stock filter. Thank you, @Progi1984
- #33526: Functional tests - Add new test in ‘Advanced parameters > Administration page > General’. Thank you, @nesrineabdmouleh
- #33518: Functional Tests : BO - Catalog - Products : Header. Thank you, @Progi1984
- #33512: Functional tests - Add new test ‘Advanced parameters > Import file’. Thank you, @nesrineabdmouleh
- #33468: Update Keycloak module URL in tests. Thank you, @nicosomb
- #33464: Functional Tests : WS - Products - CRUD. Thank you, @Progi1984
- #33448: Bump @typescript-eslint/eslint-plugin from 5.62.0 to 6.2.0 in /tests/UI. Thank you, @dependabot
- #33061: Webservices tests : CRUD Stores. Thank you, @davidPrestashop
Web services
- #33675: Add webservice order returns - issue #17753. Thank you, @Max84
- #33664: Fix(webservice): allow preflight requests. Thank you, @arnauddohogne
- #33530: Rename new-api into backoffice API. Thank you, @nicosomb
Code changes in the ‘8.1.x’ branch
Back office
- #33660: Fix error in the module translation page (old translation system). Thank you, @eternoendless
- #33658: fix: issue when clearing cache with opcache with enable_file_override. Thank you, @Tofandel
- #33643: Do not attempt to rebuild modules list if missing data. Thank you, @matks
- #33581: Fix modules from distribution api. Thank you, @Hlavtox
- #33567: Fix visual issues new product page. Thank you, @boherm
- #33476: Add image helptext. Thank you, @Hlavtox
- #33450: Style migrated customer threads properly. Thank you, @Hlavtox
- #33380: Improve reorder positions on grids. Thank you, @boherm
Core
- #33648: Add WebP and Avif to mod_expires. Thank you, @kpodemski
- #33573: Fix dropExistingForeignKeys method when updating doctrine schema. Thank you, @Hlavtox
- #33555: Remove duplicates from smarty.config.inc.php. Thank you, @SharakPL
- #33515: Retry downloading language packs. Thank you, @Hlavtox
Front office
Installer
- #33491: Add low_stock_threshold to fixtures. Thank you, @Hlavtox
- #33292: Add a check for key generation. Thank you, @Hlavtox
Tests
- #33708: UI Test: delete filter by position on pages and categories. Thank you, @boubkerbribri
- #33679: nightly: fix erreur on credit slip pagination test. Thank you, @boubkerbribri
- #33631: Modules tests - Fix ‘Modules > Faceted search > Uninstall and delete module’’. Thank you, @nesrineabdmouleh
Code changes in modules, themes and tools
.github
Auto Upgrade module
- #614: Add presenter hooks. Thank you, @Hlavtox
- #613: Update version regex in JavaScript. Thank you, @matthieu-rolland
- #612: Bump version to 4.16.2. Thank you, @Hlavtox
- #610: Release version 4.16.2. Thank you, @Hlavtox
- #609: Add force removing system for some files. Thank you, @boherm
- #608: Avoid deleting a popular payment module “stripejs”. Thank you, @nexustotalsolutions
- #607: Add more info to autoupgrade process. Thank you, @Hlavtox
- #604: Add empty values for MPN fields. Thank you, @Hlavtox
- #601: Fix product redirect_type. Thank you, @Hlavtox
- #599: Add key check. Thank you, @Hlavtox
- #546: Upgrade module from local source. Thank you, @sowbiba
Banner module
- #58: Update README.md. Thank you, @florine2623
Best sellers module
- #34: Update README.md. Thank you, @florine2623
Brands list module
- #22: Update README.md. Thank you, @florine2623
Cash on delivery module
- #51: Update README.md. Thank you, @florine2623
Changes in developer documentation sources
- #1720: Add tutorial for creating automatically xlf translation file - Update new-system.md. Thank you, @vcopleutre
- #1716: docs: fix type in testing-access.md. Thank you, @MrTanoshii
- #1715: Update the translations directory name in translation flow chart. Thank you, @eternoendless
- #1714: Improve explanation of how to add new wordings. Thank you, @eternoendless
- #1713: Table listing of custom form types. Thank you, @thomasnares
- #1712: Remove notice on TranslatableType. Thank you, @thomasnares
- #1711: Wrong code in tutorial page. Thank you, @ramalac
- #1710: Mention CONTRIBUTION_PROCESS.md in README. Thank you, @matks
- #1709: Correct path to layouts. Thank you, @PrestaEdit
- #1707: Themes links (classic / hummingbird). Thank you, @thomasnares
- #1706: Update creating-access.md, an improvised way for users to understand the documentation. Thank you, @Chizobaonorh
- #1705: Doc for Autoupgrade a module from local source. Thank you, @sowbiba
- #1704: Add table to describe example modules. Thank you, @thomasnares
- #1703: Webservice product az. Thank you, @thomasnares
Changes in developer documentation theme
- #43: Add shortcode to retrieve markdown files content from github API. Thank you, @thomasnares
Check payment module
- #63: Update README.md. Thank you, @florine2623
Contact Form module
- #72: Update README.md. Thank you, @florine2623
Contact informations module
- #59: Update README.md. Thank you, @florine2623
Contextual Help API
Currency selector
- #37: Update README.md. Thank you, @florine2623
Customer “Sign in” link module
- #52: Update README.md. Thank you, @florine2623
Customer account links module
- #48: Update README.md. Thank you, @florine2623
Customer data privacy block module
- #44: Update README.md. Thank you, @florine2623
Customer reassurance block module
- #593: Bump eslint from 8.47.0 to 8.48.0. Thank you, @dependabot
- #592: Bump @babel/eslint-parser from 7.22.10 to 7.22.11. Thank you, @dependabot
- #591: Bump @babel/core from 7.22.10 to 7.22.11. Thank you, @dependabot
- #588: Bump eslint from 8.46.0 to 8.47.0. Thank you, @dependabot
- #587: Bump @babel/eslint-parser from 7.22.6 to 7.22.10. Thank you, @dependabot
- #586: Bump @babel/core from 7.22.9 to 7.22.10. Thank you, @dependabot
- #584: Bump eslint from 8.45.0 to 8.46.0. Thank you, @dependabot
Custom text module
- #76: Update README.md. Thank you, @florine2623
Distribution API
- #32: Fix French in README 🇫🇷 😄 . Thank you, @matks
- #31: Manualy add the current development version to generate a module json for it. Thank you, @tleon
Docker images
- #351: Split publish workflow into sub jobs for each version to avoid disk limit. Thank you, @jolelievre
- #349: Add versions 8.1.1, 8.0.5 and 1.7.8.10. Thank you, @matthieu-rolland
Email Alerts module
- #136: Bump version to 2.4.2. Thank you, @Hlavtox
- #134: Update README.md. Thank you, @florine2623
- #133: Avoid 4 lines of — when customization. Thank you, @NicolasCador
Example modules
- #160: Change H1 to H2 for devdocs import. Thank you, @thomasnares
- #159: Update and structure module descriptions. Thank you, @thomasnares
- #150: Create demo product form 2 and demos symfony form 4 for Prestashop 9.0.0. Thank you, @M0rgan01
- #144: Use GeocoordinatesFormType inside demosymfonyform module. Thank you, @LouisAUTHIE
Faceted search module
- #909: Bump @babel/preset-env from 7.22.10 to 7.22.14. Thank you, @dependabot
- #908: Bump eslint from 8.47.0 to 8.48.0. Thank you, @dependabot
- #906: Bump @babel/core from 7.22.10 to 7.22.11. Thank you, @dependabot
- #905: Bump @babel/eslint-parser from 7.22.10 to 7.22.11. Thank you, @dependabot
- #904: Bump chai from 4.3.7 to 4.3.8. Thank you, @dependabot
- #903: Bump eslint-plugin-import from 2.27.5 to 2.28.1. Thank you, @dependabot
- #902: Update GH workflows: Node 14-16, PHP 7.2-8.2, Github actions v3. Thank you, @leemyongpakvn
- #901: Bump eslint from 8.46.0 to 8.47.0. Thank you, @dependabot
- #900: Bump @babel/eslint-parser from 7.22.9 to 7.22.10. Thank you, @dependabot
- #899: Bump @babel/core from 7.22.9 to 7.22.10. Thank you, @dependabot
- #898: Bump @babel/preset-env from 7.22.9 to 7.22.10. Thank you, @dependabot
- #897: Bump @babel/node from 7.22.6 to 7.22.10. Thank you, @dependabot
- #896: Bump @babel/cli from 7.22.9 to 7.22.10. Thank you, @dependabot
- #895: Fix load JqueryUI for load good component - Link PR Prestashop #33563. Thank you, @tups
- #894: Release 3.13.1. Thank you, @Progi1984
- #893: Added
data-type
to distinguish facet. Thank you, @Progi1984 - #892: Minor refactoring. Thank you, @Hlavtox
- #891: Improve wording, add hints, fix javascript form validation. Thank you, @Hlavtox
- #889: Bump eslint from 8.45.0 to 8.46.0. Thank you, @dependabot
- #886: Pass attribute information with the results. Thank you, @Hlavtox
- #884: Flush cache on upgrade. Thank you, @Hlavtox
- #876: Bump @babel/core from 7.22.1 to 7.22.9. Thank you, @dependabot
- #832: Bump node-sass from 8.0.0 to 9.0.0. Thank you, @dependabot
Featured products module
- #55: Update README.md. Thank you, @florine2623
GDPR module
- #212: Update README.md. Thank you, @florine2623
Google Sitemap module
- #167: Update README.md. Thank you, @florine2623
Hummingbird theme
- #539: fix: Bad display in the prices filters while uncheck one of the filters. Thank you, @tblivet
- #538: fix: The price is displayed twice as if there was a discount. Thank you, @tblivet
- #533: Edit payment option to work with ps_checkout. Thank you, @tblivet
Image slider module
- #93: Update README.md. Thank you, @florine2623
Kanbanbot
- #27: Improve README documentation. Thank you, @matks
- #26: Bump to
1.3.0
version. Thank you, @boherm - #25: Add license and readme files. Thank you, @lartist
- #24: Refactoring. Thank you, @lartist
- #23: Manage simple actions. Thank you, @boherm
- #15: Add php checking on ci. Thank you, @lartist
Keycloak_connector_demo
- #26: Bump phpstan/phpstan from 1.10.30 to 1.10.32. Thank you, @dependabot
- #25: Bump phpstan/phpstan from 1.10.29 to 1.10.30. Thank you, @dependabot
- #24: Bump phpstan/phpstan from 1.10.28 to 1.10.29. Thank you, @dependabot
- #23: Bump phpstan/phpstan from 1.10.27 to 1.10.28. Thank you, @dependabot
- #22: Add getUserIdentifier method to match SF6 new interface. Thank you, @jolelievre
- #21: Bump phpstan/phpstan from 1.10.15 to 1.10.27. Thank you, @dependabot
Links list module
- #181: Fix - Category with duplicate name does not appear in module configur…. Thank you, @jmc1987
- #179: Update after bump multiple doctrine deps in core. Thank you, @M0rgan01
- #178: Update README.md. Thank you, @florine2623
Main menu module
- #73: Update README.md. Thank you, @florine2623
Native-modules
New Products module
- #26: Update README.md. Thank you, @florine2623
Order Notifications on the Favicon module
- #42: Update README.md. Thank you, @florine2623
PrestaShop test scenarios
- #10: Added details to scenario. Thank you, @Progi1984
Prestashop-flashlight
- #1: MySQL enhancements. Thank you, @jokesterfr
Presthubot
- #163:
QA Automation
: Check @todo intests/UI
. Thank you, @Progi1984 - #162:
QA Automation
: Use pagination in the JIRA API. Thank you, @Progi1984 - #161: Bump symfony/var-dumper from 5.4.26 to 5.4.28. Thank you, @dependabot
- #160: Bump guzzlehttp/guzzle from 7.7.0 to 7.8.0. Thank you, @dependabot
- #159: Bump symfony/console from 5.4.26 to 5.4.28. Thank you, @dependabot
- #158: Bump phpstan/phpstan from 1.10.30 to 1.10.32. Thank you, @dependabot
- #157: Bump phpstan/phpstan from 1.10.29 to 1.10.30. Thank you, @dependabot
- #156: Bump phpunit/phpunit from 9.6.10 to 9.6.11. Thank you, @dependabot
- #155: Bump phpstan/phpstan from 1.10.28 to 1.10.29. Thank you, @dependabot
- #154: Bump phpstan/phpstan from 1.10.27 to 1.10.28. Thank you, @dependabot
- #153: Bump phpstan/phpstan from 1.10.26 to 1.10.27. Thank you, @dependabot
- #152:
QA Automation
: Add JIRA Report. Thank you, @Progi1984 - #151:
QA Automation
: Check status nightly. Thank you, @Progi1984
Product Comments module
- #186: Release 6.0.2. Thank you, @M0rgan01
- #185: Bump module version to 6.0.2. Thank you, @leemyongpakvn
- #184: Fix the remaining issue of Github update_release_draft. Thank you, @leemyongpakvn
- #183: Release 6.0.1. Thank you, @M0rgan01
- #182: Preparation for the 6.0.1 release. Thank you, @M0rgan01
- #181: Test Organization build-release.yml in productcomments repo. Thank you, @leemyongpakvn
- #180: Release 6.0. Thank you, @M0rgan01
- #179: Update README.md. Thank you, @florine2623
- #178: Update after bump multiple doctrine deps in core. Thank you, @M0rgan01
- #177: Migrate from ObjectModel to Doctrine (final). Thank you, @leemyongpakvn
QA nightly results
- #74: Fix: try modif plus workflow. Thank you, @elodie-bil3
- #72: Fix typo in README. Thank you, @matks
Search Bar module
- #55: Update README.md. Thank you, @florine2623
Share Buttons module
- #60: Update README.md. Thank you, @florine2623
Shopping cart module
- #92: Update README.md. Thank you, @florine2623
Social Follow module
- #41: Update README.md. Thank you, @florine2623
Special offers module
- #14: Update README.md. Thank you, @florine2623
Suppliers list module
- #22: Update README.md. Thank you, @florine2623
The PrestaShop open source project
- #222: Fix items number. Thank you, @matks
- #221: Fix items of release todo list. Thank you, @matks
- #220: Update release process final steps with up-to-date informations. Thank you, @matks
- #219: Add LouisAUTHIE to committers. Thank you, @matks
TopTranslators
- #50: Correct flag for the Mongolian language. Thank you, @LouiseBonnard
Viewed products block module
- #33: Update README.md. Thank you, @florine2623
Webservice-postman-examples
- #5: Improve A-Z example with Features and Attributes. Thank you, @thomasnares
- #4: Add demo product AZ. Thank you, @thomasnares
Wire payment module
- #83: Update README.md. Thank you, @florine2623
Wishlist block module
- #231: v3.0.1. Thank you, @lartist
- #230: Update README.md. Thank you, @florine2623
- #226: Attribute delete fix. Thank you, @JevgenijVisockij
Zip-archives
Thank you to the contributors whose pull requests were merged since the last Core Monthly Report: @Chizobaonorh, @FabienPapet, @Hlavtox, @JevgenijVisockij, @Kaikina, @LouisAUTHIE, @LouiseBonnard, @M0rgan01, @Max84, @MrTanoshii, @NicolasCador, @PrestaEdit, @Progi1984, @PululuK, @SharakPL, @Tofandel, @arnauddohogne, @boherm, @boubkerbribri, @cruftex, @davidPrestashop, @dependabot, @elodie-bil3, @eternoendless, @florine2623, @github-actions, @idnovate, @jmc1987, @jokesterfr, @jolelievre, @kijamve, @kpodemski, @lartist, @leemyongpakvn, @matks, @matthieu-rolland, @mflasquin, @nesrineabdmouleh, @nexustotalsolutions, @nicosomb, @ramalac, @sowbiba, @tblivet, @thomasnares, @tleon, @tups, @vcopleutre!
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!
Coding is only just one of the ways you can contribute. Here are some ideas on how you can get involved in the project.
If you need help with contributing or have questions about it, feel free to contact me, @kpodemski, on the project’s Slack.
Happy contributin’ everyone!