Releases: spryker-shop/quick-order-page
Releases · spryker-shop/quick-order-page
4.5.0
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 whenQuickOrderForm
validation was not passed. - Adjusted
quick-order-form.ts
, importedEVENT_UPDATE_DYNAMIC_MESSAGES
event to trigger it when needs to show a message. - Adjusted
quick-order-form.ts
, introducedparseResponse
method to parse the response and return it. - Adjusted
quick-order-form.ts
, introducedhasMessages
method to check themessage
property in the object. - Adjusted
quick-order-form.ts
, introducedshowFlashMessage
method to display a flash message. - Adjusted
quick-order-form.ts
, introducedupdateTableHtml
method to update HTML that was get in response. - Adjusted
quick-order-form.ts
, improvedremoveRow
method to add the check of response, also the code that relates to updating HTML was moved intoupdateTableHtml
method.
BC breaking impact
- Adjusted
QuickOrderController::deleteRowAction()
controller action to validate CSRF token received from Request.
4.4.0
Included commits: 4.3.1...4.4.0
Improvements
- Replaced usage of the
Pimple
plugin withContainerInterface::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
Included commits: 4.3.0...4.3.1
Fixes
- Refactored
ContainerInterface
array access usage toContainerInterface::set()
method usage.
4.3.0
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 useQuickOrderPageConfig::getAllowedCsvFileMimeTypes()
as list of MIME types of the CSV file. - Adjusted
QuickOrderCsvUploadedFileValidatorStrategyPlugin::isApplicable()
to useQuickOrderPageConfig::getAllowedCsvFileMimeTypes()
as list of MIME types of the CSV file.
4.2.1
Included commits: 4.2.0...4.2.1
Fixes
- Adjusted
quick-order-form.twig
to replace links with hardcodedhref
attribute with buttons. - Adjusted
quick-order-row.twig
to replace links with hardcodedhref
attribute with buttons.
4.2.0
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
Included commits: 4.1.0...4.1.1
Bugfixes
Fixed transfer definitions to include missing uses of Transfers or properties.
4.1.0
Included commits: 4.0.2...4.1.0
Improvements
- Added RouteProviderPlugin.
- Deprecated ControllerProvider.
4.0.2
Included commits: 4.0.1...4.0.2
Adjustments
- Adjusted dependencies to allow a new version of
spryker-shop/checkout-page
.
4.0.1
Included commits: 4.0.0...4.0.1
Improvements
- Adjusted the
quick-order-form
molecule: methodsquerySelector()
have been replaced withgetElementsByClassName()
inreadyCallback()
. - Adjusted the
quick-order-form
molecule: thequerySelectorAll()
method has been replaced withgetElementsByClassName()
inregisterRemoveRowTriggers()
. - Adjusted the
quick-order-form
molecule: theprovider-selector
attribute has been replaced withprovider-class-name
in includemolecule('ajax-loader')
. - Adjusted the
quick-order-row
molecule: thequerySelector()
method has been replaced withgetElementsByClassName()
inreadyCallback()
. - Adjusted the
quick-order-row
molecule: thequerySelector()
method has been replaced withgetElementsByTagName()
inreadyCallback()
. - Adjusted the
quick-order-row
molecule: thequerySelector()
method has been replaced withgetElementsByClassName()
inregisterQuantityInput()
. - Adjusted the
quick-order-row
molecule: theprovider-selector
attribute has been replaced withprovider-class-name
in includemolecule('ajax-renderer')
. - Adjusted the
quick-order-row
molecule: thetarget-selector
attribute has been replaced withtarget-class-name
in includemolecule('ajax-renderer')
.