Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 28, 2025

Bumps doctrine/orm from 2.20.6 to 3.5.3.

Release notes

Sourced from doctrine/orm's releases.

3.5.3

Release Notes for 3.5.3

3.5.x bugfix release (patch)

3.5.3

  • Total issues resolved: 0
  • Total pull requests resolved: 13
  • Total contributors: 5

Bugfixes

Test Suite

CI

Documentation

This release also contains the changes from https://github.com/doctrine/orm/releases/tag/2.20.7

3.5.2

Release Notes for 3.5.2

3.5.x bugfix release (patch)

3.5.2

  • Total issues resolved: 0
  • Total pull requests resolved: 2
  • Total contributors: 2

... (truncated)

Upgrade guide

Sourced from doctrine/orm's upgrade guide.

Note about upgrading: Doctrine uses static and runtime mechanisms to raise awareness about deprecated code.

  • Use of @deprecated docblock that is detected by IDEs (like PHPStorm) or Static Analysis tools (like Psalm, phpstan)
  • Use of our low-overhead runtime deprecation API, details: https://github.com/doctrine/deprecations/

Upgrade to 3.x General Notes

We recommend you upgrade to DBAL 3 first before upgrading to ORM 3. See the DBAL upgrade docs: https://github.com/doctrine/dbal/blob/3.10.x/UPGRADE.md

Rather than doing several major upgrades at once, we recommend you do the following:

  • upgrade to DBAL 3
  • deploy and monitor
  • upgrade to ORM 3
  • deploy and monitor
  • upgrade to DBAL 4
  • deploy and monitor

If you are using Symfony, the recommended minimal Doctrine Bundle version is 2.15 to run with ORM 3.

At this point, we recommend upgrading to PHP 8.4 first and then directly from ORM 2.19 to 3.5 and up so that you can skip the lazy ghost proxy generation and directly start using native lazy objects.

Upgrade to 3.6

Deprecate specifying nullable on columns that end up being used in a primary key

Specifying nullable on join columns that are part of a primary key is deprecated and will be an error in 4.0.

This can happen when using a join column mapping together with an id mapping, or when using a join column mapping or an inverse join column mapping on a many-to-many relationship.

 class User
 {
     #[ORM\Id]
     #[ORM\Column(type: 'integer')]
     private int $id;
 #[ORM\Id]
 #[ORM\ManyToOne(targetEntity: Family::class, inversedBy: 'users')]


#[ORM\JoinColumn(name: 'family_id', referencedColumnName: 'id', nullable: true)]
</tr></table>

... (truncated)

Commits
  • 1220edf Merge pull request #12241 from greg0ire/3.5.x
  • 7e4693d Merge remote-tracking branch 'origin/2.20.x' into 3.5.x
  • 59938ca Merge pull request #12238 from mpdude/fix-collections-deprecation
  • 298dc9b Merge pull request #12183 from mpdude/paginator-confused-result-set-mapping-i...
  • da67f32 Add PHPStan errors to persistence2 baseline file
  • 63635ca Remove PHPStan error suppressions
  • a0d401b Merge pull request #12239 from doctrine/dependabot/github_actions/2.20.x/acti...
  • 6acbadf Merge pull request #12240 from doctrine/dependabot/github_actions/2.20.x/acti...
  • c64dcb4 Bump actions/upload-artifact from 4 to 5
  • 3304290 Bump actions/download-artifact from 5 to 6
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot added dependencies Pull requests that update a dependency file php Pull requests that update Php code labels Oct 28, 2025
Bumps [doctrine/orm](https://github.com/doctrine/orm) from 2.20.6 to 3.5.3.
- [Release notes](https://github.com/doctrine/orm/releases)
- [Upgrade guide](https://github.com/doctrine/orm/blob/3.5.x/UPGRADE.md)
- [Commits](doctrine/orm@2.20.6...3.5.3)

---
updated-dependencies:
- dependency-name: doctrine/orm
  dependency-version: 3.5.3
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/composer/doctrine/orm-3.5.3 branch from 0491f71 to 5a40deb Compare November 11, 2025 00:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file php Pull requests that update Php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant