Skip to content

Latest commit

 

History

History
688 lines (561 loc) · 26.6 KB

CHANGELOG.md

File metadata and controls

688 lines (561 loc) · 26.6 KB

Changelog

v4.4.0 - 2024.09.09

Add

  • Add support for PHP v8.2 and v8.3
  • Add support for Magento 2.4.7

Fix

  • Fix uninitialized member variables access

v4.3.3 - 2024.04.17

Fix

  • Support MSI - checking all inventory sources during export feed
  • Fix feed path for UI export type

v4.3.2 - 2024.04.12

Fix

  • Handle export problem for Multi Source Inventory module

v4.3.1 - 2024.04.02

Fix

  • Fix availability column data for UI export type
  • Fix deprecations from phpcs

Add

  • Add phpcs fixer as dev dependencies

v4.3.0 - 2024.01.16

Add

  • Add landing page campaign

v4.2.2 - 2023.11.10

Add

  • Add campaigns to category view page
  • Improve logging system

v4.2.1 - 2023.09.25

Fix

  • Fix problem with ssr/record-list.phtml template

v4.2.0 - 2023.09.18

Add

  • Add product campaign to product detail page
  • Support redirect campaigns for SSR

Fix

  • Fix displaying Fact-Finder campaigns for SSR

Change

  • Upgrade Web Components version to v4.2.8

v4.1.7 - 2023.08.08

Fix

  • Fix problems in factfinder_feed_export cron job by casting storeid to int.

v4.1.6 - 2023.07.19

Fix

  • Set default value for $pushImportResult to prevent initialization exception

v4.1.5 - 2023.07.05

Fix

  • Fix sending sid for first session request (when SSR is active)

v4.1.4 - 2023.05.22

Fix

  • Create one ffwebc_sid cookie per session
  • Improve transfer sid param for SSR request
  • Implement hooking into the pipeline for create sid cookie

v4.1.3 - 2023.05.15

Fix

  • Add missing sid parameter for SSR FactFinder request
  • Fix problem with export cron configuration
  • Fix invalid return type for CLI export
  • Fix problem with SFTP key auth connection

Change

  • Upgrade Web Components version to v4.2.7

v4.1.2 - 2023.04.14

Fix

  • Export preview
  • Export
    • Fix problem with attribute values which are null in feeds with attributes that contain a number in the code

Change

  • Upgrade Web Components version to v4.2.6

v4.1.1 - 2023.03.13

Change

  • Upgrade Web Components version to v4.2.5
  • Export
    • Upgrade phpseclib to phpseclib3
    • Fix upload data feed via SFTP using key auth

v4.1.0 - 2023.02.23

Add

  • Add option to switch between Api Version

Change

  • Upgrade Web Components to 4.2.4

Fix

  • Fix export error when Configurable has no children

v4.0.1 - 2023.02.07

Add

  • Upgrade Web Components to v4.2.3

Fix

  • fix problem during DI compilation
  • fix TypeError on HTTP product export

[v4.0.0-rc.4] - 2023.01.13

Change

  • upgrade code to php 8.1

[v3.7.3] - 2023.01.13

Add

  • Add option to switch between Api Version

v3.7.2 - 2022.11.29

Fix

  • Category page
    • Fixes problem with not working filters when category page fired in new tab

v3.7.1 - 2022.10.17

Change

  • Upgrade Web Components version to v4.2.1
  • introduce new way of user login tracking event

v3.7.0 - 2022.09.09

Fix

  • Fixes problem with the compilation and returned type of getIterator method

Add

  • Tracking
    • add user-id to all kind of tracking if user is logged in

v3.6.0 - 2022.08.25

BREAKING

  • Omikron\Factfinder\Model\Export\Catalog\Products
  • function getIterator has now returned type \Traversable
  • Omikron\Factfinder\Model\SessionData
  • function getUserId has returned type changed from int to string
  • drop support for PHP 7.3

Add

  • add support for PHP 7.4 and PHP 8.1 (PHP 8.0 is not used by any version of the Magento2)
  • Configuration
    • add anonymize user-id in tracking requests option

v3.5.2 - 2022.08.08

Add

  • Product view, Export Preview
    • added button on product page which open new page with preview of the exported values

v3.5.1 - 2022.06.27

Fix

  • Cart Page
  • fix array to string conversion error in recommendation template
  • Configuration
  • fix Test Connection and Test Upload Connection do not work on a store scope

v3.5.0 - 2022.05.30

Fix

  • Configuration
  • fix "Update FieldRoles" does not map some of the field roles in NG format to 7.3 which is used by the Web Components

Add

  • Export
  • Add new category feed export that could be used as a suggest enrichment

Change

  • upgrade Web Components to version 4.0.10

v3.4.1 - 2022.05.11

