Release Notes for 3.0.0
After almost 8 years of work by many different contributors, we're incredibly proud to announce the release of Doctrine ORM 3.0.0!
Upgrade
We've written an upgrade guide, but the best way to prepare for the upgrade is to first upgrade to the latest 2.x version, and address any deprecation that is reported.
3.0.0
BC Break
$entityAnnotationClasses
and getReader()
thanks to @derrabus
$lockMode
parameter to EntityManager::refresh()
thanks to @michnovka
ObjectManagerAware
thanks to @derrabus
TreeWalkerChainIterator
thanks to @derrabus
Proxy
marker interface thanks to @derrabus
AbstractIdGenerator::generate()
and add native types to ID generators thanks to @derrabus
Configuration::ensureProductionSettings()
thanks to @derrabus
AbstractHydrator
and child classes thanks to @derrabus
PHPDriver
thanks to @beberlei
Setup::registerAutoloadDirectory()
thanks to @derrabus
Version
class thanks to @derrabus
Query::iterate()
thanks to @derrabus
UnitOfWork
thanks to @derrabus
Node::dispatch()
thanks to @derrabus and @greg0ire
Improvement
ArrayParameterType
constants thanks to @derrabus
setAccessible()
calls thanks to @derrabus
Closure::fromCallable()
calls thanks to @derrabus
Stringable
interface thanks to @derrabus
getSQLResultCasing()
thanks to @derrabus
Bugfixes
SQLitePlatform
for DBAL 4 thanks to @derrabus
Static Analysis
Documentation
merge()
operation thanks to @mpdude and @beberlei
Test Suite
RequiresPhp
attributes thanks to @derrabus
Driver::getSchemaManager()
thanks to @derrabus
CI