2.11.0
版本发布时间: 2022-01-12 21:28:51
doctrine/orm最新发布版本:3.2.2(2024-08-23 18:30:51)
Release Notes for 2.11.0
Feature release (minor)
2.11.0
- Total issues resolved: 2
- Total pull requests resolved: 35
- Total contributors: 11
Documentation
-
9368: Fix doc blocks on ID generators thanks to @derrabus
-
9364: Update branch metadata for 2.11 thanks to @derrabus
-
9328: Document return type of
getEntityState()
thanks to @derrabus -
9241: Support for nesting attributes with PHP 8.1 thanks to @beberlei
-
9174: AttributeOverride annotation is also an attribute but that is not reachable thanks to @brzuchal
-
9118: Generated/Virtual Columns: Insertable / Updateable thanks to @mehldau
Improvement
-
9356: Remove the
composer/package-versions-deprecated
package thanks to @derrabus - 9340: Use the readonly annotation thanks to @derrabus
- 9319: Document LockMode enums thanks to @derrabus
- 9316: Support readonly properties for read operations thanks to @derrabus
- 9312: Leverage generic ObjectManagerDecorator thanks to @derrabus
-
9275: Fix type errors in
AbstractQuery
andQueryBuilder
thanks to @derrabus - 9274: Fix type errors in AnnotationDriver thanks to @derrabus
- 9273: Fix docblocks on nullable EM properties thanks to @derrabus
- 9271: Fix return types of cache interfaces thanks to @derrabus
- 9203: Drop support for DBAL 3.1 thanks to @derrabus
- 9202: Add SchemaIgnoreClasses property thanks to @simPod
Bug
- 9355: Relax assertion to include null as possible outcome thanks to @derrabus
Deprecation
-
9327: Added runtime deprecation to
UnitOfWork::commit()
andclear()
thanks to @derrabus - 9309: [GH-9277] deprecate php driver thanks to @beberlei
-
9249: Deprecate
Setup::registerAutoloadDirectory()
thanks to @derrabus -
9211: Add deprecation hints to
orm:convert-mapping
command thanks to @derrabus - 9206: Add missing deprecations for YAML metadata mapping thanks to @derrabus
-
9074: Deprecate
ensureProductionSettings()
thanks to @derrabus -
9072: Deprecate
AbstractHydrator::hydrateRow()
thanks to @derrabus
New Feature
- 9326: Add support for custom types with requireSQLConversion and ResultSetMappingBuilder::generateSelectClause() thanks to @kimhemsoe
- 9304: Add support for PHP 8.1 enums. thanks to @beberlei
- 9149: Detect enums and use type string (PHP 8.1 only) thanks to @Nek-
- 9133: Adding a setup helper for attribute metadata config thanks to @judahnator
Deprecation,Improvement
-
9325: Use
EntityManagerInterface
in type declarations thanks to @derrabus - 9322: PSR-6 second level cache thanks to @derrabus
CI
- 9272: Regenerate Psalm baseline thanks to @derrabus
- 9267: Enable UnusedUse sniff again thanks to @derrabus
Bug,DQL
- 9266: Improve compatibility with Doctrine DBAL 4 thanks to @morozov
DQL,New Feature
- 9242: Allow arithmetic expressions within IN operator thanks to @webda2l
DQL,Improvement
- 6476: Allow arithmetic expressions within IN operator thanks to @astepin