11.81.0
·
9 commits
to master
since this release
Included commits: 11.80.0...11.81.0
Improvements
- Introduced
SalesDetailBlockRendererPluginInterfaceplugin stack viaSalesDependencyProvider::PLUGINS_SALES_DETAIL_BLOCK_RENDERERandDetailController::renderBlockWithStrategy()to render order detail blocks directly without HTTP sub-requests, improving Zed order page performance. - Introduced
SalesOrderDetailDataExpanderPluginInterfaceplugin stack viaSalesDependencyProvider::PLUGINS_SALES_ORDER_DETAIL_DATA_EXPANDERandDetailController::expandOrderDetailData()to allow modules to inject data into the order detail page without additional HTTP requests. - Added
CommentsSalesOrderDetailDataExpanderPlugin,SalesCommentBlockRendererPlugin, andOrderTransferBlockRendererPluginas built-in implementations of the new plugin interfaces. - Added
SalesConfig::getOrderDetailBlockUrlToTemplateMap()to allow project-level registration of block URL to Twig template mappings. - Introduced static caching in
OrderHydratorto prevent redundant order hydration when the same order entity is hydrated multiple times within a single request.
Deprecations
- Deprecated
DetailController::handleSubRequest()andgetSubRequestHandler()— will be removed without replacement. - Deprecated
CommentController::addAction()andCommentController::listAction()in favor ofSalesCommentBlockRendererPluginandCommentsSalesOrderDetailDataExpanderPlugin.