NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist, #265 most downloaded on Packagist
Provides a tight integration of Twig into the Symfony full-stack framework
Latest stable
v8.1.9
Last release 14 days ago
06 Nov 2026
Ships fairly regularly
a new release about every 3 weeks
Rarely documented
notes for 3 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
15 years old
627 releases · first in 2011
Drag across the ruler to compare, or tap a release to open it.
Changelog (https://github.com/symfony/twig-bundle/compare/v6.4.23...v6.4.24) * no significant changes
Changelog (https://github.com/symfony/twig-bundle/compare/v6.4.23...v6.4.24)
bug symfony/symfony#60859 [TwigBundle] fix preload unlinked class BinaryOperatorExpressionParser (@Grummfy)
Changelog (https://github.com/symfony/twig-bundle/compare/v6.4.22...v6.4.23)
BinaryOperatorExpressionParser (@Grummfy)Changelog (https://github.com/symfony/twig-bundle/compare/v6.4.12...v6.4.13) * no significant changes
Changelog (https://github.com/symfony/twig-bundle/compare/v6.4.12...v6.4.13)
Your coding agent can read these notes before it upgrades. Set up the MCP server →
bug symfony/symfony#58198 [TwigBundle] Add support for resetting globals between HTTP requests (@fabpot)
Changelog (https://github.com/symfony/twig-bundle/compare/v6.4.11...v6.4.12)
Changelog (https://github.com/symfony/twig-bundle/compare/v6.4.7...v6.4.8) * no significant changes
Changelog (https://github.com/symfony/twig-bundle/compare/v6.4.7...v6.4.8)
Changelog (https://github.com/symfony/twig-bundle/compare/v6.4.6...v6.4.7) * no significant changes
Changelog (https://github.com/symfony/twig-bundle/compare/v6.4.6...v6.4.7)
bug symfony/symfony#53913 [TwigBridge] Fix compat with Twig v3.9 (@nicolas-grekas)
Changelog (https://github.com/symfony/twig-bundle/compare/v6.4.3...v6.4.4)
bug symfony/symfony#53582 [TwigBundle] Fix configuration when "paths" is null (@smnandre)
Changelog (https://github.com/symfony/twig-bundle/compare/v6.4.2...v6.4.3)
Changelog (https://github.com/symfony/twig-bundle/compare/v6.4.0-RC2...v6.4.0) * no significant changes
Changelog (https://github.com/symfony/twig-bundle/compare/v6.4.0-RC2...v6.4.0)
autoescape_service_method option when autoescape_service is set to an invokable service idChangelog (https://github.com/symfony/twig-bundle/compare/v6.4.0-BETA3...v6.4.0-RC1) * no significant changes
Changelog (https://github.com/symfony/twig-bundle/compare/v6.4.0-BETA3...v6.4.0-RC1)
Changelog (https://github.com/symfony/twig-bundle/compare/v6.4.0-BETA2...v6.4.0-BETA3) * no significant changes
Changelog (https://github.com/symfony/twig-bundle/compare/v6.4.0-BETA2...v6.4.0-BETA3)
feature symfony/symfony#51976 [Workflow] Revert deprecation about Registry (@lyrixx)
Changelog (https://github.com/symfony/twig-bundle/compare/v6.3.6...v6.4.0-BETA1)
$buildDir argument to WarmableInterface::warmup to warm read-only artefacts in build_dir (@Okhoshi)AppVariable::getEnabledLocales() (@jmsche)TemplatedEmail::locale() to set the locale for the email rendering (@alexander-schranz)autoescape_service_method option when autoescape_service is set to an invokable service id (@nicolas-grekas)bug symfony/symfony#53582 [TwigBundle] Fix configuration when "paths" is null (@smnandre)
Changelog (https://github.com/symfony/twig-bundle/compare/v6.3.11...v6.3.12)
Changelog (https://github.com/symfony/twig-bundle/compare/v6.3.7...v6.3.8) * no significant changes
Changelog (https://github.com/symfony/twig-bundle/compare/v6.3.7...v6.3.8)
Changelog (https://github.com/symfony/twig-bundle/compare/v6.3.0-RC2...v6.3.0) *
Changelog (https://github.com/symfony/twig-bundle/compare/v6.3.0-RC2...v6.3.0)
Twig_Environment autowiring alias, use Twig\Environment insteadfeature symfony/symfony#49293 [DoctrineBridge] Allow to ignore specific nullable fields in UniqueEntity (@VincentLanglet)
Changelog (https://github.com/symfony/twig-bundle/compare/v6.3.0-BETA3...v6.3.0-RC1)
isRetryable decision of the retry strategy for re-delivery (@FlyingDR)bug symfony/symfony#50249 [WebProfilerBundle] Explicit tab controls’ color as they can be buttons (@MatTheCat)
Changelog (https://github.com/symfony/twig-bundle/compare/v6.3.0-BETA1...v6.3.0-BETA2)
symfony/twig-bridge dependency version (@SVillette)ignoreUndefined() method to allow skip not interesting options (Constantine Shtompel)feature symfony/symfony#49610 [DoctrineBridge] deprecate doctrine schema subscribers in favor of listeners (@alli83)
Changelog (https://github.com/symfony/twig-bundle/compare/v6.2.10...v6.3.0-BETA1)
TriggerInterface extend \Stringable (@kbond)AppVariable (@SVillette)placeholder_attr option (@elementaire)exclude option to the Cascade constraint (@alexandre-daubois)#[ValueResolver] and #[AsPinnedValueResolver] (@MatTheCat)ErrorHandler on boot (@HypeMC)NoSuspiciousCharacters constraint to validate a string is not suspicious (@MatTheCat)BatchHandlerTrait with getBatchSize() (@alexandre-daubois)Twig_Environment (@94noni)enum expression function (@alexandre-daubois)notifier.logger_notification_listener to notifier.notification_logger_listener (@ker0x)extra attribute for HttpClient Configuration (@voodooism)#[WithLogLevel] for setting custom log level for exceptions (@angelov)TaggedIteratorArgument (@chalasr)getConstraint() method to ConstraintViolationInterface (@syl20b)EmojiTransliterator (@fancyweb)Clock class and now() function (@nicolas-grekas)#[HttpStatus] for setting status code and headers for HTTP exceptions (@angelov)#[Autowire(...)] (@nicolas-grekas)dd() and dump() to display a label (@alexandre-daubois)Changelog (https://github.com/symfony/twig-bundle/compare/v6.2.6...v6.2.7) * no significant changes
Changelog (https://github.com/symfony/twig-bundle/compare/v6.2.6...v6.2.7)
Changelog (https://github.com/symfony/twig-bundle/compare/v6.2.4...v6.2.5) * no significant changes
Changelog (https://github.com/symfony/twig-bundle/compare/v6.2.4...v6.2.5)
bug #48718 Compatibility with doctrine/annotations 2 (derrabus)
Changelog (https://github.com/symfony/twig-bundle/compare/v6.2.2...v6.2.3)
bug #48587 Alias BodyRendererInterface (n3o77)
Changelog (https://github.com/symfony/twig-bundle/compare/v6.2.1...v6.2.2)
Changelog (https://github.com/symfony/twig-bundle/compare/v6.2.0-RC2...v6.2.0) * no significant changes
Changelog (https://github.com/symfony/twig-bundle/compare/v6.2.0-RC2...v6.2.0)
twig.mailer.html_to_text_converter option to allow configuring custom HtmlToTextConverterInterface
implementations to be used by the twig.mime_body_renderer serviceChangelog (https://github.com/symfony/twig-bundle/compare/v6.2.0-BETA3...v6.2.0-RC1) * no significant changes
Changelog (https://github.com/symfony/twig-bundle/compare/v6.2.0-BETA3...v6.2.0-RC1)
feature #46000 Mark registry as internal and deprecate the service (lyrixx)
Changelog (https://github.com/symfony/twig-bundle/compare/v6.1.6...v6.2.0-BETA1)
#[Template()] to describe how to render arrays returned by controllers (nicolas-grekas)Nothing published for this version
bug #48718 Compatibility with doctrine/annotations 2 (derrabus)
Changelog (https://github.com/symfony/twig-bundle/compare/v6.1.8...v6.1.9)
bug #46480 Fix registering html-sanitizer services (nicolas-grekas)
Changelog (https://github.com/symfony/twig-bundle/compare/v6.1.0...v6.1.1)
Changelog (https://github.com/symfony/twig-bundle/compare/v6.1.0-RC1...v6.1.0) * no significant changes
Changelog (https://github.com/symfony/twig-bundle/compare/v6.1.0-RC1...v6.1.0)
twig.file_name_pattern to restrict which files are compiled by cache warmer and lintertwig.autoescape, use twig.autoescape_service[_method] insteadfeature #46335 Add Twig filter, form-type extension and improve service definitions for HtmlSanitizer (nicolas-grekas)
Changelog (https://github.com/symfony/twig-bundle/compare/v6.1.0-BETA2...v6.1.0-RC1)
feature #45989 deprecate not setting http_method_override (Tobion)
Changelog (https://github.com/symfony/twig-bundle/compare/v6.1.0-BETA1...v6.1.0-BETA2)
feature #45845 Pre-compile only *.twig files in cache warmup (GromNaN)
Changelog (https://github.com/symfony/twig-bundle/compare/v6.0.7...v6.1.0-BETA1)
Changelog (https://github.com/symfony/twig-bundle/compare/v6.0.18...v6.0.19) * no significant changes
Changelog (https://github.com/symfony/twig-bundle/compare/v6.0.18...v6.0.19)
bug #48718 Compatibility with doctrine/annotations 2 (derrabus)
Changelog (https://github.com/symfony/twig-bundle/compare/v6.0.16...v6.0.17)
bug #45909 reset Twig form theme resources between requests (xabbuh)
Changelog (https://github.com/symfony/twig-bundle/compare/v6.0.7...v6.0.8)
Changelog (https://github.com/symfony/twig-bundle/compare/v6.0.2...v6.0.3) * no significant changes
Changelog (https://github.com/symfony/twig-bundle/compare/v6.0.2...v6.0.3)
bug #44494 Remove FQCN type hints on properties (fabpot)
Changelog (https://github.com/symfony/twig-bundle/compare/v6.0.0...v6.0.1)
Changelog (https://github.com/symfony/twig-bundle/compare/v6.0.0-RC1...v6.0.0) * no significant changes
Changelog (https://github.com/symfony/twig-bundle/compare/v6.0.0-RC1...v6.0.0)
Changelog (https://github.com/symfony/twig-bundle/compare/v6.0.0-BETA3...v6.0.0-RC1) * no significant changes
Changelog (https://github.com/symfony/twig-bundle/compare/v6.0.0-BETA3...v6.0.0-RC1)
Changelog (https://github.com/symfony/twig-bundle/compare/v6.0.0-BETA1...v6.0.0-BETA2) * no significant changes
Changelog (https://github.com/symfony/twig-bundle/compare/v6.0.0-BETA1...v6.0.0-BETA2)
feature #43804 Deprecate Composer 1 (derrabus)
Changelog (https://github.com/symfony/twig-bundle/compare/v5.3.10...v6.0.0-BETA1)
Changelog (https://github.com/symfony/twig-bundle/compare/v5.4.44...v5.4.45) * no significant changes
Changelog (https://github.com/symfony/twig-bundle/compare/v5.4.44...v5.4.45)
bug symfony/symfony#58198 [TwigBundle] Add support for resetting globals between HTTP requests (@fabpot)
Changelog (https://github.com/symfony/twig-bundle/compare/v5.4.43...v5.4.44)
Changelog (https://github.com/symfony/twig-bundle/compare/v5.4.39...v5.4.40) * no significant changes
Changelog (https://github.com/symfony/twig-bundle/compare/v5.4.39...v5.4.40)
Changelog (https://github.com/symfony/twig-bundle/compare/v5.4.38...v5.4.39) * no significant changes
Changelog (https://github.com/symfony/twig-bundle/compare/v5.4.38...v5.4.39)
bug symfony/symfony#53913 [TwigBridge] Fix compat with Twig v3.9 (@nicolas-grekas)
Changelog (https://github.com/symfony/twig-bundle/compare/v5.4.35...v5.4.36)
bug symfony/symfony#53582 [TwigBundle] Fix configuration when "paths" is null (@smnandre)
Changelog (https://github.com/symfony/twig-bundle/compare/v5.4.34...v5.4.35)
Changelog (https://github.com/symfony/twig-bundle/compare/v5.4.30...v5.4.31) * no significant changes
Changelog (https://github.com/symfony/twig-bundle/compare/v5.4.30...v5.4.31)
Changelog (https://github.com/symfony/twig-bundle/compare/v5.4.26...v5.4.27) * no significant changes
Changelog (https://github.com/symfony/twig-bundle/compare/v5.4.26...v5.4.27)
Changelog (https://github.com/symfony/twig-bundle/compare/v5.4.20...v5.4.21) * no significant changes
Changelog (https://github.com/symfony/twig-bundle/compare/v5.4.20...v5.4.21)
Changelog (https://github.com/symfony/twig-bundle/compare/v5.4.18...v5.4.19) * no significant changes
Changelog (https://github.com/symfony/twig-bundle/compare/v5.4.18...v5.4.19)
bug #48718 Compatibility with doctrine/annotations 2 (derrabus)
Changelog (https://github.com/symfony/twig-bundle/compare/v5.4.16...v5.4.17)
bug #45909 reset Twig form theme resources between requests (xabbuh)
Changelog (https://github.com/symfony/twig-bundle/compare/v5.4.7...v5.4.8)
Changelog (https://github.com/symfony/twig-bundle/compare/v5.4.2...v5.4.3) * no significant changes
Changelog (https://github.com/symfony/twig-bundle/compare/v5.4.2...v5.4.3)
Changelog (https://github.com/symfony/twig-bundle/compare/v5.4.0-RC1...v5.4.0) * no significant changes
Changelog (https://github.com/symfony/twig-bundle/compare/v5.4.0-RC1...v5.4.0)
Changelog (https://github.com/symfony/twig-bundle/compare/v5.4.0-BETA3...v5.4.0-RC1) * no significant changes
Changelog (https://github.com/symfony/twig-bundle/compare/v5.4.0-BETA3...v5.4.0-RC1)
feature #43804 Deprecate Composer 1 (derrabus)
Changelog (https://github.com/symfony/twig-bundle/compare/v5.3.10...v5.4.0-BETA1)
Changelog (https://github.com/symfony/twig-bundle/compare/v5.3.13...v5.3.14) * no significant changes
Changelog (https://github.com/symfony/twig-bundle/compare/v5.3.13...v5.3.14)
bug #43801 fix auto-enabling assets/expression/routing/yaml/workflow extensions (nicolas-grekas)
Changelog (https://github.com/symfony/twig-bundle/compare/v5.3.9...v5.3.10)
Changelog (https://github.com/symfony/twig-bundle/compare/v5.3.3...v5.3.4) * no significant changes
Changelog (https://github.com/symfony/twig-bundle/compare/v5.3.3...v5.3.4)
One column per quarter.