Fix

  • Category Page & Search Result Page
  • fix "Add to cart" button randomly shows on configurable products tiles

v3.4.0 - 2022.04.05

Add

  • Search Result Page, Category Page
  • add Products per Page configurartion which allows user to define custom configuration without any change in code

Fix

  • Export
  • fix Model\Export\Catalog\ProductType\ConfigurableDataProvider::getChildren throws an SQL syntax error if configurable product has no variants assigned

v3.3.0 - 2022.03.04

Fix

  • Import
  • fix error while push import feed using CLI after generate it for API version 7.x
  • fix content of informational modal window after feed export for API version 7.x
  • Configuration
  • fix "Update FieldRoles" uses wrong scope while saving to database
  • fix PushImport data types are fetched with wrong scope
  • Category Page
  • fix encoding for special characters in category names
  • SSR
  • add detection of relative url and remove forwardslash for correct redirecting to product page
  • Category Page & Search Result Page
  • fix scrollTop top page is executed on search immediate event
  • fix catalogAddToCart widget is not correctly applied to product forms

Change

  • upgrade Web Components to version 4.0.8

v3.2.2 - 2022.02.02

Fix

  • Export
  • fix variant base values are not exported if FilterAttributes are not configured to be exported from variant level

v3.2.1 - 2022.01.28

Fix

  • Category Page
  • fix category path is not correctly sorted if the parent category has id with greater number than its child

v3.2.0 - 2022.01.26

Add

  • Product Page
  • make ff-similar-products and ff-recommendation attribute max-results configurable

Improve

  • Export
    • improved diagnostic messages printed during running feed export in admin panel
    • throw Exception while running export for disabled channel
    • add support for DateTime type

Change

  • Upgrade Web Components to version 4.0.6

Fix

  • Export
  • fix false value coming from getConfigurableOptions breaks export
  • fix configurable attributes are not merged with FilterAttributes field if FilterAttributes is configured to be exported from variants

v3.1.0 - 2021.12.03

Add

  • Category Page & Search Result Page
  • add Scroll to top callback after products page change

Fix

  • Export
  • Fix feed file names were not unified for all export methods

Change

  • Upgrade Web Components to version 4.0.5

v3.0.2 - 2021.11.15

Add

  • Configuration
    • Add Enable/Disable optional custom elements in module config page

Fix

  • Upload
    • Fix missing parameters passed to UploadFactory

v3.0.1 - 2021.11.04

Add

  • Upload
  • Add Upload Directory field which allows user to define where uploaded file should be saved

Fix

  • Category Page & Search Result Page
  • fix asn-group template has not been loaded correctly

v3.0.0 - 2021.10.25

BREAKING

  • SSR Due to FACT-Finder filters format in GET request (multiple parameters with the same name filter) we were in need to change the implementation of:
    src/Model/Ssr/SearchAdapter.php - changed function definition public function search(string $query = '*', array $params = []): array to public function search(string $paramString): array All changes in current release are related to that breaking change

Add

  • SSR
    • Now remembers the user selected search parameters (filters, sorting, etc.)

Fix

  • Suggest
    • Category suggestion are redirected to search result page with query *

v2.3.0 - 2021.10.25

Added

  • Category Page
    • for NG version implement category-page attribute
  • Upload
    • Implement SFTP upload with public key authentication method

Fix

  • Tracking
    • Add to cart tracking throws an error on versions less than 2.4
    • Click tracking is not sent correct query on category page

v2.2.0 - 2021.10.01

Added

  • SSR
    • Add Single Hit Redirection feature when SSR is enabled
  • Export
    • Add possibility to select field to be exported as numerical in module configuration. Numerical fields will be exported in new multi-attribute column NumericalAttributes
  • Navigation
    • Add ffRedirectToSearchResultPage function which could be used to manually redirect to search result page.

Changed

Navigation

  • Remove category filter from ff-asn block on Category pages

Fix

  • SSR
    • after first search with 0 result, next will render no products even if FACT-Finder returns them
  • Import
    • PushImport triggers not implemented running method in Communication SDK for 7.3 version
  • Export
    • Fix export does not check if product options are not null in ConfigurableDataProvider::getOptions

v2.1.0 - 2021.07.15

Added

  • Add possibility to export fields from variant level. Previously export took only configurable attributes from variants and rest was copied from parent
  • Use catalogAddToCart widget on ff-record elements

v2.0.2 - 2021.06.15

Changed

  • Upgrade Web Components to version 4.0.3

Fixed

  • Fixed behaviour of Attribute export for products - if value is nullable, return an empty string instead of throwing exception

v2.0.1 - 2021.05.14

Fixed

  • Fixed "Area code is not set" during installation on Magento 2.4.2
  • Fixed Login tracking events are sent with each page reload after user was logged in.
  • Added missing idType attribute to ff-similar-products element

