---
title: "doctrine/doctrine-bundle 3.4.1 Breaking Changes on Packagist"
description: "What each doctrine/doctrine-bundle release removed, renamed or changed: 81 breaking changes in 3 versions on Packagist, each with its source."
canonical_url: https://since.dev/packages/packagist/doctrine/doctrine-bundle
last_updated: 2026-12-04
---

# 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

Latest version `3.4.2`, released November 15, 2026. MIT license. [Source repository](https://github.com/doctrine/DoctrineBundle)

Its 3.0.0 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 [3.0.0](#v-3-0-0) to [3.4.1](#v-3-4-1): 6 breaking changes in 2 versions.

## doctrine/doctrine-bundle 3.4.1 breaking changes

doctrine/doctrine-bundle 3.4.1, released November 12, 2026: 1 breaking change.

- **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](https://packagist.org/packages/doctrine/doctrine-bundle#3.4.1)

## doctrine/doctrine-bundle 3.4.0 breaking changes

doctrine/doctrine-bundle 3.4.0, released November 12, 2026: 5 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](https://packagist.org/packages/doctrine/doctrine-bundle#3.4.0)
- **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](https://packagist.org/packages/doctrine/doctrine-bundle#3.4.0)
- **Signature changed** `Doctrine\Bundle\DoctrineBundle\DataCollector\DoctrineDataCollector`  

Was class DoctrineDataCollector extends BaseCollector; now class DoctrineDataCollector extends BaseCollector implements LateDataCollectorInterface. [packagist.org](https://packagist.org/packages/doctrine/doctrine-bundle#3.4.0)
- **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](https://packagist.org/packages/doctrine/doctrine-bundle#3.4.0)
- **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](https://packagist.org/packages/doctrine/doctrine-bundle#3.4.0)

## doctrine/doctrine-bundle 3.0.0 breaking changes

doctrine/doctrine-bundle 3.0.0, released October 12, 2025: 75 breaking changes.

- **Removed**  

The .class container parameters are removed. Stop referencing them in your configuration. [github.com](https://github.com/doctrine/DoctrineBundle/releases/tag/3.0.0)
- **Removed**  

Annotation mapping support is removed. Convert mappings to another supported format. [github.com](https://github.com/doctrine/DoctrineBundle/releases/tag/3.0.0)
- **Removed**  

Deprecated Symfony commands are removed. Stop calling them. [github.com](https://github.com/doctrine/DoctrineBundle/releases/tag/3.0.0)
- **Removed**  

Support for doctrine/cache is dropped. Migrate caching to a supported library. [github.com](https://github.com/doctrine/DoctrineBundle/releases/tag/3.0.0)
- **Removed**  

YML mapping support is removed. Convert mappings to another supported format. [github.com](https://github.com/doctrine/DoctrineBundle/releases/tag/3.0.0)
- **Removed**  

The URL override feature is removed. Stop relying on it. [github.com](https://github.com/doctrine/DoctrineBundle/releases/tag/3.0.0)
- **Removed** `collate`  

The default collate table option is removed. Set it explicitly if you need it. [github.com](https://github.com/doctrine/DoctrineBundle/releases/tag/3.0.0)
- **Removed** `controller resolver auto mapping configuration`  

The controller resolver auto mapping configuration is removed. [github.com](https://github.com/doctrine/DoctrineBundle/releases/tag/3.0.0)
- **Removed** `disable_type_comments`  

The disable_type_comments option is removed. Remove it from your configuration. [github.com](https://github.com/doctrine/DoctrineBundle/releases/tag/3.0.0)
- **Removed** `DisconnectedMetadataFactory`  

The DisconnectedMetadataFactory class is removed. [github.com](https://github.com/doctrine/DoctrineBundle/releases/tag/3.0.0)

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

## Related packages

- [doctrine/annotations](https://since.dev/packages/packagist/doctrine/annotations.md)
- [doctrine/coding-standard](https://since.dev/packages/packagist/doctrine/coding-standard.md)
- [doctrine/collections](https://since.dev/packages/packagist/doctrine/collections.md)
- [doctrine/dbal](https://since.dev/packages/packagist/doctrine/dbal.md)
- [doctrine/doctrine-fixtures-bundle](https://since.dev/packages/packagist/doctrine/doctrine-fixtures-bundle.md)
- [doctrine/doctrine-migrations-bundle](https://since.dev/packages/packagist/doctrine/doctrine-migrations-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.
