Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DEPS][COMPOSER]: Bump doctrine/orm from 2.17.4 to 3.0.0 #95

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 6, 2024

Bumps doctrine/orm from 2.17.4 to 3.0.0.

Release notes

Sourced from doctrine/orm's releases.

3.0.0

Release Notes for 3.0.0

After almost 8 years of work by many different contributors, we're incredibly proud to announce the release of Doctrine ORM 3.0.0!

Upgrade

We've written an upgrade guide, but the best way to prepare for the upgrade is to first upgrade to the latest 2.x version, and address any deprecation that is reported.

3.0.0

  • Total issues resolved: 9
  • Total pull requests resolved: 241
  • Total contributors: 22

BC Break

... (truncated)

Upgrade guide

Sourced from doctrine/orm's upgrade guide.

Upgrade to 3.0

BC BREAK: Doctrine\ORM\Proxy\Autoloader no longer extends Doctrine\Common\Proxy\Autoloader

Make sure to use the former when writing a type declaration or an instanceof check.

Minor BC BREAK: Changed order of arguments passed to OneToOne, ManyToOne and Index mapping PHP attributes

To keep PHP mapping attributes consistent, order of arguments passed to above attributes has been changed so $targetEntity is a first argument now. This change affects only non-named arguments usage.

BC BREAK: AUTO keyword for identity generation defaults to IDENTITY for PostgreSQL when using doctrine/dbal 4

When using the AUTO strategy to let Doctrine determine the identity generation mechanism for an entity, and when using doctrine/dbal 4, PostgreSQL now uses IDENTITY instead of SEQUENCE. When upgrading from ORM 2.x and preference is on keeping the SEQUENCE based identity generation, then configure the ORM this way:

use Doctrine\DBAL\Platforms\PostgreSQLPlatform;
use Doctrine\ORM\Configuration;
use Doctrine\ORM\Mapping\ClassMetadata;
assert($configuration instanceof Configuration);
$configuration->setIdentityGenerationPreferences([
PostgreSQLPlatform::CLASS => ClassMetadata::GENERATOR_TYPE_SEQUENCE,
]);

BC BREAK: Throw exceptions when using illegal attributes on Embeddable

There are only a few attributes allowed on an embeddable such as #[Column] or #[Embedded]. Previously all others that target entity classes where ignored, now they throw an exception.

BC BREAK: Partial objects are removed

  • The PARTIAL keyword in DQL no longer exists.
  • Doctrine\ORM\Query\AST\PartialObjectExpressionis removed.
  • Doctrine\ORM\Query\SqlWalker::HINT_PARTIAL and Doctrine\ORM\Query::HINT_FORCE_PARTIAL_LOAD are removed.
  • Doctrine\ORM\EntityManager*::getPartialReference() is removed.

BC BREAK: Doctrine\ORM\Persister\Entity\EntityPersister::executeInserts() return type changed to void

Implementors should adapt to the new signature, and should call UnitOfWork::assignPostInsertId() for each entry in the previously returned array.

BC BREAK: Doctrine\ORM\Proxy\ProxyFactory no longer extends abstract factory from doctrine/common

... (truncated)

