---
title: "symfony/http-kernel v8.0.0 Breaking Changes on Packagist"
description: "What each symfony/http-kernel release removed, renamed or changed: 222 breaking changes in 5 versions on Packagist, each with its source."
canonical_url: https://since.dev/packages/packagist/symfony/http-kernel
last_updated: 2026-12-04
---

# symfony/http-kernel breaking changes

symfony/http-kernel v8.0.0 (November 27, 2025) is its newest release with breaking changes, 25 of them. The first: Removed Symfony\\Component\\HttpKernel\\DataCollector\\DataCollector::\_\_sleep. Every breaking API change we have recorded in symfony/http-kernel on Packagist: 222 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

Latest version `v8.2.0`, released November 28, 2026. MIT license. [Source repository](https://github.com/symfony/http-kernel)

Its v8.0.0-BETA1 release requires [PHP 8.4](https://since.dev/calendar/php/8.4.md) or later. [PHP end of life dates](https://since.dev/calendar/php.md).

- From [v7.0.0](#v-v7-0-0) to [v8.0.0](#v-v8-0-0): 39 breaking changes in 2 versions.

## symfony/http-kernel v8.0.0 breaking changes

symfony/http-kernel v8.0.0, released November 27, 2025: 25 breaking changes.

- **Removed** `Symfony\Component\HttpKernel\DataCollector\DataCollector::__sleep`  

Use \_\_serialize instead. [packagist.org](https://packagist.org/packages/symfony/http-kernel#v8.0.0)
- **Removed** `Symfony\Component\HttpKernel\DataCollector\DataCollector::__wakeup`  

Use \_\_unserialize instead. [packagist.org](https://packagist.org/packages/symfony/http-kernel#v8.0.0)
- **Removed** `Symfony\Component\HttpKernel\DependencyInjection\AddAnnotatedClassesToCachePass`  

Symfony\\Component\\HttpKernel\\DependencyInjection\\AddAnnotatedClassesToCachePass was removed in symfony/http-kernel v8.0.0 [packagist.org](https://packagist.org/packages/symfony/http-kernel#v8.0.0)
- **Removed** `Symfony\Component\HttpKernel\Kernel::__sleep`  

Use \_\_serialize instead. [packagist.org](https://packagist.org/packages/symfony/http-kernel#v8.0.0)
- **Removed** `Symfony\Component\HttpKernel\Kernel::__wakeup`  

Use \_\_unserialize instead. [packagist.org](https://packagist.org/packages/symfony/http-kernel#v8.0.0)
- **Removed** `Symfony\Component\HttpKernel\Kernel::getAnnotatedClassesToCompile`  

Symfony\\Component\\HttpKernel\\Kernel::getAnnotatedClassesToCompile was removed in symfony/http-kernel v8.0.0 [packagist.org](https://packagist.org/packages/symfony/http-kernel#v8.0.0)
- **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](https://packagist.org/packages/symfony/http-kernel#v8.0.0)
- **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](https://packagist.org/packages/symfony/http-kernel#v8.0.0)
- **Signature changed** `Symfony\Component\HttpKernel\Bundle\Bundle::registerCommands`  

Was public function registerCommands(Application $application); now public function registerCommands(Application $application): void. [packagist.org](https://packagist.org/packages/symfony/http-kernel#v8.0.0)
- **Signature changed** `Symfony\Component\HttpKernel\Bundle\BundleInterface::boot`  

Was public function boot(); now public function boot(): void. [packagist.org](https://packagist.org/packages/symfony/http-kernel#v8.0.0)
- **Signature changed** `Symfony\Component\HttpKernel\Bundle\BundleInterface::build`  

Was public function build(ContainerBuilder $container); now public function build(ContainerBuilder $container): void. [packagist.org](https://packagist.org/packages/symfony/http-kernel#v8.0.0)
- **Signature changed** `Symfony\Component\HttpKernel\Bundle\BundleInterface::shutdown`  

Was public function shutdown(); now public function shutdown(): void. [packagist.org](https://packagist.org/packages/symfony/http-kernel#v8.0.0)
- **Signature changed** `Symfony\Component\HttpKernel\DataCollector\DataCollector::reset`  

Was public function reset(); now public function reset(): void. [packagist.org](https://packagist.org/packages/symfony/http-kernel#v8.0.0)
- **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](https://packagist.org/packages/symfony/http-kernel#v8.0.0)
- **Signature changed** `Symfony\Component\HttpKernel\DataCollector\DataCollectorInterface::getName`  

Was public function getName(); now public function getName(): string. [packagist.org](https://packagist.org/packages/symfony/http-kernel#v8.0.0)
- **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](https://packagist.org/packages/symfony/http-kernel#v8.0.0)
- **Signature changed** `Symfony\Component\HttpKernel\DataCollector\ExceptionDataCollector::getCode`  

Was public function getCode(): int|string; now public function getCode(): int. [packagist.org](https://packagist.org/packages/symfony/http-kernel#v8.0.0)
- **Signature changed** `Symfony\Component\HttpKernel\DataCollector\LateDataCollectorInterface::lateCollect`  

Was public function lateCollect(); now public function lateCollect(): void. [packagist.org](https://packagist.org/packages/symfony/http-kernel#v8.0.0)
- **Signature changed** `Symfony\Component\HttpKernel\DependencyInjection\ServicesResetter`  

Was class ServicesResetter implements ServicesResetterInterface; now final class ServicesResetter implements ServicesResetterInterface. [packagist.org](https://packagist.org/packages/symfony/http-kernel#v8.0.0)
- **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](https://packagist.org/packages/symfony/http-kernel#v8.0.0)
- **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](https://packagist.org/packages/symfony/http-kernel#v8.0.0)
- **Signature changed** `Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelFinishRequest`  

Was public function onKernelFinishRequest(?FinishRequestEvent $event = null): void; now public function onKernelFinishRequest(): void. [packagist.org](https://packagist.org/packages/symfony/http-kernel#v8.0.0)
- **Signature changed** `Symfony\Component\HttpKernel\KernelInterface::boot`  

Was public function boot(); now public function boot(): void. [packagist.org](https://packagist.org/packages/symfony/http-kernel#v8.0.0)
- **Signature changed** `Symfony\Component\HttpKernel\KernelInterface::registerContainerConfiguration`  

Was public function registerContainerConfiguration(LoaderInterface $loader); now public function registerContainerConfiguration(LoaderInterface $loader): void. [packagist.org](https://packagist.org/packages/symfony/http-kernel#v8.0.0)
- **Signature changed** `Symfony\Component\HttpKernel\KernelInterface::shutdown`  

Was public function shutdown(); now public function shutdown(): void. [packagist.org](https://packagist.org/packages/symfony/http-kernel#v8.0.0)

## symfony/http-kernel v8.0.0-BETA1 breaking changes

symfony/http-kernel v8.0.0-BETA1, released November 27, 2025: 14 breaking changes.

- **Removed**  

Symfony 8 requires PHP 8.4 or later. [github.com](https://github.com/symfony/http-kernel/releases/tag/v8.0.0-BETA1)
- **Removed**  

Configuration written in the fluent PHP config format must be moved to another supported config format. [github.com](https://github.com/symfony/http-kernel/releases/tag/v8.0.0-BETA1)
- **Removed** `[TaggedIterator]`  

Code using the TaggedIterator attribute no longer works and must be migrated. [github.com](https://github.com/symfony/http-kernel/releases/tag/v8.0.0-BETA1)
- **Removed** `[TaggedLocator]`  

Code using the TaggedLocator attribute no longer works and must be migrated. [github.com](https://github.com/symfony/http-kernel/releases/tag/v8.0.0-BETA1)
- **Removed** `AddAnnotatedClassesToCachePass`  

The compiler pass and its related methods are gone, so code that uses them must stop using them. [github.com](https://github.com/symfony/http-kernel/releases/tag/v8.0.0-BETA1)
- **Removed** `ExtensionInterface.getNamespace`  

Implementations and callers of ExtensionInterface::getNamespace() must stop using it. [github.com](https://github.com/symfony/http-kernel/releases/tag/v8.0.0-BETA1)
- **Removed** `ExtensionInterface.getXsdValidationBasePath`  

Implementations and callers of ExtensionInterface::getXsdValidationBasePath() must stop using it. [github.com](https://github.com/symfony/http-kernel/releases/tag/v8.0.0-BETA1)
- **Behavior changed**  

A private cache-control directive is no longer superseded when no-store is set, so cache headers may differ. [github.com](https://github.com/symfony/http-kernel/releases/tag/v8.0.0-BETA1)
- **Behavior changed**  

Serialization hooks change from \_\_sleep/wakeup() to \_\_(un)serialize(), so custom serialization code must be updated. [github.com](https://github.com/symfony/http-kernel/releases/tag/v8.0.0-BETA1)
- **Behavior changed**  

Symfony 8 requires PHP 8.4 or later, so older PHP versions can no longer run it. [github.com](https://github.com/symfony/http-kernel/releases/tag/v8.0.0-BETA1)

And 4 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## symfony/http-kernel v7.0.0 breaking changes

symfony/http-kernel v7.0.0, released November 29, 2023: 162 breaking changes.

- **Removed** `Symfony\Component\HttpKernel\Controller\ArgumentResolver\BackedEnumValueResolver::supports`  

Use resolve instead. [packagist.org](https://packagist.org/packages/symfony/http-kernel#v7.0.0)
- **Removed** `Symfony\Component\HttpKernel\Controller\ArgumentResolver\DateTimeValueResolver::supports`  

Use resolve instead. [packagist.org](https://packagist.org/packages/symfony/http-kernel#v7.0.0)
- **Removed** `Symfony\Component\HttpKernel\Controller\ArgumentResolver\DefaultValueResolver::supports`  

Use resolve instead. [packagist.org](https://packagist.org/packages/symfony/http-kernel#v7.0.0)
- **Removed** `Symfony\Component\HttpKernel\Controller\ArgumentResolver\NotTaggedControllerValueResolver::supports`  

Use resolve instead. [packagist.org](https://packagist.org/packages/symfony/http-kernel#v7.0.0)
- **Removed** `Symfony\Component\HttpKernel\Controller\ArgumentResolver\RequestAttributeValueResolver::supports`  

Use resolve instead. [packagist.org](https://packagist.org/packages/symfony/http-kernel#v7.0.0)
- **Removed** `Symfony\Component\HttpKernel\Controller\ArgumentResolver\RequestValueResolver::supports`  

Use resolve instead. [packagist.org](https://packagist.org/packages/symfony/http-kernel#v7.0.0)
- **Removed** `Symfony\Component\HttpKernel\Controller\ArgumentResolver\ServiceValueResolver::supports`  

Use resolve instead. [packagist.org](https://packagist.org/packages/symfony/http-kernel#v7.0.0)
- **Removed** `Symfony\Component\HttpKernel\Controller\ArgumentResolver\SessionValueResolver::supports`  

Use resolve instead. [packagist.org](https://packagist.org/packages/symfony/http-kernel#v7.0.0)
- **Removed** `Symfony\Component\HttpKernel\Controller\ArgumentResolver\TraceableValueResolver::supports`  

Use resolve instead. [packagist.org](https://packagist.org/packages/symfony/http-kernel#v7.0.0)
- **Removed** `Symfony\Component\HttpKernel\Controller\ArgumentResolver\UidValueResolver::supports`  

Use resolve instead. [packagist.org](https://packagist.org/packages/symfony/http-kernel#v7.0.0)

And 152 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## symfony/http-kernel v7.0.0-BETA3 breaking changes

symfony/http-kernel v7.0.0-BETA3, released November 29, 2023: 1 breaking change.

- **Behavior changed** `ControllerResolver.allowControllers`  

Callables must be allowed when the \_check_controller_is_allowed request attribute is set. [github.com](https://github.com/symfony/http-kernel/releases/tag/v7.0.0-BETA3)

## symfony/http-kernel v7.0.0-BETA1 breaking changes

symfony/http-kernel v7.0.0-BETA1, released November 29, 2023: 20 breaking changes.

- **Removed**  

BC layers for methods and parameters added in earlier versions have been removed. [github.com](https://github.com/symfony/http-kernel/releases/tag/v7.0.0-BETA1)
- **Removed**  

Deprecated code paths in HttpKernel have been removed. Code relying on them must be updated. [github.com](https://github.com/symfony/http-kernel/releases/tag/v7.0.0-BETA1)
- **Removed**  

The package now requires PHP 8.2 or later. Upgrade PHP before updating. [github.com](https://github.com/symfony/http-kernel/releases/tag/v7.0.0-BETA1)
- **Removed**  

Previously deprecated code paths have been removed. Code relying on them must be updated. [github.com](https://github.com/symfony/http-kernel/releases/tag/v7.0.0-BETA1)
- **Removed**  

Deprecated code in the DependencyInjection component has been removed. [github.com](https://github.com/symfony/http-kernel/releases/tag/v7.0.0-BETA1)
- **Removed**  

Twig 2 is no longer supported by the TwigBridge and TwigBundle packages. Upgrade to Twig 3. [github.com](https://github.com/symfony/http-kernel/releases/tag/v7.0.0-BETA1)
- **Removed** `ContainerAwareInterface`  

ContainerAwareInterface is deprecated in the DependencyInjection component. [github.com](https://github.com/symfony/http-kernel/releases/tag/v7.0.0-BETA1)
- **Removed** `Symfony\Component\HttpKernel\Kernel::stripComments`  

Kernel::stripComments() is deprecated and should no longer be called. [packagist.org](https://packagist.org/packages/symfony/http-kernel#v7.0.0)
- **Removed** `Twig 2`  

TwigBridge and TwigBundle no longer support Twig 2; upgrade to Twig 3. [github.com](https://github.com/symfony/http-kernel/releases/tag/v7.0.0-BETA1)
- **Removed** `UriSigner`  

UriSigner is no longer provided by the HttpKernel package and now lives in HttpFoundation. Import it from there. [github.com](https://github.com/symfony/http-kernel/releases/tag/v7.0.0-BETA1)

And 10 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## Related packages

- [symfony/asset](https://since.dev/packages/packagist/symfony/asset.md)
- [symfony/browser-kit](https://since.dev/packages/packagist/symfony/browser-kit.md)
- [symfony/cache](https://since.dev/packages/packagist/symfony/cache.md)
- [symfony/config](https://since.dev/packages/packagist/symfony/config.md)
- [symfony/console](https://since.dev/packages/packagist/symfony/console.md)
- [symfony/css-selector](https://since.dev/packages/packagist/symfony/css-selector.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
