NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #5496 most downloaded on Packagist
Twig module
Latest stable
3.34.0
Last release 25 days ago
28 Oct 2026
Release timing varies
gaps range from 2 weeks to 6 months
Nearly every release is documented
notes for 60 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
11 years old
81 releases · first in 2016
Drag across the ruler to compare, or tap a release to open it.
Included commits: https://github.com/spryker/twig/compare/3.33.0...3.34.0
Included commits: https://github.com/spryker/twig/compare/3.33.0...3.34.0
SharedThemeTwigLoaderPlugin to load templates from Shared/<Module>/Theme/<theme> with the case of the template path preserved, with project themes taking precedence over core ones.TwigConfig::getSharedThemeTemplatePathPatterns() in Shared, Yves and Zed to define the Shared theme template paths for each organization.Included commits: https://github.com/spryker/twig/compare/3.32.0...3.33.0
Included commits: https://github.com/spryker/twig/compare/3.32.0...3.33.0
TwigFacade::getTwigConfiguration() to expose Twig configuration values, the configured Yves theme and its fallback, to other modules.TwigConfig::getYvesThemeName() and TwigConfig::getYvesThemeNameDefault() in the Zed layer to provide the Yves theme configuration to the business layer.TwigConfigurationResponse transfer with yvesThemeName and yvesThemeNameDefault properties.spryker/transfer dependency.Your coding agent can read these notes before it upgrades. Set up the MCP server →
Included commits: https://github.com/spryker/twig/compare/3.31.0...3.32.0
Included commits: https://github.com/spryker/twig/compare/3.31.0...3.32.0
TwigFilesystemLoader::getSourceContext() to collapse leading whitespace and consecutive blank lines in Twig template source to reduce rendered HTML size as part of Twig minimization.Included commits: https://github.com/spryker/twig/compare/3.30.0...3.31.0
Included commits: https://github.com/spryker/twig/compare/3.30.0...3.31.0
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.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.Included commits: https://github.com/spryker/twig/compare/3.29.2...3.30.0
Included commits: https://github.com/spryker/twig/compare/3.29.2...3.30.0
configurationValue and configurationValues Twig functions in the Back Office Twig environment to allow reading module configuration values directly in Zed templates.TwigConfig::getModuleConfig(), TwigConfig::getModuleConfigValues(), and TwigConfig::getModuleConfigValuesCollection() to expose configuration value resolution as public API.Kernel version dependency.Included commits: https://github.com/spryker/twig/compare/3.29.1...3.29.2
Included commits: https://github.com/spryker/twig/compare/3.29.1...3.29.2
TwigConfig::getZedDirectoryPathPattern() and TwigConfig::getYvesDirectoryPathPattern() to handle empty glob results gracefully, and resolve new project namespace correctly.Included commits: https://github.com/spryker/twig/compare/3.29.0...3.29.1
Included commits: https://github.com/spryker/twig/compare/3.29.0...3.29.1
twig/twig dependency.Included commits: https://github.com/spryker/twig/compare/3.28.3...3.29.0
Included commits: https://github.com/spryker/twig/compare/3.28.3...3.29.0
TwigTemplateWarmingModeEventSubscriberPlugin to add a Container flag when the Twig template warmer is executing.Spryker\Zed\Twig\Communication\Console\TwigTemplateWarmerConsole that pre-compiles Twig templates on Zed to improve performance by avoiding on-the-fly compilation during the first page load.Spryker\Yves\Twig\Plugin\Console\TwigTemplateWarmerConsole that pre-compiles Twig templates on Yves to improve performance by avoiding on-the-fly compilation during the first page load.Included commits: https://github.com/spryker/twig/compare/3.28.2...3.28.3
Included commits: https://github.com/spryker/twig/compare/3.28.2...3.28.3
twig/twig of version 3.21.0 and higher.Included commits: https://github.com/spryker/twig/compare/3.28.1...3.28.2
Included commits: https://github.com/spryker/twig/compare/3.28.1...3.28.2
BaseTwigFilesystemLoader::findTemplate() to support Features path for spryker non split repository.TwigFileSystem::load() to support Features path for spryker non split repository.Included commits: https://github.com/spryker/twig/compare/3.28.0...3.28.1
Included commits: https://github.com/spryker/twig/compare/3.28.0...3.28.1
TwigHelper to support new Gateway application stack.Included commits: https://github.com/spryker/twig/compare/3.27.0...3.28.0
Included commits: https://github.com/spryker/twig/compare/3.27.0...3.28.0
TwigGatewayApplicationPlugin that uses a separate stack of Twig plugins in order to render only required things and improve performance.Included commits: https://github.com/spryker/twig/compare/3.26.0...3.27.0
Included commits: https://github.com/spryker/twig/compare/3.26.0...3.27.0
TwigApplicationPlugin to prevent sensitive data exposure in twig filters.Included commits: https://github.com/spryker/twig/compare/3.25.1...3.26.0
Included commits: https://github.com/spryker/twig/compare/3.25.1...3.26.0
TwigConfig::getTemplatePaths() to support SprykerFeature namespace.Included commits: https://github.com/spryker/twig/compare/3.25.0...3.25.1
Included commits: https://github.com/spryker/twig/compare/3.25.0...3.25.1
symvony/var-dumper to dependency.json.Included commits: https://github.com/spryker/twig/compare/3.24.1...3.25.0
Included commits: https://github.com/spryker/twig/compare/3.24.1...3.25.0
VarDumperTwigPlugin.symfony/var-dumper to the dev dependencies.DebugTwigPlugin.Included commits: https://github.com/spryker/twig/compare/3.24.0...3.24.1
Included commits: https://github.com/spryker/twig/compare/3.24.0...3.24.1
Included commits: https://github.com/spryker/twig/compare/3.23.0...3.24.0
Included commits: https://github.com/spryker/twig/compare/3.23.0...3.24.0
Twig module version dependency.Included commits: https://github.com/spryker/twig/compare/3.22.0...3.23.0
Included commits: https://github.com/spryker/twig/compare/3.22.0...3.23.0
Twig module version dependency.Included commits: https://github.com/spryker/twig/compare/3.21.0...3.22.0
Included commits: https://github.com/spryker/twig/compare/3.21.0...3.22.0
Twig module version dependency.Included commits: https://github.com/spryker/twig/compare/3.20.0...3.21.0
Included commits: https://github.com/spryker/twig/compare/3.20.0...3.21.0
BaseTwigFilesystemLoader so it supports nested src paths.Included commits: https://github.com/spryker/twig/compare/3.19.0...3.20.0
Included commits: https://github.com/spryker/twig/compare/3.19.0...3.20.0
TwigApplicationPlugin::getTwigOptions() to fix the exception when debug service is missing.Included commits: https://github.com/spryker/twig/compare/3.18.2...3.19.0
Included commits: https://github.com/spryker/twig/compare/3.18.2...3.19.0
Included commits: https://github.com/spryker/twig/compare/3.18.1...3.18.2
Included commits: https://github.com/spryker/twig/compare/3.18.1...3.18.2
phpstan.neon to ignore twig-related errors.Included commits: https://github.com/spryker/twig/compare/3.18.0...3.18.1
Included commits: https://github.com/spryker/twig/compare/3.18.0...3.18.1
Included commits: https://github.com/spryker/twig/compare/3.17.2...3.18.0
Included commits: https://github.com/spryker/twig/compare/3.17.2...3.18.0
TwigApplicationPlugin::provide() to extend Twig with executeFilterIfExists() filter function.Included commits: https://github.com/spryker/twig/compare/3.17.1...3.17.2
Included commits: https://github.com/spryker/twig/compare/3.17.1...3.17.2
TwigHelper, TwigHelperTrait for compatibility with Codeception 5.Included commits: https://github.com/spryker/twig/compare/3.17.0...3.17.1
Included commits: https://github.com/spryker/twig/compare/3.17.0...3.17.1
twig/twig dependency version to ensure a security issue on the filesystem loader is being resolved.Included commits: https://github.com/spryker/twig/compare/3.16.0...3.17.0
Included commits: https://github.com/spryker/twig/compare/3.16.0...3.17.0
twig/twig:^1.43.1 constraint due to EOL PHP version incompatibility.Included commits: https://github.com/spryker/twig/compare/3.15.2...3.16.0
Included commits: https://github.com/spryker/twig/compare/3.15.2...3.16.0
TwigApplicationPlugin::provide() to extend Twig with executeFilterIfExists() filter function.Included commits: https://github.com/spryker/twig/compare/3.15.1...3.15.2
Included commits: https://github.com/spryker/twig/compare/3.15.1...3.15.2
TwigFacade::warmUpCache() in order to support concurrent file writing.Included commits: https://github.com/spryker/twig/compare/3.15.0...3.15.1
Included commits: https://github.com/spryker/twig/compare/3.15.0...3.15.1
RoutingTwigPlugin to work with a new router identifier.Included commits: https://github.com/spryker/twig/compare/3.14.1...3.15.0
Included commits: https://github.com/spryker/twig/compare/3.14.1...3.15.0
Included commits: https://github.com/spryker/twig/compare/3.14.0...3.14.1
Included commits: https://github.com/spryker/twig/compare/3.14.0...3.14.1
glob() by using GLOB_NOSORT flag for file reading optimization.Included commits: https://github.com/spryker/twig/compare/3.13.4...3.14.0
Included commits: https://github.com/spryker/twig/compare/3.13.4...3.14.0
spryker/zend module with spryker/laminas.Included commits: https://github.com/spryker/twig/compare/3.13.3...3.13.4
Included commits: https://github.com/spryker/twig/compare/3.13.3...3.13.4
TwigFunction and TwigFilter to keep backward compatibility.Included commits: https://github.com/spryker/twig/compare/3.13.2...3.13.3
Included commits: https://github.com/spryker/twig/compare/3.13.2...3.13.3
symfony/http-kernel.Included commits: https://github.com/spryker/twig/compare/3.13.1...3.13.2
Included commits: https://github.com/spryker/twig/compare/3.13.1...3.13.2
TwigFilesystemLoader in order to be compatible with Twig v2.Included commits: https://github.com/spryker/twig/compare/3.13.0...3.13.1
Included commits: https://github.com/spryker/twig/compare/3.13.0...3.13.1
TwigHelper.Included commits: https://github.com/spryker/twig/compare/3.12.0...3.13.0
Included commits: https://github.com/spryker/twig/compare/3.12.0...3.13.0
twig/twig in composer.TwigApplicationPlugin to be compatible with Twig v3.Included commits: https://github.com/spryker/twig/compare/3.11.1...3.12.0
Included commits: https://github.com/spryker/twig/compare/3.11.1...3.12.0
Included commits: https://github.com/spryker/twig/compare/3.11.0...3.11.1
Included commits: https://github.com/spryker/twig/compare/3.11.0...3.11.1
twig/twig dependency version.TwigFilesystemLoader::load() to trim file path.TwigConfig::addProjectTemplatePaths() to trim file path.TwigConfig::addCoreTemplatePaths() to trim file path.TwigHelper::_initialize() to resolve loader plugins.Deprecated Spryker\Shared\Twig\TwigConstants::YVES_PATH_CACHE_FILE.
Included commits: https://github.com/spryker/twig/compare/3.10.0...3.11.0
Spryker\Shared\Twig\TwigConstants::YVES_PATH_CACHE_FILE.Spryker\Shared\Twig\TwigConstants::ZED_PATH_CACHE_FILE.Spryker\Yves\Twig\TwigConfig::getCacheFilePath() so it builds location to the default cache file based on project namespace and codeBucket.Spryker\Yves\Twig\TwigConfig::getTwigOptions() so it builds location to the default cache file based on codeBucket.Spryker\Zed\Twig\TwigConfig::getCacheFilePath() so it builds location to the default cache file based on project namespace and codeBucket.Spryker\Zed\Twig\TwigConfig::getTwigOptions() so it builds location to the default cache file based on project namespace and codeBucket.Included commits: https://github.com/spryker/twig/compare/3.9.1...3.10.0
Included commits: https://github.com/spryker/twig/compare/3.9.1...3.10.0
Pimple plugin with ContainerInterface::getApplicationService().\SprykerTest\Zed\Twig\Helper\TwigHelper for easier testing.Included commits: https://github.com/spryker/twig/compare/3.9.0...3.9.1
Included commits: https://github.com/spryker/twig/compare/3.9.0...3.9.1
ContainerInterface array access usage to ContainerInterface::set() method usage.Included commits: https://github.com/spryker/twig/compare/3.8.3...3.9.0
Included commits: https://github.com/spryker/twig/compare/3.8.3...3.9.0
APPLICATION_CODE_BUCKET instead of APPLICATION_STORE.Included commits: https://github.com/spryker/twig/compare/3.8.2...3.8.3
Included commits: https://github.com/spryker/twig/compare/3.8.2...3.8.3
execute() method.Included commits: https://github.com/spryker/twig/compare/3.8.1...3.8.2
Included commits: https://github.com/spryker/twig/compare/3.8.1...3.8.2
TemplateNameExtractor builds template path now correctly for templates in the Presentation folder.Deprecated HttpKernelTwigPlugin.
Included commits: https://github.com/spryker/twig/compare/3.8.0...3.8.1
HttpKernelTwigPlugin.RuntimeLoaderTwigPlugin.Included commits: https://github.com/spryker/twig/compare/3.7.2...3.8.0
Included commits: https://github.com/spryker/twig/compare/3.7.2...3.8.0
_template from resolved request attributes which are now available in the Router cache.Included commits: https://github.com/spryker/twig/compare/3.7.1...3.7.2
Included commits: https://github.com/spryker/twig/compare/3.7.1...3.7.2
Spryker\Shared\Twig\Exception\DirectoryCreationException.Deprecated TranslationTwigPlugin.
Included commits: https://github.com/spryker/twig/compare/3.7.0...3.7.1
Included commits: https://github.com/spryker/twig/compare/3.6.0...3.7.0
Included commits: https://github.com/spryker/twig/compare/3.6.0...3.7.0
TwigClient::getYvesThemeName().TwigClient::getYvesThemeNameDefault().Included commits: https://github.com/spryker/twig/compare/3.5.1...3.6.0
Included commits: https://github.com/spryker/twig/compare/3.5.1...3.6.0
Included commits: https://github.com/spryker/twig/compare/3.5.0...3.5.1
Included commits: https://github.com/spryker/twig/compare/3.5.0...3.5.1
FormTwigPlugin, HttpKernelTwigPlugin, SecurityTwigPlugin and TranslationTwigPlugin.Deprecated TwigConstants::YVES_THEME constant.
Included commits: https://github.com/spryker/twig/compare/3.4.0...3.5.0
TwigConfig::getThemeName() method.TwigConfig::getThemeNameDefault() method.TwigConstants::YVES_THEME constant.Deprecated Spryker/Yves/Twig/Plugin/ServiceProvider/TwigServiceProvider.
Included commits: https://github.com/spryker/twig/compare/3.3.5...3.4.0
Spryker/Yves/Twig/Plugin/Application/TwigApplicationPlugin to be able to extend Twig service. Replacement for Spryker/Yves/Twig/Plugin/ServiceProvider/TwigServiceProvider.Spryker/Zed/Twig/Communication/Plugin/Application/TwigApplicationPlugin to be able to extend Twig service. Replacement for Spryker\Zed\Twig\Communication\Plugin\ServiceProvider\TwigServiceProvider.Spryker\Service\Twig\Plugin\AbstractTwigExtensionPlugin to help with creation TwigPlugins.Spryker\Yves\Twig\Plugin\AbstractTwigExtensionPlugin to help with creation TwigPlugins.Spryker/Zed/Twig/Communication/Plugin/AbstractTwigExtensionPlugin.Spryker/Shared/Twig/Loader/FilesystemLoader.Spryker/Shared/Twig/Loader/TwigChainLoader.Spryker/Shared/Twig/Plugin/DebugTwigPlugin.Spryker/Shared/Twig/Plugin/FormTwigPlugin.Spryker/Shared/Twig/Plugin/HttpKernelTwigPlugin.Spryker/Shared/Twig/Plugin/RoutingTwigPlugin.Spryker/Shared/Twig/Plugin/RuntimeLoaderTwigPlugin.Spryker/Shared/Twig/Plugin/SecurityTwigPlugin.Spryker/Shared/Twig/Plugin/TranslationTwigPlugin.Spryker/Shared/Twig/TwigExtensionInterface.Spryker/Shared/Twig/TwigFilesystemLoader according to new interface it implements.Spryker/Yves/Twig/Plugin/FilesystemTwigLoaderPlugin.Spryker/Zed/Twig/Communication/Plugin/FilesystemTwigLoaderPlugin.Spryker/Yves/Twig/Plugin/FormFilesystemTwigLoaderPlugin.Spryker/Zed/Twig/Communication/Plugin/FormFilesystemTwigLoaderPlugin.Spryker/Yves/Twig/Plugin/ServiceProvider/TwigServiceProvider.Spryker/Zed/Twig/Business/Model/RouteResolver.Spryker/Zed/Twig/Communication/RouteResolver/RouteResolver as replacement for Spryker/Zed/Twig/Business/Model/RouteResolver.Spryker/Zed/Twig/Communication/Plugin/ServiceProvider/TwigServiceProvider.Spryker/Zed/Twig/Communication/Subscriber/TwigEventSubscriber.Included commits: https://github.com/spryker/twig/compare/3.3.4...3.3.5
Included commits: https://github.com/spryker/twig/compare/3.3.4...3.3.5
TwigNamespaceMigratorConsole which can be used for PSR-0 to PSR-4 migration.Included commits: https://github.com/spryker/twig/compare/3.3.3...3.3.4
Included commits: https://github.com/spryker/twig/compare/3.3.3...3.3.4
FileSystemLoader instead of retrieving it from the container which makes this service frozen.Included commits: https://github.com/spryker/twig/compare/3.3.2...3.3.3
Included commits: https://github.com/spryker/twig/compare/3.3.2...3.3.3
Fixed invalid Yves template paths loaded from spryker/* core modules.
One column per quarter.