Release Notes - February - 1 2018

Edit on GitHub

Please note that we do not have Toran Proxy anymore, it has been shut down completely. Please use Packagist from now on.

Features

Product Search Widget

Previously, we had only product list widgets for which the products were selected based on their SKUs, whereas the selection was static and did not take product availabilities into account. In this release, we are introducing a new Product Search widget which makes it possible for a shop administrator to define rules for the widget by building an Elasticsearch query where the administrator specifies what data should be included in the product search result. This makes the product selection with the Product Search widget dynamic and fully customizable.

Affected Modules

MAJOR MINOR PATCH
CmsContentWidgetProductSearchConnector 1.0.0 Search 7.2.0 n/a

Migration Guides
To upgrade, follow the steps described below:

  • Apply every minor and patch:
composer update "spryker/*"
  • Once that is done, upgrade to the new module major and its dependencies:
composer require spryker/cms-content-widget-product-search-connector:"^1.0.0"

Multi-Store Product Abstract

With this release, we are introducing a new feature which allows managing product abstracts across stores. Now, a shop administrator can configure the abstract product appearance per store in the Administration Interface through a store toggle element available for each product abstract. The store toggle element controls the availability of the corresponding product abstract and related product concretes in specific store(s). Customers would be able to see only those abstract products (and their concrete products) which are associated with the store(s) defined by the shop administrator. Multi-store product abstract

Affected Modules

MAJOR MINOR PATCH

Migration Guides
To upgrade, follow the steps described below:

  • Apply every minor and patch:
composer update "spryker/*"
  • Once that is done, upgrade to the new module major and its dependencies:
composer require spryker/collector:"^6.0.0" spryker/product:"^6.0.0" spryker/product-management:"^0.10.0" spryker/touch:"^4.0.0"

Improvements

Multiple Mappings Per Single Import

Previously, it was not possible to import multiple mappings for index with one request. In this release, the search mapping installer has been changed to import all mappings when the index has not yet been created, which makes it possible to use features like parent / child relationship.

Affected Modules

MAJOR MINOR PATCH
n/a n/a

Fixing Compatibility Issues In All FormTypes

Previously, some Spryker forms used a deprecated code from Symfony. With this change, we have made sure all forms are not using the code deprecated in Symfony Form 2.8. Mainly, the string representation of types has been replaced with FQCN, for example $builder->add(‘foo’, ‘text’) has been replaced with $builder->add(‘foo’, TextType::class). We have also removed all constructors from the forms as FormFactory no longer accepts instances of form types. All forms now extend Spryker’s AbstractType to get access to getFactory(), getFacade(), getConfig() and getQueryContainer(). If your forms have a constructor, please remove it and access what you need from inside the forms from now on.

Affected Modules

MAJOR MINOR PATCH
n/a n/a

New Fields on Customer Account Page

In certain cases, a shop owner might need to know more specific information about clients, like, for example, their phone number, date of birth, locale or company they are working for. With this release, we have added Phone, Date of Birth, Company and Locale fields to “Create” and “Edit” pages in the Customers section in the Administrator Interface, which allows keeping record of the necessary customer data.

Affected Modules

MAJOR MINOR PATCH
n/a Customer 7.3.0 n/a

Bugfixes

Product Editing

Previously, when trying to save a product in the Edit mode, an error happened, since a wrong QueryContainer was used. This has been fixed, the product is saved fine now.

Affected Modules

MAJOR MINOR PATCH
n/a n/a ProductManagement 0.10.2

Filter Names

Previously, we had an issue with filter names in the Administration Interface. This issue has been fixed, the filter names are correct now.

Affected Modules

MAJOR MINOR PATCH
n/a n/a

Code Propagation Fix For Correct CI Results

Previously, we had an issue with the CodeSniffer console: it was not outputting an error code when a CS issue was found. This has now been resolved.

Affected Modules

MAJOR MINOR PATCH
n/a n/a Development 3.6.1

Adding Missing Attributes to Product Module

Previously, when updating the product module to spryker/product 5.4.0, the AttributeLoader::getCombinedAbstractAttributeKeys() method returned an array with not all the attributes. This issue has now been fixed so that all attributes that were there before the package update, are retrieved after the update as well.

Affected Modules

MAJOR MINOR PATCH
n/a n/a Product 5.4.2

Images Display in Administration Interface

Previously, when opening a product page in the “View” or “Edit” modes in the Administration Interface, images with URLs were not displayed. This issue has been solved with this release - all product images are displayed correctly in the “View” and “Edit” modes now.

Affected Modules

MAJOR MINOR PATCH
n/a n/a ProductManagement 0.9.3

Arvato RSS Fixes

Previously, we had several issues with Arvato RSS:

  • from time to time an error, related to empty AddressValidationResponse field, occurred on Yves;
  • communication token was not processed when executing RSS-check in checkout and getting a valid response from RSS Arvato;
  • StoreOrderRequestMapper was mapping idCustomer instead of customerReference;
  • when executing a risk check and getting a correct address back, the additional address field was missing in the response transfer;
  • even if a delivery address was equal to billing addresses, the delivery address was sent with the request as well.

All these issues have been fixed in this release.

Documentation Updates

The following content has been added to the Academy: