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

# symfony/var-dumper breaking changes

symfony/var-dumper v8.0.0 (November 27, 2025) is its newest release with breaking changes. The first: Signature changed Symfony\\Component\\VarDumper\\Dumper\\DataDumperInterface::dump. Every breaking API change we have recorded in symfony/var-dumper on Packagist: 208 breaking changes in 4 versions. Below, its 4 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/var-dumper)

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): 7 breaking changes in 2 versions.

## symfony/var-dumper v8.0.0 breaking changes

symfony/var-dumper v8.0.0, released November 27, 2025: 1 breaking change.

- **Signature changed** `Symfony\Component\VarDumper\Dumper\DataDumperInterface::dump`  

Was public function dump(Data $data); now public function dump(Data $data): ?string. [packagist.org](https://packagist.org/packages/symfony/var-dumper#v8.0.0)

## symfony/var-dumper v8.0.0-BETA1 breaking changes

symfony/var-dumper v8.0.0-BETA1, released November 27, 2025: 6 breaking changes.

- **Removed**  

Symfony 8 requires PHP 8.4 or later. Older PHP versions are no longer supported. [github.com](https://github.com/symfony/var-dumper/releases/tag/v8.0.0-BETA1)
- **Removed** `Application.add`  

The deprecated Application::add() methods were removed, so callers must use the supported command registration methods instead. [github.com](https://github.com/symfony/var-dumper/releases/tag/v8.0.0-BETA1)
- **Behavior changed**  

Return types are now enforced across all components. Code that overrides methods with incompatible return types will need to be updated. [github.com](https://github.com/symfony/var-dumper/releases/tag/v8.0.0-BETA1)
- **Behavior changed** `HtmlDumper`  

The dumper choice now depends on the Accept header. Requests that do not accept html will no longer get HtmlDumper output, so check code that relies on it. [github.com](https://github.com/symfony/var-dumper/releases/tag/v8.0.0-BETA1)
- **Configuration changed**  

Symfony 8 requires PHP 8.4 or newer, so projects on older PHP versions must upgrade before using this release. [github.com](https://github.com/symfony/var-dumper/releases/tag/v8.0.0-BETA1)
- **Signature changed**  

Return types are enforced across components, so overriding methods or custom implementations must declare compatible return types. [github.com](https://github.com/symfony/var-dumper/releases/tag/v8.0.0-BETA1)

## symfony/var-dumper v7.0.0 breaking changes

symfony/var-dumper v7.0.0, released November 29, 2023: 194 breaking changes.

- **Removed** `Symfony\Component\VarDumper\Cloner\Stub::__serialize`  

Symfony\\Component\\VarDumper\\Cloner\\Stub::\_\_serialize was removed in symfony/var-dumper v7.0.0 [packagist.org](https://packagist.org/packages/symfony/var-dumper#v7.0.0)
- **Signature changed** `Symfony\Component\VarDumper\Caster\AmqpCaster::castChannel`  

Was public static function castChannel(\\AMQPChannel $c, array $a, Stub $stub, bool $isNested); now public static function castChannel(\\AMQPChannel $c, array $a, Stub $stub, bool $isNested): array. [packagist.org](https://packagist.org/packages/symfony/var-dumper#v7.0.0)
- **Signature changed** `Symfony\Component\VarDumper\Caster\AmqpCaster::castConnection`  

Was public static function castConnection(\\AMQPConnection $c, array $a, Stub $stub, bool $isNested); now public static function castConnection(\\AMQPConnection $c, array $a, Stub $stub, bool $isNested): array. [packagist.org](https://packagist.org/packages/symfony/var-dumper#v7.0.0)
- **Signature changed** `Symfony\Component\VarDumper\Caster\AmqpCaster::castEnvelope`  

Was public static function castEnvelope(\\AMQPEnvelope $c, array $a, Stub $stub, bool $isNested, int $filter = 0); now public static function castEnvelope(\\AMQPEnvelope $c, array $a, Stub $stub, bool $isNested, int $filter = 0): array. [packagist.org](https://packagist.org/packages/symfony/var-dumper#v7.0.0)
- **Signature changed** `Symfony\Component\VarDumper\Caster\AmqpCaster::castExchange`  

Was public static function castExchange(\\AMQPExchange $c, array $a, Stub $stub, bool $isNested); now public static function castExchange(\\AMQPExchange $c, array $a, Stub $stub, bool $isNested): array. [packagist.org](https://packagist.org/packages/symfony/var-dumper#v7.0.0)
- **Signature changed** `Symfony\Component\VarDumper\Caster\AmqpCaster::castQueue`  

Was public static function castQueue(\\AMQPQueue $c, array $a, Stub $stub, bool $isNested); now public static function castQueue(\\AMQPQueue $c, array $a, Stub $stub, bool $isNested): array. [packagist.org](https://packagist.org/packages/symfony/var-dumper#v7.0.0)
- **Signature changed** `Symfony\Component\VarDumper\Caster\ClassStub::__construct`  

Was public function \_\_construct(string $identifier, callable|array|string|null $callable = null); now public function \_\_construct(string $identifier, callable|array|string $callable = null). [packagist.org](https://packagist.org/packages/symfony/var-dumper#v7.0.0)
- **Signature changed** `Symfony\Component\VarDumper\Caster\ClassStub::wrapCallable`  

Was public static function wrapCallable(mixed $callable); now public static function wrapCallable(mixed $callable): mixed. [packagist.org](https://packagist.org/packages/symfony/var-dumper#v7.0.0)
- **Signature changed** `Symfony\Component\VarDumper\Caster\ConstStub::__construct`  

Was public function \_\_construct(string $name, string|int|float|null $value = null); now public function \_\_construct(string $name, string|int|float $value = null). [packagist.org](https://packagist.org/packages/symfony/var-dumper#v7.0.0)
- **Signature changed** `Symfony\Component\VarDumper\Caster\CutArrayStub::$preservedSubset`  

Was public $preservedSubset; now public array $preservedSubset. [packagist.org](https://packagist.org/packages/symfony/var-dumper#v7.0.0)

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

## symfony/var-dumper v7.0.0-BETA1 breaking changes

symfony/var-dumper v7.0.0-BETA1, released November 29, 2023: 7 breaking changes.

- **Removed**  

Compatibility layers added for new methods and parameters are removed. Code depending on those layers must be updated to the new signatures. [github.com](https://github.com/symfony/var-dumper/releases/tag/v7.0.0-BETA1)
- **Removed**  

Code paths that were deprecated in the 6.x line are removed. Code relying on them must be updated before upgrading. [github.com](https://github.com/symfony/var-dumper/releases/tag/v7.0.0-BETA1)
- **Removed**  

The release requires PHP 8.2 or later. Code running on older PHP versions must upgrade PHP before using this version. [github.com](https://github.com/symfony/var-dumper/releases/tag/v7.0.0-BETA1)
- **Behavior changed**  

The dumper now includes uninitialized properties in its output. Code comparing dump output may see different results. [github.com](https://github.com/symfony/var-dumper/releases/tag/v7.0.0-BETA1)
- **Signature changed**  

Magic methods now declare return types. Subclasses overriding them must declare compatible return types. [github.com](https://github.com/symfony/var-dumper/releases/tag/v7.0.0-BETA1)
- **Signature changed**  

Public and protected properties now carry type declarations. Subclasses that declare these properties without matching types may fail. [github.com](https://github.com/symfony/var-dumper/releases/tag/v7.0.0-BETA1)
- **Signature changed**  

Methods now declare native return types. Subclasses overriding these methods must add compatible return types. [github.com](https://github.com/symfony/var-dumper/releases/tag/v7.0.0-BETA1)

## 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.
