doctrine/doctrine-bundle breaking changes
doctrine/doctrine-bundle 3.4.1 (November 12, 2026) is its newest release with breaking changes. The first: Signature changed Doctrine\Bundle\DoctrineBundle\Registry::__construct. Every breaking API change we have recorded in doctrine/doctrine-bundle on Packagist: 81 breaking changes in 3 versions. Below, its 3 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 3.4.2, released November 15, 2026. MIT license. Source repository
Its 3.0.0 release requires PHP 8.4 or later. PHP end of life dates.
doctrine/doctrine-bundle 3.4.1 breaking changes
- Signature changed
Doctrine\Bundle\DoctrineBundle\Registry::__construct
Was public function __construct(Container $container, array $connections, array $entityManagers, string $defaultConnection, string $defaultEntityManager, private readonly ContainerInterface|null $metadataDrivers = null); now public... packagist.org
doctrine/doctrine-bundle 3.4.0 breaking changes
- Signature changed
Doctrine\Bundle\DoctrineBundle\Attribute\AsDbalType::__construct
Was public function __construct(public string|null $name = null); now public function __construct(public string|null $name = null, public string|null $connection = null). packagist.org - Signature changed
Doctrine\Bundle\DoctrineBundle\Attribute\AsDoctrineListener::__construct
Was public function __construct(public string $event, public int|null $priority = null, public string|null $connection = null); now public function __construct(public string $event, public int|null $priority = null, public string|null... packagist.org - Signature changed
Doctrine\Bundle\DoctrineBundle\DataCollector\DoctrineDataCollector
Was class DoctrineDataCollector extends BaseCollector; now class DoctrineDataCollector extends BaseCollector implements LateDataCollectorInterface. packagist.org - Signature changed
Doctrine\Bundle\DoctrineBundle\DataCollector\DoctrineDataCollector::__construct
Was public function __construct(private readonly ManagerRegistry $registry, private readonly bool $shouldValidateSchema = true, DebugDataHolder|null $debugDataHolder = null); now public function __construct(private readonly ManagerRegistry... packagist.org - Signature changed
Doctrine\Bundle\DoctrineBundle\Registry::__construct
Was public function __construct(Container $container, array $connections, array $entityManagers, string $defaultConnection, string $defaultEntityManager); now public function __construct(Container $container, array $connections, array... packagist.org
doctrine/doctrine-bundle 3.0.0 breaking changes
- Removed
The .class container parameters are removed. Stop referencing them in your configuration. github.com - Removed
Annotation mapping support is removed. Convert mappings to another supported format. github.com - Removed
Deprecated Symfony commands are removed. Stop calling them. github.com - Removed
Support for doctrine/cache is dropped. Migrate caching to a supported library. github.com - Removed
YML mapping support is removed. Convert mappings to another supported format. github.com - Removed
The URL override feature is removed. Stop relying on it. github.com - Removed
collate
The default collate table option is removed. Set it explicitly if you need it. github.com - Removed
controller resolver auto mapping configuration
The controller resolver auto mapping configuration is removed. github.com - Removed
disable_type_comments
The disable_type_comments option is removed. Remove it from your configuration. github.com - Removed
DisconnectedMetadataFactory
The DisconnectedMetadataFactory class is removed. github.com
And 65 more in this version. Sign up to see every change
Related packages
- doctrine/annotations
- doctrine/coding-standard
- doctrine/collections
- doctrine/dbal
- doctrine/doctrine-fixtures-bundle
- doctrine/doctrine-migrations-bundle
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.