NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist, #255 most downloaded on Packagist
Provides integration for Twig with various Symfony components
Latest stable
v8.1.10
Last release 3 days ago
12 Nov 2026
Ships fairly regularly
a new release about every 2 weeks
Rarely documented
notes for 1 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
15 years old
723 releases · first in 2011
Drag across the ruler to compare, or tap a release to open it.
bug symfony/symfony#53678 [Mime] Fix serializing uninitialized RawMessage::$message to null (@nicolas-grekas)
Changelog (https://github.com/symfony/twig-bridge/compare/v6.3.11...v6.3.12)
RawMessage::$message to null (@nicolas-grekas)TranslationNodeVisitor with constant domain (@VincentLanglet)bug symfony/symfony#52990 [TwigBridge] don't use deprecated and internal Twig functions (@xabbuh)
Changelog (https://github.com/symfony/twig-bridge/compare/v6.3.10...v6.3.11)
Your coding agent can read these notes before it upgrades. Set up the MCP server →
security symfony/symfony#cve-2023-46734 [TwigBridge] Ensure CodeExtension's filters properly escape their input (@nicolas-grekas, @GromNaN)
Changelog (https://github.com/symfony/twig-bridge/compare/v6.3.7...v6.3.8)
bug symfony/symfony#51586 [ErrorHandler] Handle PHP 8.3 highlight_file function output changes (@PhilETaylor)
Changelog (https://github.com/symfony/twig-bridge/compare/v6.3.4...v6.3.5)
highlight_file function output changes (@PhilETaylor)Changelog (https://github.com/symfony/twig-bridge/compare/v6.3.1...v6.3.2) * no significant changes
Changelog (https://github.com/symfony/twig-bridge/compare/v6.3.1...v6.3.2)
bug symfony/symfony#50456 [AssetMapper] Fix unable to use asset mapper with CSP (@vtsykun)
Changelog (https://github.com/symfony/twig-bridge/compare/v6.3.0-RC2...v6.3.0)
AppVariable::getLocale() to retrieve the current locale when using the LocaleSwitcherfeature symfony/symfony#49293 [DoctrineBridge] Allow to ignore specific nullable fields in UniqueEntity (@VincentLanglet)
Changelog (https://github.com/symfony/twig-bridge/compare/v6.3.0-BETA3...v6.3.0-RC1)
isRetryable decision of the retry strategy for re-delivery (@FlyingDR)feature symfony/symfony#49588 [Form] Deprecate not configuring the "widget" option of date/time form types (@MrYamous, @nicolas-grekas)
Changelog (https://github.com/symfony/twig-bridge/compare/v6.2.10...v6.3.0-BETA1)
TriggerInterface extend \Stringable (@kbond)AppVariable (@SVillette)placeholder_attr option (@elementaire)constructor option to #[Autoconfigure] (@alexandre-daubois)exclude option to the Cascade constraint (@alexandre-daubois)#[MapDecorated] in favor of #[AutowireDecorated] (@nicolas-grekas)ErrorHandler on boot (@HypeMC)NoSuspiciousCharacters constraint to validate a string is not suspicious (@MatTheCat)TransportNamesStamp (@alexandre-daubois)$normalizeWhitespace to Crawler::innerText() and make it return the first non-empty text (@otsch)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)SmsMessage (@gnito-org)assertSelectorCount (@curlycarla2004)Uuid::TIME_BASED_VERSIONS to match that a UUID being validated embeds a timestamp (@alexandre-daubois)Changelog (https://github.com/symfony/twig-bridge/compare/v6.2.12...v6.2.13) * no significant changes
Changelog (https://github.com/symfony/twig-bridge/compare/v6.2.12...v6.2.13)
bug #49401 Fix raw content rendering in HTML notification emails (1ed)
Changelog (https://github.com/symfony/twig-bridge/compare/v6.2.7...v6.2.8)
bug #48965 Allow floats in html5 input type number field (wimhendrikx)
Changelog (https://github.com/symfony/twig-bridge/compare/v6.2.6...v6.2.7)
Changelog (https://github.com/symfony/twig-bridge/compare/v6.2.4...v6.2.5) * no significant changes
Changelog (https://github.com/symfony/twig-bridge/compare/v6.2.4...v6.2.5)
bug #48718 Compatibility with doctrine/annotations 2 (derrabus)
Changelog (https://github.com/symfony/twig-bridge/compare/v6.2.2...v6.2.3)
bug #48505 Fix rendered templates for notifications (fabpot)
Changelog (https://github.com/symfony/twig-bridge/compare/v6.2.0...v6.2.1)
MoneyType twig to include a space (mogilvie)Changelog (https://github.com/symfony/twig-bridge/compare/v6.2.0-RC2...v6.2.0) * no significant changes
Changelog (https://github.com/symfony/twig-bridge/compare/v6.2.0-RC2...v6.2.0)
form_label_content and form_help_content block to form themes#[Template()] to describe how to render arrays returned by controllersapp.current_route and app.current_route_parameters variablesChangelog (https://github.com/symfony/twig-bridge/compare/v6.2.0-BETA3...v6.2.0-RC1) * no significant changes
Changelog (https://github.com/symfony/twig-bridge/compare/v6.2.0-BETA3...v6.2.0-RC1)
bug #48092 Fix the notification email theme for asynchronously dispatched emails (krisbuist)
Changelog (https://github.com/symfony/twig-bridge/compare/v6.2.0-BETA2...v6.2.0-BETA3)
feature #47711 deprecate attach/embed methods in favor of Email::addPart() (fabpot)
Changelog (https://github.com/symfony/twig-bridge/compare/v6.1.6...v6.2.0-BETA1)
AppVariable (HeahDude)#[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-bridge/compare/v6.1.8...v6.1.9)
MoneyType twig to include a space (mogilvie)bug #48092 Fix the notification email theme for asynchronously dispatched emails (krisbuist)
Changelog (https://github.com/symfony/twig-bridge/compare/v6.1.7...v6.1.8)
Changelog (https://github.com/symfony/twig-bridge/compare/v6.1.6...v6.1.7) * no significant changes
Changelog (https://github.com/symfony/twig-bridge/compare/v6.1.6...v6.1.7)
bug #47833 Remove empty spaces between choices when using checkbox-inline or checkbox-switch (simondaigre)
Changelog (https://github.com/symfony/twig-bridge/compare/v6.1.5...v6.1.6)
bug #47171 suggest to install the Twig bundle when the required component is already installed (xabbuh)
Changelog (https://github.com/symfony/twig-bridge/compare/v6.1.3...v6.1.4)
Changelog (https://github.com/symfony/twig-bridge/compare/v6.1.2...v6.1.3) * no significant changes
Changelog (https://github.com/symfony/twig-bridge/compare/v6.1.2...v6.1.3)
bug #46704 Allow passing null in twig_is_selected_choice (raziel057)
Changelog (https://github.com/symfony/twig-bridge/compare/v6.1.1...v6.1.2)
bug #46414 Bootstrap 4 fieldset for row errors (konradkozaczenko)
Changelog (https://github.com/symfony/twig-bridge/compare/v6.1.0-RC1...v6.1.0)
feature #46335 Add Twig filter, form-type extension and improve service definitions for HtmlSanitizer (nicolas-grekas)
Changelog (https://github.com/symfony/twig-bridge/compare/v6.1.0-BETA2...v6.1.0-RC1)
Changelog (https://github.com/symfony/twig-bridge/compare/v6.1.0-BETA1...v6.1.0-BETA2) * no significant changes
Changelog (https://github.com/symfony/twig-bridge/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-bridge/compare/v6.0.7...v6.1.0-BETA1)
Changelog (https://github.com/symfony/twig-bridge/compare/v6.0.18...v6.0.19) * no significant changes
Changelog (https://github.com/symfony/twig-bridge/compare/v6.0.18...v6.0.19)
bug #48718 Compatibility with doctrine/annotations 2 (derrabus)
Changelog (https://github.com/symfony/twig-bridge/compare/v6.0.16...v6.0.17)
MoneyType twig to include a space (mogilvie)bug #48092 Fix the notification email theme for asynchronously dispatched emails (krisbuist)
Changelog (https://github.com/symfony/twig-bridge/compare/v6.0.15...v6.0.16)
bug #47833 Remove empty spaces between choices when using checkbox-inline or checkbox-switch (simondaigre)
Changelog (https://github.com/symfony/twig-bridge/compare/v6.0.13...v6.0.14)
bug #47171 suggest to install the Twig bundle when the required component is already installed (xabbuh)
Changelog (https://github.com/symfony/twig-bridge/compare/v6.0.11...v6.0.12)
Changelog (https://github.com/symfony/twig-bridge/compare/v6.0.10...v6.0.11) * no significant changes
Changelog (https://github.com/symfony/twig-bridge/compare/v6.0.10...v6.0.11)
bug #46704 Allow passing null in twig_is_selected_choice (raziel057)
Changelog (https://github.com/symfony/twig-bridge/compare/v6.0.9...v6.0.10)
bug #46414 Bootstrap 4 fieldset for row errors (konradkozaczenko)
Changelog (https://github.com/symfony/twig-bridge/compare/v6.0.8...v6.0.9)
Changelog (https://github.com/symfony/twig-bridge/compare/v6.0.7...v6.0.8) * no significant changes
Changelog (https://github.com/symfony/twig-bridge/compare/v6.0.7...v6.0.8)
bug #45905 Fix the build (wouterj)
Changelog (https://github.com/symfony/twig-bridge/compare/v6.0.6...v6.0.7)
Changelog (https://github.com/symfony/twig-bridge/compare/v6.0.4...v6.0.5) * no significant changes
Changelog (https://github.com/symfony/twig-bridge/compare/v6.0.4...v6.0.5)
Changelog (https://github.com/symfony/twig-bridge/compare/v6.0.2...v6.0.3) * no significant changes
Changelog (https://github.com/symfony/twig-bridge/compare/v6.0.2...v6.0.3)
Changelog (https://github.com/symfony/twig-bridge/compare/v6.0.1...v6.0.2) * no significant changes
Changelog (https://github.com/symfony/twig-bridge/compare/v6.0.1...v6.0.2)
bug #44494 Remove FQCN type hints on properties (fabpot)
Changelog (https://github.com/symfony/twig-bridge/compare/v6.0.0...v6.0.1)
Changelog (https://github.com/symfony/twig-bridge/compare/v6.0.0-RC1...v6.0.0) * no significant changes
Changelog (https://github.com/symfony/twig-bridge/compare/v6.0.0-RC1...v6.0.0)
bug #42323 do not merge label classes into expanded choice labels (xabbuh)
Changelog (https://github.com/symfony/twig-bridge/compare/v6.0.0-BETA3...v6.0.0-RC1)
feature #41613 Remove everything related to the deprecated authentication manager (wouterj)
Changelog (https://github.com/symfony/twig-bridge/compare/v5.3.10...v6.0.0-BETA1)
@experimental flag (nicolas-grekas)encore_entry_*_tags() to UndefinedCallableHandler, as no-op (nicolas-grekas)bug symfony/symfony#58964 [TwigBridge] do not add child nodes to EmptyNode instances (@xabbuh)
Changelog (https://github.com/symfony/twig-bridge/compare/v5.4.47...v5.4.48)
bug symfony/symfony#58649 [TwigBridge] ensure compatibility with Twig 3.15 (@xabbuh)
Changelog (https://github.com/symfony/twig-bridge/compare/v5.4.44...v5.4.45)
parse_url() checks (@nicolas-grekas)Node() instantiations (@fabpot)bug symfony/symfony#58207 [TwigBridge] Avoid calling deprecated mergeGlobals() (@derrabus)
Changelog (https://github.com/symfony/twig-bridge/compare/v5.4.43...v5.4.44)
bug symfony/symfony#58078 [TwigBridge] Fix Twig deprecation notice (@yceruto)
Changelog (https://github.com/symfony/twig-bridge/compare/v5.4.42...v5.4.43)
bug symfony/symfony#57355 [ErrorHandler] Fix rendered exception code highlighting on PHP 8.3 (@tscni)
Changelog (https://github.com/symfony/twig-bridge/compare/v5.4.40...v5.4.41)
Changelog (https://github.com/symfony/twig-bridge/compare/v5.4.39...v5.4.40) * no significant changes
Changelog (https://github.com/symfony/twig-bridge/compare/v5.4.39...v5.4.40)
bug symfony/symfony#54598 [TwigBridge] implement NodeVisitorInterface instead of extending AbstractNodeVisitor (@xabbuh)
Changelog (https://github.com/symfony/twig-bridge/compare/v5.4.38...v5.4.39)
bug symfony/symfony#54425 [TwigBridge] Remove whitespaces from block form_help output (@rosier)
Changelog (https://github.com/symfony/twig-bridge/compare/v5.4.37...v5.4.38)
bug symfony/symfony#53913 [TwigBridge] Fix compat with Twig v3.9 (@nicolas-grekas)
Changelog (https://github.com/symfony/twig-bridge/compare/v5.4.35...v5.4.36)
bug symfony/symfony#53678 [Mime] Fix serializing uninitialized RawMessage::$message to null (@nicolas-grekas)
Changelog (https://github.com/symfony/twig-bridge/compare/v5.4.34...v5.4.35)
RawMessage::$message to null (@nicolas-grekas)TranslationNodeVisitor with constant domain (@VincentLanglet)bug symfony/symfony#52990 [TwigBridge] don't use deprecated and internal Twig functions (@xabbuh)
Changelog (https://github.com/symfony/twig-bridge/compare/v5.4.33...v5.4.34)
security symfony/symfony#cve-2023-46734 [TwigBridge] Ensure CodeExtension's filters properly escape their input (@nicolas-grekas, @GromNaN)
Changelog (https://github.com/symfony/twig-bridge/compare/v5.4.30...v5.4.31)
bug symfony/symfony#51586 [ErrorHandler] Handle PHP 8.3 highlight_file function output changes (@PhilETaylor)
Changelog (https://github.com/symfony/twig-bridge/compare/v5.4.28...v5.4.29)
highlight_file function output changes (@PhilETaylor)One column per quarter.