symfony/dotenv breaking changes
symfony/dotenv v8.0.0 (November 27, 2025) is its newest release with breaking changes, 4 of them. The first: Removed Symfony\Component\Dotenv\Command\DebugCommand::$defaultDescription. Every breaking API change we have recorded in symfony/dotenv on Packagist: 11 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
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/dotenv v8.0.0 breaking changes
- Removed
Symfony\Component\Dotenv\Command\DebugCommand::$defaultDescription
Symfony\Component\Dotenv\Command\DebugCommand::$defaultDescription was removed in symfony/dotenv v8.0.0 packagist.org - Removed
Symfony\Component\Dotenv\Command\DebugCommand::$defaultName
Symfony\Component\Dotenv\Command\DebugCommand::$defaultName was removed in symfony/dotenv v8.0.0 packagist.org - Removed
Symfony\Component\Dotenv\Exception\VariableCircularReferenceException
Symfony\Component\Dotenv\Exception\VariableCircularReferenceException was removed in symfony/dotenv v8.0.0 packagist.org - Signature changed
Symfony\Component\Dotenv\Command\DebugCommand::__construct
Was public function __construct(private string $kernelEnvironment, private string $projectDir); now public function __construct(private string $kernelEnvironment, private string $projectDirectory). packagist.org
symfony/dotenv v8.0.0-BETA1 breaking changes
- Removed
Application.add
The deprecated Application::add() methods were removed in this release. Code calling them is not part of the dotenv package, so this changelog item likely belongs to another Symfony component and should not affect symfony/dotenv users. github.com - Configuration changed
Symfony 8 moves to PHP 8.4 or later. Users must run PHP 8.4 or newer to use this release. github.com
symfony/dotenv v7.0.0 breaking changes
- Removed
Symfony\Component\Dotenv\Command\DebugCommand::$defaultDescription
Symfony\Component\Dotenv\Command\DebugCommand::$defaultDescription was removed in symfony/dotenv v7.0.0 packagist.org - Removed
Symfony\Component\Dotenv\Command\DebugCommand::$defaultName
Symfony\Component\Dotenv\Command\DebugCommand::$defaultName was removed in symfony/dotenv v7.0.0 packagist.org - Removed
Symfony\Component\Dotenv\Command\DotenvDumpCommand
Symfony\Component\Dotenv\Command\DotenvDumpCommand was removed in symfony/dotenv v7.0.0 packagist.org - Removed
Symfony\Component\Dotenv\Exception\VariableCircularReferenceException
Symfony\Component\Dotenv\Exception\VariableCircularReferenceException was removed in symfony/dotenv v7.0.0 packagist.org
symfony/dotenv v7.0.0-BETA1 breaking changes
- Behavior changed
The package now requires PHP 8.2 or later, so projects on older PHP versions must upgrade PHP before updating. 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.