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

# symfony/console breaking changes

symfony/console v8.0.0 (November 27, 2025) is its newest release with breaking changes, 7 of them. The first: Removed Symfony\\Component\\Console\\Command\\Command::getDefaultDescription. Every breaking API change we have recorded in symfony/console on Packagist: 730 breaking changes in 10 versions. Below, its 10 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/console)

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): 13 breaking changes in 2 versions.
- From [v3.0.0](#v-v3-0-0) to [v8.0.0](#v-v8-0-0): 703 breaking changes in 9 versions.

## symfony/console v8.0.0 breaking changes

symfony/console v8.0.0, released November 27, 2025: 7 breaking changes.

- **Removed** `Symfony\Component\Console\Command\Command::getDefaultDescription`  

Symfony\\Component\\Console\\Command\\Command::getDefaultDescription was removed in symfony/console v8.0.0 [packagist.org](https://packagist.org/packages/symfony/console#v8.0.0)
- **Removed** `Symfony\Component\Console\Command\Command::getDefaultName`  

Symfony\\Component\\Console\\Command\\Command::getDefaultName was removed in symfony/console v8.0.0 [packagist.org](https://packagist.org/packages/symfony/console#v8.0.0)
- **Signature changed** `Symfony\Component\Console\Attribute\AsCommand`  

Was class AsCommand; now final class AsCommand. [packagist.org](https://packagist.org/packages/symfony/console#v8.0.0)
- **Signature changed** `Symfony\Component\Console\Command\Command::configure`  

Was protected function configure(); now protected function configure(): void. [packagist.org](https://packagist.org/packages/symfony/console#v8.0.0)
- **Signature changed** `Symfony\Component\Console\Command\Command::initialize`  

Was protected function initialize(InputInterface $input, OutputInterface $output); now protected function initialize(InputInterface $input, OutputInterface $output): void. [packagist.org](https://packagist.org/packages/symfony/console#v8.0.0)
- **Signature changed** `Symfony\Component\Console\Command\Command::interact`  

Was protected function interact(InputInterface $input, OutputInterface $output); now protected function interact(InputInterface $input, OutputInterface $output): void. [packagist.org](https://packagist.org/packages/symfony/console#v8.0.0)
- **Signature changed** `Symfony\Component\Console\Helper\ProgressIndicator::finish`  

Was public function finish(string $message/\*, ?string $finishedIndicator = null \*/): void; now public function finish(string $message, ?string $finishedIndicator = null): void. [packagist.org](https://packagist.org/packages/symfony/console#v8.0.0)

## symfony/console v8.0.0-BETA1 breaking changes

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

- **Removed**  

Code that was deprecated in the console component has been removed, so code relying on it will break. [github.com](https://github.com/symfony/console/releases/tag/v8.0.0-BETA1)
- **Removed**  

Symfony 8 requires PHP 8.4 or later, so older PHP versions can no longer run it. [github.com](https://github.com/symfony/console/releases/tag/v8.0.0-BETA1)
- **Removed** `Symfony\Component\Console\Application::add`  

The deprecated Application::add() methods were removed, so code calling them will stop working. [packagist.org](https://packagist.org/packages/symfony/console#v8.0.0)
- **Behavior changed** `AsCommand`  

The AsCommand attribute class can no longer be extended, so subclasses of it will fail. [github.com](https://github.com/symfony/console/releases/tag/v8.0.0-BETA1)
- **Signature changed**  

New parameters are declared explicitly on interfaces and methods, so implementations must match their signatures. [github.com](https://github.com/symfony/console/releases/tag/v8.0.0-BETA1)
- **Signature changed**  

Methods now declare return types, so overrides with incompatible return types will fail. [github.com](https://github.com/symfony/console/releases/tag/v8.0.0-BETA1)

## symfony/console v7.0.0 breaking changes

symfony/console v7.0.0, released November 29, 2023: 149 breaking changes.

- **Removed** `Symfony\Component\Console\Command\Command::$defaultDescription`  

Symfony\\Component\\Console\\Command\\Command::$defaultDescription was removed in symfony/console v7.0.0 [packagist.org](https://packagist.org/packages/symfony/console#v7.0.0)
- **Removed** `Symfony\Component\Console\Command\Command::$defaultName`  

Symfony\\Component\\Console\\Command\\Command::$defaultName was removed in symfony/console v7.0.0 [packagist.org](https://packagist.org/packages/symfony/console#v7.0.0)
- **Removed** `Symfony\Component\Console\Input\StringInput::REGEX_STRING`  

Symfony\\Component\\Console\\Input\\StringInput::REGEX_STRING was removed in symfony/console v7.0.0 [packagist.org](https://packagist.org/packages/symfony/console#v7.0.0)
- **Signature changed** `Symfony\Component\Console\Application::add`  

Was public function add(Command $command); now public function add(Command $command): ?Command. [packagist.org](https://packagist.org/packages/symfony/console#v7.0.0)
- **Signature changed** `Symfony\Component\Console\Application::addCommands`  

Was public function addCommands(array $commands); now public function addCommands(array $commands): void. [packagist.org](https://packagist.org/packages/symfony/console#v7.0.0)
- **Signature changed** `Symfony\Component\Console\Application::all`  

Was public function all(?string $namespace = null); now public function all(string $namespace = null): array. [packagist.org](https://packagist.org/packages/symfony/console#v7.0.0)
- **Signature changed** `Symfony\Component\Console\Application::configureIO`  

Was protected function configureIO(InputInterface $input, OutputInterface $output); now protected function configureIO(InputInterface $input, OutputInterface $output): void. [packagist.org](https://packagist.org/packages/symfony/console#v7.0.0)
- **Signature changed** `Symfony\Component\Console\Application::doRun`  

Was public function doRun(InputInterface $input, OutputInterface $output); now public function doRun(InputInterface $input, OutputInterface $output): int. [packagist.org](https://packagist.org/packages/symfony/console#v7.0.0)
- **Signature changed** `Symfony\Component\Console\Application::doRunCommand`  

Was protected function doRunCommand(Command $command, InputInterface $input, OutputInterface $output); now protected function doRunCommand(Command $command, InputInterface $input, OutputInterface $output): int. [packagist.org](https://packagist.org/packages/symfony/console#v7.0.0)
- **Signature changed** `Symfony\Component\Console\Application::find`  

Was public function find(string $name); now public function find(string $name): Command. [packagist.org](https://packagist.org/packages/symfony/console#v7.0.0)

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

## symfony/console v7.0.0-BETA1 breaking changes

symfony/console v7.0.0-BETA1, released November 29, 2023: 11 breaking changes.

- **Removed**  

Code paths that were deprecated earlier are removed, so code relying on them must be updated. [github.com](https://github.com/symfony/console/releases/tag/v7.0.0-BETA1)
- **Removed**  

The package now requires PHP 8.2 or later, so older PHP versions can no longer run it. [github.com](https://github.com/symfony/console/releases/tag/v7.0.0-BETA1)
- **Removed**  

Deprecated code paths were removed, so code relying on them must be updated to the replacement APIs. [github.com](https://github.com/symfony/console/releases/tag/v7.0.0-BETA1)
- **Removed**  

Deprecated methods and options in the component were removed; code using them must switch to the replacements. [github.com](https://github.com/symfony/console/releases/tag/v7.0.0-BETA1)
- **Removed**  

Compatibility layers added alongside new methods and parameters are removed. [github.com](https://github.com/symfony/console/releases/tag/v7.0.0-BETA1)
- **Removed**  

Deprecated Console APIs are removed, so code still using them must be migrated. [github.com](https://github.com/symfony/console/releases/tag/v7.0.0-BETA1)
- **Removed**  

Compatibility layers for methods and parameters added in 6.x were removed, so callers must use the current signatures. [github.com](https://github.com/symfony/console/releases/tag/v7.0.0-BETA1)
- **Configuration changed**  

The package now needs PHP 8.2 as the minimum version, so older PHP versions can no longer install it. [github.com](https://github.com/symfony/console/releases/tag/v7.0.0-BETA1)
- **Signature changed**  

Methods now declare native return types, which can break subclasses that override them with incompatible return types. [github.com](https://github.com/symfony/console/releases/tag/v7.0.0-BETA1)
- **Signature changed**  

Methods now declare native PHP return types, so overrides and callers may need matching signatures. [github.com](https://github.com/symfony/console/releases/tag/v7.0.0-BETA1)

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

## symfony/console v6.0.0 breaking changes

symfony/console v6.0.0, released November 29, 2021: 295 breaking changes.

- **Removed** `Symfony\Component\Console\DependencyInjection\AddConsoleCommandPass::__construct`  

Symfony\\Component\\Console\\DependencyInjection\\AddConsoleCommandPass::\_\_construct was removed in symfony/console v6.0.0 [packagist.org](https://packagist.org/packages/symfony/console#v6.0.0)
- **Removed** `Symfony\Component\Console\Helper\Helper::strlen`  

Symfony\\Component\\Console\\Helper\\Helper::strlen was removed in symfony/console v6.0.0 [packagist.org](https://packagist.org/packages/symfony/console#v6.0.0)
- **Removed** `Symfony\Component\Console\Helper\Helper::strlenWithoutDecoration`  

Symfony\\Component\\Console\\Helper\\Helper::strlenWithoutDecoration was removed in symfony/console v6.0.0 [packagist.org](https://packagist.org/packages/symfony/console#v6.0.0)
- **Removed** `Symfony\Component\Console\Input\StringInput::REGEX_UNQUOTED_STRING`  

Symfony\\Component\\Console\\Input\\StringInput::REGEX_UNQUOTED_STRING was removed in symfony/console v6.0.0 [packagist.org](https://packagist.org/packages/symfony/console#v6.0.0)
- **Signature changed** `Symfony\Component\Console\Application::areExceptionsCaught`  

Was public function areExceptionsCaught(); now public function areExceptionsCaught(): bool. [packagist.org](https://packagist.org/packages/symfony/console#v6.0.0)
- **Signature changed** `Symfony\Component\Console\Application::extractNamespace`  

Was public function extractNamespace(string $name, ?int $limit = null); now public function extractNamespace(string $name, int $limit = null): string. [packagist.org](https://packagist.org/packages/symfony/console#v6.0.0)
- **Signature changed** `Symfony\Component\Console\Application::findNamespace`  

Was public function findNamespace(string $namespace); now public function findNamespace(string $namespace): string. [packagist.org](https://packagist.org/packages/symfony/console#v6.0.0)
- **Signature changed** `Symfony\Component\Console\Application::getAbbreviations`  

Was public static function getAbbreviations(array $names); now public static function getAbbreviations(array $names): array. [packagist.org](https://packagist.org/packages/symfony/console#v6.0.0)
- **Signature changed** `Symfony\Component\Console\Application::getCommandName`  

Was protected function getCommandName(InputInterface $input); now protected function getCommandName(InputInterface $input): ?string. [packagist.org](https://packagist.org/packages/symfony/console#v6.0.0)
- **Signature changed** `Symfony\Component\Console\Application::getDefaultCommands`  

Was protected function getDefaultCommands(); now protected function getDefaultCommands(): array. [packagist.org](https://packagist.org/packages/symfony/console#v6.0.0)

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

## symfony/console v6.0.0-RC1 breaking changes

symfony/console v6.0.0-RC1, released November 29, 2021: 1 breaking change.

- **Default changed** `ansi`  

The ansi option now defaults to null instead of a fixed value, which can change output formatting for existing code. [github.com](https://github.com/symfony/console/releases/tag/v6.0.0-RC1)

## Older versions

4 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### symfony/console v6.0.0-BETA1 breaking changes

symfony/console v6.0.0-BETA1, released November 29, 2021: 4 breaking changes.

- **Removed**  

Symfony 6 moves to PHP 8, so PHP 8 is the minimum runtime. [github.com](https://github.com/symfony/console/releases/tag/v6.0.0-BETA1)
- **Removed** `Symfony\Component\Console\Helper\HelperSet::getCommand`  

HelperSet::getCommand() is removed. Code that calls it must stop doing so. [packagist.org](https://packagist.org/packages/symfony/console#v6.0.0)

And 2 more in this version.

### symfony/console v5.0.0 breaking changes

symfony/console v5.0.0, released November 21, 2019: 154 breaking changes.

- **Removed**  

Hidden commands can no longer be found using an abbreviation. Use the full command name instead. [github.com](https://github.com/symfony/console/blob/v5.0.0/CHANGELOG.md)
- **Removed** `Command.execute`  

Command::execute() can no longer return null. Return 0 instead. [github.com](https://github.com/symfony/console/blob/v5.0.0/CHANGELOG.md)

And 152 more in this version.

### symfony/console v4.0.0 breaking changes

symfony/console v4.0.0, released November 30, 2017: 76 breaking changes.

- **Removed** `ConsoleExceptionEvent`  

The ConsoleExceptionEvent class was removed; code using it must stop using it. [github.com](https://github.com/symfony/console/blob/v4.0.0/CHANGELOG.md)
- **Removed** `Symfony\Component\Console\Application::getTerminalDimensions`  

Application::getTerminalDimensions() was removed; code calling it will fail and must stop using it. [packagist.org](https://packagist.org/packages/symfony/console#v4.0.0)

And 74 more in this version.

### symfony/console v3.0.0 breaking changes

symfony/console v3.0.0, released November 30, 2015: 27 breaking changes.

- **Removed** `Symfony\Component\Console\Application::asText`  

Symfony\\Component\\Console\\Application::asText was removed in symfony/console v3.0.0 [packagist.org](https://packagist.org/packages/symfony/console#v3.0.0)
- **Removed** `Symfony\Component\Console\Application::asXml`  

Symfony\\Component\\Console\\Application::asXml was removed in symfony/console v3.0.0 [packagist.org](https://packagist.org/packages/symfony/console#v3.0.0)

And 25 more in this version.

## 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/css-selector](https://since.dev/packages/packagist/symfony/css-selector.md)
- [symfony/debug-bundle](https://since.dev/packages/packagist/symfony/debug-bundle.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.
