symfony/http-kernel breaking changes
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/http-kernel v8.0.0 breaking changes
- Removed
Symfony\Component\HttpKernel\DataCollector\DataCollector::__sleep
Use __serialize instead. packagist.org - Removed
Symfony\Component\HttpKernel\DataCollector\DataCollector::__wakeup
Use __unserialize instead. packagist.org - Removed
Symfony\Component\HttpKernel\DependencyInjection\AddAnnotatedClassesToCachePass
Symfony\Component\HttpKernel\DependencyInjection\AddAnnotatedClassesToCachePass was removed in symfony/http-kernel v8.0.0 packagist.org - Removed
Symfony\Component\HttpKernel\Kernel::__sleep
Use __serialize instead. packagist.org - Removed
Symfony\Component\HttpKernel\Kernel::__wakeup
Use __unserialize instead. packagist.org - Removed
Symfony\Component\HttpKernel\Kernel::getAnnotatedClassesToCompile
Symfony\Component\HttpKernel\Kernel::getAnnotatedClassesToCompile was removed in symfony/http-kernel v8.0.0 packagist.org - Signature changed
Symfony\Component\HttpKernel\Bundle\AbstractBundle::loadExtension
Was public function loadExtension(array $config, ContainerConfigurator $configurator, ContainerBuilder $container): void; now public function loadExtension(array $config, ContainerConfigurator $container, ContainerBuilder $builder): void. packagist.org - Signature changed
Symfony\Component\HttpKernel\Bundle\AbstractBundle::prependExtension
Was public function prependExtension(ContainerConfigurator $configurator, ContainerBuilder $container): void; now public function prependExtension(ContainerConfigurator $container, ContainerBuilder $builder): void. packagist.org - Signature changed
Symfony\Component\HttpKernel\Bundle\Bundle::registerCommands
Was public function registerCommands(Application $application); now public function registerCommands(Application $application): void. packagist.org - Signature changed
Symfony\Component\HttpKernel\Bundle\BundleInterface::boot
Was public function boot(); now public function boot(): void. packagist.org - Signature changed
Symfony\Component\HttpKernel\Bundle\BundleInterface::build
Was public function build(ContainerBuilder $container); now public function build(ContainerBuilder $container): void. packagist.org - Signature changed
Symfony\Component\HttpKernel\Bundle\BundleInterface::shutdown
Was public function shutdown(); now public function shutdown(): void. packagist.org - Signature changed
Symfony\Component\HttpKernel\DataCollector\DataCollector::reset
Was public function reset(); now public function reset(): void. packagist.org - Signature changed
Symfony\Component\HttpKernel\DataCollector\DataCollectorInterface::collect
Was public function collect(Request $request, Response $response, ?\Throwable $exception = null); now public function collect(Request $request, Response $response, ?\Throwable $exception = null): void. packagist.org - Signature changed
Symfony\Component\HttpKernel\DataCollector\DataCollectorInterface::getName
Was public function getName(); now public function getName(): string. packagist.org - Signature changed
Symfony\Component\HttpKernel\DataCollector\EventDataCollector::__construct
Was public function __construct(iterable|EventDispatcherInterface|null $dispatchers = null, private ?RequestStack $requestStack = null, string $defaultDispatcher = 'event_dispatcher'); now public function... packagist.org - Signature changed
Symfony\Component\HttpKernel\DataCollector\ExceptionDataCollector::getCode
Was public function getCode(): int|string; now public function getCode(): int. packagist.org - Signature changed
Symfony\Component\HttpKernel\DataCollector\LateDataCollectorInterface::lateCollect
Was public function lateCollect(); now public function lateCollect(): void. packagist.org - Signature changed
Symfony\Component\HttpKernel\DependencyInjection\ServicesResetter
Was class ServicesResetter implements ServicesResetterInterface; now final class ServicesResetter implements ServicesResetterInterface. packagist.org - Signature changed
Symfony\Component\HttpKernel\EventListener\DumpListener::configure
Was public function configure(/* ?ConsoleCommandEvent $event = null */): void; now public function configure(?ConsoleCommandEvent $event = null): void. packagist.org - Signature changed
Symfony\Component\HttpKernel\EventListener\ErrorListener::logException
Was protected function logException(\Throwable $exception, string $message, ?string $logLevel = null/*, ?string $logChannel = null */): void; now protected function logException(\Throwable $exception, string $message, ?string $logLevel =... packagist.org - Signature changed
Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelFinishRequest
Was public function onKernelFinishRequest(?FinishRequestEvent $event = null): void; now public function onKernelFinishRequest(): void. packagist.org - Signature changed
Symfony\Component\HttpKernel\KernelInterface::boot
Was public function boot(); now public function boot(): void. packagist.org - Signature changed
Symfony\Component\HttpKernel\KernelInterface::registerContainerConfiguration
Was public function registerContainerConfiguration(LoaderInterface $loader); now public function registerContainerConfiguration(LoaderInterface $loader): void. packagist.org - Signature changed
Symfony\Component\HttpKernel\KernelInterface::shutdown
Was public function shutdown(); now public function shutdown(): void. packagist.org
symfony/http-kernel v8.0.0-BETA1 breaking changes
- Removed
Symfony 8 requires PHP 8.4 or later. github.com - Removed
Configuration written in the fluent PHP config format must be moved to another supported config format. github.com - Removed
[TaggedIterator]
Code using the TaggedIterator attribute no longer works and must be migrated. github.com - Removed
[TaggedLocator]
Code using the TaggedLocator attribute no longer works and must be migrated. github.com - Removed
AddAnnotatedClassesToCachePass
The compiler pass and its related methods are gone, so code that uses them must stop using them. github.com - Removed
ExtensionInterface.getNamespace
Implementations and callers of ExtensionInterface::getNamespace() must stop using it. github.com - Removed
ExtensionInterface.getXsdValidationBasePath
Implementations and callers of ExtensionInterface::getXsdValidationBasePath() must stop using it. github.com - Behavior changed
A private cache-control directive is no longer superseded when no-store is set, so cache headers may differ. github.com - Behavior changed
Serialization hooks change from __sleep/wakeup() to __(un)serialize(), so custom serialization code must be updated. github.com - Behavior changed
Symfony 8 requires PHP 8.4 or later, so older PHP versions can no longer run it. github.com
And 4 more in this version. Sign up to see every change
symfony/http-kernel v7.0.0 breaking changes
- Removed
Symfony\Component\HttpKernel\Controller\ArgumentResolver\BackedEnumValueResolver::supports
Use resolve instead. packagist.org - Removed
Symfony\Component\HttpKernel\Controller\ArgumentResolver\DateTimeValueResolver::supports
Use resolve instead. packagist.org - Removed
Symfony\Component\HttpKernel\Controller\ArgumentResolver\DefaultValueResolver::supports
Use resolve instead. packagist.org - Removed
Symfony\Component\HttpKernel\Controller\ArgumentResolver\NotTaggedControllerValueResolver::supports
Use resolve instead. packagist.org - Removed
Symfony\Component\HttpKernel\Controller\ArgumentResolver\RequestAttributeValueResolver::supports
Use resolve instead. packagist.org - Removed
Symfony\Component\HttpKernel\Controller\ArgumentResolver\RequestValueResolver::supports
Use resolve instead. packagist.org - Removed
Symfony\Component\HttpKernel\Controller\ArgumentResolver\ServiceValueResolver::supports
Use resolve instead. packagist.org - Removed
Symfony\Component\HttpKernel\Controller\ArgumentResolver\SessionValueResolver::supports
Use resolve instead. packagist.org - Removed
Symfony\Component\HttpKernel\Controller\ArgumentResolver\TraceableValueResolver::supports
Use resolve instead. packagist.org - Removed
Symfony\Component\HttpKernel\Controller\ArgumentResolver\UidValueResolver::supports
Use resolve instead. packagist.org
And 152 more in this version. Sign up to see every change
symfony/http-kernel v7.0.0-BETA3 breaking changes
- Behavior changed
ControllerResolver.allowControllers
Callables must be allowed when the _check_controller_is_allowed request attribute is set. github.com
symfony/http-kernel v7.0.0-BETA1 breaking changes
- Removed
BC layers for methods and parameters added in earlier versions have been removed. github.com - Removed
Deprecated code paths in HttpKernel have been removed. Code relying on them must be updated. github.com - Removed
The package now requires PHP 8.2 or later. Upgrade PHP before updating. github.com - Removed
Previously deprecated code paths have been removed. Code relying on them must be updated. github.com - Removed
Deprecated code in the DependencyInjection component has been removed. github.com - Removed
Twig 2 is no longer supported by the TwigBridge and TwigBundle packages. Upgrade to Twig 3. github.com - Removed
ContainerAwareInterface
ContainerAwareInterface is deprecated in the DependencyInjection component. github.com - Removed
Symfony\Component\HttpKernel\Kernel::stripComments
Kernel::stripComments() is deprecated and should no longer be called. packagist.org - Removed
Twig 2
TwigBridge and TwigBundle no longer support Twig 2; upgrade to Twig 3. github.com - Removed
UriSigner
UriSigner is no longer provided by the HttpKernel package and now lives in HttpFoundation. Import it from there. github.com
And 10 more in this version. Sign up to see every change
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.