symfony/twig-bridge breaking changes
symfony/twig-bridge v8.0.0 (November 27, 2025) is its newest release with breaking changes, 3 of them. The first: Removed Symfony\Bridge\Twig\Form\TwigRendererEngine::reset. Every breaking API change we have recorded in symfony/twig-bridge on Packagist: 40 breaking changes in 5 versions. Below, its 5 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version v8.2.0, released November 28, 2026. MIT license. Source repository
Its v8.0.0-BETA1 release requires PHP 8.4 or later. PHP end of life dates.
symfony/twig-bridge v8.0.0 breaking changes
- Removed
Symfony\Bridge\Twig\Form\TwigRendererEngine::reset
Symfony\Bridge\Twig\Form\TwigRendererEngine::reset was removed in symfony/twig-bridge v8.0.0 packagist.org - Removed
Symfony\Bridge\Twig\Form\TwigRendererEngine::setTheme
Symfony\Bridge\Twig\Form\TwigRendererEngine::setTheme was removed in symfony/twig-bridge v8.0.0 packagist.org - Signature changed
Symfony\Bridge\Twig\Node\FormThemeNode::__construct
Was public function __construct(Node $form, Node $resources, int $lineno, $only = false); now public function __construct(Node $form, Node $resources, int $lineno, bool $only = false). packagist.org
symfony/twig-bridge v8.0.0-BETA1 breaking changes
- Removed
Symfony 8 requires PHP 8.4 or later. Projects on older PHP versions cannot use this release. github.com - Removed
FormThemeNode
FormThemeNode no longer accepts a tag argument. Remove any code that passes a tag to it. github.com - Configuration changed
Symfony 8 requires PHP 8.4 or later. Projects on older PHP versions must upgrade PHP before upgrading. github.com - Signature changed
Return types are now enforced on all components. Code overriding methods without matching return types must be updated. github.com - Signature changed
Return types are now enforced on all components. Custom subclasses or implementations with mismatched return types must be updated. github.com
symfony/twig-bridge v7.0.0 breaking changes
- Removed
Symfony\Bridge\Twig\Form\TwigRendererEngine::reset
Symfony\Bridge\Twig\Form\TwigRendererEngine::reset was removed in symfony/twig-bridge v7.0.0 packagist.org - Removed
Symfony\Bridge\Twig\Form\TwigRendererEngine::setTheme
Symfony\Bridge\Twig\Form\TwigRendererEngine::setTheme was removed in symfony/twig-bridge v7.0.0 packagist.org - Removed
Symfony\Bridge\Twig\NodeVisitor\TranslationDefaultDomainNodeVisitor::enterNode
Symfony\Bridge\Twig\NodeVisitor\TranslationDefaultDomainNodeVisitor::enterNode was removed in symfony/twig-bridge v7.0.0 packagist.org - Removed
Symfony\Bridge\Twig\NodeVisitor\TranslationDefaultDomainNodeVisitor::leaveNode
Symfony\Bridge\Twig\NodeVisitor\TranslationDefaultDomainNodeVisitor::leaveNode was removed in symfony/twig-bridge v7.0.0 packagist.org - Removed
Symfony\Bridge\Twig\NodeVisitor\TranslationNodeVisitor::enterNode
Symfony\Bridge\Twig\NodeVisitor\TranslationNodeVisitor::enterNode was removed in symfony/twig-bridge v7.0.0 packagist.org - Removed
Symfony\Bridge\Twig\NodeVisitor\TranslationNodeVisitor::leaveNode
Symfony\Bridge\Twig\NodeVisitor\TranslationNodeVisitor::leaveNode was removed in symfony/twig-bridge v7.0.0 packagist.org - Signature changed
Symfony\Bridge\Twig\AppVariable::getFlashes
Was public function getFlashes(string|array|null $types = null): array; now public function getFlashes(string|array $types = null): array. packagist.org - Signature changed
Symfony\Bridge\Twig\AppVariable::setDebug
Was public function setDebug(bool $debug); now public function setDebug(bool $debug): void. packagist.org - Signature changed
Symfony\Bridge\Twig\AppVariable::setEnvironment
Was public function setEnvironment(string $environment); now public function setEnvironment(string $environment): void. packagist.org - Signature changed
Symfony\Bridge\Twig\AppVariable::setRequestStack
Was public function setRequestStack(RequestStack $requestStack); now public function setRequestStack(RequestStack $requestStack): void. packagist.org
And 14 more in this version. Sign up to see every change
symfony/twig-bridge v7.0.0-BETA3 breaking changes
- Behavior changed
CodeExtension
The CodeExtension filters now properly escape their input as a security fix. Output that relied on unescaped input may change. github.com
symfony/twig-bridge v7.0.0-BETA1 breaking changes
- Removed
This bridge no longer supports Twig 2, so projects still on Twig 2 must upgrade Twig. github.com - Removed
The package now needs PHP 8.2 or later, so older PHP versions can no longer run it. github.com - Removed
Twig 2 is no longer supported. Upgrade your Twig dependency to Twig 3 before upgrading. github.com - Behavior changed
The generated <input> HTML no longer includes the self-closing slash. Update any tests or code that depend on the old markup. github.com - Behavior changed
Rendered input elements drop the self-closing slash, so tests or code matching the old markup may need updating. github.com - Behavior changed
The package now requires PHP 8.2 or later. Upgrade PHP before upgrading this package. github.com - Signature changed
impersonation_path
The impersonation_path() function now requires its argument. Pass the argument explicitly, and use impersonation_url() if you need a full URL. github.com
Related packages
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.