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

build(deps): bump doctrine/orm from 2.18.0 to 3.1.1 #5266

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

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

Bumps doctrine/orm from 2.18.0 to 3.0.1.

Release notes

Sourced from doctrine/orm's releases.

3.0.1

Release Notes for 3.0.1

3.0.x bugfix release (patch)

3.0.1

  • Total issues resolved: 1
  • Total pull requests resolved: 12
  • Total contributors: 8

BC Break

Test Suite

Documentation

Bug

Static Analysis

CI

Changes from Lower Branches

  • This release contains all changes of the 2.18.1 release.

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!

... (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 or SERIAL.

  • If you want to upgrade your existing tables to identity columns, you will need to follow migration to identity columns on PostgreSQL
  • If you want to keep using SQL sequences, you need to 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
  • 2a250b5 Merge branch '2.18.x' into 3.0.x
  • e6eef1a Backport QueryParameterTest (#11288)
  • 44fa5d3 Merge pull request #11287 from derrabus/bugfix/parameter-types
  • 708146b Test different ways of settings query parameters
  • a5bf9bb Be less restrictive in DiscriminatorColumnMapping phpdoc (#11226)
  • 3eace16 Allow (Array)ParameterType in QueryBuilder
  • bc5efd4 Merge branch '2.18.x' into 3.0.x
  • 0efac09 Fix Static Analysis folder reference (#11281)
  • b6b4cbc Remove broken assertion from DateAddFunction and DateSubFunction (#11243)
  • efb6ceb Merge pull request #11270 from greg0ire/fix-trim-bug
  • 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 Feb 23, 2024
@dependabot dependabot bot force-pushed the dependabot/composer/doctrine/orm-3.0.1 branch from b626870 to 56a800d Compare February 26, 2024 17:08
@stopfstedt stopfstedt force-pushed the dependabot/composer/doctrine/orm-3.0.1 branch from fa74208 to c7b210a Compare February 26, 2024 18:21
@stopfstedt stopfstedt force-pushed the dependabot/composer/doctrine/orm-3.0.1 branch from 140ceea to aa9e7ec Compare February 28, 2024 16:55
@stopfstedt stopfstedt force-pushed the dependabot/composer/doctrine/orm-3.0.1 branch from aa9e7ec to b0cd4f6 Compare March 1, 2024 00:41
@stopfstedt stopfstedt changed the title build(deps): bump doctrine/orm from 2.18.0 to 3.0.1 build(deps): bump doctrine/orm from 2.18.0 to 3.0.2 Mar 1, 2024
Copy link
Contributor Author

dependabot bot commented on behalf of github Mar 4, 2024

A newer version of doctrine/orm exists, but since this PR has been edited by someone other than Dependabot I haven't updated it. You'll get a PR for the updated version as normal once this PR is merged.

@stopfstedt stopfstedt force-pushed the dependabot/composer/doctrine/orm-3.0.1 branch 2 times, most recently from 9a3d7a3 to 15a6cdd Compare March 13, 2024 14:12
@stopfstedt stopfstedt force-pushed the dependabot/composer/doctrine/orm-3.0.1 branch from 15a6cdd to ffcaf99 Compare March 21, 2024 18:41
@dependabot dependabot bot requested a review from stopfstedt as a code owner March 21, 2024 18:41
@stopfstedt stopfstedt force-pushed the dependabot/composer/doctrine/orm-3.0.1 branch from ffcaf99 to 0a43340 Compare March 27, 2024 16:18
@stopfstedt stopfstedt changed the title build(deps): bump doctrine/orm from 2.18.0 to 3.0.2 build(deps): bump doctrine/orm from 2.18.0 to 3.1.1 Mar 27, 2024
@stopfstedt stopfstedt force-pushed the dependabot/composer/doctrine/orm-3.0.1 branch from 0a43340 to fa9b181 Compare April 5, 2024 23:56
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

1 participant