Skip to content

11.81.0

Choose a tag to compare

@spryker-release-bot spryker-release-bot released this 24 Mar 17:18
· 9 commits to master since this release

Included commits: 11.80.0...11.81.0

Improvements

  • Introduced SalesDetailBlockRendererPluginInterface plugin stack via SalesDependencyProvider::PLUGINS_SALES_DETAIL_BLOCK_RENDERER and DetailController::renderBlockWithStrategy() to render order detail blocks directly without HTTP sub-requests, improving Zed order page performance.
  • Introduced SalesOrderDetailDataExpanderPluginInterface plugin stack via SalesDependencyProvider::PLUGINS_SALES_ORDER_DETAIL_DATA_EXPANDER and DetailController::expandOrderDetailData() to allow modules to inject data into the order detail page without additional HTTP requests.
  • Added CommentsSalesOrderDetailDataExpanderPlugin, SalesCommentBlockRendererPlugin, and OrderTransferBlockRendererPlugin as 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 OrderHydrator to prevent redundant order hydration when the same order entity is hydrated multiple times within a single request.

Deprecations

  • Deprecated DetailController::handleSubRequest() and getSubRequestHandler() — will be removed without replacement.
  • Deprecated CommentController::addAction() and CommentController::listAction() in favor of SalesCommentBlockRendererPlugin and CommentsSalesOrderDetailDataExpanderPlugin.