v2.0.0 - 2021.04.30

BREAKING

  • Removed config models interfaces which appeared to be unnecessary. Their only responsibility is to fetch stored config and it is unlikely to need a different implementation.

    • CommunicationConfigInterface
    • AuthConfigInterface
    • FeatureConfigInterface
  • Removed interfaces for classes which supposed to be treated as final, in order to maintain correct integration between Magento2 and the Web Components.

    • FieldRolesInterface
    • SessionDataInterface
  • Renamed ProductFieldInterface to FieldInterface to make it more generic. Now it could be also used for different types of export.

  • Reworked ExportProducts command. Now its a generic Export and it requires mandatory argument of type which indicates of type of data to be exported.

  • Rework tracking to use sid generated by WebComponents and for now it is executed on the storefront. Following backend observers has been removed:

    • AddToCart
    • Checkout
      From now, tracking takes place on the store front.
  • Communication layer has been entirely replaced with (PHP Communication SDK)[https://github.com/FACT-Finder-Web-Components/php-communication-sdk].

  • Improved attribute export. User can now select if a given attribute should be exported in a separate column or aggregated in multi attribute column FilterAttributes

Added

  • Add Server Side Rendering support.

Changed

  • Simplify module configuration by remove Activated Web Components Section. Whether an element should be rendered or not should be determined by the template implementation, not by the configuration
  • Upgrade Web Components to version 4.0.2
  • Searchbox element is not moved to content block in factfinder_result_index layout

Fixed

  • Prevent array to string conversion when exporting products select attribute option
  • Event data coming from searchbox element is not URLencoded before redirecting to search result page

v1.6.5 - 2020.12.16

Changed

  • Upgrade Web Components to version 3.15.10

Fixed

  • Fix redirect URL in controller_action_predispatch_* observer
  • Exclude category filter from URL on category pages
  • Fix CMS export does not export pages assigned to all stores when exporting from specific store scope
  • Fix CMS export does not export any page if nothing is selected in the export blacklist

v1.6.4 - 2020.10.15

Changed

  • Upgrade Web Components to version 3.15.8

Fixed

  • Make category optional in CategoryPath view model, preventing errors on Varnish ESI

v1.6.3 - 2020.09.23

Fixed

  • Magento CSP compatibility
  • Filter non-printable characters in export feed

v1.6.2 - 2020.08.06

Added

  • Add information about checkout tracking to the README file
  • Add troubleshooting section to the README file

Changed

  • Export manufacturer using a separate field model
  • Upgrade Web Components to version 3.15.4

Fixed

  • Fix all GET params containing spaces when using the Proxy

v1.6.1 - 2020.05.11

Fixed

  • Fixed stack overflow error on IE11

v1.6.0 - 2020.04.30

Added

  • Track requests coming from internal IPs

Changed

  • Upgrade Web Components to version 3.14.1
  • Deprecate search-navigation.js: search redirection is now implemented using a dedicated JS component on the relevant elements.

v1.5.1 - 2020.04.02

Added

  • Added RECOMMENDATION to available import type to be pushed after feed is uploaded
  • Added Check FTP connection functionality in the module configuration

Changed

  • Upgrade Web Components to version 3.13.0

v1.5.0 - 2020.03.06

Changed

  • Improve extendability of product export (by @aptudock)

Fixed

  • Fixed cron feed export is now working correctly with multistore
  • Prevent slider filter requests from being redirected to search result page

v1.4.2 - 2020.02.06

Changed

  • Upgrade Web Components to version 3.11.4

Fixed

  • Follow-up fixup to encoding parameter names to make them parsed correctly by http_build_query
  • Enforce correct category path order in ViewModel
  • Prevent merging and bundling of Web Components

v1.4.1 - 2020.01.28

Fixed

  • Remove typo in campaign template which prevents the rendering
  • Fixed filterCategory not encoded correctly for categories with more words in name when using Proxy

v1.4.0 - 2019.12.17

Changed

  • Upgrade Web Components to v3.11.1
  • Only offer Add to cart button for products without variants

Fixed

  • Fix handling of REST calls via proxy
  • Fix sorting of campaign blocks on search result page
  • Fix tracking of products with options and submit correct master ID
  • Prevent duplicate login tracking when customer data is reloaded

v1.3.4 - 2019.11.08

Added

  • Improve CI suite by introducing PHPMD checks

Changed

  • Upgrade Web Components to v3.9.0

Fixed

  • The ASN is now compatible with IE11
  • Check current configuration before switching layout on category pages
  • Prevent duplicate login tracking
  • Remove wrapping link tag in suggest which was parsed by bots

v1.3.3 - 2019.10.21

Changed

  • Improve German language package
  • Upgrade Web Components to v3.7.0

Fixed

  • Correctly merge communication params added via layout
  • Prevent search request before redirecting to search result page

v1.3.2 - 2019.08.30

Fixed

  • Fix tracking model compatibility with Magento 2.2.*

v1.3.1 - 2019.08.19

Fixed

  • Fix log plugin compatibility with Magento 2.2.*

v1.3.0 - 2019.08.14

Added

  • Add missing product campaigns on product detail page

Changed

  • Remove ff-navigation
  • Render category pages using Web Components
  • Upgrade Web Components to v3.6.0

Fixed

  • Downgrade magento/module-directory to be compatible with Magento 2.2

v1.2.0 - 2019.07.24

Added

  • Add data providers for bundle and grouped products

Changed

  • Add push FACT-Finder import on cron feed export

Fixed

  • Allow empty multiselect fields in system configuration
  • Base URL is now set, if needed, before redirect in search/navigation
  • Currency code is now taken from store config
  • Fix use-cache communication parameter value

v1.1.2 - 2019.06.28

Changed

  • Upgrade Web Components to v3.4.0

Fixed

  • Fix fatal PHP error which occurs on cron export

v1.1.1 - 2019.05.16

Added

  • Add logging to tracking exceptions

Changed

  • Upgrade Web Components to v3.3.1

Fixed

  • Skip tracking if the FACT-Finder integration is disabled in the backend

v1.1.0 - 2019.04.05

Added

  • Replace main navigation with the <ff-navigation> component

Changed

  • Upgrade Web Components to v3.1.1

Fixed

  • Fix export attribute selection in system config

v1.0.0 - 2019.03.18

Added

  • Add CMS export

Changed

  • Refactor product export
  • Reorganize folder structure: source code is now found under src
  • Upgrade Web Components version to 3.1.0
  • Serve JS files using RequireJS

v0.9-beta.11 - 2019.03.01

Changed

  • Drop support for PHP 7.0
  • Replace Communication helper with dedicated models
  • Remove core controller rewrites and perform redirects using event observers
  • Upgrade Web Components version to 3.0

Removed

  • ResultRefiner: Use DI or plugins to edit the JSON result

v0.9-beta.10 - 2019.02.04

Added

  • Added possibility to enable FACT-Finder server responses logging
  • Added possibility to push data import to FACT-Finder. Previously, only suggest import was pushed
  • Added <ff-campaign-redirect> web component support

Changed

  • Changed additional attributes source model to shows only products attributes
  • Replaced all .css files with .less
  • Removed hardcoded css files from page layout

Fixed

  • Fixed authorization in HTTP export

v0.9-beta.9 - 2019.01.09

Fixed

  • Add missing title to factfinder_result_index site
  • Exclude FACT-Finder Web Components js script from minification

Changed

  • Remove 'keep-filters' parameter from module configuration
  • Load stylesheets via LESS
  • Drop support for PHP 5.6

Added

  • Added possibility to export additional attributes in separate columns
  • Adds possibility to configure frequency of feed file generation by Cron
  • Introduce coding standards based on the Magento ECG one

v0.9-beta.8 - 2018.12.17

Fixed

  • Correct type of seo-prefix parameter

Changed

  • Changed ff-suggest styles to differ from native Luma and Blank Magento theme
  • Changed the ff-communication location from header.panel to after.body.start

Added

  • Allow user to set value of the disable-single-hit-redirect parameter in module configuration

v0.9-beta.7 - 2018.11.29

Fixed

  • Prevents flashing of unstyled content (FOUC) on web browsers which natively doesn't support web components
  • Gets correct "EAN" and "Manufacter" atribute values depending on attribute type set. For instance if selected attribute is a type of select, correct label is returned instead of its option identifier

Changed

  • Upgraded FACT-Finder WebComponents to version 1.2.14

v0.9-beta.6 - 2018.11.23

Fixed

  • removed the product limit on feed export
  • returns simple product sku as master product number when it has a relation to nonexistent configurable product
  • the price of a configurable product is now correctly exported as the cheapest price
  • images urls are now exported correctly with respect the store, the feed file is exported from
  • A missing ampersand character between parameters in http query is now added in checkout tracking

Changed

  • test connection functionality now uses data send from form with no need to save the configuration before checking the connection
  • ff-communication component is now is now included in the server response when entering the page and just the parameters sid and uid are fetched dynamically
  • change the Helper\Product methods access level to protected making this class easier to override

Added

  • allow user to choose which visibilities should be applied to collection filter
  • divide product collection into batches in order to prevent memory exhaustion on product collection load

v0.9-beta.5 - 2018.10.31

Fixed

  • fix module structure and composer.json file allowing install module by composer
  • ff-communication component is now download by Magento Customer Sections mechanism, which allowed to turn FPC on

Added

  • Feed Export: Export feed file is now available via separate link