Releases: sonata-project/SonataDoctrineMongoDBAdminBundle
Releases · sonata-project/SonataDoctrineMongoDBAdminBundle
3.9.0
3.8.0
Added
- [#553] Added
Sonata\DoctrineMongoDBAdminBundle\FieldDescription\FieldDescription
class (@franmomu) - [#553] Added
Sonata\DoctrineMongoDBAdminBundle\FieldDescription\TypeGuesser
class (@franmomu) - [#553] Added
Sonata\DoctrineMongoDBAdminBundle\FieldDescription\FilterTypeGuesser
class (@franmomu) - [#554] Added support for sorting embbeded fields in lists (@franmomu)
- [#531] Added
FieldDescriptionFactory
class to create FieldDescription instances (@franmomu) - [#548] Added
ModelManager::reverseTransform()
method (@franmomu) - [#528] Added some
ProxyQueryInterface
to use it as a type declaration (@franmomu) - [#526] Support for PHP 8.x (@franmomu)
Deprecated
- [#558] Deprecated
ModelManager::getModelInstance()
method (@franmomu) - [#558] Deprecated not passing an instance of
ProxyQueryInterface
toModelManager::addIdentifiersToQuery()
method (@franmomu) - [#558] Deprecated not passing an instance of
ProxyQueryInterface
toModelManager::batchDelete()
method (@franmomu) - [#553] Deprecated
Sonata\DoctrineMongoDBAdminBundle\Admin\FieldDescription
class (@franmomu) - [#553] Deprecated
Sonata\DoctrineMongoDBAdminBundle\Guesser\TypeGuesser
class (@franmomu) - [#553] Deprecated
Sonata\DoctrineMongoDBAdminBundle\Guesser\FilterTypeGuesser
class (@franmomu) - [#531] Deprecated
ModelManager::getParentMetadataForProperty()
method (@franmomu) - [#531] Deprecated
ModelManager::getNewFieldDescriptionInstance()
method (@franmomu) - [#531] Deprecated
AbstractTypeGuesser
class (@franmomu) - [#531] Deprecated
FilterTypeGuesser::guessType()
method (@franmomu) - [#531] Deprecated
TypeGuesser::guessType()
method (@franmomu) - [#531] Deprecated
ListBuilder::buildActionFieldDescription()
method (@franmomu) - [#548] Deprecated
ModelManager::modelReverseTransform()
method (@franmomu) - [#528] Deprecated calling
Filter::apply()
with an instance not implementingProxyQueryInterface
(@franmomu)
Fixed
3.7.0
3.7.0 - 2021-01-27
Added
- [#509] Added implementation of
Pager::getCurrentPageResults()
method. (@franmomu) - [#501] Implemented
Sonata\AdminBundle\Datagrid\PagerInterface::countResults()
(@dmaicher)
Deprecated
- [#509] Deprecated
Pager::getResults()
method in favor ofPager::getCurrentPageResults()
. (@franmomu) - [#501]
Sonata\DoctrineMongoDBAdminBundle\Datagrid\Pager::computeNbResult()
(@dmaicher) - [#501]
Sonata\DoctrineMongoDBAdminBundle\Datagrid\Pager::getNbResults()
(@dmaicher) - [#501]
Sonata\DoctrineMongoDBAdminBundle\Datagrid\Pager::setNbResults()
(@dmaicher)
Fixed
3.6.0
Added
Deprecated
- [#492] Deprecated
ModelManager::getMetadata()
method. (@franmomu) - [#492] Deprecated
ModelManager::hasMetadata()
method. (@franmomu) - [#486] Deprecated
ModelManager::getDataSourceIterator()
. (@franmomu) - [#473] Deprecated
ModelManager::getModelIdentifier()
. (@franmomu) - [#473] Deprecated
ModelManager::getDefaultSortValues()
. (@franmomu) - [#473] Deprecated
ModelManager::getDefaultPerPageOptions()
. (@franmomu) - [#473] Deprecated
ModelManager::modelTransform()
. (@franmomu) - [#451] Deprecated passing
null
as argument 2 forModelManager::find()
; (@franmomu) - [#451] Deprecated passing
null
as argument 1 forModelManager::getNormalizedIdentifier()
; (@franmomu) - [#451] Deprecated passing other type than
object
as argument 1 forModelManager::getUrlSafeIdentifier()
; (@franmomu)
Fixed
- [#497] Fixed calling to deprecated
Pager::setCountColumn()
method. (@franmomu) - [#479] Fixed calling to
AdminInterface::id
without an object. (@franmomu) - [#463]
FormContractor::getDefaultOptions()
passescollection_by_reference
option instead ofby_reference
toAdminType
in order to respect the new API (@VincentLanglet) - [#470] Fixed returning an array of identifiers in
ModelManager::getIdentifierFieldNames
. (@franmomu) - [#468] Fixed the return type of
TypeGuesser::guessType
, it must returnnull
orTypeGuess
. (@franmomu) - [#459] Fixed deprecation constructing
FieldDescription
without arguments. (@franmomu)
3.5.0
Added
- [#438]
FormContractor::getDefaultOptions()
passby_reference
fromCollectionType
toAdminType
(@VincentLanglet) - [#430] Added
ModelManager::supportsQuery()
(@franmomu)
Changed
Deprecated
3.4.0
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)