graphql-doctrine
graphql-doctrine copied to clipboard
Bump doctrine/persistence from 2.5.5 to 3.1.4
Bumps doctrine/persistence from 2.5.5 to 3.1.4.
Release notes
Sourced from doctrine/persistence's releases.
3.1.4
Release Notes for 3.1.4
3.1.x bugfix release (patch)
3.1.4
Total issues resolved: 0
Total pull requests resolved: 1
Total contributors: 1
329: Fix trimming leading backslash in RuntimeReflectionProperty thanks to
@nicolas-grekas3.1.3
Release Notes for 3.1.3
3.1.x bugfix release (patch)
3.1.3
- Total issues resolved: 0
- Total pull requests resolved: 1
- Total contributors: 1
Static Analysis
3.1.2
Release Notes for 3.1.2
3.1.x bugfix release (patch)
3.1.2
- Total issues resolved: 0
- Total pull requests resolved: 1
- Total contributors: 1
Bug
3.1.1
Release Notes for 3.1.1
3.1.x bugfix release (patch)
3.1.1
... (truncated)
Upgrade guide
Sourced from doctrine/persistence's upgrade guide.
Note about upgrading: Doctrine uses static and runtime mechanisms to raise awareness about deprecated code.
- Use of
@deprecateddocblock 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.1
Added method
Proxy::__setInitialized()Classes implementing
Doctrine\Persistence\Proxyshould implement the new method. This method will be added to the interface in 4.0.Deprecated
RuntimePublicReflectionPropertyUse
RuntimeReflectionPropertyinstead.Upgrade to 3.0
Removed
OnClearEventArgs::clearsAllEntities()andOnClearEventArgs::getEntityClass()These methods only make sense when partially clearing the object manager, which is no longer possible. The second argument of the constructor of
OnClearEventArgsis removed as well.BC Break: removed
ObjectManagerAwareImplement active record style functionality directly in your application, by using a
postLoadevent.BC Break: removed
AnnotationDriverUse
ColocatedMappingDriverinstead.BC Break: Removed
MappingException::pathRequired()Use
MappingException::pathRequiredForDriver()instead.BC Break: removed
LifecycleEventArgs::getEntity()Use
LifecycleEventArgs::getObject()instead.BC Break: removed support for short namespace aliases
AbstractClassMetadataFactory::getFqcnFromAlias()is removed.ClassMetadataFactorymethods now require their$classNameargument to be an actual FQCN.
... (truncated)
Commits
8bf8ab1Merge pull request #329 from nicolas-grekas/fix-trim659a733Fix trimming leading backslash in RuntimeReflectionProperty920da29Merge pull request #327 from mpdude/patch-2c021c90Improve the ACMF::doLoadMetadata docblock7ee1ce5Merge branch '2.5.x' into 3.1.x7729fc2Allow Annotations 2 (#324)b44d128Remove doctrine/annotations dependency (#320)2db671bMerge branch '2.5.x' into 3.1.x4d90b67Bump tools and workflows (#321)d87426fAdd type to ColocatedMappingDriver::isTransient() (#318)- 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 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)