Bump doctrine/orm from 2.16.2 to 3.1.3
Bumps doctrine/orm from 2.16.2 to 3.1.3.
Release notes
Sourced from doctrine/orm's releases.
3.1.3
Release Notes for 3.1.3
3.1.3
- Total issues resolved: 0
- Total pull requests resolved: 6
- Total contributors: 6
Bugfixes
- 11430: Fix deprecation layer of Doctrine\ORM\ORMException thanks to
@W0rma- 11428: Prevent creation of new MANAGED entity instance by reloading REMOVED entity from database thanks to
@xificurk- 11422: Bugfix: respect orderBy for fetch EAGER mode thanks to
@tomasz-ryba- 11101: fix: always cleanup in
AbstractHydrator::toIterable()thanks to@simPodTest Suite
Documentation
- 11420: fix(docs): typo thanks to
@tyteen4a033.1.2
Release Notes for 3.1.2
3.1.2
- Total issues resolved: 0
- Total pull requests resolved: 4
- Total contributors: 4
Bug
- 11415: Revert "SchemaValidator: Changing mapping of BIGINT to string|int" thanks to
@derrabus- 11399: SchemaValidator: Changing mapping of BIGINT to string|int thanks to
@ThomasLandauerDocumentation
Static Analysis
... (truncated)
Upgrade guide
Sourced from doctrine/orm's upgrade guide.
Upgrade to 3.1
Deprecate
Doctrine\ORM\Mapping\ReflectionEnumPropertyThis class is deprecated and will be removed in 4.0. Instead, use
Doctrine\Persistence\Reflection\EnumReflectionPropertyfromdoctrine/persistence.Deprecate passing null to
ClassMetadata::fullyQualifiedClassName()Passing
nulltoDoctrine\ORM\ClassMetadata::fullyQualifiedClassName()is deprecated and will no longer be possible in 4.0.Deprecate array access
Using array access on instances of the following classes is deprecated:
Doctrine\ORM\Mapping\DiscriminatorColumnMappingDoctrine\ORM\Mapping\EmbedClassMappingDoctrine\ORM\Mapping\FieldMappingDoctrine\ORM\Mapping\JoinColumnMappingDoctrine\ORM\Mapping\JoinTableMappingUpgrade to 3.0
BC BREAK: Calling
ClassMetadata::getAssociationMappedByTargetField()with the owning side of an association now throws an exceptionPreviously, calling
Doctrine\ORM\Mapping\ClassMetadata::getAssociationMappedByTargetField()with the owning side of an association returnednull, which was undocumented, and wrong according to the phpdoc of the parent method.If you do not know whether you are on the owning or inverse side of an association, you can use
Doctrine\ORM\Mapping\ClassMetadata::isAssociationInverseSide()to find out.BC BREAK:
Doctrine\ORM\Proxy\Autoloaderno longer extendsDoctrine\Common\Proxy\AutoloaderMake sure to use the former when writing a type declaration or an
instanceofcheck.Minor BC BREAK: Changed order of arguments passed to
OneToOne,ManyToOneandIndexmapping PHP attributesTo keep PHP mapping attributes consistent, order of arguments passed to above attributes has been changed so
$targetEntityis 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/dbal4When using the
AUTOstrategy to let Doctrine determine the identity generation mechanism for an entity, and when usingdoctrine/dbal4, PostgreSQL now usesIDENTITYinstead ofSEQUENCEorSERIAL.
... (truncated)
Commits
8ca99fdMerge pull request #11433 from greg0ire/3.1.x2d8e466Merge remote-tracking branch 'origin/2.19.x' into 3.1.x94986afMerge pull request #11430 from W0rma/fix-deprecation-layer-orm-exceptionad5c8e4Make test compatible with PHP 7.1c363f55Fix deprecation layerc973a62Merge pull request #11429 from SenseException/unused-test-group8d34460Merge pull request #11428 from xificurk/keep-removed-entity-in-identity-map4e335f4Remove unused test groupbb36d49Keep entities in identity map until the scheduled deletions are executed.2b81a8eMerge pull request #11426 from nasimic/patch-1- Additional commits viewable in compare view
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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)