Quantcast
Channel: PrestaShop Developers' blog
Viewing all articles
Browse latest Browse all 922

PrestaShop Core Monthly - November

$
0
0

In this Core Monthly, I will focus on a few important topics that are being worked on inside the project, the new product page, initiatives, new releases, and some great contributions from the community.

Core Monthly banner

Dear developers,

Here it is! The first edition of the Core Monthly. I know through community feedback about the impact weekly summaries recently had, this is why it was decided to summarize the entire month in one article to make them more useful. This way, more time can be invested in providing you with relevant news about the project.

Here’s what happened in November:

Office hours

Let’s start with something very exciting: regular meetings with the community have started. They are different from our monthly Public Demos. The Office Hours initiative is about project members making themselves available to you, to the community, (almost) every Tuesday at 11 AM CET, to discuss everything related to the project.

These meetings have already proven it was a great idea. There have been constructive discussions about many ongoing projects, Pull Requests, architectural decisions, etc. This is also a chance to answer some community questions and help them finish their contributions.

Looking forward to meeting you at our next meetings.

Public Demo

The eighth demo of the year was held - this time with two presentations from project members. If you haven’t watched it already, make sure to read the summary.

Committers

In November, three new committers were welcomed. An important development is that it was decided to make committers act as code owners. What does it mean? Until then, the rules were as follows: a Pull Request to the Core had to be approved by at least one maintainer. Now, two committers can approve it without requiring a maintainer to step in. This seemingly small step is significant for the entire project, as it should help Pull Requests get approved more quickly.

If you are an active member of the project and want to join as a committer, you can read how to do this on the article on the project’s website.

Focus on code changes

With PrestaShop 8.0 released a month ago, the feature freeze for PrestaShop 8.1 is only two months away. There are a few major subjects for this version that project members are working on.

Product page

The first subject is a new product page. The team responsible for this project is working hard to make all the needed changes in the code.

Ongoing work on the unification of some commands and some refactoring, crucial for the page to be more efficient: so developers can use reliably created commands. In almost every Pull Request related to the new product page, you may notice several new or modified automated tests. This should help the team deliver a product page more stable than ever.

You can also find some Pull Requests about improving or adding multi store compatibility to the new product page.

New features coming to PrestaShop 8.1

In November, the community created a few outstanding Pull Requests (which are now merged) with features that are going to be available in the next minor version. Starting with three (!) changes from Daniel (@Hlavtox). He added a new setting to decide if the order should switch to backorder state. The second is the highly requested possibility of adding availability labels to each combination. In PrestaShop 8.1, this will be possible thanks to Daniel and his changes. Last but not least, more options for discontinued products should help merchants better manage such articles in PrestaShop.

If you’ve already seen the Public Demo in November, you know there’s ongoing work related to the API in PrestaShop. You can check one of @atomiix’s Pull Requests to see more details, and read the Epic that summarizes all the work planned around this API.

There will also be a new option to disable the “Shop Name” prefix from outgoing emails, thanks to the change from @rmilecki.

PrestaShop 1.7.8.8

The next patch version for PrestaShop 1.7 is at the very last step of the release process, and you can expect to see it live anytime now.

It is important to know that PrestaShop 1.7 has entered Extended Support mode since the release of PrestaShop 8.0. This means that no further development will be done on 1.7, except for security of critical fixes. The extended support for PrestaShop 1.7 will continue until PrestaShop 9.0 is released, estimated by the end of 2023.

What do you think?

How do you like the new monthly format for the core report? Send us your feedback here!

Project releases

A quick update about PrestaShop’s GitHub issues and pull requests:

Code changes in the ‘8.0.x’ branch

