Skip to content

Releases: spryker-shop/quick-order-page

4.5.0

24 Nov 15:02
Compare
Choose a tag to compare

Included commits: 4.4.0...4.5.0

Improvements

  • Added form.csrf_provider application service to dependencies.
  • Fixed QuickOrderController::indexAction() controller action to show error messages when QuickOrderForm validation was not passed.
  • Adjusted quick-order-form.ts, imported EVENT_UPDATE_DYNAMIC_MESSAGES event to trigger it when needs to show a message.
  • Adjusted quick-order-form.ts, introduced parseResponse method to parse the response and return it.
  • Adjusted quick-order-form.ts, introduced hasMessages method to check the message property in the object.
  • Adjusted quick-order-form.ts, introduced showFlashMessage method to display a flash message.
  • Adjusted quick-order-form.ts, introduced updateTableHtml method to update HTML that was get in response.
  • Adjusted quick-order-form.ts, improved removeRow method to add the check of response, also the code that relates to updating HTML was moved into updateTableHtml method.

BC breaking impact

  • Adjusted QuickOrderController::deleteRowAction() controller action to validate CSRF token received from Request.

4.4.0

24 Jul 10:33
Compare
Choose a tag to compare

Included commits: 4.3.1...4.4.0

Improvements

  • Replaced usage of the Pimple plugin with ContainerInterface::getApplicationService().
  • Added public ROUTE_NAME_* constants in the RouteProviderPlugin.

Deprecations

  • \SprykerShop\Yves\QuickOrderPage\QuickOrderPageDependencyProvider::PLUGIN_APPLICATION.
  • \SprykerShop\Yves\QuickOrderPage\QuickOrderPageDependencyProvider::addApplication().
  • \SprykerShop\Yves\QuickOrderPage\QuickOrderPageFactory::getApplication().
  • Deprecated all protected ROUTE_* name constants in the RouteProviderPlugin.

4.3.1

17 Jun 15:06
Compare
Choose a tag to compare

Included commits: 4.3.0...4.3.1

Fixes

  • Refactored ContainerInterface array access usage to ContainerInterface::set() method usage.

4.3.0

07 Apr 07:46
Compare
Choose a tag to compare

Included commits: 4.2.1...4.3.0

Improvements:

  • Introduced QuickOrderPageConfig::getAllowedCsvFileMimeTypes() to provide allowed MIME types of the CSV file.
  • Adjusted QuickOrderCsvUploadedFileParserStrategyPlugin::isApplicable() to use QuickOrderPageConfig::getAllowedCsvFileMimeTypes() as list of MIME types of the CSV file.
  • Adjusted QuickOrderCsvUploadedFileValidatorStrategyPlugin::isApplicable() to use QuickOrderPageConfig::getAllowedCsvFileMimeTypes() as list of MIME types of the CSV file.

4.2.1

18 Mar 12:32
Compare
Choose a tag to compare

Included commits: 4.2.0...4.2.1

Fixes

  • Adjusted quick-order-form.twig to replace links with hardcoded href attribute with buttons.
  • Adjusted quick-order-row.twig to replace links with hardcoded href attribute with buttons.

4.2.0

27 Dec 10:47
Compare
Choose a tag to compare

Included commits: 4.1.1...4.2.0

Bugfixes

  • Adjusted QuickOrderFormHandler::addToEmptyCart() so it does not delete active cart in multi cart feature.
  • Adjusted QuickOrderPageToQuoteClientInterface dependency.
  • Adjusted ViewDataTransformer::flattenColumns so the returned result does not contain rows with null values.

4.1.1

14 Oct 14:07
Compare
Choose a tag to compare

Included commits: 4.1.0...4.1.1

Bugfixes

Fixed transfer definitions to include missing uses of Transfers or properties.

4.1.0

26 Sep 07:30
Compare
Choose a tag to compare

Included commits: 4.0.2...4.1.0

Improvements

  • Added RouteProviderPlugin.
  • Deprecated ControllerProvider.

4.0.2

13 Sep 08:16
Compare
Choose a tag to compare

Included commits: 4.0.1...4.0.2

Adjustments

  • Adjusted dependencies to allow a new version of spryker-shop/checkout-page.

4.0.1

12 Aug 10:22
Compare
Choose a tag to compare

Included commits: 4.0.0...4.0.1

Improvements

  • Adjusted the quick-order-form molecule: methods querySelector() have been replaced with getElementsByClassName() in readyCallback().
  • Adjusted the quick-order-form molecule: the querySelectorAll() method has been replaced with getElementsByClassName() in registerRemoveRowTriggers().
  • Adjusted the quick-order-form molecule: the provider-selector attribute has been replaced with provider-class-name in include molecule('ajax-loader').
  • Adjusted the quick-order-row molecule: the querySelector() method has been replaced with getElementsByClassName() in readyCallback().
  • Adjusted the quick-order-row molecule: the querySelector() method has been replaced with getElementsByTagName() in readyCallback().
  • Adjusted the quick-order-row molecule: the querySelector() method has been replaced with getElementsByClassName() in registerQuantityInput().
  • Adjusted the quick-order-row molecule: the provider-selector attribute has been replaced with provider-class-name in include molecule('ajax-renderer').
  • Adjusted the quick-order-row molecule: the target-selector attribute has been replaced with target-class-name in include molecule('ajax-renderer').