Skip to content

3.31.0

Choose a tag to compare

@spryker-release-bot spryker-release-bot released this 20 May 13:37
· 1 commit to master since this release

Included commits: 3.30.0...3.31.0

Improvements

  • Introduced EnvironmentCoreExtension::dispatchToCoreExtension() to forward static calls to CoreExtension filter/find/map/reduce methods using the correct argument shape for the installed Twig version, ensuring compatibility across both Twig ^2.16.1 and ^3.14.0 ranges.
  • Added reflection-based EnvironmentCoreExtension::coreExtensionNeedsIsSandboxed() and EnvironmentCoreExtension::resolveIsSandboxed() to automatically detect and supply the $isSandboxed parameter introduced in Twig 4.x, removing the need for version-specific conditional logic.