Skip to content

Latest commit

 

History

History
87 lines (50 loc) · 2.55 KB

UPGRADE-6.3.md

File metadata and controls

87 lines (50 loc) · 2.55 KB

UPGRADE FROM 6.2 TO 6.3

Essentials

Changed Signatures

See the Changed Interfaces and Method Signatures section whether changes in signatures affect the project.

Changed Features

\TShopArticleReview::LoadFromRowProtected() Uses Whitelist Instead of Blacklist

When loading data from user input \TShopArticleReview::LoadFromRowProtected() now uses a whitelist instead of a blacklist to avoid users being able to pass data not intended for change. If your project uses custom fields in the shop_article_review table, override \TShopArticleReview::getFieldWhitelistForLoadByRow() to add these fields to the whitelist.

Changed Interfaces and Method Signatures

This section contains information on interface and method signature changes which affect backwards compatibility (BC). Note that ONLY BC breaking changes are listed, according to our backwards compatibility policy.

\ChameleonSystem\AmazonPaymentBundle\AmazonOrderReferenceObject

  • Changed method __construct() now expects Psr\Log\LoggerInterface instead of \IPkgCmsCoreLog.

\ChameleonSystem\AmazonPaymentBundle\AmazonPaymentGroupConfig

  • Changed method setLogger() now expects Psr\Log\LoggerInterface instead of \IPkgCmsCoreLog.

\ChameleonSystem\AmazonPaymentBundle\Interfaces\IAmazonOrderReferenceObject

  • Changed method __construct() now expects Psr\Log\LoggerInterface instead of \IPkgCmsCoreLog.

Deprecated Code Entities

It is recommended that all references to the classes, interfaces, properties, constants, methods and services in the following list are removed from the project, as they will be removed in Chameleon 7.0. The deprecation notices in the code will tell if there are replacements for the deprecated entities or if the functionality is to be entirely removed.

To search for deprecated code usage, SensioLabs deprecation detector is recommended (although this tool may not find database-related deprecations).

Services

  • chameleon_system_shop.log.order
  • chameleon_system_shop.log.order_channel

Container Parameters

None.

Constants

  • \TShopPaymentHandlerPayPal_PayViaLink::LOG_FILE

Classes and Interfaces

  • \TPkgShopCurrency_ShopDiscount
  • \TPkgShopCurrency_ShopPaymentMethod
  • \TPkgShopCurrency_ShopShippingType

Properties

None.

Methods

  • \TPkgShopOrderStatusManagerEndPoint::getLogger()
  • \TPkgShopOrderStatusManagerEndPoint::setLogger()

JavaScript Files and Functions

None.

Translations

None.

Database Tables

None.

Database Fields

None.