Thelia v2.1.0-beta2 Release Notes

    • config :
      • environment variable can be used in the database.yml file. See https://github.com/thelia/thelia/pull/968
      • Allow other projects to override thelia directories constants by using composer "autoload"["file"] entries
    • smarty:
      • Add the "current" argument on smarty "url" function that allows you to get the same page but with differant url parameters
    • 🆕 new method manageStockOnCreation in PaymentModuleInterface. If return false, the stock will be decreased on paid status instead of order creation.
    • Thelia:
      • Split Thelia on multiple repositories to allow a better version management with composer. For creating a new project, see [https://github.com/thelia/thelia-project]
      • Extract all the default modules into other repositories
      • Field type :
        • added area_id, category_id, folder_id, content_id
        • thelia type support render_form_field
    • loop product_sale_elements : added ref argument and implemented SearchLoopInterface
    • ⚡️ Updated hasVirtualProduct in Order model to not test the presence of filename, as modules could implement the process differently
    • 🆕 new method Thelia\Model\Module::getDeliveryModuleInstance() return the delivery module instance for the current record.
    • 0️⃣ 'freesans' is now the default font of PDF documents
    • Anonymous cart is no longer duplicated on customer login