Back office

  • #30362: Fix filemanager undefined translations. Thank you, @Hlavtox
  • #30326: Force AbstractColumn::name to never be null. Thank you, @jolelievre
  • #29695: Do not clear system cache on bulk install,remove,upgrade module. Thank you, @mflasquin
  • #29132: Fix stock policy propagation on product combination. Thank you, @FabienPapet
  • #29039: Product list preview in product list V2. Thank you, @jolelievre

    Core

  • #30273: Test id_manufacturer index before accessing it. Thank you, @Hlavtox
  • #30230: Upgrade cancel-workflow-action so that previous AND next same jobs are canceled except the last one. Thank you, @lartist

    Front office

  • #30347: Pass variable by reference to reuse it in modules. Thank you, @idnovate
  • #30252: Do not return customization values if cart is not set. Thank you, @Prestaworks
  • #30093: Add install fixtures for new registration page.. Thank you, @Hlavtox
  • #30084: Added check to see if delivery option is an array. Thank you, @nicosomb

    Tests

  • #30451: Functional Tests : Split Tests. Thank you, @Progi1984
  • #30395: Fix CI for ubuntu-22.04. Thank you, @atomiix
  • #30328: Remove multi statement SQL queries from integration tests. Thank you, @jolelievre
  • #30265: Backport #30257 - Fix random errors 10-11. Thank you, @nesrineabdmouleh
  • #30222: BO - Orders - Credit Slips - Sort & Pagination Credit Slips. Thank you, @cfarhani06
  • #30191: Replace deprecated usage of ::set-output in Github actions. Thank you, @jolelievre
  • #30188: Functional tests - Fix invalid format image error message. Thank you, @nesrineabdmouleh
  • #30184: Functional test - Fix errors in Nightly 02-11-2022. Thank you, @nesrineabdmouleh
  • #29802: Functional tests - Refacto BO - bulk duplicate products. Thank you, @khouloudbelguith

    Code changes in the ‘develop’ branch

    Back office

  • #30434: Enable unified UpdateCombinationCommand in product page v2. Thank you, @jolelievre
  • #30421: Add behat scenarios for combination generation and deletion in all shops. Thank you, @zuk3975
  • #30402: 16592: added behat tests for customer service. Thank you, @margud
  • #30387: HelperListcallback is not called when column data is null. Thank you, @PululuK
  • #30381: Unified combination command - isDefault, prices and stock. Thank you, @jolelievre
  • #30380: BO > Shopping Carts : Force Bulk Column. Thank you, @Progi1984
  • #30378: Enable unified UpdateProductCommand in product page v2. Thank you, @zuk3975
  • #30372: Handle product status update in UpdateProductCommand. Thank you, @zuk3975
  • #30369: Unification combination command details. Thank you, @jolelievre
  • #30360: UpdateProductCommand unification - handle stock properties. Thank you, @zuk3975
  • #30359: Simplify Profile form. Thank you, @Progi1984
  • #30297: Introduce Dimension value object. Thank you, @zuk3975
  • #30258: Fix recording last connection of a user. Thank you, @mflasquin
  • #30248: Create independent SetCarriersCommand. Thank you, @jolelievre
  • #30228: UpdateProductCommand unification - Shipping related properties handling. Thank you, @zuk3975
  • #30197: UpdateProductCommand unification - Details related properties handling. Thank you, @zuk3975
  • #30178: Fixed Stats dashboard when AdminStats module is not enabled. Thank you, @nicosomb
  • #30160: Fix exception throwing in CategoryRepository. Thank you, @zuk3975
  • #30146: Fix #29436 - The override directory is deleted when a module is uninstalled. Thank you, @idnovate
  • #30106: Manage image by multi shop matrix. Thank you, @lartist
  • #30065: 28673 quick access new product. Thank you, @margud
  • #30054: Add a modal window when the user clicks on ‘Regenerate thumbnails’ button. Thank you, @Progi1984
  • #30035: Allow legacy link feature flag. Thank you, @FabienPapet
  • #29985: Simplify Employee Options Form. Thank you, @Progi1984
  • #29900: Handle multishop for packed products in product page V2. Thank you, @mflasquin
  • #29793: Add a button to delete logo image on Manufacturer/Supplier form. Thank you, @Progi1984
  • #29753: Allow to configure if order should switch to backorder. Thank you, @Hlavtox
  • #29739: Remove short_description field from the Suppliers importer. Thank you, @kpodemski
  • #29732: Customer service controller migration (grid part). Thank you, @margud
  • #29722: Disable “Features” section in Product Page when Features are disabled. Thank you, @Progi1984
  • #29646: Call parent stylesheets were missing. Thank you, @zuk3975
  • #29630: Fix display issues on BO employee page when cancel the modification of the password. Thank you, @mflasquin
  • #29624: Use INTL_IDNA_VARIANT_2003 when INTL_IDNA_VARIANT_UTS46 is not defined (servers whith ICU < 4.6). Thank you, @javdome
  • #29571: Fixed the duplication of Alias when update. Thank you, @Progi1984
  • #29569: Don’t get info about email exists when reset admin password. Thank you, @PululuK
  • #29377: Make new-theme npm 8 compatible. Thank you, @NeOMakinG
  • #29232: Uncheck truncate input if its hidden. Thank you, @korbi551
  • #28640: Add movements history grouping in product page. Thank you, @jolelievre
  • #28568: Fix form_help block shown twice in text fields. Thank you, @elboletaire
  • #28395: Combination generation & deletion multishop handling. Thank you, @zuk3975
  • #28141: Add breadcrumbs for categories with identical names. Thank you, @zuk3975
  • #27712: Create product for shop, shop selection modal. Thank you, @jolelievre

    Core

  • #30437: Upgraded to latest symfony 4.4.x. Thank you, @nicosomb
  • #30418: Deprecate prestashop.core.string.character_cleaner. Thank you, @FabienPapet
  • #30406: Refacto StoresController::getTemplateVarStores. Thank you, @PululuK
  • #30398: Simplify default currency fetching for easier code understanding. Thank you, @FabienPapet
  • #30384: refactor(Configuration): Simplify configuration class methods. Thank you, @davidglezz
  • #30363: Add ShopConstraintEventListener. Thank you, @FabienPapet
  • #30310: Add default config value for backorder status. Thank you, @Hlavtox
  • #30269: Add comments to customer logic. Thank you, @Hlavtox
  • #30194: Add an isset test on id_manufacturer while getting product properties. Thank you, @PrestaEdit
  • #30087: Bump version to 8.1.0 & Github Actions : Removed Skip Conditions. Thank you, @Progi1984
  • #30034: Add comment to explicit range_behavior attribute on Carrier class. Thank you, @thomasnares
  • #29981: Rotate Symfony log file. Thank you, @jf-viguier
  • #29904: Add support multiple attribute in HelpOptions select type. Thank you, @PululuK
  • #29832: Wrong datas in order return with multiple products. Thank you, @PululuK
  • #29609: Fix AdminProductsController minor code issue. Thank you, @PululuK
  • #29411: Add availability labels to combinations. Thank you, @Hlavtox
  • #29295: Move copyImg to ImageManager and make reusable. Thank you, @PululuK
  • #29087: Update phpstan/phpstan from 1.7.4 to 1.8.11. Thank you, @Progi1984
  • #28618: Fix PrestashopLogger attr object_type validate. Thank you, @PululuK
  • #27927: Add Hook actionProductPriceCalculation. Thank you, @carmas123
  • #25984: Provide modules with information how much a quantity changed. Thank you, @Hlavtox

    Front office

  • #30416: Add id_feature_value in Product::getFrontFeaturesStatic. Thank you, @PululuK
  • #30383: Add theme_dir smarty global var in front contoller. Thank you, @hendaghanmi
  • #30342: Add supplier to {url} helper. Thank you, @PrestaSafe
  • #30314: Add manufacturer url to {url} helper. Thank you, @PrestaSafe
  • #30277: Mail: add PS_MAIL_SUBJECT_PREFIX to control [Foo] subject prefix. Thank you, @rmilecki
  • #30234: Optimize product assembler. Thank you, @Hlavtox
  • #30181: Changed the terminology Best sales to Best sellers. Thank you, @Progi1984
  • #29797: Refacto frontend sitemap and add hook to modify it. Thank you, @Hlavtox
  • #29720: Add more options for discontinued products. Thank you, @Hlavtox
  • #29516: Add contact page hooks. Thank you, @NeOMakinG
  • #29462: Clean-up the base object presenter. Thank you, @Hlavtox
  • #29294: Fix body classes for content_only and module front controllers. Thank you, @Hlavtox
  • #27758: Fix images for objects without name or rewrite. Thank you, @Hlavtox

    Installer

  • #30284: Fix generation of nightlies on develop branch. Thank you, @Quetzacoalt91
  • #30163: Deprecate Validate::isAnything. Thank you, @FabienPapet
  • #30156: Replace Tools::link_rewrite usages by Tools::str2url, deprecate Tools::link_rewrite. Thank you, @FabienPapet
  • #29965: Minor Module performance fixes. Thank you, @FabienPapet

    Tests

  • #30433: Update playwright to 1.28.1. Thank you, @nesrineabdmouleh
  • #30417: Functional tests - Add new test ‘CRUD standard product V2’. Thank you, @nesrineabdmouleh
  • #30403: Functional Tests : Split scripts for reducing time. Thank you, @Progi1984
  • #30396: Fix CI for ubuntu-22.04 (cherry-pick of #30395). Thank you, @atomiix
  • #30371: Functional Tests : Migration TS (FO > 12). Thank you, @Progi1984
  • #30368: Functional Tests : Migration TS (tools/linkchecker). Thank you, @Progi1984
  • #30329: Functional Tests : Migration TS (BO > Advanced Parameters 08 => 10). Thank you, @Progi1984
  • #30311: Functional tests - Fix ‘FO > My account > Get gdpr data in pdf’ test. Thank you, @nesrineabdmouleh
  • #30303: Functional tests - Refacto BO - Edit Home category. Thank you, @khouloudbelguith
  • #30299: Functional Tests : check:step-identifiers : Improved error message & Added check for baseContext. Thank you, @Progi1984
  • #30298: Functional Tests : Migration TS (BO > Header & utils/mailHelper). Thank you, @Progi1984
  • #30294: Functional tests : Shopping Carts - delete abandoned carts in BO. Thank you, @cfarhani06
  • #30283: Functional tests - Add new test ‘logOut from BO’. Thank you, @cfarhani06
  • #30257: Functional tests - Fix random errors in nightly. Thank you, @nesrineabdmouleh
  • #30256: Functional tests - Refacto BO - Sort pagination and bulk delete values of attributes. Thank you, @khouloudbelguith
  • #30255: Functional tests - Fix nightly errors 09-11. Thank you, @nesrineabdmouleh
  • #30233: Functional tests - Fix ‘FO - Account : Check order return PDF’. Thank you, @nesrineabdmouleh
  • #30216: Functional tests - Fix ‘BO - Customer Service : Change status’ test. Thank you, @nesrineabdmouleh
  • #30209: Functional Tests : BO - Left Menu. Thank you, @Progi1984
  • #30175: Edited file for suppliers import file. Thank you, @florine2623
  • #30164: Bump pdfjs-dist from 2.16.105 to 3.0.279 in /tests/UI. Thank you, @dependabot
  • #30125: Add typescript, eslint dependencies, types to tests folders. Thank you, @NeOMakinG
  • #30030: Functional Tests : Remove eslint-config-prestashop& Bump eslint - eslint-config-airbnb-base. Thank you, @Progi1984
  • #30021: Bump mocha from 6.2.3 to 10.1.0 in /tests/UI. Thank you, @dependabot

    Web services

  • #30309: Fix broken result in webservices. Thank you, @matthieu-rolland
  • #28806: Allows to set id_customization for cart row via webservices. Thank you, @webeshop
  • #28711: Fixed WebP Management in WebService. Thank you, @Progi1984
  • #28540: Fix WebserviceOutputBuilder - handle api categories blank schema. Thank you, @angelo983

    Code changes in the ‘1.7.8.x’ branch

    Back office

  • #29693: Update material icons lib to fix the slow npm installation. Thank you, @NeOMakinG

    Core

  • #30114: Do not build a domain from the module name (Cherry pick of #30080). Thank you, @atomiix
  • #29586: Disable execution of multiple statements in a single SQL query. Thank you, @atomiix

    Front office

  • #28838: Update AbstractForm.php for Multilanguage fields. Thank you, @panariga

Code changes in modules, themes and tools

Architecture Decision Records repository


Thank you to the contributors whose pull requests were merged since the last Core Monthly Report: @FabienPapet, @HanaRebaiQA, @Hlavtox, @NeOMakinG, @PrestaEdit, @PrestaSafe, @Prestaworks, @Progi1984, @PululuK, @Quetzacoalt91, @Triloworld, @angelo983, @atomiix, @boubkerbribri, @carmas123, @cfarhani06, @davidglezz, @dependabot, @elboletaire, @emmanuelgautier, @eternoendless, @florine2623, @hendaghanmi, @idnovate, @javdome, @jf-viguier, @jolelievre, @khouloudbelguith, @korbi551, @kpodemski, @lartist, @leemyongpakvn, @lmeyer1, @margud, @marsaldev, @matks, @matthieu-rolland, @mflasquin, @micka-fdz, @micreas, @mparvazi, @nesrineabdmouleh, @nicosomb, @okom3pom, @panariga, @rmilecki, @sowbiba, @thomasnares, @webeshop, @yanmakouf, @zuk3975!

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 on project’s Slack (@kpodemski).

Happy contributin’ everyone!


Viewing all articles
Browse latest Browse all 922

Trending Articles