Added
- [#353] Allow
_sort_by
filter to not be initially defined (@VincentLanglet) - [#420] Added returning the own instance in
ProxyQuery
based on PHPDoc ofProxyQueryInterface
(@franmomu) - [#408] Added support for symfony/options-resolver:^5.1 (@franmomu)
- [#408] Added support for twig 3 (@franmomu)
- [#409] Added doctrine/persistence as a dependency (@franmomu)
- [#379] Added
ModelManager::getDefaultPerPageOptions()
(@franmomu) - [#379] Added
FieldDescription::getTargetModel()
(@franmomu) - [#378] Added
doctrine/collections
dependency (@franmomu) - [#375] Added
sonata-project/form-extensions
dependency (@franmomu) - [#346] "sonata.admin.manager" tag to "sonata.admin.manager.doctrine_mongodb" service (@phansys)
Changed
- [#380] Changed
DatagridBuilder
constructor's first parameter typehint fromSymfony\Component\Form\FormFactory
toSymfony\Component\Form\FormFactoryInterface
(@franmomu) - [#373] Use
deprecated
tag instead ofsonata_template_deprecate
to not throw unwanted deprecation notices (@franmomu) - [#373] Bump Twig to 2.6 (@franmomu)
- [#374] Bump Symfony to 4.4 (@franmomu)
Deprecated
- [#414] Deprecate creating
ObjectAclManipulator
without passing aManagerRegistry
object (@franmomu) - [#415] Deprecate
ModelManager::getModelCollectionInstance()
(@franmomu) - [#415] Deprecate
ModelManager::collectionClear()
(@franmomu) - [#415] Deprecate
ModelManager::collectionHasElement()
(@franmomu) - [#415] Deprecate
ModelManager::collectionAddElement()
(@franmomu) - [#415] Deprecate
ModelManager::collectionRemoveElement()
(@franmomu) - [#415] Deprecate
ModelManager::getPaginationParameters()
(@franmomu) - [#415] Deprecate
ModelManager::getSortParameters()
(@franmomu) - [#384] Deprecate
ModelManager::getParentFieldDescription()
(@franmomu) - [#381] Deprecated passing arguments to
ProxyQuery::execute()
(@franmomu) - [#368] Deprecated
AbstractDateFilter::typeRequiresValue
(@franmomu) - [#368] Deprecated
ModelManager::camelize
(@franmomu) - [#368] Deprecated constructing
ModelManager
without passing an instance ofPropertyAccessorInterface
as second argument (@franmomu) - [#379] Deprecated
FieldDescription::getTargetEntity()
in favor ofFieldDescription::getTargetModel()
(@franmomu)
Fixed
- [#385] Fixed exception captured when creating
ObjectId
(@franmomu) - [#377] Replace deprecated operator constants (@franmomu)
- [#372] Fixed passing
null
toDoctrine\ODM\MongoDB\Query\Builder::skip
andDoctrine\ODM\MongoDB\Query\Builder::limit
(@franmomu) - [#359] Fixed returning
void
from methods which are intended to return values and returning values from methods which are intended to returnvoid
; (@phansys) - [#359] Fixed weak check at
ModelManager::getNormalizedIdentifier()
(@phansys)
Removed
- [#358] Drop support of php 7.1 (@VincentLanglet)
- [#424] Remove support for
doctrine/mongodb-odm
<2.0 (@franmomu) - [#409] Removed deprecations coming from doctrine/common namespace (@franmomu)
- [#378] Removed
twig/extensions
dependency (@franmomu) - [#378] Removed
jmikola/geojson
dependency (@franmomu) - [#375] Removed SonataCoreBundle dependency (@franmomu)