Commits
  • 5b8b5f2 Run Rector on the source code (#11205)
  • 2e155e9 Merge pull request #11202 from mpdude/mergeup-2.18.x-3.0.x
  • c7a91a4 Fix Psalm complaints after merge-up
  • 1df03f2 Write LimitSubqueryOutputWalkerTest in a way that is portable between DBAL 3 ...
  • 09f0966 Fix CS after merge-up
  • da6c6f7 Merge remote-tracking branch 'origin/2.18.x' into 3.0.x
  • f2176a9 Merge pull request #11201 from mpdude/merge-up-217-218
  • 9a6ff66 Merge remote-tracking branch 'origin/2.17.x' into 2.18.x
  • f58984c Merge pull request #11198 from jwage/port-lock-sql-changes
  • 79c7c50 Fix calls to removed lock methods (#11061)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file php Pull requests that update Php code labels Feb 6, 2024
Copy link
Contributor

github-actions bot commented Feb 6, 2024

Type is version-update:semver-major

@dependabot dependabot bot force-pushed the dependabot/composer/doctrine/orm-3.0.0 branch from 0feae8f to 9be16ef Compare February 6, 2024 00:18
Copy link
Contributor

github-actions bot commented Feb 6, 2024

Type is version-update:semver-major

github-actions bot added a commit that referenced this pull request Feb 8, 2024
…#105)

Bumps
[doctrine/doctrine-bundle](https://github.com/doctrine/DoctrineBundle)
from 2.11.1 to 2.11.2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/doctrine/DoctrineBundle/releases">doctrine/doctrine-bundle's
releases</a>.</em></p>
<blockquote>
<h2>2.11.2</h2>
<h3>Release Notes for <a
href="https://github.com/doctrine/DoctrineBundle/milestone/98">2.11.2</a></h3>
<p>2.11.x bugfix release (patch)</p>
<h3>2.11.2</h3>
<ul>
<li>Total issues resolved: <strong>0</strong></li>
<li>Total pull requests resolved: <strong>5</strong></li>
<li>Total contributors: <strong>4</strong></li>
</ul>
<h4>Bug</h4>
<ul>
<li>
<p><a
href="https://redirect.github.com/doctrine/DoctrineBundle/pull/1748">1748:
Fix the JS code in the profiler panel for Symfony 7</a> thanks to <a
href="https://github.com/stof"><code>@​stof</code></a></p>
</li>
<li>
<p><a
href="https://redirect.github.com/doctrine/DoctrineBundle/pull/1747">1747:
fix: replace classutils with doctrine/orm version</a> thanks to <a
href="https://github.com/Ahummeling"><code>@​Ahummeling</code></a></p>
</li>
<li>
<p><a
href="https://redirect.github.com/doctrine/DoctrineBundle/pull/1741">1741:
fix phpdoc for attribute mapping pass</a> thanks to <a
href="https://github.com/dbu"><code>@​dbu</code></a></p>
</li>
</ul>
<h4>Documentation</h4>
<ul>
<li>[1733: Add enable&amp;<a
href="https://redirect.github.com/doctrine/DoctrineBundle/issues/95">#95</a>;lazy&amp;<a
href="https://redirect.github.com/doctrine/DoctrineBundle/issues/95">#95</a>;ghost&amp;<a
href="https://redirect.github.com/doctrine/DoctrineBundle/issues/95">#95</a>;objects
in the configuration reference](<a
href="https://redirect.github.com/doctrine/DoctrineBundle/pull/1733">doctrine/DoctrineBundle#1733</a>)
thanks to <a href="https://github.com/stof"><code>@​stof</code></a></li>
</ul>
<h4>Improvement</h4>
<ul>
<li><a
href="https://redirect.github.com/doctrine/DoctrineBundle/pull/1731">1731:
Make deprecation warning about
<code>enable&amp;[#95](https://github.com/doctrine/DoctrineBundle/issues/95);lazy&amp;[#95](https://github.com/doctrine/DoctrineBundle/issues/95);ghost&amp;[#95](https://github.com/doctrine/DoctrineBundle/issues/95);objects</code>
more explicit</a> thanks to <a
href="https://github.com/evertharmeling"><code>@​evertharmeling</code></a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/doctrine/DoctrineBundle/commit/fb22c9320383caa2829c32dc3b84c1b5e0f1ceaf"><code>fb22c93</code></a>
Fix the JS code in the profiler panel for Symfony 7 (<a
href="https://redirect.github.com/doctrine/DoctrineBundle/issues/1748">#1748</a>)</li>
<li><a
href="https://github.com/doctrine/DoctrineBundle/commit/846ba31b9cfd9b387d88180b158447499f1bb595"><code>846ba31</code></a>
Remove psalm suppression according <a
href="https://redirect.github.com/vimeo/psalm/issues/10382">vimeo/psalm#10382</a></li>
<li><a
href="https://github.com/doctrine/DoctrineBundle/commit/8a6ccdfaa981ae66b73e245f2eb7f22437caf695"><code>8a6ccdf</code></a>
fix: replace classutils with doctrine/orm version</li>
<li><a
href="https://github.com/doctrine/DoctrineBundle/commit/d9be8442f9aebb266aab2bb23aaccb6dc62c7ff0"><code>d9be844</code></a>
fix phpdoc for attribute mapping pass</li>
<li><a
href="https://github.com/doctrine/DoctrineBundle/commit/7290b3afa49e126bae4a982c50c2a309ef4851ca"><code>7290b3a</code></a>
Fix psalm issues</li>
<li><a
href="https://github.com/doctrine/DoctrineBundle/commit/4d7352a8b27f36866d2b62ac7d2016782270a07d"><code>4d7352a</code></a>
fix tests by adjusting switch for enabling annotations (<a
href="https://redirect.github.com/doctrine/DoctrineBundle/issues/1734">#1734</a>)</li>
<li><a
href="https://github.com/doctrine/DoctrineBundle/commit/4194459400f30b1d6061ea9feaac61872d71c254"><code>4194459</code></a>
Merge pull request <a
href="https://redirect.github.com/doctrine/DoctrineBundle/issues/1733">#1733</a>
from doctrine/stof-patch-1</li>
<li><a
href="https://github.com/doctrine/DoctrineBundle/commit/dccb004473611d90c54ed93bf69b54080c002ab9"><code>dccb004</code></a>
Add the info for the enable_lazy_ghost_objects node</li>
<li><a
href="https://github.com/doctrine/DoctrineBundle/commit/6c408dc892996dac9dab67c5e74ee8a46578cb96"><code>6c408dc</code></a>
Add enable_lazy_ghost_objects in the configuration reference</li>
<li><a
href="https://github.com/doctrine/DoctrineBundle/commit/5a3a2c1f2071b65fdec417e0b93986abbecf659b"><code>5a3a2c1</code></a>
Make deprecation warning about <code>enable_lazy_ghost_objects</code>
more explicit (<a
href="https://redirect.github.com/doctrine/DoctrineBundle/issues/1731">#1731</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/doctrine/DoctrineBundle/compare/2.11.1...2.11.2">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=doctrine/doctrine-bundle&package-manager=composer&previous-version=2.11.1&new-version=2.11.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

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)


</details>
Bumps [doctrine/orm](https://github.com/doctrine/orm) from 2.17.4 to 3.0.0.
- [Release notes](https://github.com/doctrine/orm/releases)
- [Upgrade guide](https://github.com/doctrine/orm/blob/3.0.x/UPGRADE.md)
- [Commits](doctrine/orm@2.17.4...3.0.0)

---
updated-dependencies:
- dependency-name: doctrine/orm
  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.0.0 branch from 9be16ef to 9284677 Compare February 8, 2024 00:28
Copy link
Contributor

github-actions bot commented Feb 8, 2024

Type is version-update:semver-major

Copy link
Contributor Author

dependabot bot commented on behalf of github Feb 23, 2024

Superseded by #128.

@dependabot dependabot bot closed this Feb 23, 2024
@dependabot dependabot bot deleted the dependabot/composer/doctrine/orm-3.0.0 branch February 23, 2024 01:01
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.

None yet

0 participants