Skip to content

4.5.0

Compare
Choose a tag to compare
@spryker-release-bot spryker-release-bot released this 24 Nov 15:02
· 56 commits to master since this release

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.