symfony/options-resolver breaking changes
symfony/options-resolver v8.0.0 (November 27, 2025) is its newest release with breaking changes. The first: Removed OptionsResolver.setDefault. Every breaking API change we have recorded in symfony/options-resolver on Packagist: 10 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/options-resolver v8.0.0 breaking changes
- Removed
OptionsResolver.setDefault
Passing nested option definitions to setDefault() no longer works. Use setOptions() instead. github.com
symfony/options-resolver v8.0.0-BETA1 breaking changes
- Removed
OptionsResolver.setDefault
Nested options definition through setDefault() is no longer supported. Use setOptions() instead. github.com - Configuration changed
Symfony 8 requires PHP 8.4 or newer. Upgrade PHP before updating. github.com
symfony/options-resolver v7.0.0 breaking changes
- Signature changed
Symfony\Component\OptionsResolver\OptionsResolver::addAllowedTypes
Was public function addAllowedTypes(string $option, string|array $allowedTypes); now public function addAllowedTypes(string $option, string|array $allowedTypes): static. packagist.org - Signature changed
Symfony\Component\OptionsResolver\OptionsResolver::addAllowedValues
Was public function addAllowedValues(string $option, mixed $allowedValues); now public function addAllowedValues(string $option, mixed $allowedValues): static. packagist.org - Signature changed
Symfony\Component\OptionsResolver\OptionsResolver::setAllowedTypes
Was public function setAllowedTypes(string $option, string|array $allowedTypes); now public function setAllowedTypes(string $option, string|array $allowedTypes): static. packagist.org - Signature changed
Symfony\Component\OptionsResolver\OptionsResolver::setAllowedValues
Was public function setAllowedValues(string $option, mixed $allowedValues); now public function setAllowedValues(string $option, mixed $allowedValues): static. packagist.org - Signature changed
Symfony\Component\OptionsResolver\OptionsResolver::setNormalizer
Was public function setNormalizer(string $option, \Closure $normalizer); now public function setNormalizer(string $option, \Closure $normalizer): static. packagist.org
symfony/options-resolver v7.0.0-BETA1 breaking changes
- Configuration changed
The package now requires PHP 8.2 or later; users on older PHP versions must upgrade before updating. github.com - Signature changed
Methods now declare native return types, so subclasses overriding them must add compatible return type declarations. 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.