NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist, #254 most downloaded on Packagist
Provides integration for Twig with various Symfony components
Latest stable
v8.1.10
Last release 10 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.
Changelog ( v8.2.0-BETA1...v8.2.0-BETA2 )
Changelog (v8.2.0-BETA1...v8.2.0-BETA2)
trans_default_domain ... for _self and require Twig 3.29 (@nicolas-grekas)feature #64071 Deprecate the hinclude fragment renderer ( @javiereguiluz )
Changelog (v8.1.10...v8.2.0-BETA1)
command.invocation and migrate command examples (@nicolas-grekas)suggestPaths() and suggestDirectories() to let the shell complete paths (@nicolas-grekas)HtmlTranslator and the trans_html filter (@Kocal)logout_button(), impersonation_button() and impersonation_exit_button() (@nicolas-grekas)DateTimeImmutable::createFromTimestamp() to build dates from timestamps (@nicolas-grekas)sign_url filter to sign absolute URLs (@nicolas-grekas)BoundsType fields (@nicolas-grekas)AuthorizationChecker::isGrantedForUser to check for guest permissions (@aschempp)PolymorphicCollectionType for collections whose entries do not all share the same type (@michaelKaefer)path and CSRF options to switch_user (@kbond)Your coding agent can read these notes before it upgrades. Set up the MCP server →
bug #66990 Fix form_label() with a literal label and non-literal variables ( @nicolas-grekas )
Changelog (v8.1.7...v8.1.10)
[SECURITY] Security release
bug #66043 Compose form theme blocks with Twig's BlockChain when available ( @fabpot )
Changelog (v8.1.5...v8.1.7)
bug #65541 Fix denormalizing mime messages typed as RawMessage ( @nicolas-grekas )
Changelog (v8.1.4...v8.1.5)
bug #65060 Fix compatibility with Twig 4 (@nicolas-grekas)
Changelog (https://github.com/symfony/twig-bridge/compare/v8.1.2...v8.1.4)
minor #64664 Document the hidden placeholder of required ChoiceType fields (@lacatoire)
Changelog (https://github.com/symfony/twig-bridge/compare/v8.1.1...v8.1.2)
minor #64647 Relax test assertions for generated _fragment URI (@nicolas-grekas)
Changelog (https://github.com/symfony/twig-bridge/compare/v8.1.0...v8.1.1)
_fragment URI (@nicolas-grekas)Changelog (https://github.com/symfony/twig-bridge/compare/v8.1.0-BETA3...v8.1.0) * no significant changes
Changelog (https://github.com/symfony/twig-bridge/compare/v8.1.0-BETA3...v8.1.0)
form_flow_* Twig form helper functions to access values from FormFlowCursorsecurity #cve-2026-45072 Fix XSS issue in CodeExtension::fileExcerpt() (@nicolas-grekas)
Changelog (https://github.com/symfony/twig-bridge/compare/v8.1.0-BETA1...v8.1.0-BETA3)
EscaperRuntime service definition (@GromNaN)security #cve-2026-45072 Fix XSS issue in CodeExtension::fileExcerpt() (@nicolas-grekas)
Changelog (https://github.com/symfony/twig-bridge/compare/v8.0.12...v8.1.0-BETA1)
ControllerEvent::getAttributes(*) (@nicolas-grekas)bug #64931 prevent implicit string casts for translatable message objects (@xabbuh)
Changelog (https://github.com/symfony/twig-bridge/compare/v8.0.14...v8.0.15)
minor #64647 Relax test assertions for generated _fragment URI (@nicolas-grekas)
Changelog (https://github.com/symfony/twig-bridge/compare/v8.0.12...v8.0.14)
_fragment URI (@nicolas-grekas)security #cve-2026-45072 Fix XSS issue in CodeExtension::fileExcerpt() (@nicolas-grekas)
Changelog (https://github.com/symfony/twig-bridge/compare/v8.0.8...v8.0.12)
bug #63683 Fix image method to use DataPart content ID (@pavelwitassek)
Changelog (https://github.com/symfony/twig-bridge/compare/v8.0.7...v8.0.8)
bug #63568 Fix Bootstrap 4 horizontal layout broken by form errors moved outside label (@nicolas-grekas)
Changelog (https://github.com/symfony/twig-bridge/compare/v8.0.6...v8.0.7)
bug #63472 Fix Bootstrap 4 form errors rendered inside (@asispts)
Changelog (https://github.com/symfony/twig-bridge/compare/v8.0.5...v8.0.6)
<label> (@asispts)bug #63206 Conflict with phpdocumentor/reflection-docblock >= 6 (all branches) (@nicolas-grekas)
Changelog (https://github.com/symfony/twig-bridge/compare/v8.0.4...v8.0.5)
bug #62884 Prevent cached block prefixes from leaking across nested collections (@nicolas-grekas)
Changelog (https://github.com/symfony/twig-bridge/compare/v8.0.3...v8.0.4)
bug symfony/symfony#62744 [TwigBridge] do not use PHPUnit mock objects without configured expectations (@xabbuh)
Changelog (https://github.com/symfony/twig-bridge/compare/v8.0.2...v8.0.3)
bug symfony/symfony#62621 [Form] Fix moneytype step (@Belhassen)
Changelog (https://github.com/symfony/twig-bridge/compare/v8.0.0...v8.0.1)
Changelog (https://github.com/symfony/twig-bridge/compare/v8.0.0-RC3...v8.0.0) * no significant changes
Changelog (https://github.com/symfony/twig-bridge/compare/v8.0.0-RC3...v8.0.0)
FormThemeNodebug symfony/symfony#62297 [Twig] Ensure WrappedTemplatedEmail::getReturnPath() returns a string (@yoeunes)
Changelog (https://github.com/symfony/twig-bridge/compare/v8.0.0-BETA2...v8.0.0-RC1)
Changelog (https://github.com/symfony/twig-bridge/compare/v8.0.0-BETA1...v8.0.0-BETA2) * no significant changes
Changelog (https://github.com/symfony/twig-bridge/compare/v8.0.0-BETA1...v8.0.0-BETA2)
feature symfony/symfony#61109 [Translation] Deprecate TranslatableMessage::__toString (@VincentLanglet)
Changelog (https://github.com/symfony/twig-bridge/compare/v7.3.4...v8.0.0-BETA1)
access_decision() and access_decision_for_user() (@florentdestremau)TranslatableMessage::__toString (@VincentLanglet)Application::add() methods (@HypeMC)Changelog ( v7.4.19...v7.4.22 )
Changelog (v7.4.19...v7.4.22)
[SECURITY] Security release
Changelog ( v7.4.17...v7.4.19 )
Changelog (v7.4.17...v7.4.19)
Changelog ( v7.4.16...v7.4.17 )
Changelog (v7.4.16...v7.4.17)
bug #65060 Fix compatibility with Twig 4 (@nicolas-grekas)
Changelog (https://github.com/symfony/twig-bridge/compare/v7.4.15...v7.4.16)
bug #64931 prevent implicit string casts for translatable message objects (@xabbuh)
Changelog (https://github.com/symfony/twig-bridge/compare/v7.4.14...v7.4.15)
minor #64647 Relax test assertions for generated _fragment URI (@nicolas-grekas)
Changelog (https://github.com/symfony/twig-bridge/compare/v7.4.12...v7.4.14)
_fragment URI (@nicolas-grekas)security #cve-2026-45072 Fix XSS issue in CodeExtension::fileExcerpt() (@nicolas-grekas)
Changelog (https://github.com/symfony/twig-bridge/compare/v7.4.8...v7.4.12)
bug #63683 Fix image method to use DataPart content ID (@pavelwitassek)
Changelog (https://github.com/symfony/twig-bridge/compare/v7.4.7...v7.4.8)
bug #63568 Fix Bootstrap 4 horizontal layout broken by form errors moved outside label (@nicolas-grekas)
Changelog (https://github.com/symfony/twig-bridge/compare/v7.4.6...v7.4.7)
bug #63472 Fix Bootstrap 4 form errors rendered inside (@asispts)
Changelog (https://github.com/symfony/twig-bridge/compare/v7.4.5...v7.4.6)
<label> (@asispts)bug #63206 Conflict with phpdocumentor/reflection-docblock >= 6 (all branches) (@nicolas-grekas)
Changelog (https://github.com/symfony/twig-bridge/compare/v7.4.4...v7.4.5)
bug #62884 Prevent cached block prefixes from leaking across nested collections (@nicolas-grekas)
Changelog (https://github.com/symfony/twig-bridge/compare/v7.4.3...v7.4.4)
bug symfony/symfony#62744 [TwigBridge] do not use PHPUnit mock objects without configured expectations (@xabbuh)
Changelog (https://github.com/symfony/twig-bridge/compare/v7.4.2...v7.4.3)
bug symfony/symfony#62621 [Form] Fix moneytype step (@Belhassen)
Changelog (https://github.com/symfony/twig-bridge/compare/v7.4.0...v7.4.1)
Changelog (https://github.com/symfony/twig-bridge/compare/v7.4.0-RC3...v7.4.0) * no significant changes
Changelog (https://github.com/symfony/twig-bridge/compare/v7.4.0-RC3...v7.4.0)
access_decision() and access_decision_for_user() Twig functionsform_label_content inside button_widget block to render button labelaria-invalid and aria-describedby attributes to form fields when validation errors are presentbug symfony/symfony#62297 [Twig] Ensure WrappedTemplatedEmail::getReturnPath() returns a string (@yoeunes)
Changelog (https://github.com/symfony/twig-bridge/compare/v7.4.0-BETA2...v7.4.0-RC1)
feature symfony/symfony#61109 [Translation] Deprecate TranslatableMessage::__toString (@VincentLanglet)
Changelog (https://github.com/symfony/twig-bridge/compare/v7.3.4...v7.4.0-BETA1)
access_decision() and access_decision_for_user() (@florentdestremau)TranslatableMessage::__toString (@VincentLanglet)bug #63206 Conflict with phpdocumentor/reflection-docblock >= 6 (all branches) (@nicolas-grekas)
Changelog (https://github.com/symfony/twig-bridge/compare/v7.3.10...v7.3.11)
bug #62884 Prevent cached block prefixes from leaking across nested collections (@nicolas-grekas)
Changelog (https://github.com/symfony/twig-bridge/compare/v7.3.9...v7.3.10)
bug symfony/symfony#62744 [TwigBridge] do not use PHPUnit mock objects without configured expectations (@xabbuh)
Changelog (https://github.com/symfony/twig-bridge/compare/v7.3.8...v7.3.9)
bug symfony/symfony#62621 [Form] Fix moneytype step (@Belhassen)
Changelog (https://github.com/symfony/twig-bridge/compare/v7.3.7...v7.3.8)
bug symfony/symfony#62297 [Twig] Ensure WrappedTemplatedEmail::getReturnPath() returns a string (@yoeunes)
Changelog (https://github.com/symfony/twig-bridge/compare/v7.3.5...v7.3.6)
bug symfony/symfony#61402 Remove calls to deprecated methods of SplObjectStorage (@nicolas-grekas)
Changelog (https://github.com/symfony/twig-bridge/compare/v7.3.2...v7.3.3)
bug symfony/symfony#60867 [WebProfilerBundle] Fix missing indent on non php files opended in the profiler (@phcorp)
Changelog (https://github.com/symfony/twig-bridge/compare/v7.3.1...v7.3.2)
TranslatableInterface in IdentityTranslator (@VincentLanglet)@var phpdoc (@fabpot)InputOption::VALUE_REQUIRED) (@gharlan)Changelog (https://github.com/symfony/twig-bridge/compare/v7.3.0-RC1...v7.3.0) * no significant changes
Changelog (https://github.com/symfony/twig-bridge/compare/v7.3.0-RC1...v7.3.0)
is_granted_for_user() Twig functionfield_id() Twig form helper functionTwig constraint that validates Twig templateslint:twig collect all deprecations instead of stopping at the first onename argument to email.image to override the attachment file name being set as the file pathChangelog (https://github.com/symfony/twig-bridge/compare/v7.3.0-BETA2...v7.3.0-RC1) * no significant changes
Changelog (https://github.com/symfony/twig-bridge/compare/v7.3.0-BETA2...v7.3.0-RC1)
feature symfony/symfony#60039 [TwigBridge] Collect all deprecations with lint:twig command (@Fan2Shrek)
Changelog (https://github.com/symfony/twig-bridge/compare/v7.2.6...v7.3.0-BETA1)
lint:twig command (@Fan2Shrek)field_id() form helper (@Legendary4226)is_granted_for_user() function (@natewiebe13)bug symfony/symfony#60867 [WebProfilerBundle] Fix missing indent on non php files opended in the profiler (@phcorp)
Changelog (https://github.com/symfony/twig-bridge/compare/v7.2.8...v7.2.9)
TranslatableInterface in IdentityTranslator (@VincentLanglet)@var phpdoc (@fabpot)InputOption::VALUE_REQUIRED) (@gharlan)Changelog (https://github.com/symfony/twig-bridge/compare/v7.2.6...v7.2.7) * no significant changes
Changelog (https://github.com/symfony/twig-bridge/compare/v7.2.6...v7.2.7)
bug symfony/symfony#60054 [Form] Use duplicate_preferred_choices to set value of ChoiceType (@aleho)
Changelog (https://github.com/symfony/twig-bridge/compare/v7.2.4...v7.2.5)
bug symfony/symfony#59774 [TwigBridge] Fix compatibility with Twig 3.21 (@alexandre-daubois)
Changelog (https://github.com/symfony/twig-bridge/compare/v7.2.3...v7.2.4)
isRendered method to ensure we can avoid rendering an email twice (@walva)Changelog (https://github.com/symfony/twig-bridge/compare/v7.2.1...v7.2.2) * no significant changes
Changelog (https://github.com/symfony/twig-bridge/compare/v7.2.1...v7.2.2)
bug symfony/symfony#59059 [TwigBridge] generate conflict-free variable names (@xabbuh)
Changelog (https://github.com/symfony/twig-bridge/compare/v7.2.0...v7.2.1)
bug symfony/symfony#58964 [TwigBridge] do not add child nodes to EmptyNode instances (@xabbuh)
Changelog (https://github.com/symfony/twig-bridge/compare/v7.2.0-RC1...v7.2.0)
FormThemeNodebug symfony/symfony#58823 [TwigBridge] Fix emojify as function in Undefined Handler (@smnandre)
Changelog (https://github.com/symfony/twig-bridge/compare/v7.2.0-BETA2...v7.2.0-RC1)
One column per quarter.