3.0.0
版本发布时间: 2020-10-27 09:18:20
doctrine/DoctrineMongoODMModule最新发布版本:5.1.0(2024-01-22 15:56:56)
Added
- Nothing.
Changed
- Configuration was changed to use
Doctrine\ODM\MongoDB\Configuration:AUTOGENERATE_*
constants forgenerate_proxies
andgenerate_hydrators
instead of removedAbstractProxyFactory::AUTOGENERATE_*
. If you override those settings in your local config, ensure the proper constants are used. - Adapt to
doctrine/peristence:2.0
-
DoctrineMongoODMModule\Options\Configuration::getGenerateHydrators()
returns anint
instead of abool
-
DoctrineMongoODMModule\Options\Configuration::setGenerateHydrators()
requires anint
instead of abool
for its first parameter -
DoctrineMongoODMModule\Options\Configuration
: The methodsgetPersistentCollectionFactory
andgetPersistentCollectionGenerator
can now returnnull
.
Deprecated
- Nothing.
Removed
-
DoctrineMongoODMModule\Paginator\Adapter\DoctrinePaginator
was removed becauseDoctrine\ODM\MongoDB\Cursor
doesn't exist anymore and there is no simple workaround. - The CLI commands
odm:generate:documents
andodm:generate:repositories
were removed because they no longer exist. - The Configuration options
retryConnect
andretryQuery
were removed. - The
DoctrineMongoODMModule\Logging\Logger
interface was removed. Existing implementations directly implement\Doctrine\ODM\MongoDB\APM\CommandLoggerInterface
now. - The
DoctrineMongoODMModule\Logging\LoggerChain
was removed. Loggers can now be subscribed with the MongoDB driver directly.
Fixed
- Nothing.