2.9.0
版本发布时间: 2021-05-24 18:16:08
doctrine/orm最新发布版本:3.2.2(2024-08-23 18:30:51)
Release Notes for 2.9.0
Feature release (minor)
2.9.0
- Total issues resolved: 18
- Total pull requests resolved: 30
- Total contributors: 18
Changes
- 8691: Check for use of deprecated API with Psalm thanks to @alcaeus
- 8678: [Gh-8589] A new approach to non-nullable typed associations for BC thanks to @beberlei
- 8677: [GH-8676] Allow nested annotations to work without parents as attributes thanks to @beberlei and @Nemo64
-
8671: Reflect that default EntityManager is not always named
default
thanks to @simPod - 8646: [GH-8327] Make EntityManagerProvider compatible with expected DoctrineBundle usage thanks to @beberlei and @PowerKiKi
- 8642: How to create schema using Schema tool in v2.9.x? thanks to @simPod
- 8629: Fields for unique constraints thanks to @beberlei and @alexander-schranz
- 8613: Reintroduce PHP 7.1 support thanks to @beberlei
- 8589: Fix typed properties for default metadata (#7939) thanks to @Lustmored and @beberlei
- 8553: Bump doctrine/deprecations to at least v0.5.3 thanks to @beberlei
- 8517: [GH-8458] Properly deprecate ConvertDoctrine1Schema thanks to @beberlei
- 8472: [GH-8471] Deprecate Partial DQL syntax and forcing partial loads. thanks to @beberlei
- 8466: Introduce doctrine/deprecations thanks to @beberlei
- 8439: Use typed properties for default metadata for #7939 thanks to @Lustmored and @beberlei
- 8438: DDC-2076 Remove useless join over target table of ManyToMany relationship thanks to @plfort
- 8417: Restrict EntityManagerInterface::getRepository thanks to @VincentLanglet
- 8382: [GH-6396] Allow custom hydrators access to meta columns thanks to @beberlei
- 8378: [GH-6578] Add validation that inherited entity class is mapped in discriminator. thanks to @beberlei
- 8377: Add Doctrine\ORM\Query\Expr::mod() thanks to @beberlei and @holtkamp
- 8375: Support for Array parameters in SQL filters thanks to @beberlei and @doctrinebot
- 8357: Add psalm annotation to ArrayCollection of Parameters thanks to @snapshotpl
- 8266: [GH-8265] Prototype for Attribute Metadata Driver thanks to @beberlei
- 7936: [GH-5202] Implement Query::HINT_READ_ONLY flag thanks to @beberlei and @doctrinebot
- 7918: Add support for INDEX BY an associated entity (2.8.x) thanks to @andrews05 and @crtl
Improvement
- 8672: Allow installing doctrine/cache 2.0 thanks to @alcaeus
- 8548: Adding details to types in PHPDoc thanks to @orklah
- 8544: Add type declarations where backwards-compatible thanks to @greg0ire
- 8380: [GH-7128] Improve OneToManyRequiresMappedBy Exception message thanks to @beberlei and @jakumi
Deprecation,New Feature
- 8651: Introduce PSR-6 for metadata caching thanks to @alcaeus
Deprecation
- 8592: Deprecated Named Native and DQL Queries thanks to @beberlei
- 8524: [GH-8327] Deprecate EntityManagerHelper for a provider abstraction. thanks to @beberlei and @PowerKiKi
- 8383: Deprecated notify change tracking policy thanks to @beberlei
- 8381: [GH-6855] Prevent unsupported lifecycle callback mapping on embedded classes. thanks to @beberlei
New Feature,Question
- 7762: Psalm support thanks to @zerkms