Release Notes for 2.10.0
2.10.0
- Total issues resolved: 4
- Total pull requests resolved: 56
- Total contributors: 9
CI
- 9057: Add PHP 8.1 to CI thanks to @derrabus
- 8874: Build with DBAL 3 thanks to @greg0ire
Improvement
- 9056: Remove calls to
ForeignKeyConstraint::getColumns()
thanks to @derrabus - 8996: Support for PSR-6 result caches thanks to @derrabus
- 8962: Stop swallowing exceptions thanks to @greg0ire
- 8954: Fix references to deprecated
DBALException
thanks to @derrabus - 8953: Don't call deprecated
getSchemaManager()
thanks to @derrabus - 8952: Drop more usages of SimpleAnnotationReader thanks to @greg0ire
- 8949: Make mock layer compatible with DBAL 3 thanks to @derrabus
- 8946: Support for DBAL 3's platform classes thanks to @derrabus
- 8945: Document possibly-null member variables thanks to @greg0ire
- 8944: Remove references to
Type::DATETIME
thanks to @derrabus - 8941: Remove calls to
fixSchemaElementName()
thanks to @derrabus - 8939: Remove calls to
Driver::getName()
thanks to @derrabus - 8938: Bump Psalm to 4.9.3 thanks to @derrabus
- 8935: Remove calls to deprecated Connection methods thanks to @derrabus
- 8928: Add types to
EM::wrapInTransaction()
thanks to @simPod - 8915: Address Type deprecation messages thanks to @basseta
- 8889: doctrine/dbal v3 - Make sure that values passed to are not null thanks to @scyzoryck
- 8870: Remove calls to prefersSequences() thanks to @derrabus
- 8836: Make implicit type casts explicit thanks to @greg0ire
- 8794: Fix deprecated DBAL calls thanks to @derrabus
- 8793: Backport slamdunk's work thanks to @greg0ire
- 8792: Backport malukenho's work thanks to @greg0ire
- 8692: Split the ORMException class thanks to @greg0ire
Bug
- 9050: fix: prevent TypeError in QueryBuilder joins thanks to @dunglas
- 8943: Add missing EntityManagerInterface argument to callable that is being passed to
EM::wrapInTransaction()
thanks to @simPod
Deprecation
- 9046: Deprecate isIdGeneratorTable and isIdentifierUuid thanks to @derrabus
- 8820: [GH-8818] Deprecate entity namespace short aliases. thanks to @beberlei
- 9004: Use PSR-6 for accessing the query cache thanks to @derrabus
- 9002: Switch cache configuration to PSR-6 thanks to @derrabus
- 8984: Remove unnecessary
method_exists()
checks thanks to @derrabus - 8964: DBAL 3 thanks to @derrabus
- 8957: Only wire ConnectionHelper if it's available thanks to @derrabus
- 8950: PHPStan 0.12.96 thanks to @derrabus
- 8948: Remove ImportCommand from console thanks to @derrabus
- 8947: Remove UUID generator strategy from fixtures thanks to @derrabus
- 8942: Remove remaining call to
prefersSequences()
thanks to @derrabus - 8940: Remove calls to
EchoSQLLogger
thanks to @derrabus - 8937: Don't pass
false
as lock mode toappendLockHint()
thanks to @derrabus - 8936: Reset Psalm baseline thanks to @derrabus
- 8934: Remove calls to
AbstractPlatform::getSQLResultCasing()
thanks to @derrabus - 8932: Drop support for generating json array fields thanks to @greg0ire
- 8898: Throw exception NotSupported Exception for
UuidGenerator
with doctr… thanks to @scyzoryck - 8887: Move
getSQLResultCasing
code into ORM from DBAL thanks to @beberlei - 8862: Change $this->assert* to self::assert* in unit tests thanks to @carnage
- 8841: Enable strict mode thanks to @greg0ire and @beberlei
- 8780: Fix usages of deprecated DBAL constants thanks to @derrabus
- 8419: Introduce
EntityManagerInterface#wrapInTransaction()
thanks to @simPod - 8961: Deprecate / remove TABLE id generator strategy thanks to @greg0ire
Documentation
New Feature
- 8919: feat(ScalarColumnHydrator): added ScalarColumnHydrator to get flat array results from query for single column thanks to @bhushan
Backporting
- 8859: Drop tools/sandbox thanks to @greg0ire
- 8844: Ditch SimpleAnnotationReader thanks to @greg0ire
- 8837: Replace spl_object_hash() with spl_object_id() thanks to @greg0ire